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 |
#62
|
||||
|
||||
If you guys and girls notice something useful that should be added to the hack, let me know.
Make sure you post feedback about it, I would like to know from all of you how the hack is running on your sites, especially on large forums. Thanks. |
#63
|
|||
|
|||
Is it possible to show everything only to the admins?
|
#64
|
||||
|
||||
Yes. Go here:
https://vborg.vbsupport.ru/showpost....0&postcount=46 Download the XML file and edit it to fit the new version. (compare the 2 installers) If you post it, I will look to make sure everything is ok, then give you 5 stars and link it to the first post. As you noticed, I try to involve people, like in the old golden vBulletin.org times. Before, people used to post a lot more in the hack threads... |
#65
|
|||
|
|||
Strangely when i uninstall 1.02 and i install 1.03 all my footers show
{microstats} ... If i uninstall 1.03 and reinstall 1.02 i see stats fine. |
#66
|
|||
|
|||
Same for me.
|
#67
|
||||
|
||||
Quote:
Check the template modification section, in the readme file. See how to update your footer template, there. |
#68
|
|||
|
|||
Thanks.
On one of my styles, I want to include the info in a table such as whoisonline table. I have a table made, it collapses fine, but i cant seem to find a template or any code to strip the template background from the code and simply display the stats. How could I do this? Thanks tech! |
#69
|
||||
|
||||
Show me a screenshot so I understand better your example. Visual guy here.
|
#70
|
|||
|
|||
Hi, first at all, thank you for the mod
I have a few questions about the results I see in the footer: - I have enabled Memory Usage, the results are: 0KB Used, I read in the 'help' that I have to compile PHP with enable-memory-limit option, but... what does 0KB Used mean? and how do I compile PHP with enable-memory-limit option? - What does Unchached Templates means? Thank you |
#71
|
||||
|
||||
The value 0KB is displayed when PHP is not compiled with the option "--enable-memory-limit". It's just an indicator for you to know that the memory limit is disabled in PHP.
Otherwise, you will see values like 4,236.85KB, instead of 0KB. All you have to do is contact your host and ask them to enable the option. In vBulletin, a datastore is used to store into memory useful variables, templates, etc. That system avoids calling the database each time you process some global info, increasing the script performance. If you create a modification or a separate file and forget the cache your new templates (using the array variables defined into default vBulletin files), then each uncached template will execute a query instead of being stored into server memory. Let's take an example. You install a new hack. The hacker who created the hack forgot to cache one template. The result? One extra query performed for nothing in each vBulletin page. The forum display would have 14 queries instead of 13 if you missed to cache 1 template, 15 queries if you missed to cache 2 templates and so on... The microstats will show you always if there are any "forgotten" templates on your page, in order to avoid performing not needed queries. It will display the number of un-cached templates as well their names. The un-cached templates will be highlighted in light-blue, like in the first screenshot. Cool, huh? I hope this helps clearing your questions. If I missed or forgot something, please let me know. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|