discourse/plugins/poll
Sam 0f2312a97e Merge pull request #2257 from vikhyat/distributed-mutex
Extract cross-process locking from the scheduler into DistributedMutex
2014-04-14 10:13:18 +10:00
..
assets/javascripts Update poll when title is changed. 2014-04-11 09:05:07 +05:30
config/locales Merge pull request #2251 from fantasticfears/locale 2014-04-11 10:22:58 -04:00
spec Remove the colon from the poll prefix, drop regex support. 2014-04-11 08:41:37 +05:30
plugin.rb Make polls work better on multi-language forums. 2014-04-01 18:32:52 +05:30
poll.rb Use DistributedMutex to make sure poll votes are tallied correctly. 2014-04-13 00:05:49 +05:30
README.md Update README.md for poll plugin 2014-04-08 23:19:19 -04:00

Poll plugin

Allows you to add a poll to the first post of a topic.

Usage

  1. Make your topic title start with "Poll: "
  2. Include a list in your post (the first list will be used)

Closing the poll

Change the start of the topic title from "Poll: " to "Closed Poll: "

Note: closing a topic will also close the poll.

Specifying the list to be used for the poll

If you have multiple lists in your post and the first list is not the one you want to use for the poll, you can identify the list to be used like this:

Intro Text
   
- Item one
- Item two
   
Here are your choices:
   
[poll]
- Option 1
- Option 2
[/poll]