The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vbMicroStats: page load time, queries, GZIP and PHP version Details »» | |||||||||||||||||||||||||||
vbMicroStats: page load time, queries, GZIP and PHP version
Developer Last Online: Nov 2023
[high]Looking for VB3 version? Is here.[/high]
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 [high]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.[/high] 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 [high]@exec("uptime")[/high]. 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 ------------------------------------ [high]VB2.2.5:[/high] 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 [high]Install[/high] button. To download the latest version of this hack, click below: Show Your Support
|
Comments |
#772
|
||||
|
||||
No, it's because the code is different - there is an extra bit to check for PHP version etc. that is not in the RC versions.
|
#773
|
|||
|
|||
Ok. I have installed and uninstalled and re-installed this hack several times. I have read the latest posts about the "dovars" code and I can see that they are different (I am running 2.3 rc2).
My question is this: why do I get the 12323423.43345345 seconds error on my vBHome, but not on my forums page? Also, when installing this hack for the last time, I was refreshing this vbHome page and I suddenly got it work (no "seconds" error), but when I went to the forums, and came back to the vbHome page, the 123123123123.23123124554 seconds error returned. Is this some clue as to a specific issue with my install?! I know a lot of people are having an issue of getting this to work at all, but mine works fine on the forums, and with erroneous results on my vBHome. Any ideas? |
#774
|
||||
|
||||
I'm having issues with it myself. I reviewed everything carefully but still running into problems.
My problem is that when I replace what nakkid asked me to replace in the dooutput, I get a blank white page when viewing the forumhome. Something is very wrong... *frowns* |
#775
|
|||
|
|||
I have the same problem as blippio. On the forum page everything works fine, but when I add {getmicrostats} to the footer of the VBHL template the seconds and percentage show weird values.
Is there a fix? |
#776
|
||||
|
||||
Hey Teck,
There is a little mistake in the .txt file you made for 2.3.0. i guess you changed the eval template to "microstats" instead of "home_microstats" but at the end of the file you say to make template "home_microstats" and the eval() is just "microstats" I was like "Why the hell won't it show?!" until i figured out it was looking for template "microstats" and the template was called "home_microstats" |
#777
|
||||
|
||||
i installed every thing but i dont know why is not working
|
#778
|
|||
|
|||
Me neither. I guess I'll have to wait until SOMEONE can verify their install on 2.3.
|
#779
|
|||
|
|||
I have VB 2.3.0, VBHL 4.2 and vbMicroStats installed and it works great. The only thing I can't get to work is adding the microstats on the VBHL homepage (in the footer). It shows 100% PHP and a huge figure for the seconds it needed to generate the page.
So if you want verification of all this working on a 2.3.0 installation.... I think I'm the living proof. There's prolly lots more people out there that got it to work. |
#780
|
|||
|
|||
I'm installed it on my vbulletin 2.3.0, also applied the fix voor function.php, I dont get any error now, so that good but when I go to my form, I see this:
:number of digits for microtime :the time your page is loaded 6 :number of queries executed :tells if VB is in debug mode :PHP version :PHP percent page usage :MySQL percent page usage :GZIP compression library 1 :GZIP compression level :your average server load as you can see some things are working (well 2 ) how do I fix the other things to work? |
#781
|
|||
|
|||
I just installed it on 2.3. I got errors from cutting and pasting functions.php, but once I uploaded a clean version and tried again it worked.
All parts are functioning: Page generated in 0.09815001 seconds (58.26% PHP - 41.74% MySQL) with 26 queries. [Debug Mode OFF] [PHP v4.2.3] [GZIP disabled] [Server Load: 0.53 » 0.47 : 0.41] |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|