# Solved Button Plugin

**URL:** https://meta.discourse.org/t/solved-button-plugin/28129
**Category:** Feature
**Tags:** rfc, spec
**Created:** [April 30, 2015, 6:44am UTC](https://meta.discourse.org/t/solved-button-plugin/28129 "2015-04-30T06:44:15Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 30, 2015, 6:44am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/1 "2015-04-30T06:44:15Z")

</div>

SEE:

> [@Discourse Solved](https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155):
>
> discourse2Summary Discourse Solved allows users to accept solutions on topics in designated categories.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. 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. Alternati…

Customers often ask us for a “solved button” feature. This has been discussed a few times on meta. [#7082](https://meta.discourse.org/t/how-do-you-mark-a-topic-as-solved-do-we-do-that-on-discourse/7082) [#26070](https://meta.discourse.org/t/voting-up-the-best-answer/26070)

We are going to embark on building an official “Solved Button” I wanted to make sure it is very well specified prior.

### Prior Art

@shiv built the [Solved Button](https://github.com/shivpkumar/Solved-Button) plugin, it performs some of the functionality we would like to see, but not all. Further more it is build on some old interfaces and needs an update.

### Spec

1. Admins can select a checkbox on categories → settings, “allow solved button”.

2. Admin can set a site setting globally to enable disable the solved button feature (works in multisite)

3. On an open topic, the OP or Staff may select any reply as a “solution”, only one reply may be marked as a solution.

4. If a topic has a solution, the solution will be linked directly from the bottom of the first post.

5. If a topic has a solution we will display a special icon in the topic list

6. If a topic is closed/frozed you can not set a solution.

7. The ui will hint (via a tooltip) who accepted the solution, as Staff have override power.

8. If the OP selects an answer it will become “locked” after a configurable period of time, after which they may not select a different answer.

9. We will have a special search query term to fine “unsolved”/“solved” topics in a category.

10. special css classes will be injected at the topic and post level to denote a topic has a solution.

### Out of scope for initial version (maybe in v2)

1. Special badges for N accepted answers

2. Displaying count of accepted answers on usercard or user page

### Mockups

**Post:**

![](https://global.discourse-cdn.com/meta/original/3X/6/0/6048a8a4bdbd4a8423718ad00e2d7760e930d07b.png)

**OP**

![](https://global.discourse-cdn.com/meta/original/3X/e/6/e6c68a9cd2d15a35d58e34abd1a89dba207cbbef.png)

**List**

![](https://global.discourse-cdn.com/meta/original/3X/2/6/26ed5578e2e01f496dd66a1c3b5accf039c24fa3.png)

---

_[View the full topic](https://meta.discourse.org/t/solved-button-plugin/28129)._
