Skip to content

NodeBB Plugins

Discussion regarding NodeBB Plugin development.

1.8k Topics 15.2k Posts
Most Voted Plugins

Subcategories


  • Have a question about building a plugin? Ask here
    440 Topics
    2k Posts
    barisB
    You could use the below custom javascript, it will open the last chat if there is no open chat. $(window).on('action:ajaxify.end', async () => { const { data } = ajaxify; if (data.template.chats && !data.template.roomId && data.rooms.length) { const Chats = await app.require('forum/chats'); Chats.switchChat(data.rooms[0].roomId); } });
  • Need a plugin developed? Ask here!
    223 Topics
    1k Posts
    Silver.meS
    I am willing to pay whatever it takes, $30 max.
  • 0 Votes
    1 Posts
    1k Views
    a632079A
    This plugin is recommended for Chinese users, and international users recommend using nodebb-plugin-spam-be-gone. At the same time, we do not provide i18n in this plugin, currently only provide Chinese support. It 's a captha plugin powered by aliyun silding verification. Github: https://github.com/NodeBB-China/nodebb-plugin-registration-aliverify/ How to Install? npm i nodebb-plugin-registration-aliverify Configure After applying [Sliding Validation Service] (https://yundun.console.aliyun.com/?p=afs#/afs/app) , in the [Access Key Admin Console] (https: // ak- Console.aliyun.com/) and copy the Access Key ID and Access Key Secret into the plug-in. (The Access Key has access to all Ali Cloud Products APIs, which will result in a significant security risk! [Sub User Access Key] (https: //ram.console .aliyun.com / # / user / list? Guide)) Need i18n ? You Can submit a issue in Github.
  • 1 Votes
    5 Posts
    3k Views
    a632079A
    @njkdsncds Okay,I will add this in v0.2.x
  • Wtf? Upgrade from 1.5.1 to 1.5.3 and all my plugins were uninstalled...

    19
    0 Votes
    19 Posts
    6k Views
    PitaJP
    npm install npm@4 -g should also fix this issue
  • Custom Header

    27
    8 Votes
    27 Posts
    17k Views
    S
    @chaosyamyt it seems this is the repo for that: https://github.com/esiao/nodebb-plugin-custom-header You could try to check it out into the "node_modules" directory and then activate it in the admin-interface.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    75 Views
  • Math editor

    3
    0 Votes
    3 Posts
    1k Views
    PitaJP
    https://community.nodebb.org/post/56553
  • plugin list?

    3
    0 Votes
    3 Posts
    2k Views
    M
    @baris thank you
  • 0 Votes
    1 Posts
    960 Views
    ayiyanA
    [root@bbs nodebb_develop]# sudo npm install nodebb-plugin-ali-oss npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 npm WARN deprecated [email protected]: Use uuid module instead [email protected] /autobuild/nodebb_develop └── [email protected] [root@bbs nodebb_develop]# ./nodebb upgrade Bringing base dependencies up to date... OK Checking installed plugins for updates... OK Updating NodeBB data store schema... [deprecated] String.prototype.rtrim is deprecated as of NodeBB v1.5; use utils.rtrim instead. 24/7 20:01:36 [13129] - warn: You have no mongo username/password setup! Parsing upgrade scripts... OK | 0 script(s) found, 32 skipped Upgrade complete! 24/7 20:01:36 [13129] - warn: You have no mongo username/password setup! 24/7 20:01:36 [13129] - warn: [plugins/nodebb-plugin-ali-oss] Mapped path 'oss => /autobuild/nodebb_develop/node_modules/nodebb-plugin-ali-oss/public' not found.
  • How can I install a higher version of a plugin?

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    U
    @pitaj I can't take risky to do it again, sorry, I just remember the log keeps run ./nodebb upgrade and keep failed.
  • Some template gone in the widget setting, how to find them back?

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    U
    @pitaj I reset the theme bring them back
  • [ns-point-plugin]It's not show/increase user point

    Unsolved
    2
    0 Votes
    2 Posts
    954 Views
    PitaJP
    If reputation isn't increasing that's one issue, but if it's always showing the users as a guest, that's a different issue. "Guest" users will not get reputation because there's no user account.
  • Unable to install and uninstall

    3
    0 Votes
    3 Posts
    916 Views
    a632079A
    Maybe you can upgrade your nodebb.
  • Markdown title support?

    Unsolved
    2
    0 Votes
    2 Posts
    857 Views
    julianJ
    In some places in NodeBB we might escape the title, which may make the raw title a little odd It's definitely not a common use case that's for sure...
  • What happened to [nodebb-plugin-2factor]?

    20
    0 Votes
    20 Posts
    6k Views
    julianJ
    Provide more details please.
  • i need a smple editor

    3
    0 Votes
    3 Posts
    989 Views
    xysjmoX
    @baris THANKS~~
  • 6 Votes
    4 Posts
    3k Views
    광수김
    good. job.
  • Login to NodeBB using Facebook access token?

    2
    0 Votes
    2 Posts
    2k Views
    Esteban ConstanteE
    Ok, so far I've got it to work using passport-facebook-token and changing julian's sso-facebook plugin: FacebookTokenStrategy = require('passport-facebook-token'), and changing: passport.use(new passportFacebook({ to passport.use(new FacebookTokenStrategy({ Also: strategies.push({ name: 'facebook', url: '/auth/facebook', callbackURL: '/auth/facebook/callback', icon: constants.admin.icon, scope: 'email, user_friends' }); to strategies.push({ name: 'facebook-token', url: '/auth/token', callbackURL: '/auth/token/callback', icon: constants.admin.icon, scope: 'email, user_friends' }); I'm able to log into my account but I get this error: [image: bERDTxx.png] Why is the route not found?
  • File attachment related hooks

    1
    0 Votes
    1 Posts
    860 Views
    ShardS
    I've been trying to get a few tweaks made on the fileownership plugin I started last week along with another of mine that is dependent upon its data and I've run into a wall. As posted last week, it was listening for the fileUpload hook. The problem with that is you end up putting data in the database for a file that might be decoupled from the message ( deleted, etc. ) and then you end up with file references cluttering the database. Today I moved it to the topicPost/topicReply filter. This was a little better in that I knew I was dealing with the final state of the attached files for an initial post/reply ( fails utterly with edits... ) message but the file has not been moved/cloned from "/tmp" to the nodebb filesystem making it difficult to get any metadata ( size, etc ) from the file. I tried moving it to the topicPost/topicReply actions, which occur later - but it was rather inconsistent. This has me thinking a few things. One - I'm doing a lot of this wrong headed and I need to completely rethink storage to account for editing messages. Two - I need a hook that fires after the file has been moved from the tmp filesystem into the nodebb space. Does one exist?
  • Nodebb Text2Speech plugin : Working

    6
    2 Votes
    6 Posts
    3k Views
    HARIOM VASHISTHH
    Yeah Thanks
  • nodebb-plugin-audio-embed :: Not Working

    3
    0 Votes
    3 Posts
    2k Views
    HARIOM VASHISTHH
    Thanks