mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
PM support for the solved plugin was intentionally removed in https://github.com/discourse/discourse-solved/pull/334, but multiple communities rely on solved in group messages for private support workflows (e.g. using Discourse as an internal ticket system). Add a new `allow_solved_in_groups` site setting (group list, default empty) that enables the solved UI for group messages belonging to the configured groups. Regular 1-on-1 PMs remain excluded. The implementation adds an early return in `allow_accepted_answers?` for private messages that checks whether the topic's allowed groups intersect with the configured setting. The category/tag logic is extracted into `solved_enabled_for_category?` so callers without a topic object (e.g. the category-change diff in plugin.rb) still work. All existing PM exclusions (reports, badges, filters, directory columns) are intentionally left unchanged. https://meta.discourse.org/t/370496
Discourse Solved
Provides a solved button on designated categories
How to Install this Plugin
To install Discourse Plugin - https://meta.discourse.org/t/install-a-plugin/19157
How to Check if Plugin is installed
Go to Admin > Plugins
You should now see:
What to expect if Plugin is installed
Inside the Plugins, you will have the following options:
How to enable it in your posts
New Categories - Check ✅ Allow topic owner and staff to mark a reply as the solution
Old Categories - Go to that Category > Edit > Settings > Check ✅ Allow topic owner and staff to mark a reply as the solution
BONUS: How to add badges to those who answered correctly
https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155
License
MIT


