Prune old PMs + DB Optimize
Simple plugin which automatically checks for old read/unread PMs and deletes them automatically + optimizes forum tables in MyBB automatically.
Project Details
Description
Simple plugin which automatically checks for old read/unread PMs and deletes them automatically + optimizes forum tables in MyBB automatically.
Thanks to @Jones H and @Euan T @Supryk
Installation
Simple plugin which automatically checks for old read/unread PMs and deletes them automatically + optimizes forum tables in MyBB automatically.
- read PMs after 30 days
- unread PMs after 90 days
Thanks to @Jones H and @Euan T @Supryk
Installation
- Just upload all files into your forum and activate it in the ACP.
- Add a notice into your private template - tutorial here:
Quote:Do you wanna show a notice for all users inform them about automatic deleting PMs? If yes, please follow these steps:
1) Go to your ACP
2) Open template group "Private messaging templates" and open "private" template
3) Find this:
4) Add after this:{$emptyexportlink}</span>
5) Save the template, you are DONE!<span class="smalltext" style="float: right; color: #000; font-weight: bold; cursor: help;" title="Read PMs will be deleted after 30 days, unread PMs will be deleted after 90 days automatically.">Read PMs will be deleted after 30 days, unread PMs will be deleted after 90 days automatically!</span>
- MyBB mode site: https://community.mybb.com/mods.php?action=view&pid=298[/url]
- GitHub: [url=https://github.com/Cu8eeeR/MyBB_Prune-old-PMs]https://github.com/Cu8eeeR/MyBB_Prune-old-PMs
- Support thread: https://community.mybb.com/thread-162704.html
- Please write your problems/ideas here in our support thread.
- Deactivate plugin
- Copy and overwrite old files with new ones
- Activate plugin