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
  #12  
Old 01-10-2012, 11:56 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working on 4.1.10 and CMS daily cleanup does not seem to clear the cache.

Any other solution?
Reply With Quote
  #13  
Old 07-05-2013, 09:33 PM
avitor avitor is offline
 
Join Date: Jun 2007
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Varname = Clear CMS Cache
is wrong bro
can you tell me what is the real varname ?
thankks
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 09:09 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.08157 seconds
  • Memory Usage 2,231KB
  • Queries Executed 18 (?)
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)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
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)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