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™

restrict number of posts

s2Member Plugin. A Membership plugin for WordPress®.

restrict number of posts

Postby harryhayes » November 16th, 2011, 4:19 pm

Hi Please could you advise if it is possible to use S2 to create memberships restricting users by the number of posts they can make whilst allowing full read access.

ie -
level 0 - can make up to 0 posts
level 1 10 posts
level2 100 posts - etc.

If this is possible, please could you offer some pointers for configuration.

Thanks you
User avatar
harryhayes
Registered User
Registered User
 
Posts: 1
Joined: November 16, 2011

Re: restrict number of posts

Postby Cristián Lávaque » November 18th, 2011, 2:14 am

Hi Harry.

s2Member doesn't manage access to the admin side of WordPress, and posting is part of it.

You can play with the capabilities to add that ability to the users.
https://wordpress.org/extend/plugins/user-role-editor/
https://codex.wordpress.org/Roles_and_C ... pabilities

You'd also need to do some more customization to add a conditional that checks the user level and number of posts to decide when to remove the capability for that user. viewforum.php?f=37

I hope this 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


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests

cron