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 |
#402
|
|||
|
|||
im getting this error
Warning: ksort() expects parameter 1 to be array, null given in [path]/includes/functions.php(6783) : eval()'d code on line 30 Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(6783) : eval()'d code on line 32 i have disabled all my plugins manually but not globally but it still comes up and i cant find what it is however disabling it globally works but thats not the way to go |
#403
|
|||
|
|||
Actually Guys regarding my error above found the fix for it if anyone is interested
Admincp > Plugin Products > Product Manager Scroll down to Product : vBulletin then uncheck microstats save it then that should clear those errors |
#404
|
|||
|
|||
Attached is a new version of this mod... I can't release it as it's own mod, as stated by the administrators here. But I can still post it as an attachment to this mod. Although, I have to disagree with the limitations of republishing THIS mod (and ONLY this mod). There is really only ONE way to print out pageload times and server load. Anyone can write this mod new from scratch and it will pretty much be exactly the same as this old version. Why? Because this is a problem with only ONE solution. If someone asked you the problem "What's 4+4", and you answer "8"; you do not hold the copyright to the solution "8". Why? Because copyrights protect NON-OBVIOUS solutions; and printing out pageload times and server load is OBVIOUS. (obvious in the definition from Merriam-Webster: easily seen or understood) In other words, there is an "understood" way to calculate server load, and thats just the way it is.
*edit by Lynne* - attachment removed. You may not 'fix' the developers mod and upload it without his permission. |
#405
|
|||
|
|||
your version is "only" updated to vb 4?
|
#406
|
|||
|
|||
Okay... then I made a new version... not a "fix" but a complete rewrite...
https://vborg.vbsupport.ru/showthread.php?t=240905 |
#407
|
|||
|
|||
Just wanted to let others know, it still seems to work fine on v3.8.6 as well.
|
#408
|
|||
|
|||
thank you i was about to ask if it works on 3.8.6
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|