- Compatible XF Versions 1.x
- 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.
- Download conversationsprune_v1.0.zip and unzip it.
- Upload the Andy folder to your server. The correct location is library/Andy.
- From your Admin Control Panel, go to the "Install Add-on" page.
- Upload the addon-ConversationsPrune_v1.0.xml file.
- Click the Install Add-on button.
- 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.
- 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.
- To prune conversations manually, add the following to your forum root URL:
- At this point you will see a page indicating the number of Conversation and Attachments that will be pruned.
- Click the "Prune conversations now" link to initiate the pruning process.
- 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.
- 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.
It's suggested to edit the following phrase:
Conversations allow you to exchange messages with other members directly.
All conversations older than X years old will be deleted.