Anonymous Posting
This extension allows users to create discussions and replies without revealing their usernames except to moderators.
Moderators can also switch existing discussions and posts between anonymous and regular.
The discussion and first post must be updated separately!
Anonymous post authors can still edit their posts like if they were regular posts from them.
Anonymous posts are made visible to moderators and authors on their user profile, but regular users can't see the association.
Unfortunately the author of the anonymous content will still be rendered as [deleted]
by Flarum in some places.
You can use the Prominent Post Numbers extension to switch some of these texts to the post number instead.
Some Flarum notification templates are not able to handle posts without authors and will throw PHP warnings while trying to access properties of null
objects.
If you hide PHP warnings output in php.ini
most notifications should continue to send fine without errors and will just show the raw translation placeholder where a display name is supposed to be.
You should not use the Author Change extension on an anonymous post, it can lead to unexpected errors.
Instead, you should first de-anonymize the post before changing the author.
Installation
This extension requires PHP 7.4 or higher.
composer require clarkwinkelmann/flarum-ext-anonymous-posting
Anonymous Avatars
The anonymous avatars feature allows customizing the avatar of anonymous posts based on attributes of the real author's profile.
This feature requires the premium Formulaire extension which can be purchased via Extiverse.
See README file on GitHub for setup instructions.
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.
Sponsors: andyli0123
Links