1.8.x Tính Năng: Prune old PMs + DB Optimize

Preview

Tác giả: Eldenroot

Phiên bản: 1.1.0

Gửi lúc: 12/11/2014

Cập nhật lúc: 11/10/2022

Admin Control Panel
Mô tả
Description

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
-> you can set your own values in prunepms.php located in /tasks folder


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: 
    Code: 
    {$emptyexportlink}</span>
    4) Add after this: 
    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>
    5) Save the template, you are DONE! 


Downloads Support
  • Please write your problems/ideas here in our support thread.
How to update
  • Deactivate plugin
  • Copy and overwrite old files with new ones
  • Activate plugin
Sự miêu tả

Plugin đơn giản tự động kiểm tra các PM đã đọc/chưa đọc cũ và tự động xóa chúng + tự động tối ưu hóa các bảng diễn đàn trong MyBB.
  • đọc PM sau 30 ngày
  • PM chưa đọc sau 90 ngày
-> bạn có thể đặt giá trị của riêng mình trong prunepms.php nằm trong thư mục /tasks


Cảm ơn @Jones H và @Euan T @Supryk

Cài đặt
  • Chỉ cần tải tất cả các tệp lên diễn đàn của bạn và kích hoạt nó trong ACP.
  • Thêm thông báo vào mẫu riêng tư của bạn - hướng dẫn tại đây:

    Trích dẫn:Bạn có muốn hiển thị thông báo cho tất cả người dùng thông báo cho họ về việc tự động xóa PM không? Nếu có, vui lòng làm theo các bước sau:
    1) Truy cập ACP của bạn 
    2) Mở nhóm mẫu "Mẫu nhắn tin riêng tư" và mở mẫu "riêng tư" 
    3) Tìm cái này: 
    {$emptyexportlink}</span>
    4) Thêm sau này: 
    <span class="smalltext" style="float: right; color: #000; font-weight: bold; cursor: help;" title="PM đã đọc sẽ bị xóa sau 30 ngày, PM chưa đọc sẽ tự động bị xóa sau 90 ngày.">PM đã đọc sẽ bị xóa sau 30 ngày, PM chưa đọc sẽ tự động bị xóa sau 90 ngày!</span>
    5) Lưu mẫu, bạn đã XONG! 


Tải Hỗ trợ
  • Vui lòng viết các vấn đề / ý tưởng của bạn ở đây trong chủ đề hỗ trợ của chúng tôi.
Cách cập nhật
  • Hủy kích hoạt plugin
  • Sao chép và ghi đè tệp cũ bằng tệp mới
  • Kích hoạt plugin