[nodebb-plugin-ns-likes] NS Likes
-
@noobbb did you do a change to your theme - https://github.com/NicolasSiver/nodebb-plugin-ns-likes#themes ?
-
@Nicolas I have a 502 gateway error. I acp installed ns like > activated it > did the code swap eg edited the template file to replace the reputation section with <!-- IMPORT partials/topic/likes_post.tpl --> > reloaded my forum > 502 gateway error
I tried cold booting my server. Still 502. Am I missing anything else?
-
Looks like, you did something wrong, if you have a 502.
-
First and foremost you have to do a backup of files which you are editing.
- Install plugin.
- Activate plugin.
- Edit template.
- Restart NodeBB
-
@nicolas said in [nodebb-plugin-ns-likes] NS Likes:
<!-- IMPORT partials/topic/likes_post.tpl -->
i created pull request, please see it author.
Update likes_post.tpl by lyquocnam · Pull Request #5 · NicolasSiver/nodebb-plugin-ns-likes
changed: div -> span for the same tag with .post-tools and .post-reply, so they are in 1 row.
GitHub (github.com)
-
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?
-
@faizanzahid
If you once have liked a post, then you're not able to unlike it. -
@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:
3.0.0
Changelog:
- Changed compatibility with NodeBB 1.12.0
-
Hi there.
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?
-
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
Thanks
-
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
-
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 ?
Thanks