[nodebb-plugin-ns-likes] NS Likes
-
Version 1.1.0
Changelog:
- Compatibility with
0.9
forum - Change color accordingly to the number of likes (color blending)
Higher value of likes, more intense is target color.
Default: On 8 likes will be most intensive target color - #4CAF50 (green)
- Compatibility with
-
@Nicolas I came across this plug in and its a great one to make it more like social media where users already are used to.
I have installed this one from ACP and activated the plug-in. I am on nodebb 9.3.
I am not a programmer and dont understand scripts.If you could help me with the following, will be great. I located the file post.tpl under the path in my server /nodebb/node_modules/nodebb-theme-persona/templates/partials/topic/post.tpl
1.where exactly i should add the line <!-- IMPORT partials/topic/likes_post.tpl -->
2.which exact line i should remove to (delete default one, with chevrons) is
in it will be very helpful.
**3. Also as part of the installation, is there a file /nodebb/node_modules/nodebb-theme-persona/templates/partials/topic/likes_post.tpl expected to be created ? I don't see such file in the folder.Any advice and help will be useful.
-
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.