Discourse Post Voting

:warning: This plugin is still in active development and may change frequently

:discourse2: Summary Discourse Post Voting allows the creation of topics with votable posts.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-post-voting
:open_book: Install Guide How to install plugins in Discourse


To create a new topic with votable posts open the menu in the top left of the composer and select ‘Toggle Post Voting’:

With the topic in Post Voting mode, there’s a filter to sort answers by votes or by activity. Here’s an example of one in action:


Once installed, the plugin is enabled by default and the available admin settings are:

Setting Site Description
qa enabled Enable Post Voting Plugin
qa undo vote action window Number of minutes users are allowed to undo votes in Post Voting topics (enter 0 for no limit)
qa comment limit per post Number of comments allowed on each post
qa enable likes on answers Enable like button on replies on Post Voting topics

And there’s also one on the settings page of the category wrench menu to set all new topics in each particular category in the Post Voting style:



This plugin is inspired by Pavilion’s fantastic work on the Question Answer Plugin. As always, thank you for your continued contributions to the Discourse project. :medal_sports: :slight_smile:


The wait is over, and the plugin has been renamed to… :drum: :drum: :drum:

:tada: Discourse Post Voting :tada:

Thanks everyone for your feedback. :slight_smile: :+1:


Would you recommend to post these as a separate topic tagged as #bug, please?

Let’s have a look. :slightly_smiling_face:

The fourth one is deliberate, but it may be possible to hide it in the OP with a little CSS (though I’d have to check :slight_smile:)

2 and 3 seem like they could use a topic apiece :+1:

And if 1 is restricted to the Air theme it may be best to add a post on that topic and see if the theme needs a tweak to handle the new plugin.

1 Like

Thanks @JammyDodger

I have just confirmed 1 is an issue on default theme too.
I take it I should create 3 separate bug topics.

I can’t get the logic of upvoting the opening post either. :slight_smile:

1 Like

After the rename of the plugin, all manually adjusted texts are gone.


update translation_overrides 
set translation_key = replace(translation_key, 'qa', 'post_voting') 
where translation_key like 'qa.%' or translation_key like 'js.qa%';

I’m not sure if anyone has reported these two. I’m writing them down here first, and will be happy to break them down into separate posts if needed.

  1. The enable likes on answers doesn’t work nicely with the discourse-reactions plugin. See the screenshots. It works fine with the default Discourse like when I deactivate discourse-reactions

  2. The voting UI doesn’t play nicely with some of the themes that I have tried. I don’t know if this should be considered a bug for the theme or this plugin.

    The default theme works. :point_down:

    But it doesn’t work well with the graceful theme. :point_down:

    cc: @awesomerobot

I can turn this on by default for a category. It’s not clear to me (from my admitted skimming of the topic) whether I can restrict the behavior to certain categories…?

No, it’s not currently possible to restrict it. Though you could move them all over to a specific category when you see them and create a loose rule that way?

1 Like