Plugin "Pas de premier post de relance"

:information_source: Summary Disable editing first post and its tags bumping the topic
:hammer_and_wrench: Repository Link GitHub - Eroscripts/discourse-no-bump-first-post
:open_book: Install Guide How to install plugins in Discourse

We had a problem with users bumping their topics when editing them

It’s not really a problem when there’s just a couple of posts, but if some of their links died and they have to update a dozen it becomes spammy

Same problem with mods changing tags (without using mass-tagging)

So with some (a lot) help from AI and some (a lot) rewrites I made a plugin to fix that

Features

  • Prevents topics from being bumped when the first post is edited

  • Works with all types of edits to the first post, including tag changes

  • Applies to all users, not just the topic creator

  • Category-based allow/block lists with inheritance

  • Optional time-based cooldown between bumps

Configuration

After installing, go to AdminSettingsPlugins and configure the settings below.

Settings

Name Description Default
Prevent topic bumping when the first post is edited Master switch. When enabled, editing the first post (including tag changes) won’t bump the topic. false
Allowed categories Categories where first-post edits may bump. Leave empty to block all by default. Empty
Blocked categories Categories that must never bump. Overrides allowed categories. Empty
Minimum hours between bumps Require cooldown since last bump. Use 0 to disable. 0
1 « J'aime »

How does this plugin interact with the recent changes in core that prevent bumping of topics when the last post is edited?

The use cases you describe with users bumping on edit and staff bumping when they tag topics seem to be covered by the changes in core. The only case I know that still bumps the topic is if the first post is a wiki which was added as an exception in FEATURE: Bump wiki topics when OP is edited by martin-brennan · Pull Request #35137 · discourse/discourse · GitHub.

So, can I now use your plugin to enable bumping topics in a category on edit?

Hmm, it was made like a half year ago, just forgot about it since as we didn’t add it to our Discource
Will check

cc @Eviepayne

  1. Plugin only returns true in bypass_bump, so you can’t use it (as is) to bump posts