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 |
#52
|
||||
|
||||
I made the debug mode really visible, in RED.
The big advantage is that you will not be forced anymore to edit the config.php file and insert a variable there, in order to activate the Debug Mode. My option will do this for you in a snap. Still, remember to disable it when you don't need it anymore... I repeat myself: Make sure you enable this option, ONLY with your board off, orelse it can lead to security breaches (yes, is that powerful). |
#53
|
|||
|
|||
haha well it wasnt an idea so much as misunderstanding. :$
Question: Will this(debug mode) show to members and admins? |
#54
|
||||
|
||||
The Debug Mode is for advanced troubleshooting your board, you must use it only with your Board turned OFF.
If you leave it ON, a good hacker could grab all the data you don't want him to know about it... unless the board is OFF. Even then, I don't like it to have it turned ON on a live setup. On my test board, is always ON. You can start a new thread, asking what exacly does the Debug Mode in vBulletin. |
#55
|
||||
|
||||
Guys and girls, please let me know what you think about the new version. Thanks.
|
#56
|
|||
|
|||
You saved us tons of time to enable debug each other time Thanks again Floren
Nominated HOTM |
#57
|
|||
|
|||
yeah same here Nominated HOTM
|
#58
|
|||
|
|||
I wanted the same for my live site, its simple to just use conditional statements... Granted I have no idea if it’s bad to nest these <if> statements? It worked for me… Code:
<if condition="is_member_of($bbuserinfo,5,6,7)">
<if condition="$show['microstats']">{microstats}</if>
</if>
I very much like the addition to turn debug on/off via cp, less time when testing... thanks again TECK -I love it :up: |
#59
|
||||
|
||||
Thanks for the update!
|
#60
|
||||
|
||||
Quote:
ncweb, is best to filter it in the actual code, not only template. Why? Because the script will still process all the microstats code for nothing, if you are not an admin. Waisting memory and processing time for no reason. Take a look at the admin attachment I made earlier to see the differences. Also, you could use a simpler condition: Code:
<if condition="$show['microstats'] AND is_member_of($bbuserinfo, 5, 6, 7)"><!-- {microstats} --></if>
Go ahead and release it for everyone, have fun. |
#61
|
|||
|
|||
I nominate this thread for HOTM.Saves us tons of times,thank you for your hard work.:up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|