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 |
#242
|
||||
|
||||
Quote:
It used to display the server load averages when I first installed the hack. But it doesn't show them anymore . |
#243
|
|||
|
|||
Quote:
|
#244
|
|||
|
|||
Quote:
|
#245
|
|||
|
|||
Question. What does all these stats mean?
Page generated in 0,71435 seconds with 34 queries [Server Loads: 0.65 0.50 : 0.58] Those stats are not mine, only an example. What are good stats? What should we be really looking for? and when is it time to think about getting rid of hacks, or upgrading server. Thanks |
#246
|
|||
|
|||
Hi,
Thanks for this great plugin. Installed on a vB 3.5.4 forum. I've a problem. The stats are shown twice, one under the other on the forumhome page. The other pages are not affected by this issue. I found out what causes this problem. In FORUMHOME template, I use a popup code for a FlatCast Radio Server. The code is as following. Code:
<!-- FlatCast Code ---> <body LANGUAGE=javascript onload="window.open ('http://www.********.com/Player.aspx?sid=******','_blank','scrollbars=yes,menubar=no,width=900,height=600,left=0,top=0');return;"></body> <!-- FlatCast Code ---> It seems to me that the </body> tag in the FlatCast code causes the problem. Does anybody know how to sort this out? Thanks. |
#247
|
||||
|
||||
Quote:
Server loads should not be higer then 3.0 at all time. (except when you are asking extreme things like making MYSQL dumps, etc..). If your serverload is very high and the page load is slow this isn't immediate a problem. Only is this problem occurs every day you should consider talking to your webhost for processess going crazy, or maybe upgrading. |
#248
|
|||
|
|||
Quote:
|
#249
|
|||
|
|||
For some of you who are not seeing the server loads, check that you are in the usergroupid 6, which is the admin usergroup by default. But if you had made another group with a different id number as admin, the hack won't show server loads for that group. To fix that you can then edit the xml file to change the 6 to whatever your admin useridgroupid is.
Also see this post where I figured out a way to show the server loads to all usergroups: https://vborg.vbsupport.ru/showpost.php?p=841699 Has anyone tested this hack on vBulletin 3.6? Please post here. |
#250
|
||||
|
||||
THX 4 it.
helped me out to find 1 plugin that made my board more than one sec. slower |
#251
|
|||
|
|||
Today is the one year anniversary of the modification.
This hack was updated June 9th according to the first post. Also I received an email June 9th that said the following: Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|