Skip to content

FriendsOfFlarum/prevent-necrobumping

Repository files navigation

Prevent Necrobumping by FriendsOfFlarum

License Latest Stable Version OpenCollective Donate

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.

https://www.urbandictionary.com/define.php?term=necrobump

screenshot screenshot admin

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:

  1. 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.

  2. Using Language Packs

    If you're using a language pack, you can submit translation updates to the language pack repository. For example:

Links

OpenCollective GitHub

An extension by FriendsOfFlarum, commissioned by webdeveloper.com.

About

Warn before necrobumping old discussions

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 11