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 |
#252
|
|||
|
|||
i install the plugin before one month i try to unustall it now and install the product and its not on the plugin list...
i try to istall it 2 more times and still doesnt no appeard on plugin list ( i install the PLUGIN)byt on forum home the stats displayed 3 times now SOS SOME ONE HELP ME?? |
#253
|
|||
|
|||
This works fine with vBulletin 3.6 beta 2.
|
#254
|
|||
|
|||
Page generated in 3.88997 seconds with 8 queries [Server Loads: 18.30 13.06 : 10.40]
Thats what I see, is this correct, or am i missing some items??? Also.....homepage takes around 4 seconds to load...could anyone provide me with some insight into this. Is this something I may have done to the board to make it move slow, is it server side, can i optimize etc..... cheers Peace |
#255
|
|||
|
|||
Quote:
|
#256
|
|||
|
|||
Yes i fixed now i dont remember how byt i fixed..
|
#257
|
|||
|
|||
Hi,
i like the Microstats and it works very well at my page... i have one question: i have photopost integrated with vb3... is it possible that the Microstats work on photopost pages, too? and if, how can i made this? thanks Peter |
#258
|
|||
|
|||
I would not know about that but if you wanted to make it work with external scripts, you would have to integrate vBulletin's hooks systems with it, in particular the global_complete hook.
|
#259
|
|||
|
|||
Quote:
|
#260
|
||||
|
||||
Hello ShiningArcanine I hav got a prob with this.. Previously I edit your plugin to giv the same access as Admin to another usergroup.. Both is given bellow..
I hav changed in plugin from: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Quote:
|
#261
|
|||
|
|||
That is an error from the PHP Parser. It generally means that you made a mistake somewhere. Looking at the first big of code you wrote, where the error occurred, everything looks okay. Have you tried re-editing the XML file to rule out the possibility of a typographical error? Also, have you tried editing the product's plugin directly in the AdminCP?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|