The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Microstats - load times, server loads, queries, uncached templates Details »» | |||||||||||||||||||||||||||
Microstats - load times, server loads, queries, uncached templates
Developer Last Online: Nov 2023
This is a derivative of Erwin's microstats hack for vBulletin 3.5.0's plugin system. The main difference is that by default it shows the page generation time and query count to the public. Server loads and Uncached Queries are shown only to administrators.
I had sent this to Erwin so he could release if he wanted to but instead he told me that I had permission to release it; hence why I am releasing it. This should work with vBulletin 3.5.0 RC 1 through vBulletin 3.6.1 and later. Installation is very simple. Just import the plugin via vBulletin's "Download / Upload Plugins" page in the Plugin System in the Admin Control Panel and you're done. I'll try to correct any bugs that you find. Let me know if you like this plugin and don't forget to click the install link if you install this. Optional config.php Variables $config['Microstats']['replacementvariable'] Setting this variable will make microstats place its data before any instance of whatever you set this variable to. Be careful with this as you might see microstats in mutiple places. My suggestion is to use a unique comment in the HTML source to prevent any issues. E.g. $config['Microstats']['replacementvariable'] = '<!-- display microstats here -->'; $config['Microstats']['adminonly'] Setting this variable to anything will make microstats display itself only to administrators. E.g. $config['Microstats']['adminonly'] = true; Update History Product File: Uploaded a product file that replaced the plugin file. Version 1.2.1: Fixed a bug that broke optional config.php settings Version 1.2.0: Added OpenBSD, FreeBSD and NetBSD support; added Replacement variable setting in config.php; added Display only to Administrators Setting in config.php; fixed bug affecting Linux/Unix servers that have exec('uptime') support and not /proc/loadavg support Version 1.1.0: Added names of uncached templates, included a bugfix for people who don't have proc avaliable on their system and made the code look a little nicer as well Version 1.0.1: Bugfix for Windows users, sanitized the code to make it look nicer Version 1.0.0: Initial Release Show Your Support
|
Comments |
#262
|
||||
|
||||
I figured it out.. Edit the plugin via Admin CP.. Now its workin.. But in plugin ($vbulletin->userinfo['usergroupid'] == 6 or $vbulletin->userinfo['usergroupid'] == 9)) was worked fine.. But in priduct ($vbulletin->userinfo['usergroupid'] == 6 or $vbulletin->userinfo['usergroupid'] == 9)) gives error so I remove 1 brace n its start workin..
PHP Code:
|
#263
|
||||
|
||||
i never had a need for this type of information nor has my members.. but i installed it anyway... and found that I DID have a need for this... and it works great! thanks
|
#264
|
|||
|
|||
Ok I was able to get it to show 2x by using the <!-- display microstats here --> in the footer. How can I get it to only show once?
|
#265
|
|||
|
|||
Are you all ready for a dumb question? How to I get my uncached templates cached??
|
#266
|
||||
|
||||
Quote:
PHP Code:
PHP Code:
|
#267
|
|||
|
|||
THANK YOU SHUVO!!!!!!!!!! One other dumb question - which php file should I edit? global?
|
#268
|
||||
|
||||
Quote:
|
#269
|
|||
|
|||
OK I tried the plug in for "navbar2" and it didn't work.... here's what it's still showing me:
Powered by vBulletin Version 3.5.4 Copyright ?2000 - 2006, Jelsoft Enterprises Ltd. Copyright 2005, Yada Yada Yada Copyright 2005, Let's Yada Yada Yada Page generated in 0.79214 seconds with 19 queries (2 queries for uncached templates) [Server Loads: 1.92 2.59 : 2.89] Uncached templates: gallery_top5 (4) Uncached templates: navbar2 (1) But THANK YOU for your help, sir!!!!!!!!!!! |
#270
|
|||
|
|||
wait wait - It DID work - You are the KING I bow to you LOL thank you
|
#271
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|