![]() |
VB3 MicroStats
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. [high]THIS HACK WAS TESTED IN A DEFAULT, CODE UNMODIFIED BOARD.[/high] 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 [high]This is not only estethic, it will also help you troubleshoot any wierd queries that you have in your scripts.[/high] IMPORTANT If you get results like: Page generated in 3.35731196 seconds (9.05% PHP - [high]90.95%[/high] 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. :) |
Nice job on this hack TECK :)
|
Been waiting for this hack. Will install when Gold is out.
Good job, Teck! |
The part of code that needs to be edited is final. ;)
Feel free to install it now. |
Can I ask - how to implement it ? I don't see how to actually layout the items for the same output I used to get for your previous hack ...
|
Quote:
You mean: How to display the options the same way like the previous hack? Through a template? You can simply edit the html code to suit your needs... I didn't want to create any templates do to the RC stage. Also, I think is better to have it hard coded... Code:
$ms = '<tr align="right">' . "\n"; Code:
$ms .= '<tr align="right">' . "\n"; |
Cool hack:):)
|
Oh yes! I've been waiting for this. This is safe for the server, yes? I mean having the options that AREN'T for admins only. Well, I know you know about that old issue so I assume the answer's yes.
|
One of my favorites hack is back! :)
|
Works very well here (v3.0rc4)!
|
All times are GMT. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|