xoops forums

Dante7237

Friend of XOOPS
Posted on: 2/6 11:21
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 294
Since: 2008/5/28
#11

Re: Adding a LIke Feature to NEWBB

This looks great, I'll be using it.
I should have my site and forums back by the end of the month.

Thanks for your work!

BigKev73

Just popping in
Posted on: 2/6 13:12
BigKev73
BigKev73 (Show more)
Just popping in
Posts: 13
Since: 1/26 16:37
#12

Re: Adding a LIke Feature to NEWBB

Thanks! Good luck with your site!

goffy

Just can't stay away
Posted on: 2/7 8:11
goffy
goffy (Show more)
Just can't stay away
Posts: 487
Since: 2010/12/27
#13

Re: Adding a LIke Feature to NEWBB

looks great BigKev73

many thanks for sharing

BigKev73

Just popping in
Posted on: 2/15 21:21
BigKev73
BigKev73 (Show more)
Just popping in
Posts: 13
Since: 1/26 16:37
#14

Re: Adding a LIke Feature to NEWBB

So I made some changes to make it more "Facebook" like.

Now it only shows the icons for the reactions that have been set for a post. There is a new "grey" like icon which acts as a menu that opens to allow a user to add a reaction, change, or remove. Anonymous users won't see that menu.

Also, I relocated the icons to the asset folder and changed some of the files. take a look at the readme and change list.

NEWBB Posts showing posts with and without any reactions
Resized Image


User clicks the grey like icon to expand it into a meuu
Resized Image


The user made a selection, the menu closed and the reaction state of the post is updated
Resized Image


The download link is the same as before, but here it is again:

ReactionPlugin 1.1

Feedback is appreciated, Enjoy!

BigKev73

Just popping in
Posted on: 2/16 20:13
BigKev73
BigKev73 (Show more)
Just popping in
Posts: 13
Since: 1/26 16:37
#15

Re: Adding a LIke Feature to NEWBB

Minor changes to version 1.2

-resized icons to 16x16 as they were 20x20 for some reason
-added Dislike.png
-removed Reaction.png (grey icon)
-added React.png (outline icon)
-modified some styling aspects in Reaction.php to make the icons look nicer and space out a bit better
-modified ReationInfo.php to add the Dislike option

ReactionPlugin 1.2