Name: MyReactions
Description: Add emoji reactions to posts
Website: https://github.com/MattRogowski/MyReactions
Author: Matt Rogowski
Authorsite: https://matt.rogow.ski
Version: 0.0.4
Compatibility: 1.8.x
Files: 5
Templates added: 8
Template changes: 4
Settings added: 4
Tables added: 2
Information:
This plugin allows you to add emoji reactions to user's posts.
Choose whether to group the reactions and display a count, or display them in a linear order of when they were received.
You can also view the most given and received reactions on user profiles.
The idea was originally inspired by
https://facepunch.com/ (who I did ask permission from to build this several years ago) and more recently Slack
To Install:
Upload
./inc/plugins/myreactions.php to
./inc/plugins/
Upload
./inc/languages/english/myreactions.lang.php to
./inc/languages/english/
Upload
./admin/modules/forum/myreactions.php to
./admin/modules/forum/
Upload
./inc/languages/english/admin/forum_myreactions.lang.php to
./inc/languages/english/admin/
Upload
./jscripts/myreactions.js to
./jscripts/
Upload
./images/reactions/ and its contents to
./images/
Go to ACP > Templates & Style >
**choose theme** > Add Stylesheet > enter 'myreactions.css' (without quotes) into 'File Name', select 'Write my own content', paste the content of
./myreactions.css into the editor, and save.
Go to ACP > Plugins > Activate
Go to ACP > Forums & Posts > MyReactions to manage
Change Log:
27/09/16 - v0.0.1 -> Initial 'beta' release.
27/09/16 - v0.0.1 -> v0.0.2 -> Fixes issue with forums in subdirectories, and fixes CSRF issue with adding and removing reactions. To upgrade, reupload
./inc/plugins/myreactions.php and
./jscripts/myreactions.js. Thanks to Devilshakerz for the CSRF tip (and my bad for forgetting to do it in the first place)
07/10/16 - v0.0.2 -> v0.0.3 -> Fixes bug where button to add reactions was displayed to guests. To upgrade, reupload
./inc/plugins/myreactions.php
29/01/17 - v0.0.3 -> v0.0.4 -> Fixes bug with hardcoded table prefix and XSS bug when reacting to posts. Thanks to myudev and Cu8eeeR/Eldenroot for the fixes/reports. To upgrade, reupload
./inc/plugins/myreactions.php
Tên: Phản ứng của tôi
Sự miêu tả: Thêm cảm xúc biểu tượng cảm xúc vào bài viết
Trang mạng: https://github.com/MattRogowski/MyReactions
Tác giả: Matt Rogowski
Trang web tác giả: https://matt.rogow.ski
Phiên bản: 0.0.4
Tương thích: 1.8.x
Tập tin: 5
Các mẫu được thêm vào: 8
Thay đổi mẫu: 4
Cài đặt được thêm vào: 4
Bảng được thêm vào: 2
Thông tin:
Plugin này cho phép bạn thêm phản ứng biểu tượng cảm xúc vào bài đăng của người dùng.
Chọn nhóm các phản ứng và hiển thị số lượng hoặc hiển thị chúng theo thứ tự tuyến tính khi chúng được nhận.
Bạn cũng có thể xem các phản ứng được đưa ra và nhận nhiều nhất trên hồ sơ người dùng.
Ý tưởng ban đầu được lấy cảm hứng từ
https://facepunch.com/ (người mà tôi đã xin phép để xây dựng nó vài năm trước) và gần đây là Slack
Để cài đặt:
Tải lên
./inc/plugins/myreactions.php đến
./inc/plugins/
Tải lên
./inc/languages/english/myreactions.lang.php đến
./inc/languages/english/
Tải lên
./admin/modules/forum/myreactions.php đến
./admin/modules/forum/
Tải lên
./inc/languages/english/admin/forum_myreactions.lang.php đến
./inc/languages/english/admin/
Tải lên
./jscripts/myreactions.js đến
./jscripts/
Tải lên
./hình ảnh/phản ứng/ và nội dung của nó để
./Hình ảnh/
Truy cập > Mẫu & Phong cách > ACP
**Chọn chủ đề** > Thêm Stylesheet > nhập 'myreactions.css' (không có dấu ngoặc kép) vào 'Tên tệp', chọn 'Viết nội dung của riêng tôi', dán nội dung của
./myreactions.css vào trình chỉnh sửa, và lưu.
Truy cập ACP > Plugins > kích hoạt
Truy cập Diễn đàn & Bài đăng > ACP > MyReactions để quản lý
Nhật ký thay đổi:
27/09/16 - phiên bản 0.0.1 -> Bản phát hành 'beta' ban đầu.
27/09/16 - v0.0.1 -> v0.0.2 -> Khắc phục sự cố với diễn đàn trong thư mục con và khắc phục sự cố CSRF khi thêm và xóa phản ứng. Để nâng cấp, hãy tải lên lại
./inc/plugins/myreactions.php và
./jscripts/myreactions.js. Cảm ơn Devilshakerz vì mẹo CSRF (và tệ hại của tôi vì đã quên làm điều đó ngay từ đầu)
07/10/16 - v0.0.2 -> v0.0.3 -> Sửa lỗi trong đó nút thêm cảm xúc được hiển thị cho khách. Để nâng cấp, hãy tải lên lại
./inc/plugins/myreactions.php
29/01/17 - v0.0.3 -> v0.0.4 -> Sửa lỗi với tiền tố bảng được mã hóa cứng và lỗi XSS khi phản ứng với bài đăng. Cảm ơn myudev và Cu8eeeR/Eldenroot vì các bản sửa lỗi/báo cáo. Để nâng cấp, hãy tải lên lại
./inc/plugins/myreactions.php