Discourse トピックの投票

| |
|-|-|
|:discourse2: | 概要 | Discourse トピック投票機能により、指定されたカテゴリのトピックに投票できるようになります。[1]
|:open_book: | インストールガイド | このプラグインは Discourse コアにバンドルされています。別途プラグインをインストールする必要はありません。

機能

有効化するには、カテゴリを編集し、設定タブで「このカテゴリのトピックにユーザーが投票できるようにする」チェックボックスを探してください。

有効化すると、トップメニューに「投票」項目が表示されます。そのカテゴリのトピックに投票できるようになり、トピックタイトルの横に投票数が表示されます。

スクロール時にもタイトル横に投票が表示されます。

トピック一覧から投票数を見やすくするため、投票数はトピックタイトルの下にも追加されます。

以下は、トピックで投票する前後にユーザーが確認できる画面です。

また、ユーザーのプロフィールページには、ユーザーが投じたアクティブな投票を表示するセクションもあります。

アクティブな投票

アクティブな投票とは、現在投票可能なトピックに対してユーザーが投じた投票を指します。アクティブな投票を制限することで、ユーザーが最も重要なトピックに慎重に投票するよう促します。

  • 各ユーザーが利用可能なアクティブな投票の数は、信頼レベルごとに 設定可能 です。デフォルト値は以下の通りです。

    • TL0: 2
    • TL1: 4
    • TL2: 6
    • TL3: 8
    • TL4: 10
  • 各ユーザーはトピックごとに 1 回のみ投票できます。

  • トピックがクローズまたはアーカイブされた場合、そのトピックの投票数は変更されません。これらの投票はもはやアクティブとはみなされません。投票したユーザーは、そのトピックからの 1 票が利用可能な投票プールに戻されます。

  • トピックが再オープンまたはアーカイブ解除された場合、投票は回収され、ユーザーのアクティブな投票数に再適用されます。

  • トピックがユーザーの投票を回収し、アクティブな投票の制限を超えた場合、トピックがクローズまたはアーカイブされて再度投票できるようになるまで待つ必要があります。

  • トピック全体(トピック A)が別のトピック投票トピック(トピック B)にマージされた場合、以下の処理が行われます。

    1. トピック A の固有の投票がトピック B に追加されます。
    2. トピック A の重複した投票(同じユーザーが両方のトピックに投票した場合)はトピック B に追加されません。代わりに、トピック A からの投票はユーザーの利用可能な投票プールに戻されます。
    3. トピック A の投票数はゼロに設定され、トピックはクローズされて、トピック A でさらに投票が行えないようにされます。

設定

名前 説明
topic voting alert votes left 投票数がこの数に達したときにユーザーに通知する
topic voting enabled ユーザーがトピックに投票できるようにするか?
topic voting show who voted ユーザーが誰が投票したかを確認できるようにするか?
topic voting show votes on profile ユーザーがアクティビティフィードで自分の投票を確認できるようにするか?
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 category setting

付録

:information_source: 投票プラグインが有効化されているカテゴリでは、いいね機能が自動的に無効化されます。一部のサイトでは、返信にいいねをするために両方の機能を同時に使用したい場合があります。いいね機能を再有効化する方法をご覧ください。

データエクスプローラークエリ

トピックに投票した人物とそのメールアドレスを一覧表示します。

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

さらに多くのエクスプローラークエリは、#data-reporting で確認できます - Topics tagged topic-voting

:discourse2: 私 hosts によってホストされていますか?このプラグインは、ビジネスプランとエンタープライズプランで利用可能です Topic Voting | Discourse - Civilized Discussion


  1. また、これは @erlend_sh によって作成された この仕様 に基づいています。 ↩︎

「いいね!」 128
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
Are there Upvotes/Downvotes, Score for the Posts?
Overwriting controllers in plugin
Alternative Voting Category Style
Voting vs Likes for feature requests
Thoughts on a plugin which turns discourse into stackoverflow
Show votes in post list "totals" columns
Looking to switch from Vanilla, and have a few questions
Question Answer Plugin
Poll in restricted topic where users can’t reply
UserVoice vs Discourse
Votes not being released after close
'How's my driving' plugin?
Marked as solved, Vote Replenishing & Querying
Some things I've built which you can use
New Theme: Tag-Pages Navigation
Mounting widget in raw template?
Notice: testing Discourse Reactions here on meta for 1 week!
Sort topics on frontpage daily by Votes
Topic Voting plug-in
Introducing ProCourse
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
Ratings instead of Hearts for Likes
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
Horizon Theme
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
Horizon: High Context Topic Cards
Available settings within the category edit page
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?