vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB3 MicroStats (https://vborg.vbsupport.ru/showthread.php?t=62173)

Boofo 04-05-2004 04:17 PM

Thank you, sir. That's kind of you to say. I enjoy doing what I can, although it isn't much at times. ;)

Zelda-King 04-05-2004 06:54 PM

Boofo: It was a good gesture. Upgrade instructions are good.

Bad Bunny 04-05-2004 07:22 PM

Installed! Thanks! Works like a charm.

heynurse 04-06-2004 05:32 AM

Great Hack and Upgrade! Thanks Floren!

Nj?rd Eriksson 04-07-2004 05:13 PM

Quote:

Originally Posted by TECK
You need to have enabled the exec('uptime') in your server, in order to see the average server loads.
Contact your host for more details.

I have my own dedicated server. Can someone please tell me how to enable this? :)

Nj?rd Eriksson 04-08-2004 02:36 AM

SafeMode is off, by the way, but I still can't see the average server loads.

If I enter uptime via SSH2 with root I get a result. If I enter it with my website's account via SSH2 I get uptime: command not found, just in case it shouldn't be like this.

djohn 04-08-2004 11:29 AM

I have a question. How can i "cache" an "uncached" template without installing an update?

Boofo 04-08-2004 12:03 PM

Turn DEBUG on to find out what template is cached and put it in the templates section at the top of the file for the page it isn't cached on.

The easiest way is to install Teck's update for this great hack and you won't need to enable DEBUG to find out which template isn't cached. The drop down box for the Uncached templates (in the update) will show you the template that isn't cached. ;)

djohn 04-08-2004 12:27 PM

Quote:

Originally Posted by Boofo
Turn DEBUG on to find out what template is cached and put it in the templates section at the top of the file for the page it isn't cached on.

Didn't quite get that. I should turn on debug mode, and then edit it, but save without making any changes?

TECK 04-10-2004 12:46 AM

Quote:

Originally Posted by djohn
I have a question. How can i "cache" an "uncached" template without installing an update?

You need to know what templates are performing an extra query for their uncached name. You can do this with the latest version of this hack, it will take you 30 seconds to upgrade it.
Once you know the name of the uncached templates, simply add it to $globaltemplates array, present at the top of each .php file in vBulletin.

So if in your index.php file, you have 2 unchached templates, look at the top of index.php file and find:
Code:

$globaltemplates = array(
        'FORUMHOME',
        ...,

and add the end the template name you missed to add.

Cheers.

PS. Upgrade, is really easy the change. ;)


All times are GMT. The time now is 04:59 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.01224 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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