discourse/plugins/poll
Arpit Jalan 2820bd34da Update Translations 2014-08-01 20:02:56 +05:30
..
assets/javascripts Set up poll plugin javascript using an Ember initializer. 2014-05-18 13:36:27 +05:30
config/locales Update Translations 2014-08-01 20:02:56 +05:30
spec Add close/open poll buttons to poll UI. 2014-04-12 22:53:21 +05:30
README.md Disable the close poll functionality if allow_user_locale is enabled. 2014-04-12 23:00:51 +05:30
plugin.rb tiny poll plugin style fixes 2014-05-22 22:00:55 -07:00
poll.rb Merge pull request #2262 from vikhyat/poll-plugin 2014-04-14 10:54:10 +10:00

README.md

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: ". This feature is disabled if the allow_user_locale site setting is enabled.

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]