1.8.x Tính Năng: Moderation Actions Preview

Preview

Tác giả: Destroy666

Phiên bản: 1.1

Gửi lúc: 29/03/2015

Cập nhật lúc: 03/04/2015

Moderation
Mô tả
https://github.com/Destroy666x/MyBB-Mode...ns-Preview

Note 1: this plugin entirely depends on MyBB logs displayed in MyBB, so many of them may be missing (for example forumdisplay.php inline thread moderation actions). They won't be displayed as long as MyBB doesn't correct that. So reports about them will be ignored in places connected with the plugin, feel free to post them here though: http://community.mybb.com/forum-157.html
Note 2: avatar maximal dimensions settings won't work until this MyBB bug gets fixed: http://community.mybb.com/thread-164490.html Reports for it also will be ignored. EDIT: fixed in 1.8.5.
Note 3: moderation actions are displayed for users in groups with Moderator CP -> Can view moderator logs? option ticked. You can enable it together with the Yes, users of this group can access the moderator CP option disabled if you don't want users to be able to access logs in Mod CP.

Requirements:

Plugin Library is required for template installation.
You can download it here: https://github.com/frostschutz/MyBB-Plug...master.zip
Installation guide: https://github.com/frostschutz/MyBB-Plug...README.txt
After uploading it ignore the compatibility warning.

Installation:

  1. Get Plugin Library (check Requirements section for more info).
  2. Upload everything from upload folder to your forum root (where index.php, forumdisplay.php etc. are located).
  3. Install and activate plugin in ACP -> Configuration -> Plugins.
  4. Configure it.

Templates troubleshooting:


Postbit - add {$post['moderation_actions_bef']} at the beginning and {$post['moderation_actions_aft']} and the end of postbit and postbit_classic templates
Profile - add {$moderation_actions} to any profile template (member_profile by default)
User CP - add {$moderation_actions} to the usercp template

Translations:

Feel free to submit translation to github in Pull Requests. Also, if you want them to be included on the MyBB mods site, ask me to provide you the contributor status for my project.

Donations:

Donations will motivate me to work on further MyBB plugins. Feel free to use the button in the ACP Plugins section anytime.
Thanks in advance for any input.
https://github.com/Destroy666x/MyBB-Mode...ns-Preview

Lưu ý 1: plugin này hoàn toàn phụ thuộc vào nhật ký MyBB được hiển thị trong MyBB, vì vậy nhiều trong số chúng có thể bị thiếu (ví dụ: forumdisplay.php hành động kiểm duyệt luồng nội tuyến). Chúng sẽ không được hiển thị miễn là MyBB không sửa điều đó. Vì vậy, các báo cáo về chúng sẽ bị bỏ qua ở những nơi được kết nối với plugin, vui lòng đăng chúng ở đây: http://community.mybb.com/forum-157.html
Lưu ý 2: cài đặt kích thước tối đa của hình đại diện sẽ không hoạt động cho đến khi lỗi MyBB này được sửa: http://community.mybb.com/thread-164490.html Các báo cáo về nó cũng sẽ bị bỏ qua. CHỈNH SỬA: đã sửa trong 1.8.5.
Lưu ý 3: các hành động kiểm duyệt được hiển thị cho người dùng trong nhóm có Moderator CP -> Có thể xem nhật ký người kiểm duyệt không? tùy chọn đã được đánh dấu. Bạn có thể kích hoạt nó cùng với Có, người dùng của nhóm này có thể truy cập CP của người kiểm duyệt tùy chọn bị tắt nếu bạn không muốn người dùng có thể truy cập nhật ký trong Mod CP.

Yêu cầu:

Thư viện plugin là bắt buộc để cài đặt mẫu.
Bạn có thể tải xuống tại đây: https://github.com/frostschutz/MyBB-Plug...master.zip
Hướng dẫn cài đặt: https://github.com/frostschutz/MyBB-Plug...README.txt
Sau khi tải lên, bỏ qua cảnh báo tương thích.

Cài đặt:

  1. Tải Thư viện Plugin (kiểm tra phần Yêu cầu để biết thêm thông tin).
  2. Tải mọi thứ từ thư mục tải lên thư mục gốc diễn đàn của bạn (nơi đặt index.php, forumdisplay.php, v.v.).
  3. Cài đặt và kích hoạt plugin trong ACP -> Configuration -> Plugins.
  4. Định cấu hình nó.

Khắc phục sự cố mẫu:


Postbit - thêm {$post['moderation_actions_bef']} ở đầu và {$post['moderation_actions_aft']} và phần cuối của postbit và các mẫu postbit_classic
Hồ sơ - thêm {$moderation_hành động} vào bất kỳ mẫu hồ sơ nào (member_profile theo mặc định)
CP người dùng - thêm {$moderation_hành động} vào mẫu usercp

Bản dịch:

Vui lòng gửi bản dịch đến github trong Pull Requests. Ngoài ra, nếu bạn muốn chúng được đưa vào trang mod MyBB, hãy yêu cầu tôi cung cấp cho bạn trạng thái người đóng góp cho dự án của tôi.

Đóng góp:

Các khoản đóng góp sẽ thúc đẩy tôi làm việc trên các plugin MyBB tiếp theo. Vui lòng sử dụng nút trong phần ACP Plugins bất cứ lúc nào.
Cảm ơn trước vì bất kỳ ý kiến đóng góp nào.