Up to now the Discourse Reactions plugin only allows a single reaction to count as a like
for the purposes of topic rankings and badge granting.
Now that reactions have become an important way site members interact with posts, we are changing this paradigm. All reactions will count as a like except for those specifically excluded via a deny list. By default, only the
reaction does not count as a like.
As part of this change, sites that have been using reactions will find that topic rankings and badge granting will get an adjustment to more accurately reflect engagement. It will not be possible to opt out except to add all reactions you do don’t want to count as a like to the deny list.
Note that by default, the like reaction is
but it can be changed to
or whatever reaction works best for your community. You will not want to change this again once your site becomes established. Historical Like records will not be changed if this setting is altered. It’s best to set it once and forget it.
We have now rolled this on Meta, and soon we will roll it out to all sites using reactions.
Technical details
Backfilling logic is initially disabled by the discourse_reactions_like_sync_enabled site setting. In a few weeks, we will remove this setting and run an initial migration is included to backfill PostAction records for reactions which are not the discourse_reactions_reaction_for_like (by default this is set to
) and not on the discourse_reactions_excluded_from_like list. It is not recommended to change this setting after your site is already established, as we will not do historical cleanup. Some communities have hundreds of thousands if not millions of Like records.
Any time discourse_reactions_excluded_from_like is changed, we will correct history with a background job. Any reactions that are added to the deny list will have their matching PostAction records destroyed, and any reactions removed from the deny list will have matching PostAction records created. We also correct history every hour in a scheduled job if discourse_reactions_like_sync_enabled is turned on.
There is no way to opt out of this – if you don’t want any reactions to count as a Like except the default discourse_reactions_reaction_for_like, then you should add all of your discourse_reactions_enabled_reactions to the discourse_reactions_excluded_from_like list.










