Community Support Forums — WordPress® ( Users Helping Users ) — 2011-08-18T10:23:47-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14594 2011-08-18T10:23:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32273#p32273 <![CDATA[Re: User Custom Capabilities problem...]]>

Statistics: Posted by Bruce C — August 18th, 2011, 10:23 am


]]>
2011-08-18T06:38:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32265#p32265 <![CDATA[Re: User Custom Capabilities problem...]]>
I really love WordPress now...all over again. : )
I'm a sucker for easy role definition.

Statistics: Posted by Jwrbloom — August 18th, 2011, 6:38 am


]]>
2011-08-17T21:46:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32199#p32199 <![CDATA[Re: User Custom Capabilities problem...]]>
Dashboard -> s2Member -> API/Scripting -> Custom Capabilities(Packages)

and under

Dashboard -> s2Member -> API/Scripting -> Simple/Shortcode Conditionals

Statistics: Posted by Bruce C — August 17th, 2011, 9:46 pm


]]>
2011-08-17T21:44:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32197#p32197 <![CDATA[Re: User Custom Capabilities problem...]]>
The code "access_s2member_level" is for conditionals. Custom capabilities are usually one-word. Like "videos".

Then, you use the current_user_can function like this:

Code:
[s2If current_user_can(access_s2member_ccaps_videos)]
//post your videos here
[/s2If]
[s2If !current_user_can(access_s2member_ccaps_videos)]
// do nothing
[/s2If]


Or through Add Post/Post on the Wordpress Dashboard.

Statistics: Posted by Bruce C — August 17th, 2011, 9:44 pm


]]>
2011-08-17T21:25:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32192#p32192 <![CDATA[Re: User Custom Capabilities problem...]]> Statistics: Posted by Jwrbloom — August 17th, 2011, 9:25 pm


]]>
2011-08-17T21:23:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32191#p32191 <![CDATA[Re: User Custom Capabilities problem...]]> Statistics: Posted by Jwrbloom — August 17th, 2011, 9:23 pm


]]>
2011-08-17T21:04:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14594&p=32187#p32187 <![CDATA[User Custom Capabilities problem...]]>
current_user_can("access_s2member_level2")


The data field is stripping the (" and "), as well as letting a Level 2 User see Level 4 material.


I'm using the latest update of WP and S2. Thanks.

Statistics: Posted by Jwrbloom — August 17th, 2011, 9:04 pm


]]>