The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#17
|
||||
|
||||
Page loads indeed quicker and it reduced the index queries by ten..that's significant! I hope that you can do this for the showthread. Well done Xenon.
|
#18
|
||||
|
||||
I went from 18queries to 13queries. Very nice.
|
#19
|
||||
|
||||
Yes it works faster, but the downside is i just lost TECKS hack: Latest XX Threads on Forumhome Page. Is there a way to work arround it?
https://vborg.vbsupport.ru/showthrea...threadid=43310 |
#20
|
||||
|
||||
@Aaron1: i'll look into it when i finished the beta, i'm still working on optimizing
@Boofo: Queries which are inside the makeforumbit function will be reduced always, so if someone has installed the show subforums hack, this hack can save an enourmous ammount of queries. it always depends on how strong your index.php is hacked well it's just the field lastupdate which has been included into the new version, it prevents some bugs... you don't have to upgrade immediatelly, because im sure i'll change the structure a bit soon Wahh, sortingorder here is completly....... good it's just beta |
#21
|
||||
|
||||
So installing the show sub-forums hack would now only add one query instead of all those queries in the query loop?
- miSt |
#22
|
||||
|
||||
well, whenever the cache would be updated all queries of the subforumhack will be there again, but if the script reads out from the cache NO more quereis are added for the subforums
|
#23
|
||||
|
||||
Quote:
Btw, a small note: the Latest XX topics Hack, sometimes disapears & appears again. Very strange... |
#24
|
||||
|
||||
I see: the lates XX topics will appear everytime the cache is updated.
so you have to cut out the hack lines by Teck and put em after the } // if $cacheupdate line so it should work |
#25
|
||||
|
||||
Great i will try right away! And it works!
Page generated in 1.36290896 seconds (40.29% PHP - 59.71% MySQL) with 20 queries. Now i notice that Latest XX Threads is just 1 querie, which isn't bad i guess... Thanks Xenon. Great stuff |
#26
|
||||
|
||||
good to hear
|
#27
|
||||
|
||||
Ok so any extra hacks we have installed which add lines which are db queries we need to put after the cache line?
|
#28
|
||||
|
||||
Oops i got a database error, that looks like something to do with the cache forum home template...
Here's the beginning of the error message: Invalid SQL: INSERT INTO cache_forumhome (userid,lastpost,lastupdate,postcount,styleid, forumbits) VALUES (1251,1040492181,1040492253,5550,0,"</table> </td></tr></table><br> Here's the end: mysql error: Duplicate entry '1251' for key 1 mysql error number: 1062 Hmm, ok i attached the complete message as a txt file... Hope this helps I also checked in phpmyadmin the cache_forumhome table is about 1 mb large, and it grows. For your interest: i got a pretty busy board (almost 1000 visitors a day) |
#29
|
||||
|
||||
I also checked in phpmyadmin the cache_forumhome table is about 1 mb large, and it grows. For your interest: i got a pretty busy board (almost 1000 visitors a day)
I think i understand: 1251 is a member on the board. Sorry for this, i am just starting to learn php/mysql a little bit. And i have the trouble of thinking out loud |
#30
|
||||
|
||||
I recieved the same error message as Aaron1 above also, not sure what the problem is though but I'm guessing as well to do with the cache... :ermm:
|
#31
|
||||
|
||||
hmm weird this should not happen and logically cant hapen, because all old caches are deleted before the new one is inserted......
maybe it's an mysql problem i try to solve it thanks for letting me know it seems it just appears when much users are online..... @mist: every hack which adds queries and is not saved in $forumbits must be below the cahcing if-clause |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|