fof / prevent-necrobumping
Warn before necrobumping old discussions
Fund package maintenance!
Website
Installs: 28 707
Dependents: 2
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 3
Open Issues: 2
Type:flarum-extension
pkg:composer/fof/prevent-necrobumping
Requires
- flarum/core: ^2.0.0-beta
Requires (Dev)
- flarum/phpstan: ^2.0.0-beta
- flarum/tags: ^2.0.0-beta
- flarum/testing: ^2.0.0-beta
README
A Flarum extension. Warn before necrobumping old discussions.
Necrobump (verb):
To revive a long dormant forum thread by adding a new post, thus bringing it to the top of the forum list. Often a tactic of trolls attempting to control a forum.
Installation
composer require fof/prevent-necrobumping:"*"
Updating
composer update fof/prevent-necrobumping
Configuration
Basic Settings
Configure the extension in the admin panel under Extensions → Prevent Necrobumping:
- Days Until Discussion Considered Inactive: Set the number of days after which a discussion is considered inactive (default: 30)
- Show "Start New Discussion" Prompt: Display a suggestion to start a new discussion when users attempt to reply to inactive discussions
Tag-Specific Thresholds
If you have the flarum/tags extension installed, you can configure different inactivity thresholds for specific tags. When a discussion has multiple tags with different thresholds, the shortest period applies.
Customizing Translations
You can customize the alert messages and prompts shown to users when they attempt to reply to inactive discussions. The extension provides the following translation keys:
Forum Translations
fof-prevent-necrobumping: forum: composer: inactive_discussion_alert: title: The last reply to this discussion was {time}. description: Consider whether your reply adds new value or if the topic has already been resolved. cta: Consider starting a fresh discussion if you have a new question or perspective. cta_button: => core.ref.start_a_discussion confirmation: I understand this discussion is inactive, but my reply is relevant. error: This discussion is too old to reply to.
Admin Translations
fof-prevent-necrobumping: admin: settings: general_heading: General Settings days_label: Days Until Discussion Considered Inactive days_help: Mark discussions as inactive after this many days since the last post. Set to <code>0</code> to disable by default. show_discussion_cta_label: Show "Start New Discussion" Prompt show_discussion_cta_help: Display a suggestion to start a new discussion when users attempt to reply to inactive discussions. tags_title: Tag-Specific Settings tags_help: Override the global inactivity threshold for specific tags. Leave empty to use the default. When multiple tags have different values, the shortest period applies. tags_placeholder: Default
Managing Translations
You can customize these translations in two ways:
-
Using FoF Linguist (Recommended)
Install the FoF Linguist extension to manage translations directly from your admin panel:
composer require fof/linguist
Then navigate to Admin → Extensions → Linguist to edit the translation keys listed above.
-
Using Language Packs
If you're using a language pack, you can submit translation updates to the language pack repository. For example:
- Flarum Language Packs
- Create a pull request with your translations for the keys above
Links
An extension by FriendsOfFlarum, commissioned by webdeveloper.com.