Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Microstats (only for admin) - load times, server loads, queries, uncached templates! Details »
Microstats (only for admin) - load times, server loads, queries, uncached templates!
Mod Version: 1.00, by Erwin (Member) Erwin is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (1 vote - 5.00 average) Installs: 190
Released: 05 Jan 2004 Last Update: Never Downloads: 16
Not Supported  

Version 1.0 - works for most servers
Updated 1.1 - optimized code
Updated 1.2 - added names of uncached templates!

Okay, the original was by TECK. This is NOT based on his code - it is based on vB3's native code. If TECK wants me to remove this, I will do so. This is just my version that I use for my private forums.

Information shown:
1) Page loading times
2) Number of Queries
3) Server Loads
4) Number of Any Uncached Templates
5) Name of Uncached Templates (NEW!)

By default only an Admin (usergroup 6) can see it. Feel free to modify this bit.

It's very easy to install.

Open includes/functions.php:

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

UNDERNEATH, ADD:

Version 1.2 - more optimized but requires /proc on your server - try this, if server loads don't show up use Version 1.02 below


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Version 1.02 - Use this if Version 1.1 doesn't work for you.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Done! As simple as that. No need to enable debug mode.

If you want only yourself to have this information, change:
if ($bbuserinfo[usergroupid]==6) {
to
if ($bbuserinfo[userid]==1) {

And replace 1 with your userid.

To let everyone see it, remove that line, and the last } of the code above.

Below is a screenshot of how my forumhome microstats look.

EDIT: Thanks to kmike, I optimized the code. This should lessen the load when checking the server loads slightly.

Version 1.2 and 1.02 now has added code to show NAMES OF UNCACHED TEMPLATES!

Download Now

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

Screenshots

Click image for larger version

Name:	microstats.JPG
Views:	2746
Size:	7.5 KB
ID:	15459  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Microstats - load times, server loads, queries, uncached templates ShiningArcanine vBulletin 3.5 Add-ons 406 27 Feb 2011 09:37

Comments
  #2  
Old 05 Jan 2004, 02:30
DestinyIslands DestinyIslands is offline
 
Join Date: Dec 2003
Interesting ... I might use this

- DestinyIslands
Reply With Quote
  #3  
Old 05 Jan 2004, 02:42
MGM MGM is offline
 
Join Date: Jan 2003
Real name: Bara
Alright sweet, this should help out in lookin at page loads and such

/me clicks install

MGM out
Reply With Quote
  #4  
Old 05 Jan 2004, 03:34
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Real name: Julie
Whoohoo. Will install Thanks Erwin!
Reply With Quote
  #5  
Old 05 Jan 2004, 12:02
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
thanks Erwin.
Reply With Quote
  #6  
Old 05 Jan 2004, 12:08
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Wow Erwin's on a modding spree Nice one !
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #7  
Old 05 Jan 2004, 14:18
xxskullxx xxskullxx is offline
 
Join Date: Jun 2002
Nice job erwin!
Reply With Quote
  #8  
Old 05 Jan 2004, 20:25
ThePartyBorg ThePartyBorg is offline
 
Join Date: Jan 2002
Oooo, installed it right away.
Reply With Quote
  #9  
Old 05 Jan 2004, 21:19
Tubbie Tubbie is offline
 
Join Date: Feb 2002
Real name: Sebi
Nice and easy!

THX
Reply With Quote
  #10  
Old 06 Jan 2004, 03:14
Serge's Avatar
Serge Serge is offline
 
Join Date: Jan 2002
If you are getting 2.55 is that bad for server load? I am on a shared server is that ok as it is shared or is that still bad?

EDIT: Actually server load seems to stay around the 2.0 range.
Reply With Quote
  #11  
Old 06 Jan 2004, 03:27
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by Serge
If you are getting 2.55 is that bad for server load? I am on a shared server is that ok as it is shared or is that still bad?

EDIT: Actually server load seems to stay around the 2.0 range.
How many simultaneous users do you have when you get those load times? They are fairly bad, but not THAT bad.
Reply With Quote
  #12  
Old 06 Jan 2004, 03:39
Serge's Avatar
Serge Serge is offline
 
Join Date: Jan 2002
There were 9 but I was the only registered user on the rest where bots I'm guessing although I didn't check.
Reply With Quote
  #13  
Old 06 Jan 2004, 03:46
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Nice job. Thanks!
__________________
-Jason / WTF!?
Reply With Quote
  #14  
Old 06 Jan 2004, 04:38
Mijae's Avatar
Mijae Mijae is offline
 
Join Date: Nov 2001
Are 26 queries for forumhome too bad?
Reply With Quote
  #15  
Old 06 Jan 2004, 04:52
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Originally Posted by v0id
Are 26 queries for forumhome too bad?
Yes. Considering that on my heavily hacked forumhome I only use 8.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:50.

Layout Options | Width: Wide Color: