clarkwinkelmann/flarum-ext-shadow-ban

Shadow ban Flarum users

1.1.0 2021-10-15 17:10 UTC

This package is auto-updated.

Last update: 2024-11-16 00:33:26 UTC


README

MIT license Latest Stable Version Total Downloads Donate

This extension implements shadow-ban and shadow content deletion for Flarum.

When a discussion or post is shadow hidden, only the author and users with permission "Shadow hide discussions and posts" will see it.

A user can be shadow-banned for a given duration via their profile. When a user is shadow-banned, all their new discussions and posts are automatically shadow hidden. They are not restored when the shadow-ban ends.

Follow notifications (flarum/subscriptions) and mentions (flarum/mentions) are automatically silenced. However, notifications of new discussions or posts by other extensions might not honour the shadow hide.

Optionally you can enable the users to be shadow hidden when shadow-banned. When a user is shadow hidden, their profile will no longer be accessible by direct link, and they won't be offered in search and mention auto-completion. However, their name is still visible on their previous non-hidden content and the user card/profile can be seen from there.

For the shadow-banned/hidden user, their content continues to be visible to them with no difference, including the REST API payload being completely identical to regular non-shadow-hidden content. They can of course notice the shadow-ban by visiting the forum as guest or with a different account. It's also possible to notice the shadow-ban due to the discussion meta not taking into account the user posts, including the last reply not reflecting their username and discussions not rising to the top of the homepage with their new reply.

Installation

composer require clarkwinkelmann/flarum-ext-shadow-ban

Support

This extension is under active maintenance.

Bugfixes and compatibility updates will be published for free as time allows.

You can contact me to sponsor additional features.

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

Links