Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
VB3 MicroStats Details »»
VB3 MicroStats
Mod Version: 1.00, by TECK (Coder) TECK is offline
Developer Last Online: Apr 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (1 vote - 5.00 average) Installs: 157
Released: 05 Mar 2004 Last Update: Never Downloads: 52
Not Supported  

You asked for... but it was available for VB2 only? There you go, you have it now.

Looking for 3.5.4 version? Get it here.

VERSION 1.2 RELEASED
Basically the only difference you will notice is a dropdown menu that will display the unchached templates.
In this way, you can add it to the cache and save one or more queries.


THIS HACK WAS TESTED IN A DEFAULT, CODE UNMODIFIED BOARD.

This hack will add at the bottom of each vBulletin(powered) page the following stats:
REGULAR USERS STATS
- load time of specified page in microseconds (with custom no. of digits to show)
- percentages of PHP/MySQL usage
- number of queries executed

ADMINISTRATOR STATS
- number/name of uncached templates (name highlighted in blue, for uncached template)
- vBulletin DEBUG mode status
- server GZIP library compression status
- average Server Loads

This is not only estethic, it will also help you troubleshoot any wierd queries that you have in your scripts.

IMPORTANT
If you get results like:
Page generated in 3.35731196 seconds (9.05% PHP - 90.95% MySQL) with 17 queries
You probably use a bad piece of code, because vBulletin will never generate those extreme results.
Imagine this: the code uses only 10% the resources to read the actual PHP code and the rest of 90% is used only to scan the tables... WOW!
That means the code forces to read into the database for each user who visits the site at this percentage... if you have 1000 users viewing the page in the same time.. you can get a picture of it...
If you compare this with vBulletin, the software does the opposite, 90% PHP and 10% MySQL... the right way.

DIVISION BY ZERO ERROR? Read this.
INVALID STATS IF MYSQL COMPILED IN A NON-ENGLISH LANGUAGE? Read this.

NOTE: The blue highlighting is not working in Opera 7.23 version. (Thanks Christine)

Have fun.

Download Now

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

Screenshots

Click image for larger version

Name:	vb3_microstats.gif
Views:	3149
Size:	18.7 KB
ID:	17893

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.
  #256  
Old 14 Nov 2005, 06:20
ChrisLM2001 ChrisLM2001 is offline
 
Join Date: May 2003
Teck,

[begging]
Please, please, please make this mod as a plugin for 3.5.x. With sugar on top!
[/begging]

Chris
Reply With Quote
  #257  
Old 13 Feb 2006, 19:49
venomx's Avatar
venomx venomx is offline
 
Join Date: Apr 2002
Yeah please?
__________________
TopDollarMall
Reply With Quote
  #258  
Old 01 May 2006, 05:50
phreebsd phreebsd is offline
 
Join Date: Jul 2005
BUMP!
I'd like a 3.5.x ver.
Reply With Quote
  #259  
Old 02 May 2006, 12:12
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
I started a new forum. I will have a 3.5 version released soon.
I'm pretty sure it will not be a plugin version, due to the way the hack is made previously...
Reply With Quote
  #260  
Old 02 May 2006, 19:34
derekivey derekivey is offline
 
Join Date: Apr 2005
Real name: Derek
Sweet, definitely good news! Keep up the good work!
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions.
Use my hack threads for support instead, please. All PM, or IM requests will be ignored.
Reply With Quote
  #261  
Old 11 May 2006, 20:15
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
It might be easier then we think... there is a hook placed at the right place...
So we will not need to edit anything in the php files... at least from the first look.

I will get back to you guys soon with the plugin.
It should be based on a custom template that you need to create (copy/paste), plus the plugin .xml file.
Reply With Quote
  #262  
Old 11 May 2006, 20:29
derekivey derekivey is offline
 
Join Date: Apr 2005
Real name: Derek
Why not just use the product system so you don't have to have everyone add a custom template? The product system would add it automatically as well was the plugin.

Derek
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions.
Use my hack threads for support instead, please. All PM, or IM requests will be ignored.
Reply With Quote
  #263  
Old 13 May 2006, 00:45
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
Good idea. I'm working on it as we speak... it should published this evening.
I really have to get used to the new VB3.5 features.

Please give me more details about the product system...
Used to the old school way, editing the php code. Thanks.

Last edited by TECK : 13 May 2006 at 00:49.
Reply With Quote
  #264  
Old 13 May 2006, 01:02
derekivey derekivey is offline
 
Join Date: Apr 2005
Real name: Derek
Just create a new product in the product system. Then turn on debug mode and in the style manager, go to the MASTER STYLE, and click Add Template in the drop down menu. When you add the template there, select the product you added in the drop down menu on the page it takes you to. When you export the product it will automatically include the template with the xml file and any plugins, settings, or phrases. When the user installs the product it automatically adds all of those.

Keep up the nice work .

Derek
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions.
Use my hack threads for support instead, please. All PM, or IM requests will be ignored.
Reply With Quote
  #265  
Old 14 May 2006, 03:46
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
Thanks for the info Derek. One question: How do you generate the product ID's? If I enter an ID, what will hapen if someone have already this ID in use? It should be generated automatically...

About Microstats, I will not use a template... after all, since it will use the ones built in VB aready, simplier this way.
I'm having trouble with the $querytime... the rest is working perfectly.
I started a thread here:
http://www.vbulletin.org/forum/showthread.php?t=115523

I try to avoid creating a bunch of functions to emulate the debug mode...
Any solutions are apreciated.

Last edited by TECK : 14 May 2006 at 03:50.
Reply With Quote
  #266  
Old 14 May 2006, 12:24
derekivey derekivey is offline
 
Join Date: Apr 2005
Real name: Derek
Not sure, sorry .
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions.
Use my hack threads for support instead, please. All PM, or IM requests will be ignored.
Reply With Quote
  #267  
Old 19 May 2006, 04:01
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
Mod released for vBulletin 3.5.4.
http://www.vbulletin.org/forum/showthread.php?t=116027

Enjoy.
Reply With Quote
  #268  
Old 19 May 2006, 10:56
derekivey derekivey is offline
 
Join Date: Apr 2005
Real name: Derek
Thanks TECK, will install when I get home from school .
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions.
Use my hack threads for support instead, please. All PM, or IM requests will be ignored.
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:51.

Layout Options | Width: Wide Color: