A plugin to handle Polls:
- all votes are attached at the end of the topic (you can edit them if you need to)
- you can do multiple votes (e.g. vote your 3 preferred items)
- you get a true "automatic votes count"
- each user can change his/her mind and vote again
or even cancel his/her vote (by doing an empty vote, if allowed)
- only last vote of each user's counts
- you can select the allowed voters with (ALLOW/DENY)TOPICVOTE
See: Poll Example
or Smilies Poll [ there is some bad interaction between Table Plugin and the table in this page ]
How to vote:
- add a FORM to your topic, with action=".../poll/%WEB%/%TOPIC%"
- each vote is appended to the topic as a table row:
| <date> | <user> | item1 | item2 | ... |
| You type | You get |
| %POLLRESULTS% | a table of counts, sorted |
| %POLLVOTERS% | a table of voters, sorted |
You can change the format of the items and tables produced ... see Smilies Poll.
- Unzip PollPlugin.zip in your twiki installation dir.
- in the bin directory, add poll among the protected scripts (i.e. modify the
.htaccess file so that poll is protected the same way save is)
- Set SHORTDESCRIPTION = A plugin to collect votes (Polls)
TODO
- add parameters to the above tags
- a deadline (only votes before date X are valid)
- do separate counts for multiple votes (one for each column collected)
-- Andrea Sterbini? - 23 Nov 2001
|