vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What hack should be used to show page generated speed in 3.6.4 ? (https://vborg.vbsupport.ru/showthread.php?t=151174)

mrahul 07-02-2007 08:09 AM

What hack should be used to show page generated speed in 3.6.4 ?
 
I would like to ask which hack to use to show up the page generation speed & un-cached templates in the footer of the forum.

I have found this hack been used in several forums, but couldn't come to a conclusion which is the correct hack for this..

ragtek 07-02-2007 09:09 AM

ähm just turn on the debug modus*g*
then you see everything

Dismounted 07-02-2007 12:38 PM

You should never show that kind of information to the public though....

mrahul 07-05-2007 05:34 AM

I meant the hack, which shows the un-cahced templates, load speed,
I don't want this to show up for public, I want it for displaying only to admins, so tht we can check on if the forum is running at a critical state or not

Dismounted 07-05-2007 06:19 AM

That's debug mode....

ragtek 07-05-2007 06:24 AM

you could modify the output part of the debugmod so that just you see it

Eikinskjaldi 07-05-2007 06:27 AM

Put the following into config.php
PHP Code:

if ($_SERVER['REMOTE_ADDR'] == 'IP address of admin 1') {
        
$config['Misc']['debug'] = true;
} else if (
$_SERVER['REMOTE_ADDR'] == 'IP address of admin 2') {
        
$config['Misc']['debug'] = true;
} else if (
$_SERVER['REMOTE_ADDR'] == 'IP address of admin 3') {
        
$config['Misc']['debug'] = true;
} else {
        
$config['Misc']['debug'] = false;


I realise you could put it all on 1 line or'd together.

snakes1100 07-05-2007 06:31 AM

Search for "micro stats", thats the hack you want.


All times are GMT. The time now is 10:41 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.01008 seconds
  • Memory Usage 1,722KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete