![]() |
Quote:
|
Hmm I'll try my own on forumdisplay, it shouldn't be too awful hard....
|
Xenon:
Great hack. I look forward to seeing what you can do to optimize showthread. Parker |
Yes, great Hack!
|
You have an error in your SQL syntax near '\'0\',
lastpost int(10) unsigned NOT NULL default \'0\', lastupdate int(10) un' at line 2 Any ideas? |
@DVD: a bit more information would be nice.....
Where do you get this error, which file, line and so on... |
Am I missing something? I installed the latest version of the hack, and my index page looks indentical, doesn't load any quicker, and doesn't use any more or any less queries. Also, how do I know if I'm using the cached version, and how do I force a cache update? :confused:
|
Well, you won't see any difference, visually ;)
it just reduces the querie ammount if it reads from the cache. The cache would be updated, whenever a new post is made, that's also how you force an update ;) so if you've installed the newest version, go to forumhome, you'll have about 19 queries (normally) then just do a reload, without a new post has been made, and the qurey ammount should be about 14. if you don't have the effect, you have probably made a mistake while installing |
I have a problem, it could be related to this hack. But i am not sure. After trying to optimize the forumhomepage, i was advised to move 'The Latest XX Threads Hack' after the '} // if $cacheupdate' line. But now the hack is not working properly anymore, it does show, but the problem now is, that it also shows topics from a private forum.
What do you think of this? Is this a cache related problem? Or just the fact because i moved it below the specified line? |
yes, that's a problem. These two hacks don't work together properly. It's because the viewingpermissions are just read out from the db when the cache is updated, but it won't if the script reads from the cache. That is one of the queries which are reduced when reading from cache :)
i don't know the hack of latest XX but maybe, you can add the threadinfo into the cache also, so it should be working :) as said, i can't code such workarounds for other hacks whil beta-phase but maybe i find a way after the full release :) |
All times are GMT. The time now is 10:37 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:
|