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
    444 Topics
    2k Posts
    Sky FoxxS
    Perfect! Does the job super elegantly thank you
  • Need a plugin developed? Ask here!
    226 Topics
    1k Posts
    juseJ
    like this [image: 1732282083034-snipaste_2024-11-22_21-27-43.png] or [image: 1732282134821-snipaste_2024-11-22_21-28-46.png]
  • 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
    895 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
    4k Views
    HARIOM VASHISTHH
    Yeah Thanks
  • nodebb-plugin-audio-embed :: Not Working

    3
    0 Votes
    3 Posts
    2k Views
    HARIOM VASHISTHH
    Thanks
  • SMTP Configuration

    3
    0 Votes
    3 Posts
    2k Views
    F
    I would also guess from your description, that you run a local Mail Transfer Agent (MTA) on your server. Check your running services!
  • Redactor

    1
    0 Votes
    1 Posts
    734 Views
    miranM
    I've noticed that redactor is now missing the ability to resize images and it no longer has alignment options, I'm wondering why these are gone and how to get them back? I understand that the alignment is a plugin for Redactor so is there an easy way to integrate it?
  • How to add custom field to Category, Topic 1.5.1 version

    1
    0 Votes
    1 Posts
    989 Views
    Trần MaiT
    I want to add some custom fields to Category and Topic. For example: Image, Descriptions, Type. i found ns-custom-field plugin, add-custom-registration-field... but it's not working with 1.5.1 version. Pls help me
  • Is there something like @mentions but for posts?

    13
    1 Votes
    13 Posts
    4k Views
    Esteban ConstanteE
    http://github.com/estebanconstante/nodebb-plugin-postmentions
  • NodeBB Blog Comments

    1
    0 Votes
    1 Posts
    1k Views
    M
    @psychobunny Amazing plugin! I have one small issue. Can I set it up to automatically enable comments each time a new blog post is made instead of having to click Publish to NodeBB?
  • Getting the user id of a username via plugin

    3
    0 Votes
    3 Posts
    2k Views
    orweinbergerO
    Thank you! @Giggiux
  • a question about async load widget html

    2
    0 Votes
    2 Posts
    1k Views
    jiangcaiyangJ
    Why you still use async way? waiting the document to be ready is needed.
  • About rating plugins for users

    1
    0 Votes
    1 Posts
    1k Views
    T
    Hi everyone, I've been looking for a rating system plugin quite a while and had no luck. I searched online and found something alternative. Bootstrap star rating Does anyone have tried this before? Is it possible to use it in nodebb? I tried to install it with bower but failed. Uncaught Error: Mismatched anonymous define() module:
  • How to add option in reply button

    1
    0 Votes
    1 Posts
    879 Views
    S
    I need add option in this button [image: cY2sewF.png] I found this code for add that but in the composer when adding a post. $(window).on('action:composer.loaded', function(err, data) { if (data.hasOwnProperty('composerData') && !data.composerData.isMain) { // Do nothing, as this is a reply, not a new post return; } var item_reply = $('<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button><ul class="dropdown-menu pull-right" role="menu"><li><a href="#" data-switch-action="post"><i class="fa fa-fw fa-book"></i> Responder historia</a></li></ul>'); var actionBar = $('#cmp-uuid-' + data.post_uuid + ' .action-bar'); item_reply.on('click', 'li', function() { $(window).off('action:composer.topics.post').one('action:composer.topics.post', function(ev, data) { callToggleQuestion(data.data.tid, false); }); }); actionBar.append(item_reply); }); Maybe this working if changue .action-bar for ?, really, the documentation for plugin development is very bad Thanks for you time, and sorry for my bad english
  • Highlight certain replies "a la Quora" style

    1
    0 Votes
    1 Posts
    681 Views
    Esteban ConstanteE
    Is there a plugin that does this? If not, any developer here would be interested in doing it? Or point me to where I could start? (I got some knowledge on node.js, but maybe someone more proficient has done it before) Thanks!
  • 4 Votes
    39 Posts
    21k Views
    yariY
    http://imgur.com/Cd06mbk
  • Profile plugins?

    3
    0 Votes
    3 Posts
    2k Views
    ShardS
    @Bri Beaut. This looks like the exact kind of thing to crib from. Thank you.
  • nodebb-plugin-custom-registration-fields not working for me

    1
    0 Votes
    1 Posts
    1k Views
    T
    Hi, I am trying to get this plugin going by downloading from https://www.npmjs.com/package/nodebb-plugin-custom-registration-fields (1.3.2) & activating. I cant see where to add/edit/delete custom fields anywhere. I can see that some new fields (appears to be medically based) have been added to the Register form. There is admin/custom-registration-fields but the page is blank. Ive restarted NodeBB but that did nothing. Any assistance is greatly appreciated. Thanks Todd
  • Is this working?

    2
    0 Votes
    2 Posts
    1k Views
    JenklerJ
    Take a look at mine plugin. Maybe this could be something for you https://github.com/Jenkler/nodebb-widget-minecraft-stats It uses the minecraft files directly. I intend to rewrite it in the future but it will do for now. It should be compatible with all minecraft server
  • nodebb-plugin-emoji-one is broken!

    6
    0 Votes
    6 Posts
    2k Views
    JenklerJ
    OK, Default version npm i nodebb-plugin-emoji-one
  • nodebb-plugin-emailer-smtp-complete problem

    1
    0 Votes
    1 Posts
    887 Views
    J
    I setup nodebb-plugin-emailer-smtp-complete in order to send my email to a local postfix relay but it fails when you do not use auth. I created an issue on the plugin's github, but have noreal idea how to fix or I would make a pull request. https://github.com/DoubleDash/nodebb-plugin-emailer-smtp-complete/issues/3