View Full Version : What hack should be used to show page generated speed in 3.6.4 ?
mrahul
07-02-2007, 08:09 AM
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
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.