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 |
#332
|
|||
|
|||
Is there a way to hide the whole stats from the public but show the stats + server loads to a few selected usergoups only?
|
#333
|
|||
|
|||
Awesome!!
Simple, flexible and works with 3.7.1 Just one thing. I don't want to see the cache information. I've changed the group ID to 200 atm, is there a way I can remove this information out of the plugin? I did try and it all failed I only really wanna see the time to generate the page and the number of queries? Thanks |
#334
|
|||
|
|||
Page generated in 0.188 seconds (100.00% PHP - 0% MySQL) with 21 queries
Why does it always show 100.00% PHP - 0% MySQL? Doe I have to edit something on my server to show the % for mysql and php? Thanks in advance. |
#335
|
|||
|
|||
Quote:
|
#336
|
||||
|
||||
it is designed for 3.5.4.. soo if your using a different version. readings might be incorrect!
|
#337
|
|||
|
|||
hmm, any idea how I can get edit it for it to work correctly for 3.6.8?
|
#338
|
||||
|
||||
No idea, sorry. But someone said before that you can take the query info out off the ACP, and place it on the main footer, it also doesnt add to any querys
|
#339
|
|||
|
|||
works on 3.70. beta2
|
#340
|
||||
|
||||
working on 3.7.0 Beta Rc 1
|
#341
|
|||
|
|||
My forum is really slow to load pages at certain times of the day.
I got: Page generated in 18.34197 seconds with 14 queries [Server Loads: 5.68 2.76 : 1.35] Then, once in and doing a refresh, I got: Page generated in 1.84214 seconds with 14 queries [Server Loads: 1.18 2.15 : 1.34] I'm running a virtual private server and according to my host, utilization all the way around is very low. Upgrading to a dedicated server supposedly isn't going to buy me anything. I like the hacks that I have, but it seems something(s) gotta go. I just took one rss javascript feed out of the left-hand column, but it looks like more's gotta go. Bummer. I'm not sure what the server load numbers really mean. I'm currently on 3.6.4 waiting for 3.7 gold to upgrade. I thought the stats would show more queries based on my hacks, so now I'm not sure how to tune. www.guineapigcages.com/forum/index.php |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|