Discourse Solved

:discourse2: Summary Discourse Solved allows users to accept solutions on topics in designated categories.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-solved
:open_book: Install Guide How to install plugins in Discourse

Enabling Solved

The Solved plugin can be enabled from its settings, accessed from your admin/plugins page:

After enabling the plugin, to switch on Solved for all categories use the allow solved on all topics site setting.

Alternatively, if you’d like to apply it per category instead:

  • Go to the category you’d like to enable solutions in and click on the Category Wrench

  • Switch to the Settings tab

  • Scroll down and enable Allow topic owner and staff to mark a reply as the solution

Allow topic owner and staff to mark a reply as the solution

Marking the Solutions

The OP (topic creator) will have a 'Solution` button on each reply that allows/encourages them to accept an answer:

And for other users who can accept an answer (eg. admin or moderators) the same option will show as a more discreet checkbox:

Accepted answers are then highlighted in the first post of the topic:

And topics with accepted answers are marked in the topic list with a checked box:

Some sites might also benefit from an unsolved indicator on topic lists as well, which can be enabled using the empty_box_on_unsolved site setting:

Auto-close topic once solved

From the main Solved admin settings you can set a timer to close a topic once it has received a solution using the solved topics auto close hours admin setting:

Alternatively, one can be set per category from the category wrench menu on the Settings tab:

Search & Filters

Search

The Solved plugin comes with some extra Advanced Search filters for solved or unsolved topics, which can be found in the “Where topics” dropdown:

Which will add status:solved or status:unsolved to your Search.

Filters

You can also enable a filter dropdown in topic list pages using the site setting show_filter_by_solved_status

You can also filter solved/unsolved topics by adding a parameter to the URL. For example:

https://meta.discourse.org/c/support?solved=yes or https://meta.discourse.org/c/support?solved=no

These links could be added above a specific category list by following these instructions:

Marked Solution Reminder

On topics where solutions are able to be marked, a “Has your question been answered” popup message will display when the following criteria is met:

  • The topic does not have an accepted answer
  • The topic has at least one reply from another user
  • The author of the topic is logged in and able to accept a reply as an answer
  • The topic has existed for at least 7 days

If you want to prevent this popup message from being displayed, you can use the following CSS in a theme component to hide it:

.topic-navigation-outlet.no-answer {
    display: none;
}
Extra details on how to add this to your site
  • Go to /admin/customize/themes
  • Click on install and then create new
  • Give it a name, and select ‘component’.
  • Create
  • Add it to your theme
  • Click on the Edit CSS/HTML button and paste the code into the Common tab

And save. :+1:

Settings

Name Description
solved enabled Enable solved plugin, allow users to select solutions for topics
allow solved on all topics Allow users to select solutions on all topics (when unchecked, solutions can be enabled per category or tag)
accept all solutions allowed groups Groups that are allowed to accept solutions on any topic (even when not OP)
empty box on unsolved Display an empty box next to unsolved topics
solved quote length Number of characters to quote when displaying the solution under the first post
solved topics auto close hours Auto close topic (n) hours after the last reply once the topic has been marked as solved. Set to 0 to disable auto closing
show filter by solved status Show a dropdown to filter a topic list by solved status
notify on staff accept solved Send notification to the topic creator when a post is marked as solution by a staff
disable solved education message Disable education message for solved topics
accept solutions topic author Allow the topic author to accept a solution
solved add schema markup Add QAPage schema markup to HTML
prioritize solved topics in search Prioritize solved topics in search results.
enable solved tags Tags that will allow users to select solutions

Solved Badges

Name Description Long Description Type Grouping
Solved! Have a reply marked as a Solution This badge is granted for having a reply marked as a Solution to a topic. :white_check_mark: Nice job. :+1: :3rd_place_medal: Community
Guidance Counsellor Have 10 replies marked as Solutions This badge is granted for having 10 of your replies marked as Solutions to topics. :white_check_mark: You are a true asset to your fellow community members. :2nd_place_medal: Community
Know-it-All Have 50 replies marked as Solutions This badge is granted for having 50 of your replies marked as Solutions to topics. :white_check_mark: You really know your stuff. :clap: :1st_place_medal: Community
Solution Institution Have 150 replies marked as Solutions This badge is granted for having 150 of your replies marked as Solutions to topics. :white_check_mark: Excellent work. :slightly_smiling_face: You are officially a Solution Institution. :brain: :1st_place_medal: Community

:information_source: These badges will be disabled by default. You can enable them from your admin/badges page

:discourse2: Hosted by us? This plugin is available on all of our hosting tiers Solved | Discourse - Civilized Discussion


Development History

Original spec discussion: Solved Button Plugin

Thank you to Western Digital for funding the development of this plugin!

Last edited by @JammyDodger 2024-06-18T15:18:09Z

Check documentPerform check on document:
160 Likes

image

It would be great to see a more visible icon used for solved threads. It’s not easy to distinguish between solved/unsolved with an icon that is the same colour as the font. A nice green tick like in the post itself would be more visible.

You can change that with the help of Solved Topic Badge

3 Likes

Ah thanks that looks perfect!

2 posts were split to a new topic: Make unsolved filter behave the same as status:unsolved search

Hey,

It would be great to have a Solved / Unsolved toggle on the category’s top bar, where we have Latest / Unread / Top.

Thanks!

Hey @Anat_Srulovitch :wave:

Is this what you mean?

4 Likes

Yay, it is! Thank you very much! I didn’t notice that bit of text :slight_smile:

1 Like

A post was split to a new topic: Feature request: use solved plugin in group PM inbox

Hi, I use the plugin to close groups and player searches of ours and was wondering if I can change the wording of solved and unsolved?

You can Customize text in Discourse. Does that work for you?

4 Likes

Ah thanks, I didn’t understand that I had to use the search. Thank you very much, that should work.

5 Likes

A post was split to a new topic: Feature request: automation to reply to topic when a solution has been selected

Would it be possible to add a preference toggle on the user’s side so they can hide Solved topics from the main list of topics?

There is a filter so you can put a filtered URL into the sidebar as custom link for quick access https://yourcommunity.com/c/category-name?solved=no

It turns on by Show filter by solved status setting:

The image displays an option to show a dropdown filter by solved status for a topic list. (Captioned by AI)

The filter dropdown then appears only in the category which has the Solved plugin turned on.

Now I see you maybe do not want to show those in the Latest list? For that there is no setting.

EDIT: Actually you can use the URL option also in the main list. https://yourcommunity.com/?solved=no

2 Likes

After upgrading to Discourse 3.4.0, the alignment of the checkboxes from the ‘solved’ plugin are mis-aligned, as shown in the screenshot below. Can this be fixed somehow?

3 Likes

As a feature request, could this plugin periodically send emails to ask people to mark their topics as solved?

There’s a lot of people who will visit the forum once to solve a specific problem and we won’t see them for weeks after. They will not see the popup reminder either.

I imagine an email nudge after a week going: “hey there, you have opened the following topics and they seem to be still open, if they’re solved, could you go in and mark the solving answer please?”.

2 Likes

You might be interested in this supplemental plugin

5 Likes

That looks like EXACTLY what I need, thank you kindly! :raising_hands:

3 Likes

You’re quite welcome. This plugin came to my attention awhile ago. There was talk that this might eventually be merged into the solved plugin. Imagine might be once the team has time.

2 Likes