latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Can i restrict roles by payment

Home Forums Community Forum Can i restrict roles by payment

Tagged: 

This topic contains 3 replies, has 3 voices. Last updated by  Raam Dev 4 years, 9 months ago.

Topic Author Topic
Posted: Saturday Mar 31st, 2012 at 5:06 am #9653

I’m setting up a site where paying members can create their own coupons but anyone can view them. So what i’d like to do is have unpaying members be able to view all posts (a coupon is a post), but if they pay they can recieve the role of Author.

Is this possible to do with s2member?

Thanks

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Sunday Apr 1st, 2012 at 11:42 pm #9734

I think I’m getting confused with the coupons… Do you mean discount coupons to purchase access?

s2Member doesn’t let you specify the Author role on purchase, but you can use a role editor to customize the s2Member role the user gets, so it has all the capabilities that the Author one does.
http://wordpress.org/extend/plugins/user-role-editor/
http://codex.wordpress.org/Roles_and_Capabilities#Capabilities

Posted: Monday Apr 2nd, 2012 at 12:02 am #9736

My apologies. It was 5 am and i was a bit loopy. On this site, users need to pay to create posts. A couipon is a post. It’s a site for businesses to create their own coupons, but they need to pay (subscribe anually) to do so.

So, ideally, i’d be able to give paying members the role of “author” but you’re saying that when someone pays i can assign them the role of s2Member and then change the capabilities of the s2member though that plugin?

Thanks.

Posted: Monday Apr 2nd, 2012 at 9:39 pm #9829
Raam Dev
Username: Raam
Staff Member

Hello,

s2Member was not designed to offer the Author role at all. All s2Member roles (Level 0, Level 1, etc.) utilize the default WordPress role of ‘Subscriber’, as s2Member is designed to restrict content, not author it.

If you’d like to change this so that a specific s2Member level is given WordPress Author capabilities, you’ll need to use a 3rd party Role Editor plugin to make those changes manually.

As s2Member wasn’t designed with the Author role in mind, you’ll need to keep several security precautions in mind when making such modifications. See this thread on the old forum for more details:
http://www.primothemes.com/forums/viewtopic.php?f=4&t=16141&p=54306#p54368

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.