The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB3 MicroStats Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
Comments |
#12
|
||||
|
||||
Thanks for this great hack, it's useful
But when you have the quick style chooser enabled, your hack deforms a little bit the footer. For repair this, you must to do these modifications into ./includes/functions.php: Quote:
Quote:
Quote:
Quote:
|
#13
|
||||
|
||||
Thanks for mentioning, PitchouneN64ngc. I uploaded a new file with the fix.
Now is done automatically, so if you ever disable that option, you don't have to edit the code... |
#14
|
||||
|
||||
awesome hack. Installing in a bout 5 minutes
|
#15
|
|||
|
|||
I get a parse error when i go to the Template manager:
Quote:
|
#16
|
||||
|
||||
I don't see the server load with this installed. It isn't in your screenshot either.
|
#17
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showthread.php?t=59700" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=59700</a>
Doesn't that do pretty much the same thing? Only admins can see Erwin's version though. But I think that can be changed. |
#18
|
||||
|
||||
Quote:
|
#19
|
||||
|
||||
Quote:
Erwin knows the difference: Quote:
Quote:
Contact your host for more details. I know that Windows has no uptime binary, that could be executed with exec functions. Only Unix does this. |
#20
|
||||
|
||||
I got it working.
I had to change this: PHP Code:
PHP Code:
|
#21
|
||||
|
||||
The IF should not change anything, except avoid proccesing any not needed functions, while increasing performance.
Do you run a UNIX box? Also, something is wrong there with your server. You cannot have 0 for all average loads, or make it work on Windows, from what I know (if anyone knows a way, please let me know, since I'm not good at server configuration ). Leave the code as it is (that's why you get zero's)... and check with your host. Let us all know the results. Cheers. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|