[nodebb-plugin-ns-likes] NS Likes
-
Swap this code https://github.com/NodeBB/nodebb-theme-persona/blob/master/templates/partials/topic/post.tpl#L67-L81 on plugin import
<!-- IMPORT partials/topic/likes_post.tpl -->
-
@Nicolas Thank you for your reply.
-
After the plugin is activated, should I automatically have the file likes_tpl created under /nodebb/node_modules/nodebb-theme-persona/templates/partials/topic/ ?
-
I didnt hv any file created in that path.
-
I uninstalled the plug i ACP and installed in server using npm install nodebb-plugin-ns-likes
-
Got the following warnings....is it an issue ? also i dont see likes_tpl . should i create the file myself ? I know it sounds as a basic question, but will ask anyway. thank you for your patience.
ngsankar@T****:~/nodebb$ npm install nodebb-plugin-ns-likes
npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/mocha/node_modules/glob/node_modules/minimatch requires lru-cache@'2' but will load npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/lru-cache, npm WARN unmet dependency which is version 3.2.0 npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/grunt/node_modules/minimatch requires lru-cache@'2' but will load npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/lru-cache, npm WARN unmet dependency which is version 3.2.0 npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/grunt/node_modules/findup-sync/node_modules/glob/node_modules/minimatch requires lru-cache@'2' but will load npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/lru-cache, npm WARN unmet dependency which is version 3.2.0 npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/grunt-contrib-watch/node_modules/gaze/node_modules/globule/node_modules/minimatch requires lru-cache@'2' but will load npm WARN unmet dependency /home/ngsankar/nodebb/node_modules/lru-cache, npm WARN unmet dependency which is version 3.2.0
-
-
For plugin installation use ACP: Plugin management page.If you can't find plugin on Plugin page, it means, plugin ins't compatible with your forum.
After plugin installation, restart NodeBB. -
Any palns for NodeBB v1.0.1 compatibility ?
-
Plugin doesn't work with
v1.0.1
? -
Version 2.0.0
New version is available, summary: compatibility with NodeBB v1 and better UX.
- Compatibility with 1.0 forum
- Interactivity for voters
- Window with extended list of voters
- Introduced Language support: en_US
By clicking on
others
it will open window with users preview. -
Why is it incompatible?
1.0.3
is just a patch update. Plugin should work well. -
@Nicolas I wish I knew. I would be happy to provide whatever information you need. Things I have tried so far:
ā re-order ns likes to top (just after persona theme) and right at the bottom. No difference.
ā disabled acp > settings > reputationI don't see any option for ns likes under acp > plugins. I'm not sure if there is supposed to be a menu here.
-
@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.
https://github.com/NicolasSiver/nodebb-plugin-ns-likes/pull/5
-
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?