Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Microstats - load times, server loads, queries, uncached templates Details »»
Microstats - load times, server loads, queries, uncached templates
Version: 1.2.1, by ShiningArcanine ShiningArcanine is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-10-2005 Last Update: 06-08-2006 Installs: 680
Uses Plugins
 
No support by the author.

This is a derivative of Erwin's microstats hack for vBulletin 3.5.0's plugin system. The main difference is that by default it shows the page generation time and query count to the public. Server loads and Uncached Queries are shown only to administrators.

I had sent this to Erwin so he could release if he wanted to but instead he told me that I had permission to release it; hence why I am releasing it.

This should work with vBulletin 3.5.0 RC 1 through vBulletin 3.6.1 and later.

Installation is very simple. Just import the plugin via vBulletin's "Download / Upload Plugins" page in the Plugin System in the Admin Control Panel and you're done.

I'll try to correct any bugs that you find. Let me know if you like this plugin and don't forget to click the install link if you install this.

Optional config.php Variables


$config['Microstats']['replacementvariable']

Setting this variable will make microstats place its data before any instance of whatever you set this variable to. Be careful with this as you might see microstats in mutiple places. My suggestion is to use a unique comment in the HTML source to prevent any issues.

E.g. $config['Microstats']['replacementvariable'] = '<!-- display microstats here -->';

$config['Microstats']['adminonly']

Setting this variable to anything will make microstats display itself only to administrators.

E.g. $config['Microstats']['adminonly'] = true;

Update History


Product File: Uploaded a product file that replaced the plugin file.
Version 1.2.1: Fixed a bug that broke optional config.php settings
Version 1.2.0: Added OpenBSD, FreeBSD and NetBSD support; added Replacement variable setting in config.php; added Display only to Administrators Setting in config.php; fixed bug affecting Linux/Unix servers that have exec('uptime') support and not /proc/loadavg support
Version 1.1.0: Added names of uncached templates, included a bugfix for people who don't have proc avaliable on their system and made the code look a little nicer as well
Version 1.0.1: Bugfix for Windows users, sanitized the code to make it look nicer
Version 1.0.0: Initial Release

Show Your Support

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

Comments
  #342  
Old 04-18-2008, 02:25 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what hack do you have?
Reply With Quote
  #343  
Old 04-18-2008, 02:58 AM
cavyspirit cavyspirit is offline
 
Join Date: Jan 2004
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

36:

Add PhotoPost Pro to each forum
Archive Adsense
BBcode templates manager
Cafe Press Add On
Catagory Icons
Enhanced Captcha Image Verification
FlashChat Integration
Global Announcement
GTSearch: Google™ Custom Search Engine
Guest Tracking
IpInfo
Latest X Threads on Forum Home
Left Column
Members who are using flashchat
Members who have Visited
Microstats
Mini Navbar
Miserable Users
Moderation Auto-PM
Multiple Login Detector
NoSpam!
Per-Thread Moderation
Post Thank You Hack
Real ip detection
Separate Sticky and Normal Threads
Show Birthday Icon in Postbit
SR Classifieds Premium 1.0.5
Sticky-Blue
Total Thanks - Forum Home Stats
vB Ad Management
vB Ad Management English language
vbgooglemap by StonyArc
vBSEO
vBSEO :: Sitemap Generator
Viper's YouTube & Google Video
Welcome Headers
Reply With Quote
  #344  
Old 04-18-2008, 12:38 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cavyspirit View Post
My forum is really slow to load pages at certain times of the day.

I got:
Page generated in 18.34197 seconds with 14 queries [Server Loads: 5.68 2.76 : 1.35]
Then, once in and doing a refresh, I got:
Page generated in 1.84214 seconds with 14 queries [Server Loads: 1.18 2.15 : 1.34]

I'm running a virtual private server and according to my host, utilization all the way around is very low. Upgrading to a dedicated server supposedly isn't going to buy me anything.

I like the hacks that I have, but it seems something(s) gotta go. I just took one rss javascript feed out of the left-hand column, but it looks like more's gotta go. Bummer.

I'm not sure what the server load numbers really mean.

I'm currently on 3.6.4 waiting for 3.7 gold to upgrade.

I thought the stats would show more queries based on my hacks, so now I'm not sure how to tune.

www.guineapigcages.com/forum/index.php
Those loads are high. Try disabling like 5 hacks at a time and see if you can narrow it down to a certain hack. Or turn off all plugins by editing config.php and see if load times stay the same. If so, you either have too many users for the server or vB isn't the problem...
Reply With Quote
  #345  
Old 04-18-2008, 01:56 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cavyspirit View Post
36:

Add PhotoPost Pro to each forum
Archive Adsense
BBcode templates manager
Cafe Press Add On
Catagory Icons
Enhanced Captcha Image Verification
FlashChat Integration
Global Announcement
GTSearch: Google™ Custom Search Engine
Guest Tracking
IpInfo
Latest X Threads on Forum Home
Left Column
Members who are using flashchat
Members who have Visited
Microstats
Mini Navbar
Miserable Users
Moderation Auto-PM
Multiple Login Detector
NoSpam!
Per-Thread Moderation
Post Thank You Hack
Real ip detection
Separate Sticky and Normal Threads
Show Birthday Icon in Postbit
SR Classifieds Premium 1.0.5
Sticky-Blue
Total Thanks - Forum Home Stats
vB Ad Management
vB Ad Management English language
vbgooglemap by StonyArc
vBSEO
vBSEO :: Sitemap Generator
Viper's YouTube & Google Video
Welcome Headers
yeah try what the othe rperson said and you can also post a server optimization on vb.com it helps a lot are you on dedicated? or shared?

It took me : Page generated in 115.71136 seconds

Keep in mind that some like :latest x thread are server intensive some aren't build for active forums as well....

The number of queries isn't all but also how heavy a query is


i also notice that your forum itself isn't slow ONLY the main page....so it could be that your problem?
Reply With Quote
  #346  
Old 04-30-2008, 04:20 PM
Traxdata Traxdata is offline
 
Join Date: Jul 2004
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on 3.7 Gold! Great!
Reply With Quote
  #347  
Old 04-30-2008, 04:37 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*co-sign*
Reply With Quote
  #348  
Old 05-15-2008, 09:42 AM
mrahul mrahul is offline
 
Join Date: Nov 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work for 3.7.x and any releases planned ?
Reply With Quote
  #349  
Old 05-19-2008, 01:47 PM
Kinneas's Avatar
Kinneas Kinneas is offline
 
Join Date: Dec 2005
Location: Nottingham, UK
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrahul View Post
work for 3.7.x and any releases planned ?
I'd say no, considering the Author of this one hasn't posted since 2006. The good news is this one still works fine on 3.7.
Reply With Quote
  #350  
Old 05-26-2008, 06:48 AM
mrahul mrahul is offline
 
Join Date: Nov 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that's great, where ever the author is 3cheers for his excellent coding to be working on 2 later releases too :up:
Reply With Quote
  #351  
Old 06-06-2008, 02:52 PM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Work fine 3.7.1 : )
Reply With Quote
Reply

Thread Tools

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 01:36 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.09019 seconds
  • Memory Usage 2,308KB
  • 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
  • (3)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_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