The Arcive of vBulletin Modifications Site. |
|
Real percent for multiple vote polls Details »»
|
|||||||||||||||||||||||||
If you have a poll where users can vote for multiple options, the total amount of votes is being used to calculate the percent for each option.
Example 3 Options, 10 Voters Option 1 = 3 votes Option 2 = 10 votes Option 3 = 6 votes Now, it would display 52.6 % for Option 2 (total amount of votes = 19, 10/19 = 52.6%), although all voters clicked Option 2. This hack changes this behaviour so you would get 30% for Option 1, 100% for Option 2 and 60% for Option 3 in this case. Attention: This hack is no longer needed for vBulletin > 3.0.6 as it has been fixed in factory code. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
good thing... now the polls have real percent results...
|
|
#3
|
||||
|
||||
|
[high]* turbidblue clicks install!
[/high] thanks! thats so much better now
|
|
#4
|
||||
|
||||
|
Great job - this is good work !
|
|
#5
|
||||
|
||||
|
Yes thanks KirbyDE
|
|
#6
|
||||
|
||||
|
Thanks for your work.
Installed! |
|
#7
|
||||
|
||||
|
Multiple vote polls are rarely used on my forum, but I almost class this as a bug fix, and have therefore installed it.. Your work is much appreciated.
|
|
#8
|
||||
|
||||
|
* Computer Mutt Clicks Install
Thanks! It's a bit stupid that we need this in the first place, eh? Hope it's fixed in later versions.
|
|
#9
|
||||
|
||||
|
I'm not 100%, but I think this may be fixed in stock 3.0.6..
|
|
#10
|
||||
|
||||
|
|
![]() |
|
|