Statistics: Posted by Cristián Lávaque — May 3rd, 2011, 11:43 pm
current_user_cannot
!current_user_can
current_user_cannot
current_user_can
Statistics: Posted by buddy101 — May 3rd, 2011, 10:06 pm
[s2If current_user_cannot(access_s2member_level0)]
...
[/s2If]
Statistics: Posted by Cristián Lávaque — April 19th, 2011, 8:55 pm
[s2If !current_user_can(access_s2member_level0)]
If you wish to read further, you would need to be a <strong>[s2Get constant="S2MEMBER_LEVEL0_LABEL" /]</strong>. <a href="[s2Get constant="S2MEMBER_LOGIN_PAGE_URL" /]">Login</a> to your account or if you have not registered with us yet, feel free to <a href="[s2Get constant="S2MEMBER_LOGIN_PAGE_URL" /]?action=register">register</a> to gain access to this content.
[/s2If]
[s2If current_user_can(access_s2member_level0)]
Protected content goes here.
[/s2If]
Statistics: Posted by buddy101 — April 19th, 2011, 5:52 pm