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 |
#112
|
||||
|
||||
Ever since i installed the sidebar hack i get 1 uncached template:
Page generated in 0.37613 seconds with 11 queries (1 queries for uncached templates) [Server Loads: 0.63 ? 1.10 : 1.84] Hence my obvious conclusion is that it's the sidebar template that's uncached (yes indeed, i'm quite the detective ). Anyway, how can i add this template to the cache? |
#113
|
||||
|
||||
Very nice. 8 queries here. But then again, just installed the new version with 1 hack.
|
#114
|
||||
|
||||
Ok, i solved my own problem. Posted the fix in the sidebar thread (for the peepz that use search and stumble on this thread)
Tnx again Erwin, your nice hack showed me the uncached template without needing to turn debug on |
#115
|
||||
|
||||
WOW wee yippy
Thanks Erwin, at least I got one hack from this board to work |
#116
|
||||
|
||||
small question. is 13 queries too much?? lol. Actually i'm serious, i think the default install was something like 8 or 9 on forum home.
|
#117
|
||||
|
||||
Nice hack, just install in VB3 gold.
|
#118
|
||||
|
||||
Thanks Erwin!
/me likes and clicks install. |
#119
|
|||
|
|||
Perfect hack.
I just want to suggest a little tweak which will eliminate exec call (and associated "fork" system call). It will work at least on Linux, not sure about freebsd. PHP Code:
|
#120
|
||||
|
||||
Hello,
I am a newbie myself,but you guys are amazing. I applied ALL the hacks with the directions I have been provided and my forum houses a portal (VBadvanced),as well as over 18 different hacks and numerous custom templates. With all that said,this is what I am running at right now with 10 members and 3 guests: Page generated in 0.11039 seconds with 9 queries [Server Loads: 0.64 » 0.39 : 0.34] Now I know I can lower this some as I have made no attempt at lower the queries. lol Any suggestions for lowering queries? |
#121
|
||||
|
||||
I have 2 uncached templates. I don't know how to cache a template. That is something I haven't done yet. I could use some guidance with this.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|