Title: Orios's Replies | WordPress.org

---

# Orios

  [  ](https://wordpress.org/support/users/orios/)

 *   [Profile](https://wordpress.org/support/users/orios/)
 *   [Topics Started](https://wordpress.org/support/users/orios/topics/)
 *   [Replies Created](https://wordpress.org/support/users/orios/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/orios/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/orios/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/orios/engagements/)
 *   [Favorites](https://wordpress.org/support/users/orios/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[EventPrime – Events Calendar, Bookings and Tickets] Great plugin – Great support](https://wordpress.org/support/topic/great-plugin-great-support-2002/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/great-plugin-great-support-2002/#post-18604901)
 * Unfortunately it turns out that the plugin is not usefull for our project.
   Booking
   is a multistep process and way too tedious, if you want to facilitate simple 
   event booking for registered users.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] How to keep registration process separate from payment](https://wordpress.org/support/topic/how-to-keep-registration-process-separate-from-payment/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/how-to-keep-registration-process-separate-from-payment/#post-18580170)
 * bummer
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Hide Price on the Event](https://wordpress.org/support/topic/hide-price-on-the-event/)
 *  [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/hide-price-on-the-event/page/2/#post-18579570)
 * Ok, so reading all manuals again, i stumbled upon the reason (and solution).
   
   It is possible to use conditional placeholders within each other. However, by
   default Events Manager will only go one level deep,In order to enable further
   levels of nesting, you need to add a line of PHP to your wp-config.php file:
 *     ```wp-block-code
       define('EM_CONDITIONAL_RECURSIONS',2);
       ```
   
 * In order to enable further levels of nesting, you need to add a line of PHP to
   your wp-config.php file.
   In this case the nesting levels should be 3.Checked 
   it and it works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Hide Price on the Event](https://wordpress.org/support/topic/hide-price-on-the-event/)
 *  [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/hide-price-on-the-event/#post-18576414)
 * Please look again.
   Your site also doesn’t show it properlyIt is a paid event.
   But the (1st) ticket icon and the EVENTPRICERANGE do NOT show.In short: the code
   between {not_free} and {/not_free} does not show, even for not_free eventsThis
   is exactly the same problem as i have.
    -  This reply was modified 11 months, 2 weeks ago by [Orios](https://wordpress.org/support/users/orios/).
    -  This reply was modified 11 months, 2 weeks ago by [Orios](https://wordpress.org/support/users/orios/).
    -  This reply was modified 11 months, 2 weeks ago by [Orios](https://wordpress.org/support/users/orios/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Hide Price on the Event](https://wordpress.org/support/topic/hide-price-on-the-event/)
 *  [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/hide-price-on-the-event/#post-18576198)
 * This doesn’t work for me.
   i added the condition right here
 *     ```wp-block-code
                   {bookings_open}
                   <h3>Price</h3>
                   {not_free}
                   <div class="em-item-meta-line em-event-prices">
                       <span class="em-icon-ticket em-icon"></span>
                       #_EVENTPRICERANGE
                   </div>
                   {/not_free}
                   <a href="#em-event-booking-form" class="button input with-icon-right">
                                           <span class="em-icon-ticket em-icon"></span>
                   </a>
                   {/bookings_open}
       ```
   
 * The result is that the price is never shown under PRICE (event with paid events)
   
   To be clear, the condition {not_free} does work in other parts of the code, but
   not within or around the {bookings_open} condition
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Admin Only Profile Fields] Show fields for specific user roles](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/#post-6599754)
 * First I added the custom visiblity fields
 *  $allowed_visibilities[‘pmpro_role_1’] = array(
    ‘id’ => ‘pmpro_role_1’, ‘label’
   => _x( ‘Gratis leden’, ‘Visibility level setting’, ‘bp-extended-profile-visibility’));
   $allowed_visibilities[‘pmpro_role_2’] = array( ‘id’ => ‘pmpro_role_2’, ‘label’
   => _x( ‘Premium leden’, ‘Visibility level setting’, ‘bp-extended-profile-visibility’));
 * And then the rules
 *  if( ( $displayed_user_id != $current_user_id ) && ! current_user_can(‘pmpro_role_1’)&&!
   is_super_admin() ) {
 *  $hidden_levels[] = ‘pmpro_role_1’; //profile field with this privacy level will
   be hidden for the user
    } if( ( $displayed_user_id != $current_user_id ) && !
   current_user_can(‘pmpro_role_2’) && ! is_super_admin() ) {
 *  $hidden_levels[] = ‘pmpro_role_2’; //profile field with this privacy level will
   be hidden for the user
    }
 * et voila, it worked just fine
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Admin Only Profile Fields] Show fields for specific user roles](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/#post-6599753)
 * Ah, link doesn’t show. Here in full [https://github.com/IChess1/WPI/tree/master](https://github.com/IChess1/WPI/tree/master)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Admin Only Profile Fields] Show fields for specific user roles](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/#post-6599752)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Admin Only Profile Fields] Show fields for specific user roles](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/#post-6599751)
 * I used the ‘Extending BuddyPress profile field visibility’ code from Brajesh 
   Singh. See [http://buddydev.com/buddypress/extending-buddypress-profile-field-visibility/](http://buddydev.com/buddypress/extending-buddypress-profile-field-visibility/).
 * And altered it a bit to hide on user roles (pmpro_role_1 and pmpro_role2)
    For
   the entire code see extended-xprofile-field-visibility-levels.php at [](https://github.com/IChess1/WPI/tree/master)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Admin Only Profile Fields] Show fields for specific user roles](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/#post-6599743)
 * Thanks for the offer.
    I will keep this in mind for future issues. For the time
   being, i did manage to solve the issue with a slight customization of another
   plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress Admin Only Profile Fields] Show fields for specific user roles](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/show-fields-for-specific-user-roles/#post-6599736)
 * Thank you very much for your reply.
    Unfortunatelly i’m not much of a programmer
   and thus will not be able to acomplish this. Thanks anyway
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Profiles Manager] Warnings about missing arguments](https://wordpress.org/support/topic/warnings-about-missing-arguments/)
 *  Thread Starter [Orios](https://wordpress.org/support/users/orios/)
 * (@orios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/warnings-about-missing-arguments/#post-6607836)
 * Hi,
 * Thank you for your efforts. The error dissapeared.
    But unfortunatelly the plugin
   has no effect on the visibility of the profile groups. Whatever settings we try
   out. All group stay visible.

Viewing 12 replies - 1 through 12 (of 12 total)