Skip to content

MattRogowski/MyReactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

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: 6
Templates added: 13
Template changes: 5
Settings added: 4
Database Tables added: 2
Database Columns 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/plugins/myreactions/myreactions.php to ./inc/plugins/myreactions/
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
XX/XX/XX - v0.0.4 -> v1.0.0 -> Improvement to how reactions are removed. A count of how many reactions a user has received and given now shows in the postbit and on their profiles. Lists of who reacted to a post is now in a modal. To upgrade, deactivate, reupload ./inc/plugins/myreactions.php, upload ./inc/plugins/myreactions/myreactions.php to ./inc/plugins/myreactions/, activate. Thanks to Eldenroot/@Cu8eR for all the feedback and suggestions

Copyright 2017 Matthew Rogowski

 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

 ** http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.