Log in

View Full Version : Real percent for multiple vote polls


Andreas
08-01-2004, 10:00 PM
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.

nexialys
08-02-2004, 06:56 PM
good thing... now the polls have real percent results...

turbidblue
08-13-2004, 01:22 AM
* turbidblue clicks install!

thanks! thats so much better now :)

Natch
08-13-2004, 07:09 AM
Great job - this is good work !

HiDeo
08-13-2004, 10:18 AM
Yes thanks KirbyDE

HappyPike
09-23-2004, 12:41 AM
Thanks for your work.

Installed!

Oblivion Knight
10-25-2004, 08:19 PM
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. :)

Computer Mutt
11-03-2004, 11:08 PM
* Computer Mutt Clicks Install


Thanks! http://n.1asphost.com/ComputerMutt/SmiliesOfMine/MusicBigGrin.gif It's a bit stupid that we need this in the first place, eh? Hope it's fixed in later versions.

Oblivion Knight
01-19-2005, 02:42 PM
I'm not 100%, but I think this may be fixed in stock 3.0.6.. :)

Andreas
01-19-2005, 03:16 PM
Yep.
http://www.vbulletin.com/forum/bugs.php?do=view&bugid=3639

HappyPike
01-19-2005, 08:58 PM
And you have me to thank for. :D j/k

I was sick of having to apply this hack everytime I upgrade the forum, and reported it as a bug. Freddie Bingham agreed. :)