# 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:** 20
**Page:** 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)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [April 30, 2015, 7:12am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/2 "2015-04-30T07:12:07Z")

</div>

LOL

If I had a nickel for every time I’ve I seen a “one more question” or “thanks, but now I have this problem” post in a supposedly “solved” thread …

I guess the “Reply as linked Topic” could be used for those, unless there will be a way to “unsolve” too.

---

<div class="post-metadata">

### Author: ![oganer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oganer/32/103794_2.png) [@oganer](https://meta.discourse.org/u/oganer)
#### Post date: [April 30, 2015, 8:10am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/3 "2015-04-30T08:10:03Z")

</div>

> [@sam](#):
>
> Further more it is build on some old interfaces and needs an update.

[Ufff, lost some hours to understand how to fix it](https://meta.discourse.org/t/plugin-tutorial-3-how-to-add-a-button-after-every-posts/11050/18).  
Will watch with interest how it can be rewritten.

---

<div class="post-metadata">

### Author: ![lisajill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lisajill/32/32289_2.png) [@lisajill](https://meta.discourse.org/u/lisajill)
#### Post date: [April 30, 2015, 3:07pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/4 "2015-04-30T15:07:47Z")

</div>

Awesome news.

I have a slew of questions.

1. Will there be template hooks so that we can change the location and verbiage for this? For instance, we’ll want it to be more prominent and show who selected the answer without an onhover action.

2. Is there a timeframe for release (I know all devs love this question!)

3. Will we be able to tap into the actions around solving a topic for other actions?

I have mockups for something similar but with far more prominent placement since we are primarily a support forum - I’m hoping you’ll make this accessible for customization.

Thank you!

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [April 30, 2015, 3:18pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/5 "2015-04-30T15:18:51Z")

</div>

> [@sam](#):
>
> If a topic has a solution, the solution will be linked directly from the bottom of the first post.

I especially 😍 this, which solves (pun intended) a problem we have been looking to fix in our community. It will be huge.

Go forth! I look forward to having and making massive use of this functionality whenever it becomes available.

 ![](https://global.discourse-cdn.com/meta/original/4X/a/d/0/ad05e0bd9d037800430ae4a140ac82d65379bb81.jpeg)

---

<div class="post-metadata">

### Author: ![mbs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbs/32/115465_2.png) [@mbs](https://meta.discourse.org/u/mbs)
#### Post date: [April 30, 2015, 3:28pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/6 "2015-04-30T15:28:18Z")

</div>

Very neat, I like those specs and will be waiting for it to be developed.

It’s not something that I myself am in dire need of, but it certainly can be useful and it’s a very huge plus for some communities or needs.

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [May 4, 2015, 8:00am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/7 "2015-05-04T08:00:38Z")

</div>

Really helpful for a community like mine 😉

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [May 4, 2015, 12:06pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/8 "2015-05-04T12:06:18Z")

</div>

Please do update this (or another) topic when there is something ready to install for testing. This will be the last piece we need to unify all of our product support over to Discourse from other media.

---

<div class="post-metadata">

### Author: ![strager](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@strager](https://meta.discourse.org/u/strager)
#### Post date: [May 7, 2015, 8:41pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/9 "2015-05-07T20:41:19Z")

</div>

Maybe the “Solved” block could be colored (with the actual color customized in Admin) so that it stands out a little more?

Note: As we are sponsoring this plugin, I wanted to point out that this is a personal suggestion, and not a requirement for the plugin.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [May 8, 2015, 1:01am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/10 "2015-05-08T01:01:28Z")

</div>

Similarly I think the “solved” action button probably needs to stand out more visually, too, to remind people to use it. Otherwise it’s likely to go forgotten.

---

<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: [May 8, 2015, 1:24am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/11 "2015-05-08T01:24:47Z")

</div>

I will make sure this stuff is easily customisable using css.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 8, 2015, 8:35am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/12 "2015-05-08T08:35:21Z")

</div>

> [@sam](#):
>
> Admins can select a checkbox on categories -\> settings, “allow solved button”.

What will this do to existing topics in a category? I’m guessing the answer is “nothing”, in which case:

**Allow bulk-application of Solved widget for existing topics**

For my forum, our old Troubleshooting topics shouldn’t be left out of this functionality. Many users still land on old topics when searching for answers to already solved problems, and if these topics don’t have a Solved/Unsolved status, it will be confusing.

We’d like to automatically mark all our existing Troubleshooting topics as “Solved”, which will have further implications on the spec:

**Can a Topic be “Solved” without an answer?**

- The poster might have solved the problem themselves shortly thereafter and edited in the answer.
- The question/point is considered void/mute. As such, “Solved” is more appropriate since it’s not a real problem and it communicates that there’s nothing unresolved about this subject.
- A large amount of legacy topics - of which 90% have good answers - should be marked Solved

> [@sam](#):
>
> 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.

What about OP reverting the Topic’s status to “Unsolved”? I think this should be possible to allow via settings. We trust our users to be good citizens and only revert the Solved status with probable cause.

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [May 8, 2015, 8:44am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/13 "2015-05-08T08:44:32Z")

</div>

> [@sam](#):
>
> Special badges for N accepted answers

Like it pretty much!

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [May 9, 2015, 9:13am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/14 "2015-05-09T09:13:50Z")

</div>

Can you add this on 1.3 roadmap?

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 9, 2015, 9:34am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/15 "2015-05-09T09:34:51Z")

</div>

It’s a plugin, so it might operate outside of the roadmap for core developments.

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [May 9, 2015, 9:38am UTC](https://meta.discourse.org/t/solved-button-plugin/28129/16 "2015-05-09T09:38:34Z")

</div>

> [@erlend\_sh](#):
>
> It’s a plugin, so it might operate outside of the roadmap for core developments.

Ok, thanks for the explanation!

---

<div class="post-metadata">

### Author: ![Mohammad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mohammad/32/115484_2.png) [@Mohammad](https://meta.discourse.org/u/Mohammad)
#### Post date: [May 10, 2015, 6:36pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/17 "2015-05-10T18:36:52Z")

</div>

I would love to see it included in the future updates @sam

Thank you for considering my request. Means a lot

---

<div class="post-metadata">

### Author: ![Mohammad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mohammad/32/115484_2.png) [@Mohammad](https://meta.discourse.org/u/Mohammad)
#### Post date: [May 10, 2015, 6:40pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/18 "2015-05-10T18:40:41Z")

</div>

> [@erlend\_sh](#):
>
> It’s a plugin, so it might operate outside of the roadmap for core developments.

You mean we will need to install it ourselves?

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [May 10, 2015, 6:47pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/19 "2015-05-10T18:47:40Z")

</div>

Yeah, unless they decide to bundle it with the default install.

---

<div class="post-metadata">

### Author: ![Mohammad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mohammad/32/115484_2.png) [@Mohammad](https://meta.discourse.org/u/Mohammad)
#### Post date: [May 10, 2015, 6:49pm UTC](https://meta.discourse.org/t/solved-button-plugin/28129/20 "2015-05-10T18:49:19Z")

</div>

Installing such plugins is way technical because I tried it several times and often end up with wrong SHH logins and there seems to be little support with regard to helping newbies in this case. I would request them to add it in default updates

[Next page](https://meta.discourse.org/t/solved-button-plugin/28129.md?page=2)
