Skip to content
  • 6 Votes
    5 Posts
    942 Views
    barisB

    Quick start plugin has an example on how to add a new api route https://github.com/NodeBB/nodebb-plugin-quickstart/blob/master/library.js#L40-L76.

    The hooks that are fired client side are for client side code in plugins. If you want to pass data from the client to the server you have two options.

    Create an api route like in quick start plugin Create a new socket event listener on the server side and use socket.emit() client side. Example here
  • 2 Votes
    10 Posts
    3k Views
    barisB

    Link Preview Image account/edit.tpl form is still coded in older bootstrap style · Issue #9364 · NodeBB/NodeBB

    The template and client-side parsing logic has not been changed in about 6 years. It looks to be BS2 code. It is also not flexible enough and makes themes adding profile fields harder than necessary. A theme would need to edit the templa...

    favicon

    GitHub (github.com)