This hack will add at the bottom of each vBulletin(powered) page the following stats:
- load time of specified page in microseconds (with custom no. of digits to show)
- number of queries executed
- server GZIP library compression status
- vBulletin DEBUG mode
- PHP version
- PHP percent page usage
- MySQL percent page usage
- Server LoadThis is not only estethic, it will also help you troubleshoot any wierd queries that you have in your scripts.
The hack is template based so you can edit it the way you want in few seconds.
NOTE: From users experiences, this hack will work only with PHP 4.0.6 or higher. Let me know if it works with a lower PHP version.

NOTE: I spoked with Kevin 'tubedogg' from vBulletin Support team and he explained to me that not all the servers are configured to support the @exec("uptime").
Contact your host for more details and ask them about this issue.
For a full explanation of your 3 server load values, read more here.

*If you want to have the stats viewable only by admins, read this post.

Version 1.7
------------------------------------VB2.2.5:
Minor change in admin/db_mysql.php. Read more here on how to update your hack.
Minor change in forum/global.php. Read more here on how to update your hack.

Changes:
- corrected negative values on certain servers.

Version 1.6
------------------------------------
Changes:
- PHP version and GZIP library status viewable only to admin.
- added a link to Detailed Stats View (generated by vBulletin), for that specific page. Only admins can view that link.

The hack is template based now.
All you have to do is call it with the {getmicrostats} string, anywhere you want (for example in footer).
You also have the choice to install it as template based or coded directly into your functions.php file.

Originally posted by FireFly This works but doesn't... it shows the wrong info. nakkid, I told you more in an e-mail, read it and understand what I'm talking about.

Firefly, ok.. i know where is the problem. i didnt grabbed properly the start and end_time, i mean not from the moment the script starts until it's loaded. that's all. i will release a new version tonite, to correct this little problem, so it will show the correct load time.

regards,
nakkid.

__________________Floren Munteanu
Axivo Inc.Axivo Community - Visit the forums to find out more about usWhy Queued - My personal blog

__________________
It's nice to be important but it's more important to be nice.
--------------------------------------------------------------------------------------------------------------------------------------------
Never discuss with an idiot, he'll just pull you down to his own level and beat you with experience!
--------------------------------------------------------------------------------------------------------------------------------------------
Its not the penis that makes the man, its the way he uses it.