PhpBB 3.0 – Forum Pruning

What is forum pruning?

As your forum community grows, you may wish to remove older posts from your boards. This is known as pruning and shares the term with gardening, where you remove dead or useless branches to improve the bush or tree. Pruning forums refers to the removal of posts and topics that meet certain age criteria, such as not having any responses within a specified amount of time or being a certain age.

Pruning your forums

There are two ways to prune your forums. You can do so manually or you can have the program prune your forums automatically. Below are instructions for each method.

How to automatically prune your forums

  1. Log into your phpBB admin dashboard.
  2. From there, click on the Forums tab.
  3. Now you are on the Forum Management screen. Locate the Category that contains the forum for which you want to set the pruning settings and click on its name. In this example, we click on the Your First Category category.
  4. This takes us to the list of forums that are within the category. To the right of each forum, there are some icons, click on the Edit icon (which appears as a green gear) to enter the edit area for the forum. We are working with the Your First Forum.
    1-select-edit

  5. You are taken to the forum edit screen. Scroll down until you find the Forum Prune Settings section. This is where you will set the specifics of your forum pruning. Below are the various fields and their descriptions:
    2-set-pruning-settings

    Enable Auto-pruningEnabling this option means the forum will prune itself based on the frequency set in this section.
    Auto-prune FrequencySet the frequency you want the forum to prune itself (0 days is never, 1 is every day, 2 is every other day, etc)
    Auto-prune Post AgeThis is the age of a post that will be pruned (example: 7  means any post that is one week or older will be removed)
    Auto-prune Post Viewed AgeAllows a post to be deleted if it has not been viewed in this number of days (example: 30 means any post not viewed in a month will be deleted)
    Prune old pollsEnabling this will remove any posts that have not gotten any votes in relation to the Auto-prune Post Age setting.
    Prune AnnouncementsEnable this if you wish to delete any announcements using the Auto-prune Post Age setting.
    Prune stickiesThis will enable the deletion of stickies that are in relation to the Auto-prune Post Age setting.
  6. After configuring your Pruning settings, click on the Submit button at the bottom to save the changes.

How to prune your forums manually

  1. Log into your phpBB admin dashboard.
  2. From there, click on the Forums tab.
  3. On the laft hadn sidebar you will see a Manage Forums section. Click on the Prune Forums option.
  4. This brings up a forum selection box on the right hand panel. Select the forum you wish to prune. In our example, we are using the Your First Forum forum. Click on the Select a Forum button at the lower right corner of the screen.
    3-manual-pruning
  5. The next screen is the list of conditions you wish to prune under.
    4-manual-prune-settings
    Days Since Last PostedDeletes posts that are equal to or older than the number entered. Leave blank to ignore the setting.
    Days Since Last ViewedDeletes posts that have not been viewed in the days entered. Leave blank to ignore the setting.
    Prune Old PollsEnabling this will remove pols that have not been voted in for the Days Since Last Posted days.
    Prune AnnouncementsRemoves announcements relative to the Days Since Last Posted setting.
    Prune StickiesRemoves stickies whos age is relative to the Days Since Last Posted setting.
  6. Click the Submit button at the bottom to proceed with pruning according to the settings you entered.
  7. You are met with a confirmation screen asking if you are sure. Click the Yes button to continue. You will then be taken to the pruning results screen where it shows you how many posts were removed. Your forum listings will reflect the pruned forums as shown in the before and after shot.
    5-prune-results

    BeforeAfter
    forum-prune-before

    forum-prune-after

Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+