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.
  • Download file with app.get problem

    6
    0 Votes
    6 Posts
    649 Views
    A
    Finally, I made it simpler... I made a link from /toto/myfiles to public/uploads/myfiles. Then, I wrote this app.get code in my plugin : app.get('/uploads/myfiles/:file(*?)', function (req, res) { // Things TODO with req.params.file for permissions (after work on it)... var longfilename = path.resolve('public' + req.url); if (fs.existsSync(longfilename)) { res.status(200); res.sendFile(longfilename); } else { console.log('Fichier non trouvé'); res.status(404); res.render('404', {path: req.path}); } }); Now, there is no problem with the ajaxify thing... Ouf ! I'm going to open another topic for another question about the 404 error rendering...
  • Is the Adsense plugin working?

    8
    0 Votes
    8 Posts
    2k Views
    H
    @baris said in Is the Adsense plugin working?: Are you getting any errors in the browser console or ACP? No, I don't see any error. Thanks!
  • Recent Card Problem

    2
    0 Votes
    2 Posts
    374 Views
    PitaJP
    I see a few warnings there, none of which are from the plugin you're talking about. I see one error but it doesn't look like it crashed NodeBB. I don't know what you're referring to.
  • I did not find plugin

    2
    0 Votes
    2 Posts
    568 Views
    barisB
    Please see https://community.nodebb.org/topic/11510/boxes-on-the-side
  • 1 Votes
    1 Posts
    316 Views
    omegaO
    Is there a plugin that automates the following - for example, watching a twitter account or youtube account and grabbing the title and link to the latest posts to an acc or channel to create new topic for each new event at the watch targets. populate: title populate opening post: Title + link etc. etc. That's it.
  • Embed Live Content

    3
    1 Votes
    3 Posts
    518 Views
    crazycellsC
    I think you can also try ns-embed plugin, because youtube live video url is the same as regular video url, so I am assuming it will work.
  • error is plugin emogil android

    5
    0 Votes
    5 Posts
    751 Views
    slipknotS
    @PitaJ { "url": "https://forum.ZZZZ.com", "secret": "xxxx", "database": "mongo", "port": ["4567","4568","4569"], "mongo": { "host": "127.0.0.1", "port": "27017", "username": "root", "password": "xxx", "database": "nodebb" } }
  • [nodebb-plugin-custom-pages] Custom Static pages for NodeBB

    122
    6 Votes
    122 Posts
    103k Views
    crazycellsC
    Can we use this plugin to add announcements, reference to rules, or any html specifically to the login page?
  • [nodebb-plugin-import] Import your forum to NBB

    56
    3 Votes
    56 Posts
    27k Views
    omegaO
    @PitaJ said in [nodebb-plugin-import] Import your forum to NBB: /admin/plugins/import Thanks for the reply. Permssions error of doom on mkdir... as per previous type errors. It kind of doesn't matter for this install as it's only being used to test the importability of a discourse database. Yes I run ./nodebb build after any installs via cmd line. However I stepped away for a couple of hours from this, read you reply then logged in to ACP and BOOM I can see the IMPORT in plugins menu and ancillary screens! Good tip /admin/plugins/import by the way! Kind of handy for future reference. I appreciate your patience, questions and insight always
  • Setup SSO - wp-oauth with custom login

    2
    0 Votes
    2 Posts
    479 Views
    julianJ
    @Det-Prest Hello! Depends what plugin it is, we currently have support for paidmembershipspro and s3member, but ultimately any new plugins might need new plugins. If you're on WordPress I'd personally just customize the sso-oauth plugin, and install the plugin on WordPress that allows it to act as an OAuth2 provider.
  • This topic is deleted!

    4
    0 Votes
    4 Posts
    30 Views
  • Know which categories are "secret"

    4
    0 Votes
    4 Posts
    395 Views
    magnusvhendinM
    @baris Nice! Thank you so much! Exactely what I was looking for.
  • What Plugin Is Used Here to Show Web Link Slugs

    4
    1 Votes
    4 Posts
    607 Views
    S
    @MJ said in What Plugin Is Used Here to Show Web Link Slugs: Iframely https://community.nodebb.org/topic/6627/nodebb-plugin-iframely-iframely-embeds Thanks!
  • Embed Videos

    6
    1 Votes
    6 Posts
    1k Views
    BriB
    nodebb-plugin-ns-embed has been working pretty well for me, and you can customize the embed code to your liking
  • 1 Votes
    5 Posts
    700 Views
    MostHatedM
    Ah, I got ya, lol. Yeah, it all came together.
  • Color bug > nodebb-plugin-night-mode with Cerulean

    1
    0 Votes
    1 Posts
    1k Views
    0xA4B160
    Hello All, I use the nodebb-plugin-night-mode to switch off the light but noticed that with the Cerulean Skin many buttons show with a glowing white background color which of course is not compatible with a dark mode theme (mod). It works just fine with Cosmos and some others skins I tested. It is possible to get that fixed with Cerulean ? I think that skin just looks best on NodeBB. Thanks !
  • Avoid custom CSS in admin

    1
    0 Votes
    1 Posts
    225 Views
    magnusvhendinM
    In my plugin I write a lot of custom CSS (with LESS) and I do some overrides to speed things up (kind of tight deadline). one example is a custom btn-primary from bootstrap. I'm having a problem where this gets propagated into the admin view. I want to keep everything in the administration panel the way it is. Right now I'm solving it by doing this in my top LESS.file. body:not(.admin) { @import "buttons"; @import "help"; @import "login"; } The problem I'm facing is that i can't do something like body { display: none; } in another file since it's a child of that first file. I need to either add the style at the top with no surrounding class (which of course creates a lint problem), or add a class to the very top, like so &.page-login { css }. Is there an easier way to just exclude admin from css? Thanks!
  • Fetching post data with formatting

    2
    0 Votes
    2 Posts
    421 Views
    magnusvhendinM
    Turned out I was fetching the post data wrong. I was using getPostData when i should've been using getPostsByPids.
  • I cant install Nodebb paypal subscription

    1
    0 Votes
    1 Posts
    335 Views
    D
    can't install this plugin in my admin portal when i install it theres a pop up error like this gyp\lib\configure.js:509:16) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:158:21) gyp ERR! System Windows_NT 10.0.15063 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\Darrel John Javier\nodebb2\node_modules\contextify gyp ERR! node -v v11.14.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Darrel John Javier\AppData\Roaming\npm-cache_logs\2019-05-08T03_16_30_506Z-debug.log somebody help
  • Plugin for composer buttons

    1
    1 Votes
    1 Posts
    289 Views
    JenklerJ
    Is it possible to add an composer button to att this |==========> Rating: Count: First: Last: Comment: <==========|