mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-07-02 03:42:12 +00:00
As part of https://github.com/discourse/discourse-solved/pull/342, some discrepancies in the old implementation resulted in solved topics linking to posts that do not exist (dangling custom field value). Causing us to see the following when there are no `answer_post` ``` NoMethodError (undefined method `user' for nil) ``` This PR prevents the error.
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.2%
JavaScript
25.3%
SCSS
1.5%