mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-07-08 06:32:47 +00:00
In https://github.com/discourse/discourse-solved/pull/342 we moved solutions away from topic_custom_fields into proper tables, with the tables as the proper source of truth to a topic's solution. The user's /my/activity/solved route uses user_actions which is not accurate, and a user has reported a bug where their solution is not reflected there (user actions are not a good representation of what a topic's solution is). This commit introduces - a new route to get solutions, and is mindful `hide_user_profiles_from_public` and such settings - also mindful of PMs and private categories - a new template that makes use of the `<UserStream>` to load posts safely and avoid reimplementation
FIX: Exclude the first post itself when checking if an existing solution from the user exists (#378)
FIX: User directory for solutions should update when value changes from positive value to zero (#372)
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
Description
Languages
Ruby
73%
JavaScript
25.6%
SCSS
1.4%