Membership levels & custom capabilities
-
I’ve been using S2Member successfully for a number of years. It’s great.
I have a LMS where I need to allow access to a post (course) to membership level one members who have full site access privileges as well as customers who purchase access to just that post (course).
I would normally handle this by using conditional statements in the post to determine if they’re allowed access. However, I’m using a new LMS plugin that appends course information to the end of the post via php so I can’t block that from showing on the page using S2 conditional shortcodes.
Since I can’t mix a membership level condition and a custom capability on the post edit page to block the entire post, I think my only solution is to modify the LMS plugin code.
The perfect solution would be for S2Member to allow an OR condition for membership level and custom capability on the post edit page or for S2Member to allow for multiple custom capabilities on the post edit page. I could also set multiple ccaps for all posts (courses) when signing up for level one access but that would require that I add a new ccap to the sign up string every time I create a new course.
Does anyone have a more elegant solution that doesn’t require code modification?
- The topic ‘Membership levels & custom capabilities’ is closed to new replies.