# Question Answer Plugin

**URL:** https://meta.discourse.org/t/question-answer-plugin/56032
**Category:** Plugin
**Tags:** deprecated
**Created:** [January 19, 2017, 4:43pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032 "2017-01-19T16:43:47Z")
**Posts on this page:** 20
**Page:** 9

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [February 16, 2019, 3:34am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/169 "2019-02-16T03:34:42Z")

</div>

It seems there is a bug with the diary setting when viewing a topic on mobile:

> **[1. Indoor-Grow 3x Critical // 250W MH // 250W NDL // Toppen](https://forum.cannabisanbauen.net/t/1-indoor-grow-3x-critical-250w-mh-250w-ndl-toppen/4661/4)**
>
> Kleines Update … Temperatur Tag 26-28 Grad RLF 40-45% Temperatur Nacht 18-19 Grad RLF 40-55% Ventilator 24/7 Abluft 20/4 Vorgestern gab es jeweils 1,5l abgestandenes Leitungswasser pH-Wert bei 6,8. Erstmal schön angefeuchtet und nach und...

after the post there is a huge white space  
can you check @angus ?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [March 19, 2019, 12:31am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/170 "2019-03-19T00:31:25Z")

</div>

@pfaffman I’ve just pushed a fix for this plugin to bring it up to speed with the latest.

> <https://github.com/paviliondev/discourse-question-answer/commit/67ffd1a2f05acfac11cd83d8c42fc5833661a827>

---

<div class="post-metadata">

### Author: ![scavin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scavin/32/115938_2.png) [@scavin](https://meta.discourse.org/u/scavin)
#### Post date: [April 30, 2019, 2:25am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/171 "2019-04-30T02:25:16Z")

</div>

I love this plugin. Thank you @angus

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 1, 2019, 7:19am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/172 "2019-05-01T07:19:14Z")

</div>

@scavin Thank you for doing the Chinese translations!

[https://github.com/angusmcleod/discourse-question-answer/commit/6678b412f6906ca35c685dff24cf6d585750b899](https://github.com/angusmcleod/discourse-question-answer/commit/6678b412f6906ca35c685dff24cf6d585750b899)

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [May 23, 2019, 4:39pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/173 "2019-05-23T16:39:28Z")

</div>

Any news on scrollbar implementation for “one-to-many” layout?

---

<div class="post-metadata">

### Author: ![zenkamal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zenkamal/32/122448_2.png) [@zenkamal](https://meta.discourse.org/u/zenkamal)
#### Post date: [May 23, 2019, 7:18pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/174 "2019-05-23T19:18:58Z")

</div>

First, very cool plugin. Second, in the sandbox, the “show comments” toggle doesn’t appear to toggle (meaning it just opens, without toggling back to closed if you click it again).

Am I doing it wrong? Do I click something else to toggle?

 ![16%20PM](https://global.discourse-cdn.com/meta/original/3X/0/a/0a8a8c8ac6e1f113964b526da852335a574d6959.png)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 27, 2019, 2:24am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/175 "2019-05-27T02:24:45Z")

</div>

> [@jrgong](#):
>
> Any news on scrollbar implementation for “one-to-many” layout?

This isn’t being worked on at the moment, but happy to put it on the agenda if we can get a feature request with more than 5 votes: [https://discourse.angusmcleod.com.au/w/feature-request](https://discourse.angusmcleod.com.au/w/feature-request)

You’ll need an account on my sandbox to access the wizard.

> [@zenkamal](#):
>
> First, very cool plugin. Second, in the sandbox, the “show comments” toggle doesn’t appear to toggle (meaning it just opens, without toggling back to closed if you click it again).
> 
> Am I doing it wrong? Do I click something else to toggle?

This is indeed a bug! If you have the time to submit a report here it would be much appreciated: [https://discourse.angusmcleod.com.au/w/bug-report](https://discourse.angusmcleod.com.au/w/bug-report)

You’ll need an account on my sandbox to access the wizard.

Thanks 🙂

---

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [June 13, 2019, 4:41pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/176 "2019-06-13T16:41:32Z")

</div>

Hi Angus,  
We really want to make our formu Q&A so we tried to use your plugin.  
Some points:

1. We get an error in the DevTools - “Could not find widget actions-summary-item in registry”.  
 ![image](https://global.discourse-cdn.com/meta/original/3X/a/f/af3cbad70815508b9558be1842da0ff4002d7bf6.png)  
I saw in your Github that you were using it. Is it a bug?

2. We can’t see the `undo` button after clicking the vote button. It could be due to my first point, but I’m not sure.

3. What are the plants on the unlike button?

4. When a post has comments, it does not have the ‘show comments’:  

5. In your sandbox I noticed that if you click ‘show comments’ you can’t undo it (close the comments section).

Thank you.

---

<div class="post-metadata">

### Author: ![Ellibereth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellibereth/32/202896_2.png) [@Ellibereth](https://meta.discourse.org/u/Ellibereth)
#### Post date: [June 15, 2019, 1:41pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/177 "2019-06-15T13:41:57Z")

</div>

Hey @verilog15, those do seem like bugs, if possible could you submit a [bug report](https://discourse.angusmcleod.com.au/w/bug-report/steps/plugin)?

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [June 27, 2019, 5:15am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/178 "2019-06-27T05:15:52Z")

</div>

actions-summary-item was removed in [FEATURE: Flag count in post menu · discourse/discourse@31e1005 · GitHub](https://github.com/discourse/discourse/commit/31e100530f5eeef1ceac1c2af91b6df5b1d99521#diff-2458db8415a08bcd733d3e180343d885)

[https://github.com/angusmcleod/discourse-question-answer/issues/19](https://github.com/angusmcleod/discourse-question-answer/issues/19)

---

<div class="post-metadata">

### Author: ![Dannii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dannii/32/129087_2.png) [@Dannii](https://meta.discourse.org/u/Dannii)
#### Post date: [June 27, 2019, 5:27am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/179 "2019-06-27T05:27:27Z")

</div>

If you use this with the Solved plugin, you can select a comment as the solution. Not ideal, but low priority to fix too.

---

<div class="post-metadata">

### Author: ![nexo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nexo/32/106384_2.png) [@nexo](https://meta.discourse.org/u/nexo)
#### Post date: [June 28, 2019, 4:58am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/180 "2019-06-28T04:58:31Z")

</div>

Why are all the border lengths _odd_?

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/2/b266a2dc3b620e0f6ef1ecf6a546e60fc6d7795e.png)

---

<div class="post-metadata">

### Author: ![vsoch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsoch/32/124967_2.png) [@vsoch](https://meta.discourse.org/u/vsoch)
#### Post date: [July 2, 2019, 4:16pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/181 "2019-07-02T16:16:55Z")

</div>

hey @angus, thank you for this beautiful work! I want to pick up where @dalerka left off last year in February - I’m one of the maintainers of the [AskCyberinfrastructure](https://ask.cyberinfrastructure.org/) discourse and we are immensely interested in having support for multiple votes per topic.

Specifically, we are looking for functionary akin to reddit or Stack Exchange, where it’s possible to upvote more than one response. As a user of the board, I commonly like a subset of the answers and would want to move them both up. The assumption here is that I, as a user, can have preference for more than one answer, and I should be able to vote accordingly. Questions to discuss:

- is some option of this nature a possibility for a future version of this plugin?
- are there existing tricks that could achieve the same or similar?
- if this is not something that can be supported, what would be the steps to creating this custom plugin, or doing a PR here?

I’m not an experienced Ruby programming, but I’m fairly good at picking things up, and am always open to taking a shot, if someone is able to give general direction. Thank you!

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [July 4, 2019, 6:29am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/182 "2019-07-04T06:29:02Z")

</div>

Hey @vsoch, thanks for reaching out!

Yes, that sounds like a good candidate for a new feature for this plugin. Awesome that you’re keen to help out with the development as well!

The move here will be to add site settings for vote limits according to trust levels.

Here’s how we can tackle the implementation.

1. Create an account on [my sandbox](https://discourse.angusmcleod.com.au).

2. Submit a feature request using the [feature request custom wizard](https://discourse.angusmcleod.com.au/w/feature-request/steps/step_1).

3. I’ll promote this feature request straight into the [“Tasks” workflow](https://discourse.angusmcleod.com.au/c/public-work/tasks) as you’re keen to help out with the implementation (normally this takes votes or $ contributions).

4. I’ll start you off with some pointers on how to implement this in the task topic, and then give you further feedback once you get a PR together.

---

<div class="post-metadata">

### Author: ![vsoch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsoch/32/124967_2.png) [@vsoch](https://meta.discourse.org/u/vsoch)
#### Post date: [July 4, 2019, 8:14am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/183 "2019-07-04T08:14:14Z")

</div>

Done!

[https://discourse.angusmcleod.com.au/t/qa-add-site-settings-for-vote-limits-according-to-trust-levels/1226](https://discourse.angusmcleod.com.au/t/qa-add-site-settings-for-vote-limits-according-to-trust-levels/1226)

Thank you so kindly! Looking forward to learning some Ruby 🙂

---

<div class="post-metadata">

### Author: ![mreach](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mreach](https://meta.discourse.org/u/mreach)
#### Post date: [July 28, 2019, 9:47pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/184 "2019-07-28T21:47:16Z")

</div>

> [@angus](#):
>
> - Posts are arranged, first by the number of votes they have received, then by the date they were posted.

How can this plugin be modified to KEEP chronological order while still facilitating the vote functionality?

Further, can you please add downvoting?

In my case I need to be able to vote and prioritize posts via meta data while still maintaining contextual chronology of a topic throughout the thread.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [July 29, 2019, 9:02pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/185 "2019-07-29T21:02:48Z")

</div>

Hey @mreach

Both are decent feature requests. You can submit them here:

[https://discourse.angusmcleod.com.au/w/feature-request](https://discourse.angusmcleod.com.au/w/feature-request)

---

<div class="post-metadata">

### Author: ![OvermindDL1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overminddl1/32/115252_2.png) [@OvermindDL1](https://meta.discourse.org/u/OvermindDL1)
#### Post date: [August 6, 2019, 9:18pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/186 "2019-08-06T21:18:10Z")

</div>

Couple of bugs it seems on the current Discourse @angus

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/b/1bb2ad785de9c4acccb3713c7b4c5d54dc66c3e5.png)  
Same on the one-to-many as well.

Unable to vote, everyone of any rank (including 4) always and only gets this message:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/d/fde7f409e8e33b9abfa6c5e9a5088d5e4946699d.png)

Checking the javascript, the `post.topic.can_vote` is false, if I set it to true in the inspector then and only then am I able to vote with impunity in that same thread until I navigate away and back to it, so the back-end side of it ‘seems’ to be working fine?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [August 8, 2019, 3:55am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/187 "2019-08-08T03:55:40Z")

</div>

@OvermindDL1 Thanks for the report. Both were namespace issues. I’ve pushed various fixes, so if you could update and test again.

Note that there is now a setting for the trust level vote limit system (i.e. to disable / enable): `qa trust level vote limits` (@vsoch).

---

<div class="post-metadata">

### Author: ![vsoch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vsoch/32/124967_2.png) [@vsoch](https://meta.discourse.org/u/vsoch)
#### Post date: [August 8, 2019, 4:11am UTC](https://meta.discourse.org/t/question-answer-plugin/56032/188 "2019-08-08T04:11:57Z")

</div>

Thanks @angus! Here are the fixes, for future easy linking:

[https://github.com/angusmcleod/discourse-question-answer/commit/7e628de11021197024b89651979be4ee277771ea](https://github.com/angusmcleod/discourse-question-answer/commit/7e628de11021197024b89651979be4ee277771ea)

I haven’t been able to test yet (and debug) with the [actions-summary](https://github.com/angusmcleod/discourse-question-answer/issues/19) widget removed, but I’ll keep abreast of updates for when I can!

[Previous page](https://meta.discourse.org/t/question-answer-plugin/56032.md?page=8)

[Next page](https://meta.discourse.org/t/question-answer-plugin/56032.md?page=10)
