![]() |
Show poll results in descending order
Description
With this hack poll results will be shown in descending order by number of votes, instead of being ordered by the options (as they were entered). Details Files to modify: 2 Deficullty: Easiest History 1.00 Initial Version 1.01 Updated installation instructions to point to the exact place in poll.php 1.02 Fixed a Bug that caused wrong votes |
So the winner is on top?
Works for me. |
Yes.
Example Without this Hack Option1 2 20% Option2 1 10% Option3 3 30% Option4 4 40% With this Hack Option4 4 40% Option3 3 30% Option1 2 20% Option2 1 10% |
Sweet.
|
Nice job
Good hack thanks KirbyDE Marboosh |
Woah Kirby, you're on fire with hack releases.
/me clicks install. |
Cool .. quick .. simple and it works :)
Clicked install |
Roger that easy install
[high]* bigcurt installs [/high] [high]* bigcurt thanks Mr. Kirby :).[/high] |
Very nice, thanks a lot. There were 3 references to the code in poll.php - I just added the hack under the first one and all seems to be working well. :)
|
@FleaBag
Unfortunately this is not the correct place. Instructions updated, thank you. |
Oh, thanks! Hehe... It worked for me though? I will amend mine...
|
Dude, update emails!!!!
I have 60 hacks installed. Hard to keep up. Thanks for the work. |
Seem to be having poll issues now, votes cast don't always show for the right choice.
Very strange. |
I had to uninstall. All new votes went to first question, regardless of option chosen.
|
Quote:
The problem was that, if you vote for a poll, the poll options were presented in the order of the current poll results, but were saved in the original order - which caused wrong votes. Sorry for that, didn't notice this problem in first place. Should be working now. |
Appears to have been fixed. Reclicked install.
|
Thanks man, might wanna add a section in there on removing the old parts for those of us too stoopid to keep the old file.
|
Thanks for the fix! My members were telling me the polls were messed up but I was denying there was any problem... Until I checked this thread lol. Cheers. :)
|
Fantastic :up:
|
is this up for 3.5 also??
I'd really liike to have this for 3.5 |
Works fine with vB 3.5.2 / 3.6 GOLD !
|
Thank's.. works with vB 3.6 :)
|
Quote:
You can't FIND do it for specific template looking in SHOWTREAD via admincp There are difference between Showthread template accessed via AdminCP and showthread.php in home directory of forum. The last one effects on all styles and must be edited via editor, better use any php editor to be sure that you didn't make code errors. Installed. |
Andreas, how about sorting also before the user give his vote?
|
I had to say, Thank you :)
|
All times are GMT. The time now is 06:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|