Discourse Post Voting

: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:

post voting category default


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:


There hasn’t been much action on the repository for the past few months:

Is it still in active development?

I note a couple of obvious issues:

  1. Bug: The comments have a weird duplication thing going on:
Second UX issue split into new topic

Author can see Voting icon on their own post/comment but gets an error when trying to vote

  1. UX: The post author can see the voting icon (on their own post) but get an error message if they try and vote. Would be much better if hidden for the post author!

@nathank - The 'In active development` note has now been removed. :partying_face:

Are you still seeing the bug with the comment duplication? I don’t think we’ve had any other reports, but if you’re still experiencing it could you whip up a bug topic so we can track it?

Is there a way to get the comments on the posts without the voting? The voting is being abused too often in brigading, whereas the comments are really useful. (At least in our instance)

1 Like

A post was split to a new topic: Change ‘Answer’ button back to ‘Save Edit’ when editing a Post Voting post

I’m afraid it’s not possible to turn the post voting itself off and just keep the comments. You may be able to hide the voting element with a little CSS, perhaps. I’m not sure if that would be practical though?

If you do try it, let us know how you get on. :slight_smile: