PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Assigning edit privs by page

s2Member Plugin. A Membership plugin for WordPress®.

Assigning edit privs by page

Postby airpilot » May 18th, 2011, 2:36 pm

Greetings Jason, Cristian and all:

I'm webmaster of a WordPress/ BuddyPress/ S2Member CMS website (not a blogsite) and I've got a problem I can't seem to resolve.

I wish to allow certain members of our website, presently level S1 members, to have one or the other of the following:

1. Edit access to one or two pages that all other S1 members are only allowed to read.
2. Read-only access to one or two pages that otherwise require S3 or S4 level for edit access.

Note that neither of these are attempts to restrict access by any member - only to add specific edit or read privileges to specific pages for specific members.

I tried a plug-in called Role Scoper to get this granularity of privilege assignment, but Role Scoper crashes my website. Can S2Member provide this type of role assignment? If so, is there any source of information that provides more basic information than the S2Member API / Scripting info in the plug-in? I'm not a php programmer, and am really looking for a simple solution (short code?) for these specific requirements.

Thanks,

Airpilot
User avatar
airpilot
Registered User
Registered User
 
Posts: 7
Joined: February 6, 2011

Re: Assigning edit privs by page

Postby Cristián Lávaque » May 18th, 2011, 11:35 pm

I'm sorry, but changing editing capabilities is not something s2Member currently does. :|

That said, you can change that capability for an s2Member level (e.g. level 3) using the User Role Editor plugin. http://wordpress.org/extend/plugins/user-role-editor/

viewtopic.php?f=4&p=9026#p9026
viewtopic.php?f=4&p=13058#p13058

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Assigning edit privs by page

Postby airpilot » May 19th, 2011, 6:07 am

Hi Cristian:

Yes, it does, thanks. In the meantime, I found out why Role Scoper was crashing my website - not enough php memory! So, having fixed that, I'm presently using Role Scoper to manage write access to specific pages. I still like the idea of configuring Author and Editor to access pages more to my liking. Do you have any idea whether the Role Scoper and Role Editor plug-ins conflict with each other in any way?

Thanks for your assistance!

Airpilot
User avatar
airpilot
Registered User
Registered User
 
Posts: 7
Joined: February 6, 2011

Re: Assigning edit privs by page

Postby Cristián Lávaque » May 19th, 2011, 11:00 am

You're welcome. :)

No, I have no idea how they play together. The User Role Editor developer appears to be helpful, though, so I'm sure that if you found a conflict and told him about it, he may try to solve it. The Role Scoper developer seems to be on the ball too, now that I read about the plugin.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Assigning edit privs by page

Postby airpilot » May 19th, 2011, 11:19 am

Thanks. For now, I'll rely on Role Scoper. If I read the Role Editor site correctly, it appears that it modifies roles assigned to S2Member levels 0 - 3, rather than WP roles subscriber - editor. Is this accurate? This may make a difference in functionality, as Role Scoper modifies WP roles, and does not modify S2M levels.

If I activate both plug-ins, I'll report back on how they play together.

Airpilot
User avatar
airpilot
Registered User
Registered User
 
Posts: 7
Joined: February 6, 2011

Re: Assigning edit privs by page

Postby Cristián Lávaque » May 19th, 2011, 11:26 am

User Role Editor lets you work with every WordPress role, including those created and used by s2Member.

Yeah, please let us know how they work together. Role Scoper certainly looks interesting.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Assigning edit privs by page

Postby airpilot » May 19th, 2011, 9:07 pm

Hi Cristian:

Role Scoper and User Role Editor work together in my WP/BP/S2Member environment. Together, they give a whole lot of flexibility for page privs, user and page restrictions, and role assignments and even new role definitions. I haven't begun to define all the possibilities using both plug-ins, but if/when they interact, they do so proactively as far as I can see thus far.

Thanks for the URE suggestion - I've got more than I need by way of role definition now.

Airpilot
User avatar
airpilot
Registered User
Registered User
 
Posts: 7
Joined: February 6, 2011

Re: Assigning edit privs by page

Postby Cristián Lávaque » May 19th, 2011, 9:09 pm

That is awesome! Thanks for reporting back on that! :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Assigning edit privs by page

Postby airpilot » May 19th, 2011, 10:47 pm

Anytime, Cristian. There'll likely be more questions as I delve deeper, thanks.

Airpilot
User avatar
airpilot
Registered User
Registered User
 
Posts: 7
Joined: February 6, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron