Discourse Reactions

:discourse2: Summary Discourse Reactions allows users to React to a post from a choice of emojis, rather than only the Like heart. The available emoji selection can be set from the admin settings.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-reactions
:open_book: Install Guide How to install plugins in Discourse

Bored of likes in discourse? Here’s something you will definitely love.

Overview

Discourse-reactions is a plugin that allows user to add their reactions to the post. This plugin can engage more audiences to the post. Users who may not have previously wanted to Like your content are now able to send more specific signals about how your content makes them feel. Users who may not have wanted to use their phones to post can now use them to “react” much easier.

Reactions can be different on each website as we have an amazing feature where site admin can set their list of emojis which can be used as reactions.

To customize the reactions use the site setting discourse_reactions_enabled_reactions and define emojis you want as reactions separated by | eg: open_mouth|cry|angry

This plugin will work as an add-on to the likes feature, anytime you want to remove the plugin, all likes will be preserved.


Configure

You can configure these Site Settings:

  • discourse_reactions_enabled To enable the plugin
  • discourse_reactions_enabled_reactions To define the list of enabled reactions, any emoji is allowed here. default: laughing|open_mouth|cry|angry|thumbsup|thumbsdown
  • discourse_reactions_like_icon To replace the like icon.
  • discourse_reactions_reaction_for_like To define the name of like reaction.

Creating a reaction

The reaction can be created either by clicking the like icon OR by hovering and selecting reaction from the reaction picker.

Note:

  • In Mobile to open the reaction-panel long press on like icon.

Screenshot 2021-03-15 at 10.14.04 AM

See who reacted?

On the left side of the post, there will be a list of reactions, by clicking on it, there will be a modal displayed with the list of reactions.


If there are only likes in the post, a list of reactions will not be available but there will be a like-count besides the like button. clicking on it will display the same modal.

Don’t want to see this whole modal? Just hover on the reaction-emoji in the list to see the recently reacted users (Available Only on the desktop site).

See Your reactions?

In the user page activity, there is an extra Reactions tab where you will find all reactions you made.

See who reacted to your post?

In the user page notifications, there is an extra Reactions tab where you will find all reactions made to your posts.

Badge

First Reaction Badge is granted to the user when they make their first reaction to a post.

Contributors

@Ahmed_Gagan

@joffreyjaffeux
@kris.kotlarek
@Roman_Rizzi

Special Thanks

Special thanks to @joffreyjaffeux for being such a nice mentor and for being super helpful in everything :open_hands: and @team for helping us to make the plugin works perfect by finding bugs as much as possible.

117 Likes
Retort - a reaction-style plugin for Discourse
Fakebook, a theme for social media lovers
Share your Discourse Reactions emoji sets here!
Custom Discourse Reactions
Notice: testing Discourse Reactions here on meta for 1 week!
Add Dislike Button
Material Design Stock Theme
Introducing Discourse Chat (BETA)
Display 'top level comments' separate from comment replies (Alternative to Threaded Comments?)
Fakebook, a theme for social media lovers
Reaction columns on the user list / leaderboard?
2021: The Year in Review
Retort - a reaction-style plugin for Discourse
RFE: dark/light mode options for custom emoji
User stream item posts expand issue
Add downvotes at very least
Allow a user to cast multiple votes on a single topic?
Is it possible to install the "Discourse Reactions" plugin without self-hosting?
Notice: testing Discourse Reactions here on meta for 1 week!
Notice: testing Discourse Reactions here on meta for 1 week!
How to disable checker for “Body seems unclear, is it a complete sentence?”
Possible security issue with discourse retort emojis
Custon button how "like" ? add custom post buttons
Discourse Gamification
Webhook for reactions?
FKB Pro - Social theme
Retort - a reaction-style plugin for Discourse
decorateCookedElement for each page change?
:arrows_counterclockwise: Setup Continuous Integration using GitHub Actions
[PAID] Forum Contribution Points System
Discord is taking aim at Discourse. How does Discourse remain unique and stand out from the crowd?
Comment, Question, & Discussion Level Agreement Voting - is there an extension?

How do I wrap the mobile icon popup? We have 8 icons and the last one is sticking off the edge.

1 Like

I understand there is only 1 emoji enabled as “like” - standard ist the :heart: but an admin can choose another one, for instance :+1: to function as “like”.

Beneath this single “like” emoji all others offered in the reaction picker are defined as “reactions” without the function of the “like”.

In our forum the question has arisen if there is any way to enable 2 emojis at the same time to work as “like” button, so that either of these 2 will activate the “like” counter or if this functionality is strictly limited to a single emoji.

Thanks for your feedback.

I switch to Reactions from Retort and the popup was coming up OK.

However, this morning, it suddenly stops working. The popup no longer appears when I hover on top of the heart button, and I can only “like”.

Strangely, it works just fine on mobile by long-pressing the heart button.

EDIT: After trying for a few days, there seems to be no pattern here… sometimes the hover works, out of the blue. Other times, it doesn’t and you can only like… I haven’t been able to find a pattern so far…

When I try to add another emojis I see a validation error and the message (in German): Emoji-Liste sollte nur gültige Emoji-Namen enthalten, z. B.: „hugs“

This happened all the times I tried, except one time, where I was able to add another emojis. Don’t have a clue, maybe someone here? Thanks! :slight_smile: