JSPM

nodebb-plugin-ns-likes

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q52195F
  • License MIT

Tradional Like system, similar to social networks

Package Exports

  • nodebb-plugin-ns-likes

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nodebb-plugin-ns-likes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NodeBB: Likes

Traditional Like system, as you can find on social networks. It uses same reputation system.

Version Dependencies bitHound Score Code Climate

Themes

Installation of plugin is pretty straightforward. You should add template import to Post Template. For example, you can find post template for Persona Theme under this path: nodebb-theme-persona/templates/partials/topic/post.tpl

Import:

<!-- IMPORT partials/topic/likes_post.tpl -->

Add it wherever you like, but don't forget to delete default one, with chevrons.

View

By default, it looks like:

White Bootstrap Theme

TODO

  • Another style for zero votes
  • Add links to user list
  • Update user list if It's opened
  • Don't show toggle-button for personal content