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
    Bharat RathiB

    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

    Plugin doesn't show usernames if they set their status to offline AFAIK

  • 1 Votes
    4 Posts
    280 Views
    P

    @julian Definately, we will contribute some changes to upstream.

    We are a group of student developers who are deliberately not affiliated to the university to fight against censorship. The university have a history of tooking over administration from the student developers and grant censorship privilege to the "youth studies center", and we refuse to become yet another website that does so. We already lost https://bbs.pku.edu.cn and https://treehole.pku.edu.cn, and there's not yet a libre and civilzed forum for the Peking University students, faculties and almuni.

    FYI, forum-based approach isn't pretty attractive these days. Although we specially desired and wished a forum-based approach to build an online community, we failed to attract a larger userbase, at least in the short term. Currently, most students are more interested in a "tree hollow"-based pesudo anonymous approach. We have a modest user base of around 150~200 users in 2 months, but compared to the new "tree hollow" https://top2.life (which attracted >2400 users in just 3 days after creation) it's really a tiny fraction. top2.life administrators may are better than us in advocacy and have a larger social circle to attract users, but we think the primary reason is that students get accustomed to "tree hollow" fashion and don't really like traditional forums anymore.

  • Overriding template

    6
    0 Votes
    6 Posts
    2k Views
    barisB

    The active theme is in the list of plugins that you can order in the ACP so it should be possible by moving the theme to the end of the list.

  • [nodebb-widget-essentials] Essential Widgets

    14
    2 Votes
    14 Posts
    4k Views
    barisB

    Updated this plugin for bs5 and integrated the custom popular tags widget code that we used on this forum into the plugin. It will be usable without using custom css/js in ACP. It also changes based on skin since colors are no longer hardcoded. Latest version is installed on this forum

    image.png

  • nodebb-plugin-node-ldap crashing NodeBB

    7
    0 Votes
    7 Posts
    371 Views
    Z

    I'm using postgresql and I can't find these keys anywhere

  • Best post voting plugin

    11
    0 Votes
    11 Posts
    757 Views
    N

    Basically, an upvote kind of thing could work but it might not be obvious to users.
    I need something that will be obvious to users, that they are upvoting a certain comment.
    Much better if the first post is the vote and they can comment all they want below that but vote on the first post.

  • S3 Uploads Plugin (nodebb-community fork)

    3
    4 Votes
    3 Posts
    348 Views
    julianJ

    Thanks! It was actually neglected for a long time... there are a lot of forks of this plugin out there, all doing slightly different things.

    While we at NodeBB don't personally use S3 for uploads, if anyone using this plugin experiences issues, please do let us know and we can try to fix it.

  • ADsense plugin not working from 1.19.2

    8
    0 Votes
    8 Posts
    446 Views
    none anonymouN

    @baris Is it possible to add an ad in the middle of the content?

  • nodebb-plugin-markdown shows undefined value

    2
    0 Votes
    2 Posts
    193 Views
    PitaJP

    Master branch is not stable and not meant for production use. We recommend using the latest versioned branch.

    How exactly did you upgrade? You say you "merged with master". Did you run ./nodebb upgrade? Merging is not the recommended upgrade path in the first place. Why did you do it that way?

  • 0 Votes
    9 Posts
    504 Views
    phenomlabP

    @lostspace just so you know you're not blasting posts into a black hole that nobody ever sees....

    Thanks for the information you've provided. The API can be difficult to understand and work with, and the examples you've posted will undoubtedly help others in the same journey.

  • 0 Votes
    4 Posts
    263 Views
    julianJ

    My mistake, thank you 🙂

  • 16 Votes
    52 Posts
    22k Views
    yariplusY
    Version 0.10.0

    Scuff update for nodebb 2.x
    A bit late, but better than never.

  • 0 Votes
    5 Posts
    340 Views
    barisB

    You need to put the popular tags widget on the categories sidebar and use the custom css/js from the other thread.

  • Activity Stream plugin?

    8
    0 Votes
    8 Posts
    952 Views
    crazycellsC

    @julian said in Activity Stream plugin?:

    @crazycells said in Activity Stream plugin?:

    you search 'nothing' in posts and sorted by post time in descending order, you see the list..

    That's quite a clever solution 😊

    lol, actually I was thinking out loud 😄 just to see what it will show... sometimes, this helps to get inspiration. But in this case, I do not think our forum can get benefit from such a plugin, I believe @razibal has a very active and diverse forum, in such a case, this page might be beneficial. We have these alternatives with a similar purpose:

    /best-posts
    /feed
    /recent

    By the way, @julian does registered users have an explicit group/group page? Because groups also show the posts by group members. Maybe @razibal can consider this.

  • Error installing custom pages

    13
    0 Votes
    13 Posts
    550 Views
    eeeeeE

    Thanks again, all working 🙂

  • inline video player

    4
    0 Votes
    4 Posts
    264 Views
    phenomlabP

    @eveh Yes, but the json file probably isn't up to date. A while ago, a change was required for 2.x branch which added a compliant flag. Looks like that was never done, but it works nonetheless.

  • Session-sharing - get local uid by appId

    2
    0 Votes
    2 Posts
    183 Views
    julianJ

    It can be, although that'd be something I'd have to do later on.

    You can file a feature request here and I will get to it in time, but you can also contact us at [email protected] if you want to sponsor this work

  • sso-google plugin: redirect_uri_mismatch

    10
    0 Votes
    10 Posts
    449 Views
    A

    YES! I got it working 😄 The problem was NodeBB 2FA was redirecting the user and that caused the error.

  • This topic is deleted!

    2
    0 Votes
    2 Posts
    5 Views
  • Error uploading to Imgur

    3
    0 Votes
    3 Posts
    286 Views
    cagatayC

    @torn2 this is not about nodebb , pls check it; https://github.com/hackmdio/codimd/issues/234

  • Hide links to guests

    9
    7 Votes
    9 Posts
    1k Views
    Varun Ganesh DV

    i couldn't able to get this under install plugin option.
    how can i install this?