Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBMicroStats Details »»
vBMicroStats
Version: 1.1.0, by TECK TECK is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.5 Rating:
Released: 02-24-2007 Last Update: 03-02-2007 Installs: 280
Uses Plugins Template Edits
Code Changes  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 03-25-2007, 04:35 AM
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Location: Baton Rouge, LA
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way I can display the server loads to regular users and guests?

Thanks for the hack.
Reply With Quote
  #143  
Old 03-25-2007, 07:42 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4 View Post
TECK, I found a slight conflict with another mod. I am using the "Show Users using Style in Style Chooser" which I believe was developed by Kirby/Andreas along with this hack, and noticed the following:

If I install Microstats over the other hack, the other hack fails to function. I have to install Andreas' hack over this one.

I was wondering if it would be possible for you to develope something similar in to this hack since this is a stats hack and all.
Link to Kirby's hack? I did not get what you are actually want... to modify my hack in order to make it work with Kirby's?
Thanks for explaining again.

Quote:
Originally Posted by Get Shorty View Post
Is there any way I can display the server loads to regular users and guests?

Thanks for the hack.
Yes, it can be done, but I strongly recommend you not to do it.
If you have a very busy site, it will put unwanted stress into server. Is not for fun that I made it to show only to admins.
Leave it like that, is best.
Reply With Quote
  #144  
Old 03-25-2007, 08:53 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?t=95637
Andreas hack is there. It would be nice for it to work with his hack flawless. OR it would be nice to see the function of his hack integrated into this one.

Also I noticed his is now calling one query per style.

And I no longer see my server loads. I really need to see them.
Reply With Quote
  #145  
Old 03-25-2007, 10:13 PM
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Location: Baton Rouge, LA
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
Yes, it can be done, but I strongly recommend you not to do it.
If you have a very busy site, it will put unwanted stress into server. Is not for fun that I made it to show only to admins.
Leave it like that, is best.
Ah, I see. I figured the server load was calculated anyway, so it'd be a freebie. How else does vBulletin know to deny members if the load reaches a certain level (vb option)?
Reply With Quote
  #146  
Old 03-27-2007, 08:32 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TECK have a question for you when you use this mod along with vB Ad Management you get the uncached templates postbit_advertisement now he says its this mod cause the default vbulletin does not show any uncached templates you can take a look at the post on the thread on this page https://vborg.vbsupport.ru/showthrea...131150&page=49 any word on how to fix this?
Reply With Quote
  #147  
Old 03-30-2007, 05:45 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Get Shorty View Post
Ah, I see. I figured the server load was calculated anyway, so it'd be a freebie. How else does vBulletin know to deny members if the load reaches a certain level (vb option)?
Nah, is not calculated by default.
Some extra operations are performed to pull the data and format it. No need to load the server for regular users, especially that most of them would not care at all about this info.
They like to read your forum, not to see if it's up and running dandy.

Quote:
Originally Posted by DementedMindz View Post
TECK have a question for you when you use this mod along with vB Ad Management you get the uncached templates postbit_advertisement now he says its this mod cause the default vbulletin does not show any uncached templates you can take a look at the post on the thread on this page https://vborg.vbsupport.ru/showthrea...131150&page=49 any word on how to fix this?
After reading that page (if I understand correctly) with a previous version, you did not have this problem, right? Once you updated his hack it showed an uncached template.
So tell him to check his code, my hack is OK.
Just to give you more details, tell him that my hack outputs all uncached templates at the global_complete hook. At this point, you should not perform any type of caching anymore (at least that's how all vBulletin files work).

Just curious, why you don't use MMM? All huge sites with thousands of users online use it because it's extremly stable and way better then PAN. It integrates with other major advertiser systems, like Atlas and Mediaplex and it's free:
Openads 2.3 (aka Max Media Manager)
http://www.openads.org/downloads.html
Reply With Quote
  #148  
Old 03-30-2007, 05:55 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4 View Post
https://vborg.vbsupport.ru/showthread.php?t=95637
Andreas hack is there. It would be nice for it to work with his hack flawless. OR it would be nice to see the function of his hack integrated into this one.

Also I noticed his is now calling one query per style.

And I no longer see my server loads. I really need to see them.
This hack is pretty old, there are many changes to the core in vb 3.6, compared to 3.5 version. DO NOT install 3.5 hacks into a 3.6 board. I'm not sure if Kirby is still active on those forums.
Plus, if it ads one query per style for each post, you could endup with 100 extra queries on your page.

Sorry, but I will not create or edit other's hacks.
They can fix them, is their code. vbMicrostats will never break another hack, if it's the right vB version and if the hack is written properly. In fact, the hack can break vbMicrostats, not viceversa.
Reply With Quote
  #149  
Old 03-30-2007, 01:07 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
This hack is pretty old, there are many changes to the core in vb 3.6, compared to 3.5 version. DO NOT install 3.5 hacks into a 3.6 board. I'm not sure if Kirby is still active on those forums.
Plus, if it ads one query per style for each post, you could endup with 100 extra queries on your page.

Sorry, but I will not create or edit other's hacks.
They can fix them, is their code. vbMicrostats will never break another hack, if it's the right vB version and if the hack is written properly. In fact, the hack can break vbMicrostats, not viceversa.
Kirby is still around on rare occasions. Not like the old days.

As for the hack it has been updated to 3.6. I was simply asking if you would implement the same feature in this hack, but I am using the PSIStats hack so that calculates style usage, and thats what i need.

However as I said some where above, Microstats is no longer out putting my server loads. The options is selected in vboptions but it is not processing. Any ideas?
Reply With Quote
  #150  
Old 03-30-2007, 06:06 PM
DementedMindz DementedMindz is offline
 
Join Date: Jan 2006
Posts: 1,474
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
Just curious, why you don't use MMM? All huge sites with thousands of users online use it because it's extremly stable and way better then PAN. It integrates with other major advertiser systems, like Atlas and Mediaplex and it's free:
Openads 2.3 (aka Max Media Manager)
http://www.openads.org/downloads.html
thank you for the heads up im going to look at that now
Reply With Quote
  #151  
Old 04-01-2007, 07:20 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4 View Post
However as I said some where above, Microstats is no longer out putting my server loads. The options is selected in vboptions but it is not processing. Any ideas?
Try to isolate the problem. Install Microstats into a clean board.
It will work perfectly, then add one hack at the time, until you see what hack create the problem.
Once you identify the hack, ask the kacker why it breaks vBulletin.

If vBMicrostats is not working properly, chances are that other vBulletin code segments are broken also by that hack. As I said already to you, feel free to ask in the Programming forum about a hack, if it's well written, etc. Hackers will be honest and tell you stright up to install it or not.

Do not run high and install anything you like, just because it's cool for your board.
Unfortunatelly, many hacks are written with a very low code quality/performance and they are not checked to see how they perform into a real live/busy environment.

I know it's a pesky job on finding what hack is breaking your board.
If I can help, I will reply to your threads into Programming forum.

Cheers.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05590 seconds
  • Memory Usage 2,336KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete