@twissell not sure, although there is a Forum Stats widget already provided. Use the widgets interface in the ACP to enable.
[nodebb-plugin-ns-likes] NS Likes
Looks like, you did something wrong, if you have a 502.
@Nicolas Is there a specific way I need to install? Eg turning off nodebb before editing templates?
First and foremost you have to do a backup of files which you are editing.
- Install plugin.
- Activate plugin.
- Edit template.
- Restart NodeBB
@Nicolas Thank you. I will try this.
nam ly last edited by
<!-- IMPORT partials/topic/likes_post.tpl -->
i created pull request, please see it author.
absurdsmash last edited by
I would like to change the plugin a little bit. For example, make the list of users who liked the post always visible. How would I go about in doing this?
Is It possible to make the plugin to make Likes only? And disable unlikes.
Running nodebb 1.9x
@xenox what do u mean exactly?
If you once have liked a post, then you're not able to unlike it.
@Xenox What if a user wants to change his previous action? Or it was a miss-click?
Could you share more details? Why would you like to have such functionality?
This post is deleted!
@Nicolas Well if someone miss-click, then that is a misstake and if i was that user doing that i whould probably live with that misstake and whatch out next time, or talk to the admin change it with good reason for that. But if you choose to like a post, then you have made that choice, doing that like and would not be able to unlike it (as an option)
My big wish is to have likeingsytem related by optional weekly/monthly ranking and the most liked for example 10 users in a list as widget. And they will got medals for that (gold, silver and bronze ...) And if you got for example 2 gold medals for 2 month first place liked user. You got one gold medal at your profilepage with a "2" related to that medal.
But that whould be an other story offcause
The new version is released:
- Changed compatibility with NodeBB 1.12.0
balag12 last edited by
I am trying to install this plugin on the Lavender theme, but I cannot seem to figure out how to import the right tpls, etc.
Could anyone give me any help?
data-dataninja last edited by
Awesome this is what im looking for,
just a question:
does this simply replace the vote - to like
or it adds another like system ?
Ideally i just want it to replace vote to like
Normando last edited by
Hi @Nicolas !!!! I really love this plugin. recently, after upgrade nodeBB to 1.17.0 y get these warnings everytime a user like or unlike a post
2021-05-12T05:22:50.879Z [20000/3584] - warn: [deprecated] at SocketPosts.upvote (/opt/vapor/nodebb/src/socket.io/posts/votes.js:66:11) at wrapperCallback (/opt/vapor/nodebb/src/promisify.js:46:11) at onMessage (/opt/vapor/nodebb/src/socket.io/index.js:153:25) use PUT /api/v3/posts/:pid/vote 2021-05-12T05:22:56.378Z [20000/3584] - warn: [deprecated] at SocketPosts.unvote (/opt/vapor/nodebb/src/socket.io/posts/votes.js:76:11) at wrapperCallback (/opt/vapor/nodebb/src/promisify.js:46:11) at onMessage (/opt/vapor/nodebb/src/socket.io/index.js:153:25) use DELETE /api/v3/posts/:pid/vote
Can you help to fis this? Thanks
Spin0us last edited by
First of all, thanks for this great plugins @Nicolas
I've just run the upgrade nodeBB to 1.17.1 and here is the warning after restart :
2021-05-27T08:23:34.125Z [6699/29929] - warn: [plugins/nodebb-plugin-ns-likes] The plugin.json field "library" is deprecated. Please use the package.json field "main" instead. 2021-05-27T08:23:34.137Z [6699/29929] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it. * nodebb-plugin-ns-likes
Any fix planned for this ?
@nicolas this looks like a nice plugin for us as well. Any plans on adding reactions instead of likes? As FB e.g. where you can choose like/heart/lol/etc