Votação de tópicos no Discourse

:discourse2: Resumo Votação em Tópicos do Discourse permite votar em tópicos de uma categoria específica.[1]
:open_book: Guia de Instalação Este plugin já vem incluído no núcleo do Discourse. Não é necessário instalá-lo separadamente.

Recursos

Para ativá-lo, edite qualquer categoria, vá até a aba de configurações e marque a caixa de seleção “Permitir que os usuários votem em tópicos desta categoria”:

Uma vez ativado, um item “Votos” estará disponível no menu superior. Os tópicos dessa categoria poderão receber votos, com a contagem exibida ao lado do título do tópico.

A votação também aparece ao lado do título ao rolar a página.

Para facilitar a visualização da contagem de votos a partir de uma lista de tópicos, o número de votos também é exibido abaixo dos títulos dos tópicos.

Abaixo estão as visualizações que um usuário verá antes e depois de votar em um tópico:

Também há uma seção na página do perfil do usuário que exibe seus votos ativos:

Votos Ativos

O termo Votos Ativos refere-se aos votos que um usuário fez em tópicos que ainda estão disponíveis para votação. Limitar os Votos Ativos incentiva os usuários a votar de forma ponderada nos tópicos que mais importam para eles.

  • O número de Votos Ativos disponíveis para cada usuário é configurável por Nível de Confiança. Valores padrão:

    • TL0: 2
    • TL1: 4
    • TL2: 6
    • TL3: 8
    • TL4: 10
  • Cada usuário pode emitir apenas um voto por tópico.

  • Quando um tópico é fechado ou arquivado, a contagem de votos no tópico permanece inalterada. Esses votos não são mais considerados Ativos. Os usuários que emitiram esses votos terão seu voto naquele tópico devolvido ao seu pool de votos disponíveis.

  • Se um tópico for reaberto ou desarquivado, os votos serão recuperados e aplicados de volta à contagem de Votos Ativos dos usuários.

  • Se um tópico recuperar os votos de um usuário, fazendo com que ele ultrapasse o limite de Votos Ativos, ele simplesmente precisará esperar até que tópicos sejam fechados ou arquivados para poder votar novamente.

  • Se um tópico inteiro (Tópico A) for mesclado em outro tópico com votação (Tópico B), ocorrerá o seguinte:

    1. Votos únicos do Tópico A serão adicionados ao Tópico B.
    2. Votos duplicados (mesmo usuário votou em ambos os tópicos) do Tópico A não serão adicionados ao Tópico B. Em vez disso, o voto do Tópico A será devolvido ao pool de votos disponíveis do usuário.
    3. A contagem de votos do Tópico A será definida como zero e o tópico será fechado, impedindo novas votações no Tópico A.

Configurações

Nome Descrição
topic voting alert votes left Alertar o usuário quando restarem tantos votos
topic voting enabled Permitir que os usuários votem em tópicos?
topic voting show who voted Permitir que os usuários vejam quem votou?
topic voting show votes on profile Permitir que os usuários vejam seus votos no feed de atividades?
topic voting tl0 vote limit Quantos votos ativos os usuários TL0 podem ter?
topic voting tl1 vote limit Quantos votos ativos os usuários TL1 podem ter?
topic voting tl2 vote limit Quantos votos ativos os usuários TL2 podem ter?
topic voting tl3 vote limit Quantos votos ativos os usuários TL3 podem ter?
topic voting tl4 vote limit Quantos votos ativos os usuários TL4 podem ter?

Configuração por Categoria

topic voting category setting

EXTRAS

:information_source: Nas categorias em que o plugin de Votação está ativado, os Curtidas são automaticamente desativados. Alguns sites podem querer usar ambas as funções ao mesmo tempo para curtir respostas; veja como reativar os Curtidas.

Consultas do Data Explorer

Listar pessoas que votaram em um tópico junto com seus endereços de e-mail:

--[params]
-- int :topic_id

SELECT
tvv.user_id,
email
FROM topic_voting_votes tvv
JOIN user_emails ue ON ue.user_id = tvv.user_id
WHERE topic_id = :topic_id
AND ue.primary = true

Mais consultas do Explorer podem ser encontradas em Community Building > Data & reporting - Topics tagged topic-voting

:discourse2: Hospedado por nós? Este plugin está disponível em nossos planos Business e Enterprise Topic Voting | Discourse - Civilized Discussion


  1. e é resultado desta especificação elaborada por @erlend_sh ↩︎

128 curtidas
Display vote/like counter in main page
Displaying "Likes" more prominently
Plugin: Feature voting separated from Likes
Building an Amazon Discourse pilot, planning for scale
Two new plugin outlets - user_activity_bottom and user_menu_glyphs
Alternative Voting Category Style
Overwriting controllers in plugin
Are there Upvotes/Downvotes, Score for the Posts?
Voting vs Likes for feature requests
Thoughts on a plugin which turns discourse into stackoverflow
Topic Voting plug-in
Introducing ProCourse
Show votes in post list "totals" columns
Looking to switch from Vanilla, and have a few questions
Sort topics on frontpage daily by Votes
Question Answer Plugin
Some things I've built which you can use
Votes not being released after close
Notice: testing Discourse Reactions here on meta for 1 week!
Poll in restricted topic where users can’t reply
'How's my driving' plugin?
Marked as solved, Vote Replenishing & Querying
UserVoice vs Discourse
New Theme: Tag-Pages Navigation
Mounting widget in raw template?
Unable to see 'Like' button in the first post/topic
Customize # of Votes per User
Why do official plugin topics auto-delete responses?
Trust Level Permissions Reference
Show total votes next to total replies, views and activity columns
How to re-order (or hide) "Votes" and "My Votes" top menu list items?
Would it be possible to store voting data in a json file?
New Theme: Tag-Pages Navigation
Please update 'Understanding Discourse Trust Levels' — or is there a different doc?
"like" button on first post
Please help with the Discourse Voting Plugin
Running a photo competition
How to enable reactions only for certain categories?
What would be the best plug-in for Contest with public voting in two categories?
"Unlikable" posts can be liked using keyboard navigation
Plugin post-voting conflicts with previous question-answer-plugin
Available settings within the category edit page
Daily-limit mode for Voting Plugin
"Like this post" not available for some categories
Plugin to gather approvals / signatures on an initiative?
A reddit-ish theme for Discourse
Renaming Discourse Upvotes [Post Voting]
Poll with ability for user to add their own options
Discourse as a Conference App (in person, virtual, or hybrid)
Questions about the technical architecture of Discourse
Reactions not appearing on first post in topics
Badge Query (SQL)
Discourse forum for feature requests with upvotes + comments?
Sort category topic list by votes?
Why you should use Discourse internally for your company/team instead of Slack (4 years use case)
Votes not being returned on topic close
Topic Voting enabled for our #feature category! :partying_face:
A versioned API for client side plugins
Enable/disable voting for tags?
Feedback on Our Community
Creating an Analytical Hub using Categories, Approval Process and Upvoting
When goes to a category /latest doesn’t show the actual latest
Ratings instead of Hearts for Likes
Best practices of keeping track of feature requests
Bundling more popular plugins with Discourse core
How can I make a Discourse forum as "reddit like" as possible
Easily create Ideas categories using the Topic Voting plugin
Horizon: High Context Topic Cards
Horizon Theme
Muted topics still notifying me on Meta
Hook for a topic's category id?
Multiple topics in single API request
Some plugins not working after upgrade
A tour of how the Widget (Virtual DOM) code in Discourse works
Plugin: Feature voting separated from Likes
Wanted: Discourse Hacker News Plugin
Restricting poll creation to Trust Levels
Prospective Feature: Highlight Posts That Surpass Defined "Likes" Threshold
Is it possible to do Uservoice style voting with the voting plugin
Question Answer Plugin
Approach to a Nominate Post Button?
Migrating feature suggestions
Is there any plugin for downvoting questions and replies in Discourse
ProCourse Support
Topics that were voted on disappear from user profile after being closed
Current Projects - January 2026
Voting/ideation feature
Promote or demote suggestions
Rake task for merging users
Liking own posts — a specific use case of discourse
Multiple Choice Poll questions
Is Decision Making Possible on Discourse?
Advice for getting my little game dev community "out there?"
I need someone who can install a voting plugin
Comment on a question instead of answering it
Ranking of post, based on user upvotes
Views counter specification
Excluding Suspended, Silenced and Suspect Users When Exporting
Additional Appreciation buttons next to "Likes": "Insightful", "Actionable"
Error installing this plugin
Delegate poll votes to another person/persons
Can posts be rated or voted on?