![]() |
Code:
# Query_time: 977 Lock_time: 455 Rows_sent: 20 Rows_examined: 125192586 Did some digging: mysql> select count(*) from thread; +----------+ | count(*) | +----------+ | 159281 | +----------+ mysql> select count(*) from vbookie_items; +----------+ | count(*) | +----------+ | 844 | +----------+ I think it scanned the entire thread table about 844 times to do the query, and it created temporary tables to boot. My fix was to enter the following query: create index thread_vbookie on thread (vbookie_item_id); This costs sizeof(MEDIUM_INT)*159281 bytes of RAM to keep the needed field in RAM all the time. At MEDIUM_INT = 2 bytes, it's 320K. At 4 bytes, it's 640K. Puny amount of memory to save all those table scans. I'm pretty sure it worked, as I went to the vbookie.php page and did all kinds of sorts and they were instant. |
Ok, I installed it, with no problems, I hadn't added any events yet, but the page was working. Now, when I click on the link, all I get is a blank white page. the php file is definitely still uploaded, and the link in the navbar is going to the right place, so, what's up?
|
Oh, and this is only when the hack is turned on. When its off, there's a standard 'you can't access this page' message.
|
Quote:
|
Quote:
|
Ok easy question here...how do you settle an event after the event has ended and you know the outcome? I can't seem to figure this one out and the online manual can't be found.
Thanks |
bump...anyone?
|
Is there an uninstaller for this? I need to reinstall the queris
|
hi... i have this installed on my forums but when i set which usergroup to be able to bet it just wont let that usegroup bet...
any idea what could be the problem? i want every usergroup to able to bet on events... so i set "can this usergroup bet on events" to yes... but when i make an event it says "you may not bet on this event" ?!?! help please. |
great hack
|
All times are GMT. The time now is 08:34 PM. |
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:
|