Community Support Forums — WordPress® ( Users Helping Users ) — 2010-10-22T22:28:30-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1051 2010-10-22T22:28:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1051&p=4084#p4084 <![CDATA[Re: Restricting access to themes and plugins??]]>
Something like this: ( this is just pseudo-code )
Code:
<?php
if(current_user_can("access_s2member_level3")){
    // allow display of certain premium themes, plugins, etc.
}
?>
You'll find more examples of Advanced Conditionals in your Dashboard under: s2Member -> API Scripting. I would also recommend this VIDEO tutorial covering Custom Capabilties ( how to extend s2Member ): http://www.s2member.com/custom-capabilities-video/

Statistics: Posted by Jason Caldwell — October 22nd, 2010, 10:28 pm


]]>
2010-10-20T12:00:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1051&p=4013#p4013 <![CDATA[Restricting access to themes and plugins??]]>
Any info would help, thanks so much.

Statistics: Posted by bm11100 — October 20th, 2010, 12:00 pm


]]>