[nodebb-plugin-reactions] Reactions plugin for NodeBB
-
Reactions Plugin for NodeBB
Plugin to add emoji reactions to posts.
Installation
npm install @nodebb/nodebb-plugin-reactions
or
Install using ACP -> Plugins page.
Repository: https://github.com/pichalite/nodebb-plugin-reactions
Report any issues on the plugin issue tracker https://github.com/pichalite/nodebb-plugin-reactions/issues
Needs small change to theme templates for support.
Plugin is currently supported on
nodebb-theme-material
andnodebb-theme-slick
For demo use https://pichalite.com for material theme and http://slick.pichalite.com for slick theme.
-
New version released (v0.0.2)
- Hide reactions from guests
-
Good job
Can you add some information on the readme about the theme changes needed on templates ? -
@exodo All the required markup will be available in the topic API when the reactions plugin is active. On the topic tpl, add this to each post
{posts.reactions}
.This is how it's done in the Slick theme.
nodebb-theme-slick/templates/partials/topic/post.tpl at master · pichalite/nodebb-theme-slick
Slick theme for NodeBB. Contribute to pichalite/nodebb-theme-slick development by creating an account on GitHub.
GitHub (github.com)
-
@pichalite added support on my theme. Very cool
It lasted a few hours till some users began to exploit it tho lolsocket.emit('plugins.reactions.addPostReaction', {"tid":"28197","pid":"890832","reaction":"<h1>Text</h1>"
-
@pichalite said in [nodebb-plugin-reactions] Reactions plugin for NodeBB:
@exodo get latest version. By the way, post issues on the plugins github repository. This is not the tracker for the plugin.
Is it possible to allow reactions only on specific categories? for example i want users to only have reactions available on spam direction, but not anywhere else, is that possible?
-
@pichalite Is this plugin working with node bb 1.9.x and on persona theme?
-
@faizanzahid It does if you use
nodebb-plugin-emoji-extended
-
The current version of reactions doesn't support nodebb-plugin-emoji. It only supports emoji-extended, which is unmaintained.
I've updated reactions to work with the new emoji plugin, but @pichalite hasn't released a new version yet.
-
@pichalite Any easy way to add the plugin function to the timmu theme?
-
@theportablegeek Add this to the template file on your theme
nodebb-theme-slick/templates/partials/topic/post.tpl at f9602872b45ec46cdb6b5048c109f0146cb646e3 · pichalite/nodebb-theme-slick
Slick theme for NodeBB. Contribute to pichalite/nodebb-theme-slick development by creating an account on GitHub.
GitHub (github.com)
-
Oh oops I broke reactions when I fixed this issue https://github.com/NodeBB/nodebb-plugin-emoji/issues/24
I made it so the emoji panel will only display if the composer is open, which is incorrect behavior. Let me fix that tonight.
-
The above problem should be fixed in v3.1.0 of nodebb-plugin-emoji