Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 03-12-2013, 01:39 AM
Relientk Relientk is offline
 
Join Date: Jan 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Rebuilding Post Cache

I recently ran Cleaner.php on a old impex import. All was successful with the clean up. I would like to proceed to do another impex import but here is my dilemma:

it says-

Once cleaner has been run successfully you must rebuild the Rebuild Post Cache in the AdminCP > Maintenance > Update Counters

Rebuilding the post cache takes such a long time (hours) my question is this-

Because I plan on doing another import with impex can I go ahead with that import and then run the cleaner again and then rebuild the post cache?

basically can I do the rebuild post cache only once?!

Or do I need to run it twice once before the second import with impex (since cleaner was just run now from an old import) and then again after the new import?

Thank you in advance for any help regarding this!

Thank you!
Reply With Quote
  #2  
Old 03-12-2013, 03:17 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It shouldn't take too long to rebuild the post cache unless you have the number of days set really high.

You don't have to rebuild the post cache now, but remember that any cached post may be incorrect after you have used the cleaner.
Reply With Quote
  #3  
Old 03-12-2013, 03:28 AM
Relientk Relientk is offline
 
Join Date: Jan 2008
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

Thank you so much for the reply. I have been searching this forum and vbulletin.com, plus google all day trying to find an answer.

Do you know why it makes the date incorrect after the cleaner has been used?

Is it even really necessary to use the cleaner after the impex import then? I know that I didn't run the cleaner before after the old import years ago and everything was fine. But because I want to do another import I had to run the cleaner in order to do another impex import.

I know it says in the instructions to run the cleaner after the import and then to rebuild the post cache...will it mess things up if I just did this second impex import and then didn't run the cleaner or rebuild the post cache? Could I maybe just worry about running the cleaner if and when I ever needed to do another import in the future?
Reply With Quote
  #4  
Old 03-12-2013, 04:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You don't need to use the post cache - it's just something that helps speed up your forums.

The cleaner is just used to clean up some html/bbcode that is incorrect. You can run it with nothing in the $replacer array and then nothing will be done.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03330 seconds
  • Memory Usage 2,180KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete