Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clarkwinkelmann/flarum-ext-first-post-approval

Hold posts and discussions from new users for approval
https://github.com/clarkwinkelmann/flarum-ext-first-post-approval

Last synced: about 2 months ago
JSON representation

Hold posts and discussions from new users for approval

Awesome Lists containing this project

README

        

# First Post Approval

[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/clarkwinkelmann/flarum-ext-first-post-approval/blob/master/LICENSE.txt) [![Latest Stable Version](https://img.shields.io/packagist/v/clarkwinkelmann/flarum-ext-first-post-approval.svg)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-first-post-approval) [![Total Downloads](https://img.shields.io/packagist/dt/clarkwinkelmann/flarum-ext-first-post-approval.svg)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-first-post-approval) [![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/clarkwinkelmann)

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](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.

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

## Links

- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-first-post-approval)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-first-post-approval)
- [Discuss](https://discuss.flarum.org/d/25055)