13.11.2014, 02:10
(Dieser Beitrag wurde zuletzt bearbeitet: 03.10.2024, 07:40 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: Prune old PMs + DB Optimize
Zitat:Description
Simple plugin which automatically checks for old read/unread PMs and deletes them automatically + optimizes forum tables in MyBB automatically.-> you can set your own values in prunepms.php located in /tasks folder
- read PMs after 30 days
- unread PMs after 90 days
Thanks to @Jones H and @Euan T @Supryk
InstallationDownloads
- Just upload all files into your forum and activate it in the ACP.
- Add a notice into your private template - tutorial here:
Zitat:Quoteo 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:Code:{$emptyexportlink}</span>
5) Save the template, you are DONE!Code:<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>
Support
- MyBB mode site: https://community.mybb.com/mods.php?action=view&pid=298[/url]
- GitHub: https://github.com/Cu8eeeR/MyBB_Prune-old-PMs
- Support thread: [url=https://community.mybb.com/thread-162704.html]https://community.mybb.com/thread-162704.html
How to update
- Please write your problems/ideas here in our support thread.
- Deactivate plugin
- Copy and overwrite old files with new ones
- Activate plugin