Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin Tips & Tricks
[vB4] Clean Up Cache - Make vBulletin load faster
Special Pages
Join Date: Nov 2010
Posts: 194

 

www.TheDiscussionCafe.com
Show Printable Version Email this Page Subscription
Special Pages Special Pages is offline 06-07-2011, 10:00 PM

This little plugin will make your forum load faster by cleaning up your forum cache that never gets cleaned up.

You will need to create a plug-in by going to AdminCP>Plugin & Products>Add New Plugin.


Then follow the following instructions:

1. Product - select vBulletin from the drop down menu

2. Hook Location - cron_script_cleanup_hourly from the drop down menu

3. Execution Order - leave it at 5

4. Plugin PHP Code - Copy and paste the following code in the box:
Code:
require_once(DIR . '/includes/class_bootstrap_framework.php');
vB_Bootstrap_Framework::init();
vB_Cache::instance()->clean(true);
5. Plugin is Active - Select Yes
Reply With Quote
  #2  
Old 06-08-2011, 04:54 PM
sisterhood's Avatar
sisterhood sisterhood is offline
 
Join Date: Nov 2008
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

run plugin automatic?
Reply With Quote
  #3  
Old 06-08-2011, 05:24 PM
Special Pages Special Pages is offline
 
Join Date: Nov 2010
Location: www.TheDiscussionCafe.com
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sisterhood View Post
run plugin automatic?
Yeah it's automatic.
Reply With Quote
  #4  
Old 06-08-2011, 06:01 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed .. thanks eddy...
Reply With Quote
  #5  
Old 06-08-2011, 06:12 PM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is something like this possible for vB 3.x
Reply With Quote
  #6  
Old 06-08-2011, 06:15 PM
ttran ttran is offline
 
Join Date: Aug 2010
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do i put in this guys?
require_once(DIR . '/includes/class_bootstrap_framework.php');
thanks!
Reply With Quote
  #7  
Old 06-08-2011, 07:10 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW - Give credit much? Your speaking about using the info by someone else you just passed off as your own per say?

http://www.vbulletin.com/forum/showt...ptimizing-vB4?
http://articles.digitalpoint.com/con...ze-vBulletin-4

Thanks digitalpoint! https://vborg.vbsupport.ru/member.php?u=50147

Quote:
Originally Posted by ttran View Post
what do i put in this guys?
require_once(DIR . '/includes/class_bootstrap_framework.php');
thanks!
Nothing as that is telling it to look in that "Directory" or DIR .
Reply With Quote
  #8  
Old 05-08-2012, 02:23 AM
Xp.Warrior Xp.Warrior is offline
 
Join Date: Mar 2012
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This Mod coding In Vb3 ?
Reply With Quote
  #9  
Old 05-08-2012, 05:05 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And also this :
Quote:
Clean Up Cache - No longer needed with vBulletin 4.1.8+
http://articles.digitalpoint.com/con...ze-vBulletin-4
Reply With Quote
  #10  
Old 12-06-2012, 09:53 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed .. thanks
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 12:18 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.06765 seconds
  • Memory Usage 2,282KB
  • 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_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (5)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete