Discourse 主题投票

:discourse2: 摘要 Discourse 主题投票 允许社区成员在指定类别中对主题进行投票。
:open_book: 安装指南 此插件已捆绑在 Discourse 核心中。无需单独安装该插件。

虽然 Discourse 主题投票 可用于多种用例,但本文档主要聚焦于“点子”或“功能请求”类别这一主要用例。

:discourse2: 注意: Discourse 主题投票仅在 BusinessEnterprise 计划中可用。

设置点子类别

创建新类别时,选择 ideas 类型即可为该类别启用 Discourse 主题投票。

Category name(类别名称)和 Style(样式)字段将显示,并带有合理的默认值,如有需要您可以覆盖它们。

注意: 当您编辑现有类别时,Category type(类别类型)字段将允许您添加或删除类别类型。类别类型可以组合使用,因此您可以同时使用投票和营销答案作为解决方案(通过 Discourse Solved)等功能。

Ideas(点子)选项卡上,您可以调整此类别以及社区中任何其他点子类别的一些默认设置。

  • Show who voted(显示投票者):允许用户查看谁对主题进行了投票。
  • Show votes on profile(在个人资料中显示投票):允许用户在他们的动态中查看自己的投票。当投票受到限制时,这一点尤为重要。
  • Limit member votes(限制成员投票):启用后,成员只能根据其 信任等级 投出一定数量的票。

对主题进行投票

成员可以通过与主题标题中的计数器交互,对点子类别中的主题进行投票。

在点子类别内部,成员可以点击顶部菜单中的 Votes(投票)项,按投票数对点子进行排序。My Votes(我的投票)顶部菜单项则筛选出仅显示他们已投票的主题。除了主题内部的计数器外,您还可以在主题卡片上看到投票数。

以下是用户在主题中投票前后将看到的视图:

当启用 show votes on profile(在个人资料中显示投票)时,用户个人资料页面中还有一个部分显示其活跃投票:

注意: 在点子类别中,点赞(Likes)会自动停用。若要同时使用点赞和投票,请参阅:Show both like and vote button on topics

限制投票

当启用 Limit member votes(限制成员投票)时,成员只有有限的可用投票数。投出一票时,这被称为“活跃投票”。投票限制旨在鼓励对最重要的主题进行深思熟虑的投票。

  • 投票限制由信任等级决定;详见上文部分。
  • 每个用户对每个主题只能投一票。
  • 当主题关闭或归档时,投票将被锁定,但这些投票不再被视为活跃投票。投出这些票的成员将从该主题中恢复一票,回到他们的可用投票池中。
    • 如果主题重新开放或取消归档,投票将被收回并重新计入用户的活跃投票数。
    • 如果主题收回了用户的投票,导致其超过活跃投票限制,他们只需等待主题关闭或归档,以便再次投票。
  • 如果整个主题(主题 A)合并到另一个主题投票主题(主题 B)中,则发生以下所有情况:
    1. 主题 A 的唯一投票将添加到主题 B。
    2. 主题 A 中的重复投票(同一用户在两个主题中都投了票)不会添加到主题 B。相反,来自主题 A 的投票将恢复给用户的可用投票池。
    3. 主题 A 的投票数设置为零,并且该主题关闭,以便主题 A 中不再进行投票。

设置

名称 描述
topic voting enabled 允许用户对主题进行投票吗?
topic voting enable vote limits 根据信任等级限制每个用户的投票数量。禁用后,成员可以对任意数量的主题进行投票。
topic voting show who voted 允许用户查看谁进行了投票吗?
topic voting show votes on profile 允许用户在动态中查看他们的投票吗?
topic voting alert votes left 当剩余票数为此数量时提醒用户
topic voting tl0 vote limit TL0 用户允许多少活跃投票?
topic voting tl1 vote limit TL1 用户允许多少活跃投票?
topic voting tl2 vote limit TL2 用户允许多少活跃投票?
topic voting tl3 vote limit TL3 用户允许多少活跃投票?
topic voting tl4 vote limit TL4 用户允许多少活跃投票?

注意: topic voting alert votes left 和各种 topic voting TLN vote limit 设置仅在启用 topic voting enable vote limits 时适用。

主题投票徽章

:information_source: 这些徽章默认处于禁用状态。您可以在管理员设置中的 Badges(徽章)区域启用它们。

名称 描述 长描述 类型 分组
Daydreamer(白日梦想家) 你的主题收到投票 当你的一个主题收到投票时授予此徽章。:white_check_mark: 好主意。:+1: :3rd_place_medal: 社区
Brainstormer(头脑风暴者) 你的主题收到 5 票 当你的一个主题收到 5 票时授予此徽章。:white_check_mark: 你的主题开始获得关注。 :2nd_place_medal: 社区
Innovator(创新者) 你的主题收到 15 票 当你的一个主题收到 15 票时授予此徽章。:white_check_mark: 好到无法忽视。 :2nd_place_medal: 社区
Visionary(远见者) 你的主题收到 25 票 当你的一个主题收到 25 票时授予此徽章。:white_check_mark: 给人民他们想要的!:clap: :1st_place_medal: 社区

数据探索器查询

列出对主题进行投票的人及其电子邮件地址:

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

更多探索器查询可在 Community Building > Data & reporting 中找到 - Topics tagged topic-voting

128 个赞
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
Are there Upvotes/Downvotes, Score for the Posts?
Alternative Voting Category Style
Overwriting controllers in plugin
Voting vs Likes for feature requests
Thoughts on a plugin which turns discourse into stackoverflow
Marked as solved, Vote Replenishing & Querying
'How's my driving' plugin?
Mounting widget in raw template?
Sort topics on frontpage daily by Votes
Some things I've built which you can use
Notice: testing Discourse Reactions here on meta for 1 week!
Looking to switch from Vanilla, and have a few questions
Votes not being released after close
UserVoice vs Discourse
Topic Voting plug-in
Show votes in post list "totals" columns
Introducing ProCourse
New Theme: Tag-Pages Navigation
Poll in restricted topic where users can’t reply
Question Answer Plugin
Can posts be rated or voted on?
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
New Theme: Tag-Pages Navigation
Please update 'Understanding Discourse Trust Levels' — or is there a different doc?
"like" button on first post
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
Ratings instead of Hearts for Likes
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)
Would it be possible to store voting data in a json file?
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
Horizon Theme
Best practices of keeping track of feature requests
Bundling more popular plugins with Discourse core
Improvements to Topic Voting: Voting access, notification prompts, and Hot sorting
Current Projects - April 2026
How can I make a Discourse forum as "reddit like" as possible
Easily create Ideas categories using the Topic Voting plugin
Current Projects - May 2026
Horizon: High Context Topic Cards
请问一下点赞按钮如何显示
Discourse Solved
Delegate poll votes to another person/persons
How to re-order (or hide) "Votes" and "My Votes" top menu list items?
Additional Appreciation buttons next to "Likes": "Insightful", "Actionable"
Customer/Product Feedback Channel
Discourse as a Conference App (in person, virtual, or hybrid)
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
Display vote/like counter in main page
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
Error installing this plugin