The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBMicroStats Details »» | |||||||||||||||||||||||||
This hack will add at the bottom of each vBulletin (powered) page, the statistics listed below.
Also, it will help you troubleshoot and optimize your vBulletin board by viewing or comparing PHP/MySQL options and other statistics that are normally hidden in your forum pages. Regular Users: ? Load time of specified page in microseconds ? Number of queries executed ? PHP percent page usage ? MySQL percent page usage Administrators Only: ? Active users browsing the forum (members and guests) new in 1.1.0 ? Server memory usage per page (in Kb) ? Display DEBUG mode status ? Browser GZIP library compression status ? Server average loads ? Uncached templates (useful to troubleshoot the code) The code modifications were tested into a clean installed vBulletin board. They work 100%. The hack was tested in vBulletin 3.6.4 and 3.6.5. If you want to test it into a lower version (3.6.x), let me know. Also, if you encounter any problems, feel free to post your questions here. Step by step install instructions are posted into readme.html file. In order to perform an efficient modification of your files, I recommend you to use Komodo Edit or Textpad. Both editors will allow you to complete all steps without any coding errors. The code changes are very safe and designed not to interfere in any way with the vBulletin performance/functionality. Make sure you modify, save and upload one file at the time to your server. Then, simply run the product-vbmicrostats.xml file. [high]The PLUGIN itself is DISABLED by default.[/high] This was done in order to make sure you properly edit your code first and to avoid surprises. You will need to enable it, once your code modifications are completed: Plugins and Products > Manage Products > vB Microstats > Enable (dropdown) Then, go to your vBulletin Options, click on BB MicroStats setting group and set all your options. Upgrade to version 1.0.2. Upgrade to version 1.0.3. Upgrade to version 1.1.0. Want to be a guinea pig and try this hack into a higher vBulletin version? Post your results, so others can read your feedback. Show Your Support
|
Comments |
#72
|
||||
|
||||
Ok guys and girls. I need you to "invent" a new option for MicroStats.
I need that because I plan to add phrases into main MicroStats template, so you can translate it easier. I don't want to release a new version just for this, we need to excite the users with something new also, right? |
#73
|
|||
|
|||
I think you made a mistake here
Attachment 61169 vB instead of BB =P Quote:
Thank you again |
#74
|
||||
|
||||
No mistake, it's intended like this. You are not the first one who shows me this "typo".
It's a tradition that I kept from early versions, when I made this hack for vBulletin 2.x (year 2002 I think). It also reminds me when I used to sleep only 4-5hrs/night while sharing most of my free time with the hackers to come up with all kind of useful edits in the raw vB code... There were no plugins, way back. To tell you the truth, I like a lot better to edit directly the files. Many people learned PHP because of this. They were forced to watch the code closely... |
#75
|
||||
|
||||
Take a look how it used to be vBMicroStats for vBulletin 2.x on forum home:
(17 queries performed, as default) |
#76
|
|||
|
|||
Quote:
Hey TECK, maybe if others would like to see this they will chime in Not sure what good it would be in a shared environment but for dedicated it's nice to have. I dont know much about how to do it but somthing like this maybe.. Code:
$memstats = shell_exec("grep Mem /proc/meminfo"); print '' . str_replace("\n", ' ', $memstats); to display (i.e. MemTotal: 8299056 kB MemFree: 126812 kB ). I for one would like to see an option to display all of the microstats to only admins via admincp. Also, is it a good idea to compile PHP with the option "--enable-memory-limit". What would be the benefits of being able to set this in php conf or .htaccess. Thanks... |
#77
|
|||
|
|||
I have debug mode on(just for a minute). But when i click explain so i can get more ifno on queries, it just loads showthread.php all over again rather then the query explanation page.
|
#78
|
|||
|
|||
Quote:
|
#79
|
||||
|
||||
That is pretty easy Kev.
Open the XML file and find: Code:
<dependency dependencytype="vbulletin" minversion="3.6.4" maxversion="3.6.5" /> Code:
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.6.5" /> Try it on a test board and let me know. Thanks. Quote:
So what do you recommend me to do guys? We toss that option or simply simply display a text warning that the Debug mode is enabled/disabled? I need your advice on this issue, since is your hack also. |
#80
|
|||
|
|||
Quote:
|
#81
|
||||
|
||||
Is not possible, unfortunatelly. As I said before, at that early stage, you cannot combine something like:
Code:
$this->debug = $this->registry->options['vb36_mstats_debug']; |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|