By Matt Stephens on Thursday, 01 August 2019
Posted in General Issues
Likes 0
Views 1.1K
Votes 0
In EasySocial, stream posts and comments, I'd like to add another emoji to choose as a reaction.

Specifically, I want the "crying laughing" emoji. By default, there isn't really a funny or laughing reaction, and I've been asked many times now why that is. Is there a way to add this? I browsed through the documentations but couldn't find anything regarding this specifically.

Thank you
Hi Matt,

Unfortunately there is no simple way to achieve this. If you really want to, you have create another svg file and override the original reactions svg file.
original path: JoomlaFolder/media/com_easysocial/images/reactions/icon-reactions.svg
override path: JoomlaFolder/templates/JOOMLA_TEMPLATE/html/com_easysocial/images/reactions/icon-reactions.svg
·
Thursday, 01 August 2019 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
I have transferred the svg file to my laptop so I can edit it (using GIMP) and then I will save it to the override path.

Now my question is, can I add a face or does the svg need to stay the same size in pixels? Would it be better to replace on of the faces instead, and keep aspect ratio exactly the same? Sorry, I just don't know how the svg file is referenced and by what, so I don't want to break anything.
·
Friday, 02 August 2019 04:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Some developments;

GIMP was not a suitable software for .svg files. I had to use Inkscape instead.

It worked with replacing one of the default emoji. I found a vector graphic of the emoji I wanted, resized it to 64x64 pixels, and copied it into the .svg file (after deleting the emoji it was replacing).

Changes were applied immediately when using the override folder you suggested, and it looks perfect.

Thank you
·
Friday, 02 August 2019 05:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Note, although the emoji image is changed, it still has the name of the old emoji which was "happy" in this case. If there's a way to change it from saying "happy" to saying "laughing" let me know. Even just taking out all the labels is okay with me, they are kind of redundant...
·
Friday, 02 August 2019 05:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Matt,

Thanks for updating us on your progress.
If there's a way to change it from saying "happy" to saying "laughing" let me know.
You may create a language override for the following translation.

COM_ES_REACTION_HAPPY="Happy"
·
Friday, 02 August 2019 11:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, could you go into more detail about that? Where do I find that setting/file?
·
Friday, 02 August 2019 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Matt,

Sure. You can refer to this documentation for further information on the language override process.
·
Friday, 02 August 2019 11:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Awesome thank you
·
Saturday, 03 August 2019 02:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Saturday, 03 August 2019 09:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post