1.8.x
Tính Năng: Thread Icon in Showthread
Tác giả: Destroy666
Phiên bản: 1.3
Gửi lúc: 20/09/2014
Cập nhật lúc: 18/01/2015
Show Thread
Mô tả
https://github.com/Destroy666x/MyBB-Thre...Showthread
Installation:
- Upload everything from upload folder to your forum root (where index.php, forumdisplay.php etc. are located).
- Activate plugin in ACP -> Configuration -> Plugins.
Templates troubleshooting:
If the icon is not displayed due to theme customizations, you need to apply these changes manually:- Showthread - add {$thread_icon} to any showthread template (showthread by default)
- Printthread - add {$thread_icon} to the printthread template
- Newreply - add {$thread_icon} to any newreply template (newreply by default)
You may also want to wrap the mentioned variable like this
Code:
<div style="display: inline-block; vertical-align: middle; padding: 0 3px;">{$thread_icon}</div>
(it's done by default to align the icon vertically).
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-Thre...Showthread
Cài đặt:
- 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.).
- Kích hoạt plugin trong ACP -> Configuration -> Plugins.
Khắc phục sự cố mẫu:
Nếu biểu tượng không hiển thị do tùy chỉnh chủ đề, bạn cần áp dụng các thay đổi này theo cách thủ công:- Hiển thị - thêm {$thread_biểu tượng} vào bất kỳ mẫu showthread nào (showthread theo mặc định)
- Inthread - thêm {$thread_biểu tượng} vào mẫu PrintThread
- Trả lời mới - thêm {$thread_biểu tượng} vào bất kỳ mẫu NewReply nào (NewReply theo mặc định)
Bạn cũng có thể muốn bao bọc biến được đề cập như thế này
<div style="display: inline-block; vertical-align: middle; padding: 0 3px;">{$thread_icon}</div>
(nó được thực hiện theo mặc định để căn chỉnh biểu tượng theo chiều dọc).
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.
Hình Ảnh
