Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vbMicroStats: page load time, queries, GZIP and PHP version Details »»
vbMicroStats: page load time, queries, GZIP and PHP version
Mod Version: 1.00, by TECK (Coder) TECK is offline
Developer Last Online: Aug 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (8 votes - 5.00 average) Installs: 595
Released: 07 Mar 2002 Last Update: Never Downloads: 37
Not Supported  

Looking for VB3 version? Is here.

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

THE FIX FOR VB2.3.0 IS HERE.

HACK UPDATES
Version 2.1
------------------------------------
Changes:
- added Server Load

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 2.0
------------------------------------
Changes:
- added vBulletin DEBUG Mode
- removed the Details link
- cleaned a little the code to match VB2.2.6
- better explanations into the install file.

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.

To see how it looks a Detailed View, click here.

Version 1.5
------------------------------------
Added:
- GZIP library status is now related to your vBulletion options.
- GZIP library compression level.

Version 1.4
------------------------------------
Bugs corrected:
- GZIP library status not displayed properly on certain servers.

Version 1.3
------------------------------------
Bugs corrected:
- vbPortal display code in modules

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.

Version 1.2
------------------------------------
Added the PHP and MySQL page percentage.
(Addon by Chen 'FireFly' Avinadav)

Version 1.1
------------------------------------
vB.org decided to add this hack to their board.

Bugs corrected:
- incorrect time load
- incorrect query count


You like this hack? Please click on the Install button.
To download the latest version of this hack, click below:

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 07 Mar 2002, 04:31
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
a screenshot for vbMicrostats v2.1
look at the bottom of the page...
Attached Images
File Type: gif vbmicrostats.gif (20.7 KB, 3951 views)
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog

Last edited by TECK : 22 Jun 2002 at 02:44.
Reply With Quote
  #3  
Old 07 Mar 2002, 04:38
sleepbirdcyp's Avatar
sleepbirdcyp sleepbirdcyp is offline
 
Join Date: Dec 2001
Real name: Ruben
Great Hack

THX~
Reply With Quote
  #4  
Old 07 Mar 2002, 04:54
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Nov 2001
Excellent. Works perfectly.
Reply With Quote
  #5  
Old 07 Mar 2002, 04:57
sleepbirdcyp's Avatar
sleepbirdcyp sleepbirdcyp is offline
 
Join Date: Dec 2001
Real name: Ruben
how abt the server loads after install this hack??
Reply With Quote
  #6  
Old 07 Mar 2002, 05:02
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
ther are no queries to be performed.. so the server load is null
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #7  
Old 07 Mar 2002, 05:25
sleepbirdcyp's Avatar
sleepbirdcyp sleepbirdcyp is offline
 
Join Date: Dec 2001
Real name: Ruben
Great!
Reply With Quote
  #8  
Old 07 Mar 2002, 06:54
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Real name: Jonathan
Nice one!

Going to place this on my board...tomorrow, too tired to tonight

SaintDog
Reply With Quote
  #9  
Old 07 Mar 2002, 09:53
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
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.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #10  
Old 07 Mar 2002, 10:36
Floris Floris is offline
 
Join Date: Jan 2002
Oi, just read firefly's post .. I think I will wait for the upgrade
__________________
My community; http://wetalknation.net
Reply With Quote
  #11  
Old 07 Mar 2002, 10:40
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
yes but this is a fantastic concept, hopefully the bugs will get worked out
Reply With Quote
  #12  
Old 07 Mar 2002, 11:46
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Real name: Matt
cool, great hack... I hope you can get the bugz fixed soon.
Reply With Quote
  #13  
Old 07 Mar 2002, 13:50
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
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 us
Why Queued - My personal blog

Last edited by TECK : 07 Mar 2002 at 15:41.
Reply With Quote
  #14  
Old 07 Mar 2002, 14:14
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
*G* hacker-waker... *G*
__________________

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.
Reply With Quote
  #15  
Old 08 Mar 2002, 06:02
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
ok.. i updated the file. enjoy
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 14:14.

Layout Options | Width: Wide Color: