Restrict Access Level 2 cant view Level 1
Posted:
April 11th, 2011, 4:26 am
by MattL
Hi, I'd like to setup restrictions so that Level 2 only has access to Level 2 categories but cannot see Level 1 required categories. In the settings it says allow access to Level 1 or higher, but I only want level 1 to have access to the content and level 2 has access to different content. Is there any way to do this?
Thanks, Matt
Re: Restrict Access Level 2 cant view Level 1
Posted:
April 12th, 2011, 1:28 am
by Cristián Lávaque
Hi Matt.
The way I'd do that would be selling only Level 1 and differentiating the groups with a custom capability for each group. For example, you could have custom capabilities "group1" and "group2". With that, you can now control access via the custom capabilities they have, either from s2Member's meta box in the edit page, or with conditionals in the body of posts/pages. You can add the capabilities to the button you create to sell the paid membership (at Level 1).
http://www.s2member.com/api-scripting-overview-video/http://www.s2member.com/advanced-conditionals-video/http://www.s2member.com/custom-capabilities-video/I hope that helps.