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

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

Version: 3.5.4 Rating:
Released: 05-18-2006 Last Update: 05-21-2006 Installs: 92
Uses Plugins Template Edits
Code Changes  
No support by the author.

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

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

Comments
  #152  
Old 06-04-2006, 08:50 PM
NeRilkA's Avatar
NeRilkA NeRilkA is offline
 
Join Date: Jun 2002
Location: South of France
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

i installed the hack on my test forum, and it works but i have errors at the top on the page :

Quote:
Warning: Division by zero in /includes/functions.php(4367) : eval()'d code on line 63

Warning: Division by zero in /includes/functions.php(4367) : eval()'d code on line 64
i attached a capture of my screen

thanks for your help
Reply With Quote
  #153  
Old 06-05-2006, 05:47 AM
apn3a apn3a is offline
 
Join Date: Oct 2004
Location: Athens Greece
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, i've installed vBMircostats, excellent work TECK.

I'm getting a high number regarding queries. i see everyone is getting 5-15 but i'm getting 30+ most of the times, especially when i browse my forum's threads.

Page generated in 1,14650702 seconds (46,75% PHP - 53,25% MySQL) with 32 queries

does anyone know how to fix this?

thank you in advance
Reply With Quote
  #154  
Old 06-05-2006, 08:56 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apn3a
hi, i've installed vBMircostats, excellent work TECK.


I'm getting a high number regarding queries. i see everyone is getting 5-15 but i'm getting 30+ most of the times, especially when i browse my forum's threads.

Page generated in 1,14650702 seconds (46,75% PHP - 53,25% MySQL) with 32 queries

does anyone know how to fix this?

thank you in advance
The only way to fix that is un-install some of the hacks you have installed.
Reply With Quote
  #155  
Old 06-05-2006, 09:01 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK
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);
$output is the vBulletin html code output and $ms_output is the MicroStats one.
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.
Mine isn't working in Photopost either. It just shows the {microstats} instead of the infornation. I have my Photopost directory set up in the same dirctory as the forums, not underneath it, though, so could that be it?
Reply With Quote
  #156  
Old 06-05-2006, 07:43 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NeRilkA
hi,

i installed the hack on my test forum, and it works but i have errors at the top on the page :
... Division by zero ...
i attached a capture of my screen

thanks for your help
Try this. Open the vBMicroStats Global Hook and find this code:
Code:
$total_time = vb_number_format($end_time[0]
Replace it with:
Code:
$total_time = number_format($end_time[0]
Let me know if that fixed the problem.
Reply With Quote
  #157  
Old 06-05-2006, 07:51 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Mine isn't working in Photopost either. It just shows the {microstats} instead of the infornation...
Bobby and others, the problem we are dealing with is the following:
Code:
$output = str_replace('{microstats}', $microstats_output, $output);
There is no $output processed by PhotoPost, in order to find {microstats} and replace it with the $microstats_output.
Since I don't have PhotoPost, the best way is to ask other PhotoPost coders how the output is processed.
All you have to do is add there the replacement line listed above, adapted to their code...
Reply With Quote
  #158  
Old 06-05-2006, 07:53 PM
NeRilkA's Avatar
NeRilkA NeRilkA is offline
 
Join Date: Jun 2002
Location: South of France
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes it works ! thanks a lot !
Reply With Quote
  #159  
Old 06-05-2006, 08:12 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, alors... clique sur le piton pour montrer aux gens que tu utilise ce mod.
Reply With Quote
  #160  
Old 06-06-2006, 12:41 AM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CP,
Hi its ive installed it without any errors or anything but for me nothing is showing, ive enabled it also
Id be greatfull if somebody can help me with my query..., the hack installed without any errors or anything..., but i dont see anything...., no footer page stats or anything, not even topic stats on the category bar as show...
Reply With Quote
  #161  
Old 06-06-2006, 01:32 AM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbulletin options > bbmicrostats > Enable the vBMicroStats plugin > yes


Now I do believe we have a typo in the vbulletin options title.
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 06:06 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.05233 seconds
  • Memory Usage 2,323KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_code
  • (6)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
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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