News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

New User Post Limit

Started by FlyEagle1, January 29, 2013, 07:33:45 PM

Previous topic - Next topic

FlyEagle1

Is there a modification for v2.0.3 to put a new user in moderation for a specified number of posts before allowing them to comment without moderation?

Arantor

There is, it involves using 2.0's post moderation feature (built in) and setting it up appropriately... unfortunately this is a surprisingly complicated task to set up properly.

Here's an extract of my comments on another forum about post moderation, including a very brief guide to setting it up.


QuoteLet me explain the problem of doing this on a fresh SMF install, and you're welcome to join in at home. Today's challenge: configure it so that regular users don't have moderation but new users with up to and including 5 posts are moderated.

There are, in fact, two ways to do this, both of which are convoluted.

1. Turn on post moderation in Core Features.
2. Making sure that the 0-post count group is left alone, create a new post count group that requires 5 posts, so that once a user has successfully posted 5 posts (and until they're approved, it won't affect their post count), they can have different permissions attached.
3. Admin > Members > Permissions > Settings > Enable permissions for post count based groups (tick) > save

Here's where the paths diverge. Here's path A:
A4: On the same page as above (Admin > Members > Permissions > Settings) also enable Enable the option to deny permissions
A5: Go to Admin > Members > Permissions > Board Permissions and for each profile (that allows posting) set the permissions up as follows: Regular members should have "Post new topics, without requiring approval" and "Post replies to topics, without requiring approval" enabled, while the 0-post count group should have those permissions *denied* and "Post new topics, but hide until approved" and "Post replies to topics, but hide until approved" in their place. Once the user leaves the 0-post count group for the 5-post count group, the other permissions are no longer denied.[3]

Or, path B. It doesn't require deny permissions but it does things another way.
B4: Go to Admin > Members > Permissions > Board Permissions. For Regular Members, set all the posting permissions to disallow. Then in the 0-post count group, give them "Post new topics, but hide until approved" and "Post replies to topics, but hide until approved" and for every other post count group, give them "Post new topics, without requiring approval" and "Post replies to topics, without requiring approval".[4]


___________________________

3.    But now we have an extra membergroup that does absolutely nothing other than allow another group's permissions to expire.
4.    This means you still have the extra group, but at least the extra group is now doing something. This is also very fractionally faster, but harder to maintain as you have to set the new permission up on any new post count group you create.

(I have, as a courtesy spared you the rest of the commentary on how many things are wrong with the process. This is the short version of setting it up)
Holder of controversial views, all of which my own.


FlyEagle1

Thanks, Arantor, we'll give it a go.

Advertisement: