Page 1 of 1
s2member roles VS defualt WP roles
Posted:
March 31st, 2011, 1:31 pm
by justinwhall
I've got a pretty simple s2member installation where if you are a paying member, you are level 1 and if you are not you are level 0. Simple enough. I have a number of plugins that have the ability to set user access and control by wordpress user role. i.e. subscribers can read, contributes can read and write, authors can read, write & edit etc...
This seems to conflict with s2member or I haven't set something up right. Only members with a WP role have any sort of powers with these plugins. If I change their role to Any s2member roles, they lose everything.
How do I set it such
level 0 = Sunscriber
level 1 = Contributor
and so on?
I thought it was like this by default?
Re: s2member roles VS defualt WP roles
Posted:
March 31st, 2011, 5:56 pm
by Cristián Lávaque
Hi Justin.
Could you please share the links to the plugins you're using? I'll see if Jason is familiar with them.
Re: s2member roles VS defualt WP roles
Posted:
March 31st, 2011, 6:05 pm
by justinwhall
Re: s2member roles VS defualt WP roles
Posted:
April 4th, 2011, 4:25 am
by Jason Caldwell
This plugin might help you:http://wordpress.org/extend/plugins/user-role-editor/It sounds like you need to customize your s2Member Roles to match what you need.
Here is the default configuration, and this is what s2Member expects.
So, I don't recommend taking anything away from an s2Member Role. However, you can certainly give an s2Member Role additional permissions. For instance, the plugin that I mentioned above, makes it possible to add Contributor Capabilities to one of your s2Member Roles.
Membership Levels provide incremental access:
* A Member with Level 4 access, will also be able to access Levels 0, 1, 2 & 3.
* A Member with Level 3 access, will also be able to access Levels 0, 1 & 2.
* A Member with Level 2 access, will also be able to access Levels 0 & 1.
* A Member with Level 1 access, will also be able to access Level 0.
* A Subscriber with Level 0 access, will ONLY be able to access Level 0.
* WordPress® Subscribers are at Membership Level 0. If you're allowing Open Registration, Subscribers will be at Level 0 ( a Free Subscriber ). WordPress® Administrators, Editors, Authors, and Contributors have Level 4 access, with respect to s2Member. All of their other Roles/Capabilities are left untouched.
Reference article:
http://codex.wordpress.org/Roles_and_Capabilities
Re: s2member roles VS defualt WP roles
Posted:
April 4th, 2011, 11:04 am
by justinwhall
As I thought. For whatever reason, access levels are not being honored in a recent WP job I just took over. Can't figure out why. No advanced scripting nothing.
Re: s2member roles VS defualt WP roles
Posted:
April 7th, 2011, 8:04 am
by Jason Caldwell
Thanks for reporting back. Is the issue specifically related to the Event Calendar Scheduler you mentioned?
http://wordpress.org/extend/plugins/eve ... scheduler/Please let me know. If that's the case, I'll do a review of that plugin.
Re: s2member roles VS defualt WP roles
Posted:
April 7th, 2011, 11:41 am
by justinwhall
We've since moved onto something else. But here is what happened... A client of mine was using b/c he really like that his users could add events right from the front end. Once we implemented S2M, only the ADMIN could enter events in said way. None of the s2M levels worked but all the default WP roles still worked.
Re: s2member roles VS defualt WP roles
Posted:
April 8th, 2011, 12:42 am
by Jason Caldwell
Thanks for reporting back on this.
I see. Yea, it looks like that plugin has the default WP Roles hard-coded in. So the only way for a User to gain access to the features offered by that plugin, is if a User has one of the default WordPress Roles ( i.e. Administrator, Editor, Author, Contributor ).