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
  #112  
Old 03-07-2007, 06:48 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 Xplorer4x4 View Post
Oh and another note that when i try to click explain, it simply reloads the page which is the bug I notified you of here
Has nothing to do with it.

The hack does not modify nothing related your board functionality, shape or form, it simply displays what already exists built into vBulletin. In version 1.0.3 it emulated the Debug line you add into your config.php file. In 1.1.0 this option was removed and the old option was brought back, simply to display the Debug status.

Did you disabled all hacks? Disable the product manager completly, you need to start methodically.
When you upgraded, did you disabled all hacks as vBulletin requests (Enable Disable Plugin/Hook System)?
You will need to uninstall all hacks, not just disable them and make sure you upload all original files from vBulletin.

What hacks you have now installed?
Reply With Quote
  #113  
Old 03-07-2007, 06:58 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
Has nothing to do with it.

Did you disabled all hacks?
When you upgraded, did you disabled all hacks as vBulletin requests?
You will need to uninstall all hacks, not just disable them and make sure you upload all original files from vBulletin.

What hacks you have now installed?
At the moment no, but if i do disable them globally via config.php it takes away the debug mode.

Nope i did not disable all hacks. Didn;t know we had to.

List of installed hacks:
http://img119.imageshack.us/img119/6995/tablege2.gif
Reply With Quote
  #114  
Old 03-07-2007, 07:06 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>At the moment no, but if i do disable them globally via config.php it takes away the debug mode.</i>
Show me exacly how you do this (code insert).

Also, make me a favor, go to Admin CP:
vBulletin options > Plugin/Hook System > Enable Plugin/Hook System
Make sure this option is set to NO.

Let me know if you can manage to turn it off and the options are saved properly.
Reply With Quote
  #115  
Old 03-07-2007, 07:11 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
At the moment no, but if i do disable them globally via config.php it takes away the debug mode.
Tell me exacly how you do this (code insert).

Also, make me a favor, go to Admin CP:
vBulletin options > Plugin/Hook System > Enable Plugin/Hook System
Make sure this option is set to NO.

Let me know if you can manage to turn it off and the options are saved properly.
I disable the plug ins by finding <?php at the very top of config.php and adding this code after it::
PHP Code:
define('DISABLE_HOOKS'true); 
And no i cant turn the system off in options as said above. Nor can i change forum names, forum display order, or even the parent forum. Basically nothing works at all in the admin cp.
Reply With Quote
  #116  
Old 03-07-2007, 07:34 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, we will force it to turn OFF.
Run this query:

[sql]UPDATE `setting` SET `value` = '0' WHERE `varname` = 'enablehooks';[/sql]
Value 0 is like selecting the No option.
Reply With Quote
  #117  
Old 03-07-2007, 07:39 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TECK View Post
Ok, we will force it to turn OFF.
Run this query:

[sql]UPDATE `setting` SET `value` = '0' WHERE `varname` = 'enablehooks';[/sql]
Value 0 is like selecting the No option.
I can already turn it off via the file edit above so is there a reason i need to do it via this query? I just can not disable it via the vbulletin options.
Reply With Quote
  #118  
Old 03-07-2007, 08:54 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am in the process of deleting some of my hacks. Even though I delete them they still function. The odd thing is there is no trace of them in the plugin table. I looked through the table, and see the hack, then delete the hack yet the hack still functions.
Reply With Quote
  #119  
Old 03-07-2007, 08:58 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You shall disable template cache plugin
Reply With Quote
  #120  
Old 03-07-2007, 09:10 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lizard King View Post
You shall disable template cache plugin
I already did that along time ago. It has made no difference.
Reply With Quote
  #121  
Old 03-07-2007, 09:24 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xplorer4x4, I think is best you start a new thread in the support area here at vBulletin.org, or even better, open a ticket to vb.com to have them restore everything default.
My hack has nothing to do with your current problems.

However, I will help you if you want, but into a new thread. In this way we don"t highjack the current thread. PM me the link.

I strongly recommend you to cantact VB Team, they have a set of toold to clean your board of all hacks in no time. Then, once everything works fine, start installing the hacks one by one and see what causes problems.

Also, make sure you always ask in the forums if you are not sure of something.
Look at the mess you are into.
Still, you have to relax, it's just code, you will not lose any data. It's just few annoyng steps you have to go through, that's all. See you on the other side of the thread.
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:20 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.05239 seconds
  • Memory Usage 2,322KB
  • 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
  • (1)bbcode_php
  • (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