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 |
#502
|
||||
|
||||
Then you might want to take your own advice and do the same in the future, when you start to ramble elsewhere in a thread. And unless I missed something somewhere, I don't think you were made a moderator here, yet. If that sad day ever happens, I guess I'll have to "find a new place to dwell, uh-huh!"
'Nuff said. I'm done. Quote:
|
#503
|
||||
|
||||
Quote:
so far i discussed only issues related to the specific thread, anywhere. btw, that's have nothing to do with being a moderator, is with being efficient. basically you save time if you do a search and if you dont find it, simply ask. people will answer you. i know i will, even if you dont believe it. as for your query question, try this search: "tie pm query", you will be amased... |
#504
|
||||
|
||||
Doesn't work. pm is only 2 letters. Thanks, anyway.
Quote:
|
#505
|
||||
|
||||
i send you a pm with all the info you need.
|
#506
|
||||
|
||||
Are we all friends again? Don't let it happen again.
|
#507
|
||||
|
||||
Seems like a very useful hack - I'll give it a shot.
|
#508
|
||||
|
||||
Installed and works like a charm . This is probably the most useful hack I have on my boards, and I think a lot of fellow vBulletin owners agree with that, especially if they are using servers that are being pushed to their limits. This is perfect, now I can keep an eye on the server load and at the same time browse the boards.
|
#509
|
||||
|
||||
martin64, i looked at your site and i noticed you didnt hacked properly the db_mysql.php file, that's why you have 100% and 0% values. please double check the steps in that file.
|
#510
|
||||
|
||||
Okay, thanks. I overwrote some files and had to re-add my 3 most recently added hacks so that's probably why I missed it. I don't know what went wrong, but I had to download the 2.2.6 package again and overwrite my old files. :hurt:
It was working earlier, I just hadn't noticed yet. Thanks once again. Edit: fixed. |
#511
|
||||
|
||||
Quote:
It is possible, but only if you remove a few standard features. I took out invisibility (that's 1), and forumjump (that's 2). The hacks in my showthread did not do queries. Since then though, I have moved servers, and with a faster server I have put back forumjump, and reinstalled who is browsing this thread. I also reinstalled the "Users Online in Header". This has brought my showthread back up to 23. (Page generated in 1.00907195 seconds (67.16% PHP - 32.84% MySQL) with 23 queries.) My index is now at 17 queries. (Page generated in 0.29747605 seconds (82.73% PHP - 17.27% MySQL) with 17 queries.) - I did this by combining the PM queries, removing the query to count threads (I only display posts), and also keeping invisibility off. But using the "Users Online in Header" adds an extra 2 queries to every page. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|