fof/first-post-approval

Hold posts and discussions from new users for approval

Maintainers

Package info

github.com/FriendsOfFlarum/first-post-approval

Homepage

Forum

Type:flarum-extension

pkg:composer/fof/first-post-approval

Transparency log

Fund package maintenance!

Website

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.0-beta.1 2026-08-16 14:23 UTC

This package is auto-updated.

Last update: 2026-08-16 14:24:26 UTC


README

License Latest Stable Version Total Downloads OpenCollective

A Flarum extension. Hold the first n posts and/or discussions from new users for approval.

Installation

composer require fof/first-post-approval

Flarum's Approval and Flags extensions must also be enabled.

Updating

composer update fof/first-post-approval
php flarum migrate
php flarum cache:clear

Documentation

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.

FriendsOfFlarum Byobu

Private discussions cannot be held for approval, so if the FriendsOfFlarum Byobu extension is enabled, users who are still subject to first post approval are prevented from starting them. This is enforced by the API, not just hidden in the interface.

If you would rather let new users message each other freely, turn off Prevent private discussions until approved in the extension settings.

Credits

This extension was originally developed by Clark Winkelmann for a client and released as open-source. It has since been adopted and is now maintained by FriendsOfFlarum.

Links

OpenCollective

An extension by FriendsOfFlarum.