Version: 1.2.1, by ShiningArcanine
Developer Last Online: Nov 2023
Version: 3.5.4
Rating:
Released: 06-10-2005
Last Update: 06-08-2006
Installs: 680
Uses Plugins
No support by the author.
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
I don't quite understand your question. Everyone can see microstats, except only the administrators (group 1) can see the server loads.
I am sorry I should have been more clear, thank you again for the reply. I am aware that the admin group can see the server load, but this is only the case if the user's primary usergroup is admin. Those of us who hide our admin status also have the server loads hidden from us.
Is there a way to make it so the that it will appear even if the primary usergroup is not administrators?
I am sorry I should have been more clear, thank you again for the reply. I am aware that the admin group can see the server load, but this is only the case if the user's primary usergroup is admin. Those of us who hide our admin status also have the server loads hidden from us.
Is there a way to make it so the that it will appear even if the primary usergroup is not administrators?
I wasn't aware of this, thanks for bringing it to my attention. I'll have to study more carefully how vBulletin handles this to resolve it. I'm a bit pre-occupied at the moment through so it will be a while until I find time.
Quote:
Originally Posted by bspiller82
On the stats whats it mean when it says
Uncached templates: adv_portal_ts (1)
It means that a hack you installed has uncached templates. You'll want to talk to the hack author about how to fix that as it is hurting your forums' performance.
there is a mising (the product name) so if you omport the plugin you don't see it in the plugin manager
hope to fix this
& thanks for this work
It is in the plugin manager. It isn't in the product manager through. It never was meant to be as the product manager was introduced after the plugin manager in the betas and release canadiates. It only uses one hook so not having it in there doesn't make it any less easy to remove it.
ShiningArcanine
thanks but i think if ypu put the product name that this plugin belogs to as (vbulletin) it will be good & doesn't have a bad side effect