plugin:multipoll
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin:multipoll [2010-06-06 22:02] – 92.12.174.221 | plugin:multipoll [2021-02-24 04:12] – Dr-Yukon | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : etienne.meleard@free.fr | email : etienne.meleard@free.fr | ||
type : syntax | type : syntax | ||
lastupdate : 2010-04-12 | lastupdate : 2010-04-12 | ||
- | compatible : > | + | compatible : Detritus, Greebo, !Hogfather |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : extended poll, poll, !experimental | tags : extended poll, poll, !experimental | ||
+ | |||
+ | downloadurl: | ||
+ | bugtracker : | ||
+ | sourcerepo : | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
---- | ---- | ||
- | **This plugin is the result of an attempt of mine to make the original poll plugin meet my requirements, | + | > :!: This plugin is the result of an attempt of mine to make the original poll plugin meet my requirements, |
+ | |||
+ | :!: **Animated** version, adopted from [[http:// | ||
+ | |||
+ | :!: Animated version with **conf[width of poll bars]** can be downloaded [[http:// | ||
- | ^ Download | [[http:// | + | :!: Universal bug (at least in Binky) - __nonregistered users can press F5 for reload page and automatically adding votes for first answers in all questions__. That crush all. |
===== Syntax ===== | ===== Syntax ===== | ||
- | Use this [[plugins|plugin]] to add a poll to a wiki page. The syntax looks like this: | + | Use this plugin to add a poll to a wiki page. The syntax looks like this: |
< | < | ||
Line 37: | Line 48: | ||
</ | </ | ||
- | ^ [hideresults] | + | ^[hideresults] |
- | ^ [hideifvoted] | + | ^[hideifvoted] |
- | ^ [showresultsto] | + | ^[showresultsto] | comma separated list of users or @groups which can see the results without the need to vote or to have editing rights | optional | |
- | ^ [id] | the ID of the poll; must be unique((If it is not, metadata of the polls with the same id gets mixed up, i.e. users with IPs who have voted for a previous poll with that id can't vote again.)); appears as title | required | | + | ^[id] | the ID of the poll; must be unique((If it is not, metadata of the polls with the same id gets mixed up, i.e. users with IPs who have voted for a previous poll with that id can't vote again.)); appears as title ^ required | |
- | ^ [question] | the question you'd like to ask | optional | | + | ^[question] | the question you'd like to ask | optional | |
- | ^ [option] | + | ^[option] |
The poll title is converted to a md5sum. This is used as the filename in data/meta: md5sum.multipoll - so all polls in the whole wiki must be unique. As a result you can move your poll around and the poll data is accessible. If you remove the poll you must remove the poll data with " | The poll title is converted to a md5sum. This is used as the filename in data/meta: md5sum.multipoll - so all polls in the whole wiki must be unique. As a result you can move your poll around and the poll data is accessible. If you remove the poll you must remove the poll data with " | ||
===== Installation Notes ===== | ===== Installation Notes ===== | ||
+ | |||
When the [[blog]] plugin is also installed, you need to turn '' | When the [[blog]] plugin is also installed, you need to turn '' | ||
===== Discussion ===== | ===== Discussion ===== | ||
+ | |||
Following patch provides: | Following patch provides: | ||
* Fix - poll results percentage indicators are accurate even in case when user votes for some questions while not choosing any radio-button for other questions | * Fix - poll results percentage indicators are accurate even in case when user votes for some questions while not choosing any radio-button for other questions | ||
Line 56: | Line 69: | ||
* Feature - More space is added between two questions so they can be easily distinguished | * Feature - More space is added between two questions so they can be easily distinguished | ||
- | <code> | + | <file diff syntax.diff> |
--- syntax.orig.php 2010-04-12 18: | --- syntax.orig.php 2010-04-12 18: | ||
+++ syntax.php 2010-06-06 21: | +++ syntax.php 2010-06-06 21: | ||
Line 120: | Line 133: | ||
} | } | ||
| | ||
- | </code> | + | </file> |
plugin/multipoll.txt · Last modified: 2023-12-17 21:13 by Aleksandr