vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

PIMPY 09-30-2002 01:49 AM

heh that was simple

now how can i move my custom templates down to where you put yours?

TECK 09-30-2002 01:52 AM

you still have old custom templates from previous vbHL?????????
remove them asap.
also, how is the performance on your server? the page loads fast?

nokia8860 09-30-2002 01:59 AM

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. :)

TECK 09-30-2002 02:06 AM

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?

TECK 09-30-2002 02:09 AM

pimpy? please turn on your poll option and pm's temporary. i need to compare the performance.. thanks.

nokia8860 09-30-2002 02:10 AM

TECK,

pm is sent.

thank you!!!

TECK 09-30-2002 02:21 AM

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,';
$templatesused.= 'home_welcomeuser,home_pollresult,home_polloption_multiple,home_polloption,home_pollcomment,home_articlenocomment,';
$templatesused.= 'home_pollresults,home_pollresults_closed,home_pollresults_voted,home_polloptions,home_pmloggedin';

then, just to be safe, open /forum/global.php and make sure your microstats template is listed like that there:
Code:

$templatesused.=',pagenav,pagenav_curpage,pagenav_firstlink,pagenav_lastlink,pagenav_nextlink,pagenav_pagelink,pagenav_prevlink,home_microstats';
never NEVER, add the template like that, without the comma, if it is in a link string. let me know what's the number of queries you have after... it will be 14 i quarantee you.

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...

nokia8860 09-30-2002 02:28 AM

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

TECK 09-30-2002 02:29 AM

did you pasted my list of templates above?

nokia8860 09-30-2002 02:32 AM

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
  • Page Generation 0.03601 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete