|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | Title | |||
trackerId |
digits | Numeric value representing the tracker ID | 2.0 | |
fields |
separator: : |
Colon-separated list of field IDs to be displayed. If not set all the fields that
can be used (except IP, user, system, private fields) are used. Example: 2:4:5 |
2.0 | |
float |
(blank) left right none |
Align the plugin on the page, allowing other elements to wrap around it (not set by default) | 2.0 | |
show_bar |
(blank) y n |
Choose whether to show a bar representing the number of votes each option received (not shown by default) | n | 2.0 |
show_creator |
(blank) y n |
Choose whether to display the user name of the creator of the voting tracker (not shown by default) | 2.0 | |
show_percent |
(blank) y n |
Choose whether to show the percentage of the vote each option received (not shown by default) | n | 2.0 |
show_stat |
(blank) y n |
Choose whether to show the voting results (shown by default) | y | 2.0 |
show_stat_only_after |
(blank) y n |
Choose whether to show the voting results only after the date given in the tracker configuration (not set by default) | 2.0 | |
show_toggle |
(blank) y n |
Show toggle or not to display the form and the results | 10.0 | |
status |
(blank) o p c op oc pc opc |
Only show items matching certain status filters | o | 2.0 |
The parameters of this plugin are the parameters of the tracker plugin and the trackerStat plugin.
The tracker used for a vote must be configured specifically to behave like a vote system.
If there is only a field 'IP selector', a vote with the same IP replaces any previous one. If there is only a field 'user selector', a vote with the same user that a previous one replaces the vote. If the tracker has both fields, a vote with the same user or the same IP will replace the previous one.
If you give a "after" date, the vote box will display "the vote begins after" before this date
If you give a "before" date, the vote box will display "the vote ends after" before the end, and "the vote is closed since" after the date
{VOTE(trackerId="19" fields="73" float="right")}Thank you for your vote{VOTE}