The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Microstats (only for admin) - load times, server loads, queries, uncached templates! Details »» | |||||||||||||||||||||||||||
Microstats (only for admin) - load times, server loads, queries, uncached templates!
Developer Last Online: May 2013
Version 1.0 - works for most servers
Updated 1.1 - optimized code Updated 1.2 - added names of uncached templates! Okay, the original was by TECK. This is NOT based on his code - it is based on vB3's native code. If TECK wants me to remove this, I will do so. This is just my version that I use for my private forums. Information shown: 1) Page loading times 2) Number of Queries 3) Server Loads 4) Number of Any Uncached Templates 5) Name of Uncached Templates (NEW!) By default only an Admin (usergroup 6) can see it. Feel free to modify this bit. It's very easy to install. Open includes/functions.php: Find: PHP Code:
Version 1.2 - more optimized but requires /proc on your server - try this, if server loads don't show up use Version 1.02 below PHP Code:
Version 1.02 - Use this if Version 1.1 doesn't work for you. PHP Code:
Done! As simple as that. No need to enable debug mode. If you want only yourself to have this information, change: if ($bbuserinfo[usergroupid]==6) { to if ($bbuserinfo[userid]==1) { And replace 1 with your userid. To let everyone see it, remove that line, and the last } of the code above. Below is a screenshot of how my forumhome microstats look. EDIT: Thanks to kmike, I optimized the code. This should lessen the load when checking the server loads slightly. Version 1.2 and 1.02 now has added code to show NAMES OF UNCACHED TEMPLATES! Show Your Support
|
Comments |
#252
|
||||
|
||||
Quote:
|
#253
|
|||
|
|||
Moved to a new host and I am having some terrible page load times.
Added in this hack to try to locate the source and the page load times are coming up whacky. I expected 2.0 - 3.0 but I'm not even getting a . Bug? Was hoping to use this to get some hard numbers to throw at them |
#254
|
||||
|
||||
Quote:
|
#255
|
|||
|
|||
Hehe so it's totally on their side
The pages are loading in 10-30 seconds. I wasn't sure if that stall was causing a bug in the hacks code or something I figure it's prolly supposed to be 5.6xxx seconds. Thats Erwin, great hack and gives me something to gripe at them with some hard numbers |
#256
|
||||
|
||||
thanks
Quote:
www.ragezone.com |
#257
|
|||
|
|||
Is there any reason I get this error message after installing this hack?
PHP Code:
I saw that editing the functions.php file in Dreamweaver doesn't work, si I have used Notepad and Kate. Tried copy and pasting - no joy. Tried typing out entire hack - no joy. Any ideas? |
#258
|
|||
|
|||
just installed on 3.0.7 works fine
|
#259
|
||||
|
||||
I was wondering if it would be possible to display slow queries as well? I like to keep an eye on that stuff and since its visable only to admins, I dont think that would add much of a hit, no?
|
#260
|
|||
|
|||
for some reason, i installed, had it working fine on 3.07. then after a certain hack, forgot which. i stopped seeing the server loads. only queries and load time. ?_?
edit: nvm, used the older version and started working again. no idea why, anyone wanna enlighten me? |
#261
|
|||
|
|||
Nice and strange one this.
I've installed an SSL certificate on my site and am encouraging users to use SSL'd access to the forum (as it's harder for companies to block, keeps their cookies and requests secret, and prevents referer info being sent to third party sites). Now when I surf on https:// , the 1.2 version fails. Yet when I surf http:// the 1.0 version works. What I've done is to combine both. If 1.2 works it uses it, otherwise it rolls over to the 1.0 version. Strange, interesting... fixed |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|