Latest Register Log In

+ Advanced Search

Regenerating Counters

Regenerating Counters
By
03/21/04 (Edited 03/10/14)

The Admin Panel -> Maintenance -> Regenerate page allows you to get some cached database values updated. Regenerating counters allows you to clear up problems that may be caused by directly inserting data into the database, or which in some cases may even result from normal usage. When forums are moved or you change the template code for displaying subforums, you may need to regenerate forums.

Regenerating forums is the most common process you may need to go through. When you have many levels of forums and you change a forum name, it may require regenerating forums for all of the subforums of this forum to properly update their 'parentnames' field to display the changed name in the navigation. If you're using mod_rewrite with forum names, this becomes essential to keep the paths up to date -- without the regeneration, you would run into dead links in trying to navigate back up from below the forum.

When you move a subforum to a new parent, the totals will be off until you regenerate forums.

When you move your entire site to a new URL, you'll need to regenerate all counters.

Any direct insertion of data to the database, such as if you're importing from another topics script, will require going through all the regenerations: topics, forums, posts, members, forum selector and totals.

Note that regenerating totals is useful if you ever suspect that the number of topics, forums, etc listed on your main page is inaccurate.

Regnerating the forum selector / sitemap will update the forum selector in the wrapper, on the submit/edit pages, and the site map (that's sitemap.php, not the google sitemaps).




Description Details on when you need to regenerate.
Rating
Views 1886 views. Averaging 0 views per day.