Skip to content

NodeBB Plugins

Discussion regarding NodeBB Plugin development.

1.8k Topics 15.0k Posts
Most Voted Plugins

Subcategories


  • Have a question about building a plugin? Ask here
    427 Topics
    2k Posts
    traarrrT

    Hi all,
    Well this is my first time writing a plugin which involves using client side hooks...
    For a start, i would want my plugin to listen to a hook which activates when the topic page is completely loaded and topic tools are loaded too.

    For which I wrote this function:

    'use strict'; /* globals document, $ */ $(document).ready(function () { function alertType(type, message) { require(['alerts'], function (alerts) { alerts[type](message); }); } console.log('nodebb-plugin-quickstart: loaded'); $(window).on('action:topic.loaded', notifyBox); function notifyBox() { console.log("in notify box"); alertType('success', "done") } });

    but this is not working... I can only see "nodebb-plugin-quickstart: loaded" on the console.

    Where am i going wrong here??

  • Need a plugin developed? Ask here!
    222 Topics
    1k Posts
    B

    Thank you!

  • Plugins Directory

    4
    0 Votes
    4 Posts
    2k Views
    P

    @Shard just check NPM. All supported plugins for your NodeBB install can be found in the ACP.

  • [nodebb-plugin-dbsearch] Internal error

    1
    0 Votes
    1 Posts
    1k Views
    Mirosław BrodaM

    After installing the plugin, I get an 'internal error' saying that 'something went wrong' . I'm using nodeBB 0.9.3 with 0.3.0 version of the plugin.

  • 0 Votes
    9 Posts
    4k Views
    N

    @frissdiegurke
    Thank you! That sorted it out. Very much appreciated. 🙂

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
  • 0 Votes
    4 Posts
    2k Views
    ?

    No worries, they won't cause any issues.

  • 0 Votes
    1 Posts
    1k Views
    Danny McWilliamsD

    I've noticed a wee problem with Wordpress/blog comments.

    At first I was being hit by a 503 error - which turned out it was Akismet blocking the publishing of a post as it was being flagged as spam in NodeBB. Deactivate that, it's fine.

    The post in question was just a YouTube video.

    You see, when I publish a post, the social sharing links (the exact ones i'm using on Wordpress for now are the Jetpack ones) are also posted in the forum topic.

    Now - is there any way of filtering these out? It will take two minutes to edit the thing, but just wondered if anyone else came across the same.

    Here's the original post: http://www.onlyanexcuse.com/2015/12/21/goals-morton-vs-raith-rovers/#nodebb/comments

    And here's the NodeBB topic for the comments: http://spflforum.com/topic/696/goals-morton-vs-raith-rovers

    What I will do (later) is just remove the social links which have appeared and put the video in there instead, it's not a massive issue, just adds a little more housekeeping when posting things later.

  • Set user field fails in plugin

    3
    0 Votes
    3 Posts
    1k Views
    W

    Face Palm 😔

    Thanks

  • Custom autorization in nodeBB

    2
    0 Votes
    2 Posts
    947 Views
    julianJ

    Is this a plugin in NodeBB? You'll need to add the routes by listening to the static:app.init hook.

  • How do I pre-install plugins?

    20
    0 Votes
    20 Posts
    6k Views
    KowlinK

    @psychobunny There's just something with pressing the flagging button for some reason on bots, it feels... Rewarding.

  • Override Local login form

    3
    0 Votes
    3 Posts
    2k Views
    W

    I have another question in regards to this:

    I managed to get the login override plugin working with LDAP. It basically uses the normal login form to authenticate against my LDAP server, if the authentication fails it sends login failed back, if it passes it either logs the user in (if they already exist) or creates the user and logs them in.

    My question is, how do i bypass the check and use the normal authentication method if the user is the forums admin (the account that i set up the server with).?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    27 Views
  • Problem with redactor

    3
    0 Votes
    3 Posts
    1k Views
    M

    @Kowlin said:

    You need to enable a option that allows HTML to go through in the ACP. (I don't remember where it is)

    Plugins > Markdown >> Allow HTML

    this one maybe?

  • admin plugin for NodeBB translation?

    3
    0 Votes
    3 Posts
    1k Views
    S

    I think you misunderstood what I said. I don't mean translating the admin control panel.I mean translating the NodeBB itself which also is possible as a project on Transifex. In fact I am looking for another way. then I thought there might be a plugin for doing this which is my question. Thanks a lot.

  • migrate to nodeBB

    6
    0 Votes
    6 Posts
    2k Views
    S

    https://github.com/akhoury/nodebb-plugin-import/issues/108

  • Iframe not showing

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    hukadanH

    Thank you. I did not know it would block it. I was expecting a warning beside the locker on the address bar. Thank you, this solved the problem.

  • Shoutbox Add-On Request

    16
    0 Votes
    16 Posts
    5k Views
    W

    @Kowlin said:

    @Schamper Maby his NodeBB is below 0.9.0?? 😐

    Upgraded to 0.9.1 last week

  • 0 Votes
    2 Posts
    2k Views
    julianJ

    @inhuman We could build one out for you, possibly 😄 Reach out to us at [email protected]

  • 0 Votes
    7 Posts
    2k Views
    julianJ

    Yes, I recently experienced this as well... using http seems to work fine for the time being.

  • nodebb plugin Sparkpost mailing service?

    6
    1 Votes
    6 Posts
    2k Views
    julianJ

    Either works... I have npm push access, so I've been pushing from my repo, but yeah, yours is the original, so we should stick with that one.

  • 7 Votes
    23 Posts
    12k Views
    JLChnToZJ

    @yariplus Thanks!