Per-category feature: poll
nav_first.pngFirst: thread:131
HTML Block
Edited: 11 Oct 2012 12:06 by: GoVegan
Comments: 0
Tags:
nav_prev.pngPrevious: thread:327
Members Module Improvements
Edited: 10 Mar 2010 00:45 by: leiger
Comments: 0
Tags:
Last: thread:112
Image Module
Edited: 12 Nov 2009 12:22 by: pieterh
Comments: 0
Tags:
nav_last.png
Next: thread:321
html and embed unification
Edited: 04 Mar 2010 09:40 by: michal-frackowiak
Comments: 1
Tags:
nav_next.png

leigerleiger wrote on 07 Mar 2010 03:41

James KanjoJames Kanjo has created a very useful imitation of a poll over at his Polls @ Wikidot site, but what we need is a new feature designed specifically for the task.

The idea

  • This works similarly to Data Forms, in that it is part of the page, and not a module!
  • Only logged-in Wikidot users will be allowed to vote on a poll, but anyone that can create a page can create a poll.

The real power of this module:

  • Polls should be set up per category, in the same way as auto-numbering is set up (site manager)
  • When a page is created in that category, the usual contents appear as usual (whether that be a Data Form or normal source code box), and the poll settings appear below that.
  • ListPages support: %%poll_title%%, %%poll_option{1}%%, %%poll_option{2}%%, …

Use cases:

  • This allows us to then have a poll category, with one poll per page, and use NewPage module to create polls
  • This also means that in wiki-based forums, the thread category can have polls enabled so that polls can be added to the first post of a thread.

When creating a new page

-- Data Form / Source Code editing --

+ Add a poll to this page

Title: [________________________]

Allow more than one option to be selected? [ No ][▼]

Number of days before poll is locked? [ 0 ]
(0 = never locked)

Options:
* [___________] » remove
* [___________] » remove
     » add new option

Site manager Poll settings

For each category with polls enabled:

  • Does the poll appear ABOVE or BELOW the source code box / data form ?
  • Maximum number of options for each poll (default: 5 ?)
  • Allow wiki syntax in poll title? [ Yes ][▼]
  • Allow wiki syntax in option labels? [ Yes ][▼]
  • Show which users voted for which option? [ No ][▼]

Site manager Permissions

Ability to decide which users have permissions to create/edit/delete a poll:

  • The poll form doesn't appear for people that don't have permission to create them

Start a new sub-thread

We discourage direct comments on this thread: to discuss it, please start a sub-thread.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License