Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-09T13:57:50-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14356 2011-08-09T13:57:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14356&p=30307#p30307 <![CDATA[Re: Level specific access only???]]>

Statistics: Posted by Cristián Lávaque — August 9th, 2011, 1:57 pm


]]>
2011-08-09T13:53:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14356&p=30306#p30306 <![CDATA[Re: Level specific access only???]]>
Regarding the bug, I'll reverse the code when a new release is available.

Statistics: Posted by ZebEl — August 9th, 2011, 1:53 pm


]]>
2011-08-09T13:28:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14356&p=30296#p30296 <![CDATA[Re: Level specific access only???]]>
There is in the current version a bug where he can't see content protected with custom capabilities that he doesn't have, but that's fixed for the coming release.

If you want to set up restrictions for existing WordPress roles, using the conditionals is perfectly fine.

Statistics: Posted by Cristián Lávaque — August 9th, 2011, 1:28 pm


]]>
2011-08-09T10:23:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14356&p=30276#p30276 <![CDATA[Re: Level specific access only???]]> The only problem is that admin himself can not access all content but only the public one. I hope that this kind of capabilities will be solved in the future to be able to link member levels to existing user capabilities in Wordspress, like: level1=contributer, lever2=author, levels 3-4 authors+cutom capabilities, etc.

However, I solved it like the following:

[s2If current_user_is(s2member_Level 4) OR current_user_is(administrator)]
Some premium content for Level 4 Members.
[/s2If]

[s2If current_user_is(s2member_Level 3) OR current_user_is(administrator)]
Some premium content for Level 3 Members.
[/s2If]

[s2If current_user_is(s2member_Level 2) OR current_user_is(administrator)]
Some premium content for Level 2 Members.
[/s2If]

[s2If current_user_is(s2member_Level 1) OR current_user_is(administrator)]
Some premium content for Level 1 Members.
[/s2If]

[s2If current_user_is(s2member_Level 0) OR current_user_is(subscriber)]
Some content for Free Subscribers.
[/s2If]

[s2If !current_user_can(access_s2member_Free)]
Some public content.

[/s2If]

Statistics: Posted by ZebEl — August 9th, 2011, 10:23 am


]]>
2011-08-05T22:47:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14356&p=29973#p29973 <![CDATA[Re: Level specific access only???]]>
A way to do level specific protection is with conditionals, but those won't bounce the person to the Membership Options Page like Page Access Restriction does. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals -> Example #3

You could use Custom Capabilities, they aren't incremental as levels are and will bounce the person if that's what you want. http://www.s2member.com/custom-capabilities-video/

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — August 5th, 2011, 10:47 pm


]]>
2011-08-05T09:32:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14356&p=29949#p29949 <![CDATA[Level specific access only???]]> higher." My question is, can I restrict level 3 content to just level 3 users? I don't want level 4 to be able to access level 3 at all. Also, is there an ability within s2member to also restrict the sub-pages of level 3?

I've searched the forums, but haven't found what I'm looking for.

Statistics: Posted by mrnic3guy — August 5th, 2011, 9:32 am


]]>