clarkwinkelmann/flarum-ext-first-post-approval

Hold posts and discussions from new users for approval

0.1.2 2020-10-20 20:00 UTC

This package is auto-updated.

Last update: 2020-10-20 20:00:59 UTC


README

MIT license Latest Stable Version Total Downloads Donate

This extension holds the first n posts and/or discussions from users for approval.

Some groups can be excluded from the rule on the permissions page.

When a post is approved, it counts +1 towards the number of first posts to approve.

When a discussion is approved, it counts +1 towards the number of first discussions to approve, and also +1 towards the number of first posts.

If you don't set a number of discussions to approve, new discussions will be held for approval based on the number of posts of the user. For example if you require 2 posts to be approved but 0 discussions, if one of the first two interactions of the user is to create a discussion, that discussion will be held for approval. But if they first create two replies that get approved, they can then create their first discussion without approval.

Existing users

If you install this extension on a forum with an existing user base, you might want to manually update the first_post_approval_count and first_discussion_approval_count columns on the users table to prevent existing users from being subjected to the first post approval. Any number equal or higher than the number configured in the extension settings will cause the approval to be skipped.

Alternatively, you can exclude some groups on the permissions page.

Installation

Flarum's Approval and Flags extensions must be enabled.

composer require clarkwinkelmann/flarum-ext-first-post-approval

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links