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

Reply
 
Thread Tools
Clear CMS Cache Cron Details »»
Clear CMS Cache Cron
Version: 1.00, by reefland reefland is offline
Developer Last Online: Jan 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.4 Rating:
Released: 07-20-2010 Last Update: Never Installs: 29
Additional Files  
No support by the author.

This was developed in order to deal with some of the wackiness that users are experiencing with the CMS Cache. Problems include things such as user comments not appearing and article previews being inaccurate after editing.

The only way to resolve these issues are to clear the CMS cache, which can be problematic when an admin is not available to do so and problems are being experienced. Or, use this super duper easy add-on that just cron's the activity which is setup in Scheduled Tasks.

Installation Instructions:
1. Download the attached file.
2. Upload the file to /includes/cron
3. Go to your admincp and browse to Scheduled Tasks and Add New Scheduled Task.
3A. Varname = Clear CMS Cache
3B. Description = Whatever you want
3C. Log Phrase = Whatever you want (cms cache cleared)
3D. Day of Week = *
3E. Day of Month = *
3F. Hour = *
3G. Minute = 0, 10, 20, 30, 40, 50
3H. Active = Yes
3I. Log Entries = whatever...
3J. Filename = ./includes/cron/clear_cms_cache_cron.php
3K. Product = vbulletin

Note that clearing the cache is not recommended from a server performance standpoint. However as long as the frequency that you clear it is not extreme (every minute), you will not notice any problems (at least I haven't even on shared hosting).

Download Now

File Type: php clear_cms_cache_cron.php (1.6 KB, 149 views)

Show Your Support

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

Comments
  #2  
Old 07-22-2010, 09:39 PM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hesitating to install. I am one of those people that suffers from this not clearing cache on the CMS side of things, and I am clueless why vB are not solving this. Has been reported over and over again since the day vB 4 came out.

Thanks for the modification though, top job! *Tagged*
Reply With Quote
  #3  
Old 07-24-2010, 07:28 PM
reefland reefland is offline
 
Join Date: Jan 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a good feeling that the next version should fix some of this. Had some testing and work done by the vb team on this exact issue.
Reply With Quote
  #4  
Old 08-22-2010, 07:13 AM
forexforum forexforum is offline
 
Join Date: Sep 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I understand this is for vBulletin CMS.

However, in your installation guide, it says:
3K. Product = vbulletin

Isn't it should be vBulletin CMS?

Also, can I set:

3F. Hour = 2
3G. Minute = *

Thanks.
Reply With Quote
  #5  
Old 08-23-2010, 07:23 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A wonderful idea. I'm just tagging right now as I'm leery of installing anything there may be some questions about. After a few more comments and debugging, I'll happily install.

Thanks for sharing
Reply With Quote
  #6  
Old 08-23-2010, 08:16 AM
forexforum forexforum is offline
 
Join Date: Sep 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by forexforum View Post
Hi I understand this is for vBulletin CMS.

However, in your installation guide, it says:
3K. Product = vbulletin

Isn't it should be vBulletin CMS?

Also, can I set:

3F. Hour = 2
3G. Minute = *

Thanks.
Sorry the php script you provided doesn't really work (cron at times never run).

However, actually vb 4.0.5 already addressed to this issue but they run only daily cron.

All you need to do is the change the daily to similar settings as above will do. Don't have to use this script.

VB script is called "CMS Daily Cleanup". Works for me. Cheers.
Reply With Quote
  #7  
Old 08-23-2010, 08:23 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by reefland View Post
I have a good feeling that the next version should fix some of this. Had some testing and work done by the vb team on this exact issue.
Quote:
Originally Posted by forexforum View Post
Sorry the php script you provided doesn't really work (cron at times never run).

However, actually vb 4.0.5 already addressed to this issue but they run only daily cron.

All you need to do is the change the daily to similar settings as above will do. Don't have to use this script.

VB script is called "CMS Daily Cleanup". Works for me. Cheers.
I believe he addressed that above... Also note the version number this is compatible with via the mod info above, 4.0.4 so this along with some other mods work on older versions only whereas vB makes improvements along the way so naturally you would uninstall/remove upon upgrading.
Reply With Quote
  #8  
Old 10-19-2010, 04:24 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running v4.04pl1 ....

Will this work for me as I'm experiencing some wonkiness with articles on our vbCMS installation...

Regards,
Badger

Edit: What I meant was that when I run it, all I see is this:

Blog - Hourly Cleanup

Done
Reply With Quote
  #9  
Old 02-10-2011, 12:15 PM
Max Paint Max Paint is offline
 
Join Date: Mar 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much!
Reply With Quote
  #10  
Old 05-10-2011, 02:58 AM
|Jordan|'s Avatar
|Jordan| |Jordan| is offline
 
Join Date: Nov 2004
Posts: 479
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just bought VB4, Is this still an issue in 4.1.3? Is it still worth getting this modification?
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:46 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.04882 seconds
  • Memory Usage 2,319KB
  • Queries Executed 24 (?)
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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete