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 |
#62
|
|||
|
|||
In order to get the accurate results, file edits are necessary. I never have a problem editing files. We've all had to do it up untill 3.5.0.
|
#63
|
||||
|
||||
Nice one TECK Was waiting for one like this.
|
#64
|
||||
|
||||
Quote:
You get an error like that if the mstimer_start is called twice... Did you previously edited class_core.php or init.php for other mods? The process is quite simple. In init.php, at the top, you start the microtime clock, that's what function mstimer_start() does. Then you need the stop the clock at the bottom, with function mstimer_stop(). That's the reason you really need to edit the files, no hooks are present before or after the database connection, queries exec, etc. In class_core.php, you simply insert those functions into the vB_Database MySQL and MySQLi class. They are called only once, depending on what type of SQL language you chosed. I hope I was clear with my explanation. Ken, please install the mod into an unmodded test board and let me know if the problem is solved. BTW, thank you all for the warm welcome back. I really appreciate it. |
#65
|
|||
|
|||
Just installed and works great in the forum section. However, in my photopost pages I'm seeing "{microstats} where the actual stats should be. Any ideas?
|
#66
|
||||
|
||||
PhotoPost does not use the vBulletin $output, then?
This code line (in vBMicroStats Global Hook) should help you: Code:
$output = str_replace('{microstats}', $ms_output, $output); The code line listed above with search in the $output for the {microstats} string and replace it with the actual $ms_output html code. Probably you have a mod installed that merges PhotoPost with vBulletin? I'm not familiar with this software, so unfortunatelly I could not support it. I wish I could help you more. Maybe other members who have experience with PhotoPost could help you better. I would post this question in the vB3.5 Modification Questions forum. It shouldn't be hard to fix your problem. If you have an answer, please post it here so I can link it in the first post. Thanks. BTW, 27 installs in 12 hours? Thank you! It really means a lot to me. |
#67
|
|||
|
|||
hmmm, it shows that you have updated your file since my last post. I'll give it another shot.
|
#68
|
|||
|
|||
Quote:
i think the mod is great thats why you see so many people installing it... but not only that your support is amazing... |
#69
|
||||
|
||||
Version 1.0.3 released. If you have a previous version installed, all you have to do is uninstall the old product and re-install the new one.
No other code modifications in files are needed. The new version improves the UNIX/Win32 Server Memory option. If fixes 2 bugs. First bug: Originally the code was piping the entire process list through grep. Instead, we should search only for what we are interested in... done. This was tested on a Linux RedHat server. It should work with any UNIX systems. Let me know if you have any wierd errors on the page. Second bug: I fixed another little bug related to the Win32 part of code. This was tested on Win XP Pro SP2 with IIS. It should work also with Win2003 Server. |
#70
|
||||
|
||||
Man I have been waiting for this goodie from a very long time. Thank you very much, sir!
|
#71
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|