Log in

View Full Version : Optmize Show Public Poll Results


Xenon
06-29-2004, 10:00 PM
Time for another vb3 optimization, don't you think.

This hack reduces the ammount of queries generated by the show poll result feature, when it's a public poll.
On larger boards with a lot of votes, this can have a very strong effect. find out more here: https://vborg.vbsupport.ru/showthread.php?t=66689

Oblivion Knight
06-30-2004, 08:26 AM
Thanks Xenon.. :)

sabret00the
06-30-2004, 09:13 AM
nice work stefan :)

FleaBag
06-30-2004, 12:42 PM
Cool I'm always up for an optimization. :)

the Sandman
06-30-2004, 02:14 PM
How does this optimization relate to This Bug Report & Fix (http://www.vbulletin.com/forum/bugs.php?do=view&bugid=3060)?

Dean C
06-30-2004, 02:31 PM
Thankyou for sharing your work Stefan :)

Xenon
06-30-2004, 03:02 PM
@The Sandman: well, this hack is the solution for the bug report

the nested query isn't fixed in the bugtracker, just the index structure is changed, but that doesn't reduce the ammount of queries.

Mijae
06-30-2004, 03:36 PM
I have a small board but I installed this anyways :D

msimplay
06-30-2004, 04:10 PM
does it work on version vb3 gold ?

Xenon
06-30-2004, 04:17 PM
i think so yes :)

msimplay
06-30-2004, 04:22 PM
confirmed to work hehe just installed ps thanks for a fast reply

Alien
07-01-2004, 03:07 AM
Nice work here, thanks bunches Xenon! :D

Oblivion Knight
07-04-2004, 04:48 PM
I assume Jelsoft have made their own changes to take care of this optimization for 3.0.2?

Or does your file change (poll.php) still apply?

Natch
07-04-2004, 04:58 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=66842&highlight=optimisation" target="_blank">Important for those users who have installed this hack</a> - you will encounter errors when running the upgrade script ...

Xenon
07-05-2004, 05:08 PM
I assume Jelsoft have made their own changes to take care of this optimization for 3.0.2?

Or does your file change (poll.php) still apply?
actually Jelsoft did the same optimizations as i did ;)

so if you've installed vb302 or 303 you won't need that hack anymore, it's just for 301 or lower :)

Oblivion Knight
07-05-2004, 08:50 PM
Alright, thanks for that Stefan.. :)

theArchitect
10-18-2004, 05:36 AM
Alright, thanks for that Stefan.. :)
Is it just me or has this been included as standard in 3.0.3?

Xenon
10-18-2004, 01:39 PM
yes, this has been included into 3.0.3 :)

Blam Forumz
10-22-2004, 08:22 PM
installe don 3,0.2!