Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show poll results in descending order Details »
Show poll results in descending order
Mod Version: 1.02, by Andreas (Coder) Andreas is offline
Developer Last Online: Mar 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (3 votes - 5.00 average) Installs: 19
Released: 08 Jun 2005 Last Update: 12 Jun 2005 Downloads: 35
Not Supported Code Changes  

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

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Show poll results in descending order 1.0 ForumsMods vBulletin 3.7 Add-ons 9 01 May 2012 21:20

Comments
  #2  
Old 08 Jun 2005, 02:38
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Real name: Dennis
So the winner is on top?

Works for me.
Reply With Quote
  #3  
Old 08 Jun 2005, 02:42
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
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%
Reply With Quote
  #4  
Old 08 Jun 2005, 03:20
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Real name: Dennis
Sweet.
Reply With Quote
  #5  
Old 08 Jun 2005, 03:27
iSpanish's Avatar
iSpanish iSpanish is offline
 
Join Date: Jan 2005
Real name: Alex
Nice job

Good hack

thanks KirbyDE


Marboosh
Reply With Quote
  #6  
Old 08 Jun 2005, 03:38
Guest190829
Guest
 
Woah Kirby, you're on fire with hack releases.

/me clicks install.
Reply With Quote
  #7  
Old 08 Jun 2005, 05:20
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Cool .. quick .. simple and it works

Clicked install
Reply With Quote
  #8  
Old 08 Jun 2005, 05:38
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
Roger that easy install


/me installs


/me thanks Mr. Kirby .
Reply With Quote
  #9  
Old 08 Jun 2005, 16:52
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
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.
Reply With Quote
  #10  
Old 08 Jun 2005, 16:58
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
@FleaBag
Unfortunately this is not the correct place.
Instructions updated, thank you.
Reply With Quote
  #11  
Old 08 Jun 2005, 18:05
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Oh, thanks! Hehe... It worked for me though? I will amend mine...
Reply With Quote
  #12  
Old 08 Jun 2005, 18:42
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Real name: Dennis
Dude, update emails!!!!

I have 60 hacks installed. Hard to keep up.

Thanks for the work.
Reply With Quote
  #13  
Old 11 Jun 2005, 00:13
dsboyce8624 dsboyce8624 is offline
 
Join Date: May 2005
Real name: Dennis
Seem to be having poll issues now, votes cast don't always show for the right choice.

Very strange.
Reply With Quote
  #14  
Old 12 Jun 2005, 04:46
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
I had to uninstall. All new votes went to first question, regardless of option chosen.

Last edited by Lionel; 12 Jun 2005 at 04:56.
Reply With Quote
  #15  
Old 12 Jun 2005, 04:55
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Real name: Andreas
Originally Posted by Lionel
I had to uninstall. All new votes went to first poll, regardless of option chosen.
Not really.
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.

Last edited by KirbyDE; 12 Jun 2005 at 05:11.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:42.

Layout Options | Width: Wide Color: