![]() |
heh that was simple
now how can i move my custom templates down to where you put yours? |
you still have old custom templates from previous vbHL?????????
remove them asap. also, how is the performance on your server? the page loads fast? |
TECK,
Im not sure what I'm doing wrong. Did fresh install of both vB and vbhome and with all options on (pm and poll) and placing the get_microstats template in the $templateused area Im pulling 22 queries. Turning off pm and poll gives me 20 (I know that doest add up since pm is 1 and poll is 2) turning on just pm still leaves it at 20. Turning off pm and turning on poll gives me 22 and turning on pm and poll off gives me 20. And you are correct vbhome 3 gave me like 14 log in and 13 as guest. I am unsure where these additional queries are coming from. I will mess around a little more and figure out what im doing wrong. Thanks for all your help, it is very thoughtfull of you. :) |
it intrigues me to. it doesnt make sense...
i just looked at pimpy's page and it's loading lightning fast... i dont understand why it's adding extra queries. the only way it adds extra queries if you add new code to your vbHL file, wich is not the case right? i want you to pm me attached the vbHL file that you have now on the server, i will compare it with mines, ok? |
pimpy? please turn on your poll option and pm's temporary. i need to compare the performance.. thanks.
|
TECK,
pm is sent. thank you!!! |
hehe, no wonder you have 20queries. :)
first, you added there the template microstats, that is already cached in the /forum/global.php file (i hope you did add it there). second you forgot to put a comma after the word microstats, so all the templates after that are not cached anymore... in other words for every template listed after microststs it will load a a query instead, because is not saved in the server memory anymore... :) do this nokia, remove the microstats. your list of templates should look like this: Code:
$templatesused = 'home,home_articlebits,home_footer,home_header,home_headinclude,home_threadbits,home_welcomeguest,home_articlecomment,'; Code:
$templatesused.=',pagenav,pagenav_curpage,pagenav_firstlink,pagenav_lastlink,pagenav_nextlink,pagenav_pagelink,pagenav_prevlink,home_microstats'; and the page will load fast, the way you like it. :) enable all options and let me know how it does it on your server... |
TECK,
Thanks for the check. I did as you stated and yes it dropped 2 queries with both pm and poll turn off from 20 to 18. And the microstats is listed in globals :) I still dont know what the other 4 queries are. I enabled all options and my queries are 20. which if funny cuz if pm and poll add 3 together it should be 21? Page generated in 12.92232895 seconds (0.76% PHP - 99.24% MySQL) with 20 queries |
did you pasted my list of templates above?
|
yep :)
just to be on the safe side i did :) |
All times are GMT. The time now is 04:44 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:
|