• Resolved lomok

    (@lomok)


    Hi!

    Firstly thanks for the awesome plugin!

    Secondly I am having issues with nesting the shortcode on a multi user site that I am building (currently on MAMP) using Buddypress and Page Builder. Here’s what I would like to do…

    1. Restrict access to users who are not logged in (display a message), hide the message once a user has logged in.

    2. Restrict access to ‘level 1’ users (display a second message), hide the first & second messages once a level 2 or admin user logs in.

    3. Allow content through for ‘level 2’ and ‘Admin’ users.

    This would only happen on certain pages…

    Just a bit confused as to a logical sequence of the shortcode nesting. Would appreciate your help!

    https://www.ads-software.com/plugins/eyes-only-user-access-shortcode/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thomstark

    (@thomstark)

    I’m not sure why you need to nest.

    [eyesonly logged=out]Message to logged out users only.[/eyesonly][eyesonly level=”level1″]Message to level 1 users only.[/eyesonly][eyesonly level=”level2,administrator”]Message to level 2 and admin users.[/eyesonly]

    Makre sure your Administrator Override setting is deactivated on the Eyes Only Options page, otherwise administrators will see all messages.

    Thread Starter lomok

    (@lomok)

    This is what happens when you start comparing things to Java.

    All sorted! Thanks for your help!

    Plugin Author thomstark

    (@thomstark)

    No problem. Have fun.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nesting Shorcode’ is closed to new replies.