Reactions by ReFlar

GitHub license Latest Stable Version JavaScript Style Guide

A Flarum extension that adds reactions to your Flarum Community!

Usage

  • Just click the react button when hovering over a post, and choose the reaction!
  • Custom reactions can be easily added via the admin page
  • Integration with Likes and Gamification

Installation

Install it with composer:

composer require reflar/reactions

Then login and enable the extension.

You can optionally convert specific reactions into likes, upvotes, and downvotes.

Identifiers

Emojis

Click on the emoji you want, click "copy short code" then paste the short code and remove the colons

Icons

Search for the one you want and copy the name.

Special thanks

The ReFlar team would like to thank @datitisev for bringing this extension to ReFlar. He started this project before joining the team and decided to allow us to help finish and release it. We hope you enjoy ?

Developer Guide

You have 2 events to listen for PostWasReacted as well as PostWasUnreacted which both contain the post and reactor. PostWasReacted also includes the reaction identifier.

Issues

Links

ReFlar is a branch of Revolutionary Developers

two issues:
missing filereflar-reactions.admin.permissions.react_posts_label in yml flie;
can‘t click the reaction button
Imgur

    meto Can you give me your forum url? I can't reproduce this on my end.

    meto Can you also tell us which browser you are using? And also the output of "php flarum info".

      Can anyone else reproduce on FF?

      Might be small difference in css?

      BTW - Excellent job. Thank you for another awesome extension release. ❤

        meto

        0E800

        I should probably look into that, that seems like a problem if it isn't working on other browsers.

        Sorry for the double post, couldn't be bothered editing the one above but can confirm it works fine on Microsoft Edge 40.15063.0.0, Microsoft EdgeHTML 15.15063 on Windows 10 Pro.

        And as @0E800 said thanks for a great extension and the other one's you guys have done as well ?.

        wignu meto

        I'm at a loss, I have no idea what is going on. I can't even get it to show up at all on firefox. It works on Chrome & Edge but not Firefox and Opera. Mobile works fine across the board. If anyone has any idea what is going on, please let me know. I'll try to figure something else out tomorrow.

          Kyrne from what I can see this issue is caused by a ul inside a button. I'm trying to send you a PR which removes the javascript and goes back to raw css.

          Rootin' tootin' Fire Fox back at it again!

          Thank you luceos for the fix/guidance ?

          Awesome extension.. Will integrate in my app shortly.. keep it up ?

          Love it too. Thank you!

          Have it working:

          Does anyone know how I can force my Flarum installation and/ or server to refresh and solve this?
          I can this each time I install an extension and it seems to take 2-3 days for it to go away on its own.
          Then everything displays properly.

            bikepost Try to disable and re-enable another extension other than Reactions ?

            If not try clearing your browser cache and do "php flarum cache:clear" to clear the storage cache.

              I always do this after installing updates and/ or a new extension

              php flarum migrate
              php flarum cache:clear
              

              Didn't work and disabling/ re-enabling another extension, didn't solve it either.

              I get this every time I install a new extension, so it isn't just Reactions.

                bikepost Do you clourflare? If so, clear that cache too.

                Also, make sure to clear your browser cache (after the above if applicable)

                  Kyrne

                  How do I find out whether Cloudflare is used by my host on my server?

                  I don't personally use it neither have I signed for it.

                    Is there a way to make reactions always show up similar to the likes? Right now, they only appear if you mouse over the post actions area.