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
  #152  
Old 04-04-2007, 07:59 PM
dj_melayu dj_melayu is offline
 
Join Date: Aug 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this things works fine on 3.6.2 through this post https://vborg.vbsupport.ru/showpost....2&postcount=78

And the result is
Quote:
Page generated in 2.48392510 seconds (53.68% PHP - 46.32% MySQL) with 72 queries 0KB Used | Uncached Templates: None
What do you think guys?
Reply With Quote
  #153  
Old 04-04-2007, 08:02 PM
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Location: San Diego
Posts: 587
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

omg that is horrible!!! 72 queries!!! almost 3 seconds to load... oh my..
Reply With Quote
  #154  
Old 04-04-2007, 08:37 PM
dj_melayu dj_melayu is offline
 
Join Date: Aug 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't get it. What you meant?
Reply With Quote
  #155  
Old 04-04-2007, 10:35 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Can I suggest a small change?

Change '{microstats}' to '<!--{microstats}-->' in the template and in the str_replace in the plugin.

This way, on pages where the vb footer is used but it's not designed 'for' vbulletin (for example photopost, mediawiki) it doesn't leave the text {microstats} breaking your table, as it sees it as a comment.

Ollie
I have custom pages that this does not show up on.. how would I get it to work with the custom pages? What does designed 'for' vbulletin mean?
Reply With Quote
  #156  
Old 04-05-2007, 03:28 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #157  
Old 04-05-2007, 03:52 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dj_melayu View Post
I didn't get it. What you meant?
He means 72 queries is likley to kill your site and your hogging server resources from the other people sharing your server since you are probably on shared hosting. You should consider removing some hacks ASAP!

Quote:
Originally Posted by cashpath View Post
I have custom pages that this does not show up on.. how would I get it to work with the custom pages? What does designed 'for' vbulletin mean?
designed for vbulletin means it is designed for vBulletin, not IPB, phpbb, and not a portal page.

As for getting it work on custom pages, that depends, what kind of custom pages are you referring to? A php or HTML web page or a hack for vbulletin like vBAdvanced or Web Templates? If your referring to vBAdvanced or Web Templates try putting the template edit for this hack into the bottom of there hack. If your trying this on a non vb page like a php or html web page then wait for TECK to see if he can help.
Reply With Quote
  #158  
Old 04-05-2007, 03:55 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
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.
Well I installed vBAdvanced the other day and decided to move the forums out of public_html(being the vb root) to the public_html/vbroot folder and now the server loads seem to run fine.
Reply With Quote
  #159  
Old 04-05-2007, 04:42 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They are custom PHP pages wrapped in the Vbulletin header navbar and footer.

I call the $footer template to be displayed on those pages and the edit is in there.. it shows up in the source like this <!-- {microstats} -->
Reply With Quote
  #160  
Old 04-06-2007, 09:24 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there something specific that a page has that activates this?
Reply With Quote
  #161  
Old 04-07-2007, 12:29 AM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I realize you have been waiting about 2 days cashpath but stop double posting all the time and give the author a chance to reply. It may be possible he has been to busy to reply.
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 04:13 AM.


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.05608 seconds
  • Memory Usage 2,310KB
  • 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
  • (5)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