Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-22T13:05:12-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15192 2011-09-22T13:05:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15192&p=38937#p38937 <![CDATA[Re: Shortcodes Conditionals showing blank page for admin]]> Statistics: Posted by notset4life — September 22nd, 2011, 1:05 pm


]]>
2011-09-21T19:54:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15192&p=38899#p38899 <![CDATA[Re: Shortcodes Conditionals showing blank page for admin]]>
If you want say, level 1+ members (including yoruself) to be able to see something, you would use something like:

Code:
[s2If current_user_can(access_s2member_level1)]
Content for level 1 and above users.
[/s2If]

Statistics: Posted by Bruce C — September 21st, 2011, 7:54 pm


]]>
2011-09-21T12:32:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15192&p=38881#p38881 <![CDATA[Re: Shortcodes Conditionals showing blank page for admin]]> so I know the thing is working properly. As mentioned, I was assuming the
Admin automatically has level 4 access, so would be able to see level 4 text.

thanks

Statistics: Posted by notset4life — September 21st, 2011, 12:32 pm


]]>
2011-09-20T21:26:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15192&p=38835#p38835 <![CDATA[Re: Shortcodes Conditionals showing blank page for admin]]>

Statistics: Posted by Cristián Lávaque — September 20th, 2011, 9:26 pm


]]>
2011-09-20T11:58:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15192&p=38730#p38730 <![CDATA[Re: Shortcodes Conditionals showing blank page for admin]]> Statistics: Posted by notset4life — September 20th, 2011, 11:58 am


]]>
2011-09-17T22:31:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15192&p=38597#p38597 <![CDATA[Shortcodes Conditionals showing blank page for admin]]>
Code:
[s2If current_user_is(s2member_level4)]
    Some premium content for Level 4 Members.
[/s2If]

[s2If current_user_is(s2member_level3)]
    Some premium content for Level 3 Members.
[/s2If]

[s2If current_user_is(s2member_level2)]
    Some premium content for Level 2 Members.
[/s2If]

[s2If current_user_is(s2member_level1)]
    Some premium content for Level 1 Members.
[/s2If]

[s2If current_user_is(s2member_level0)]
    Some content for Free Subscribers.
[/s2If]

[s2If !current_user_can(access_s2member_level0)]
    Some public content.
[/s2If]


I know it works with level 0, 1 and public. Didn't test with the others..except for viewing the page as ADMIN. I am assuming admin should have level 4 access (just like with php conditionals) so I should be able to see the level 4 members text.

But I just see a blank page when viewing the page as admin.
?
thanks

Statistics: Posted by notset4life — September 17th, 2011, 10:31 pm


]]>