The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBMicrostats Details »» | |||||||||||||||||||||||||
Finally, the vBMicroStats product for vBulletin 3.5.4 is here.
The previous versions of my mod were very solicited by vBulletin administrators... I hope you will enjoy this new version as much you did the other ones. Looking for VB 3.6.x version? It is here. This mod with 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: ? Server memory usage per page (in Kb) ? DEBUG mode status ? Browser GZIP library compression status ? Server average loads ? Uncached templates (useful to troubleshoot the code) The code modifications listed below were tested into a clean installed vBulletin board. They work 100%. If you encounter any problems, feel free to post your questions here. Step by step install instructions are posted into vbmicrostats.html file. In order to perform an efficient modification of your files, I recommend you to use Dreamweaver (Coder Mode) or Textpad. Both editors will allow you to complete all steps without any coding errors. I tried to use the plugin system as much as I could, in order to avoid any unnecessary code modifications. In order to set the right query execution time, you will need to perform 2 small code changes to each of the following files: ? class_core.php (folder /includes) ? init.php (folder /includes) 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-plugin_vbmicrostats.xml file. Once the product installed, don't forget to enable it. Go to your vBulletin Options, click on BB MicroStats setting group and set all your options. Show Your Support
|
Comments |
#202
|
||||
|
||||
Thank you very much for this nic modification
works perfectly mfg Surviver |
#203
|
||||
|
||||
Quote:
Quote:
|
#204
|
|||
|
|||
hmmmmz,
Quote:
PHP Code:
line 355 is code about the vb3 integration maybe that has something todo with it |
#205
|
|||
|
|||
Quote:
if you want to know how i did that give me a yell |
#206
|
||||
|
||||
Please post it, others will have it as reference.
|
#207
|
||||
|
||||
Quote:
It has to be there, it's working fine for all boards, so far. Is this an original board, unhacked? This is the code it needs to be examined: Code:
// regular users template $users_template = '<tr align="' . $stylevar['right'] . '">' . "\n"; $users_template .= ' <td class="tcat"' . iif($show['colspan'], ' colspan="' . $colspan . '"') . '>' . "\n"; $users_template .= ' <span class="smallfont">Page generated in ' . $total_time . ' seconds (' . $php_percent . ' - ' . $sql_percent . ') with ' . $query_count . ' queries</span>' . "\n"; $users_template .= ' </td>' . "\n"; $users_template .= '</tr>' . "\n"; // administrator template $admin_template = '<tr align="' . $stylevar['right'] . '">' . "\n"; $admin_template .= ' <td class="alt1"' . iif($show['colspan'], ' colspan="' . $colspan . '"') . '>' . "\n"; $admin_template .= ' <span class="smallfont">' . $memory_status . $debug_status . $gzip_status . $server_status . $templates_status . '</span>' . "\n"; $admin_template .= ' </td>' . "\n"; $admin_template .= '</tr>' . "\n"; Thanks. |
#208
|
|||
|
|||
hello,
To solve the problem with those two errors about ksort() and foreach() follow this steps
in photopost file pp-inc.php find PHP Code:
PHP Code:
HTML Code:
<hooktype type="photopost"> <hook>photopost_displaymicrostats</hook> </hooktype> also make sure that your photopost admin => edit integration has been turned on |
#209
|
||||
|
||||
Quote:
OK, not logged in I see this: Code:
<tr align="right"> <td class="tcat"> <span class="smallfont">Page generated in x.xxxx seconds (xx.xx% PHP - xx.xx% MySQL) with xx queries</span> </td> </tr> Code:
<tr align="right"> <td class="tcat"> <span class="smallfont">Page generated in X.XXXX seconds (XX.XX% PHP - XX.XX% MySQL) with XX queries</span> </td> </tr> <tr align="right"> <td class="alt1"> <span class="smallfont">DEBUG Mode OFF | GZIP ON (level 1) | <strong>X.XX</strong> : X.XX : X.XX | NO Uncached Templates</span> </td> </tr> Guests do not have access to choosing style, and only certain senior groups have access to choose a style, normal members can not choose style either. That is what the situation is, hope you can help. |
#210
|
||||
|
||||
Quote:
If normal behaviour, in your board the colspan counter is set to 0, making the code tossed to the left. Something is not right, since you are the only one experiencing this problem. It's all related to the condition you display the dropdowns for style and language. |
#211
|
||||
|
||||
Quote:
I just hard coded in the colspan and got rid of your checks which fixed the problem for me Thanks for porting this great hack |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|