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
    barisB

    @bdinfl you put the ratings in your template with <!-- IMPORT partials/ratings.tpl --> It can go on the topic list or inside a topic.

  • 2 Votes
    1 Posts
    4k Views
    B

    early version
    https://github.com/akhoury/nodebb-plugin-mailchimp

  • [nodebb-plugin-admin-sample] Sample admin page

    2
    0 Votes
    2 Posts
    2k Views
    julianJ

    Can you add a bit to the plugins documentation on the wiki to help other users figure out how to get admin routes into their plugins?

  • [nodebb-plugin-emoji-skype] Skype Emoji

    1
    1 Votes
    1 Posts
    2k Views
    julianJ

    The first emoticons plugin has landed!

    To grab it, install it via npm:

    npm install nodebb-plugin-emoji-skype

    Keep in mind that this utilises new features not available in NodeBB versions until v0.0.7, so admins may want to git pull before installing and activating this module. Otherwise, the smilies will simply point to 404 pages.

    Git repository