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 |
#202
|
||||
|
||||
Can we hope an Update of this that will show Gzip stats too??
|
#203
|
|||
|
|||
Quote:
Quote:
Quote:
|
#204
|
|||
|
|||
/clicks install
I tried both the original version and the product version but even as admin (usergroup 6), i can't see the server load and uncached templates. I'm on 3.5.4 Any ideas? Also, is there supposed to be an Admin CP for the product version? If so, I can't find it. |
#205
|
|||
|
|||
djwins, uncached templates only appear if there are uncached templates. Also, microstats can only display server loads on non-Windows servers. If you are on a Windows server, you will not see server loads.
By the way, microstats does not add anything to the AdminCP. |
#206
|
|||
|
|||
I am using FreeBSD, not windows. Is the load supposed to display with that? Thanks!
|
#207
|
|||
|
|||
FreeBSD is supposed to show load averages. They might not be enabled on your server though. File a support ticket with your host and ask them if your server supports the following:
PHP Code:
|
#208
|
|||
|
|||
It is enabled as the above command works from SSH.
I'm running in PHP safe mode, so thats probably the reason it's not working. |
#209
|
|||
|
|||
Quote:
Edit: If you are on a dedicated server or virtual private server, you could try running PHP in normal mode and see if that is the problem. |
#210
|
||||
|
||||
I am not sure what mistake i am doing, but I need to display page generated and queries executed message only to administrator group..
confused... can some provide some insight since new to vb 3.5.4 and need to get some forums up and running with required addons asap ? just let me know the appropriate code to modify with ? |
#211
|
||||
|
||||
thanks in advance for this handy addon
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|