1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Conversations Prune 1.0

Allows pruning old conversations.

  1. AndyB
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5

    Allows pruning old conversations.

    (Example of Options page)


    (Example of Conversations Prune page)


    • Only Super Admin's can run this add-on.
    • Can be run as Cron.
    • All phrases start with conversationsprune_ for your convenience.
    1. Download conversationsprune_v1.0.zip and unzip it.
    2. Upload the Andy folder to your server. The correct location is library/Andy.
    3. From your Admin Control Panel, go to the "Install Add-on" page.
    4. Upload the addon-ConversationsPrune_v1.0.xml file.
    5. Click the Install Add-on button.
    How to use:
    1. In the Options page, set the number of "Days" you would like to prune. For example 2084 would prune all Conversations with last post being older than 4 years.
    2. The Limit option is set to 5,000 as default. This means 5,000 Conversations will be pruned at a time. The Limit can be increased to 15,000 assuming the default PHP Maximum Execution Time is set to 30 seconds.
    3. To prune conversations manually, add the following to your forum root URL:


    4. At this point you will see a page indicating the number of Conversation and Attachments that will be pruned.
    5. Click the "Prune conversations now" link to initiate the pruning process.
    6. The results page will indicate the number of Conversations pruned. Click the back button and reload the page to see how many more conversations you have left to prune. Repeat step #5 as needed.
    7. To run the add-on automatically, check the Cron field in the Options. The Cron runs once a week and your Conversations will be pruned based on the settings you have in the Options page.
    Phrase edit:

    It's suggested to edit the following phrase:


    Conversations allow you to exchange messages with other members directly.
    <br />
    All conversations older than X years old will be deleted.
    Sending a donation:

    If you like this add-on, please consider sending a small donation.


    Thank you.

Recent Reviews

  1. adwade
    Version: 1.0
    After importing our vB data into XF, we had a ton of outdated and forgotten PMs that were converted into XF Conversations.

    I had no idea there was no (XF core) provision to remove those old discussions and was even more surprised when I learned an Admin could not mass-delete them.

    After a brief bit of snooping around, I found AndyB's Conversations Prune add-on and with just a couple of setup parameters it was off & running. Even better yet once you set it, you can forget it as it'll continue to tidy things up for you in the background. The suggested Phrase Edit is an excellent idea, in order to let your users know just how long older conversations will stick around before being removed.
  2. Dadparvar
    Version: 1.0
    A must have add-on in fact! Removed +250000 old conversations in just some minutes. Those old conversations were a problem since I used CometChat in my forum and synced conversations with chats and rebuilt conversations. But with this Great tool, no more problem about it. Once again we see Andy with must have add-ons here. Thanks a lot. Wish you the best.
  3. Axel B
    Axel B
    Version: 1.0
    I knew that Andy was working on this little gem. Conversations Prune with Andy's Auto Delete addon make it easier for Xenforo webmasters keeping their forum in check. Thanks!