Community Support Forums — WordPress® ( Users Helping Users ) — 2012-02-02T23:52:11-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17050 2012-02-02T23:52:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17050&p=62216#p62216 <![CDATA[Re: "shared" access]]> http://www.s2member.com/advanced-conditionals-video/

Statistics: Posted by Cristián Lávaque — February 2nd, 2012, 11:52 pm


]]>
2012-01-28T11:20:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17050&p=61824#p61824 <![CDATA[Re: "shared" access]]> Thanks!

Statistics: Posted by yolle555 — January 28th, 2012, 11:20 am


]]>
2012-01-28T08:31:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17050&p=61815#p61815 <![CDATA[Re: "shared" access]]> Thanks!

Statistics: Posted by yolle555 — January 28th, 2012, 8:31 am


]]>
2012-01-28T04:22:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17050&p=61800#p61800 <![CDATA[Re: "shared" access]]>

Yes, I know what you mean. In that case you'll need to use conditionals to check the ccaps. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals

Code:
[s2If current_user_can(access_s2member_ccap_ccapA) OR current_user_can(access_s2member_ccap_ccapB)]
    Content.
[/s2If]


I hope this helps.

Statistics: Posted by Cristián Lávaque — January 28th, 2012, 4:22 am


]]>
2012-01-27T12:02:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17050&p=61759#p61759 <![CDATA["shared" access]]>
I have a blog with s2member and with ccaps I manage different access rights of my subscribers. I now have a page that I want to be accessed from two different ccaps. If I put these to ccaps on the page, only those with both of them (ccapA AND ccap B) would be allowed to enter. I would like the access to be ccapA OR ccapB and not ccapA AND ccapB. How could this be arranged? I hope my question is understandable.

Thanks for the great plugin!

Statistics: Posted by yolle555 — January 27th, 2012, 12:02 pm


]]>