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]
  • Mixpanel People tracking

    4
    0 Votes
    4 Posts
    1k Views
    julianJ
    @vamsi-krishna In that case, you can check out the app.user object in your dev console. app.user.uid gives the logged in user ID, so you can use that for tracking. Keep in mind guests all have a uid of 0, so maybe only fire off tracking if parseInt(app.user.uid, 10) > 0
  • [nodebb-plugin-shoutbox] Add command roll

    1
    1 Votes
    1 Posts
    1k Views
    S
    Hello everybody, I wish I could use the / roll command in the shoutbox, would someone be able to help me? I specify that I am not a developer
  • User Registration and Login (SSO by default)

    Unsolved
    1
    1 Votes
    1 Posts
    1k Views
    H
    Prioritizing SSO seems to make a lot of sense. Simplifies and speeds up authentication and encourages user registration by replacing typing in email/password with simple click/tap and accept. [image: 7F3ehjZ.jpg] It would be nice to have a switch to reverse Email/SSO priority and a link to reveal (unhide) email registration. There is a solution pointed out by @PitaJ but using CSS will not allow auto-translation and may be uncomfortable for some.
  • Is there a plugin for thumbnail preview beside tread titles?

    7
    0 Votes
    7 Posts
    2k Views
    T
    Yes, that's not possible now any longer? I have the settings checked: [image: 0GAuZ0L.png] Though it no longer comes up as an option in the composer? [image: GEcNoso.png]
  • 0 Votes
    1 Posts
    1k Views
    co-ownerC
    [nodebb-plugin-write-api] https://github.com/NodeBB/nodebb-plugin-write-api I would like to POST (send) some form data to a webserver using cURL on a terminal-prompt. This is what I got so far: curl -X POST -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" -H "Authorization: Bearer 7ae9463c-146d-440d-b729-890c73bb9d46" --data "title=I Love You" --data "content=我真的不爱你" --data "cid=1" http://localhost:4567/api/v2/topics pause The problem is that the chinese word ("我真的不爱你") are replaced by "����IJ�����" when I browse the website page.
  • [Solved]error: /assets/templates/admin/plugins/write-api.js

    2
    0 Votes
    2 Posts
    2k Views
    co-ownerC
    Error: ENOENT: no such file or directory, open 'C:\Users\User\Downloads\1.7.x\NodeBB\build\public\templates\admin\plugins\write-api.tpl'
  • Getting logged in uid

    5
    0 Votes
    5 Posts
    2k Views
    PitaJP
    Depending on the plugin hook, the uid is included in the payload.
  • 8 Votes
    4 Posts
    3k Views
    P
    Welcome back @frissdiegurke
  • Custom meta tag and facebook og

    1
    0 Votes
    1 Posts
    798 Views
    C
    Hello, is there a plugin to customize meta tag and facebook og for every post? Thanks
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
  • 0 Votes
    1 Posts
    911 Views
    W
    Hi @psychobunny We are experiencing problems with an add-on. We have previously made a pull request that hasn't been actioned https://github.com/NodeBB/nodebb-rewards-essentials/pulls Here is the plug-in and the issue : https://github.com/NodeBB/nodebb-rewards-essentials I have posted a request to assist fix the issue on our forum. No point if you will never pull the fix.
  • Updating my custom-made plugin issues

    4
    0 Votes
    4 Posts
    1k Views
    barisB
    @giggiux Nope
  • How could I resolve plugin warning about setting "set hookData.html"

    6
    0 Votes
    6 Posts
    2k Views
    JenklerJ
    @baris said in How could I resolve plugin warning about setting "set hookData.html": widget.html = html; Thanks, seams to work
  • 5 Votes
    2 Posts
    2k Views
    barisB
    Just an FYI we are building this into core https://github.com/NodeBB/NodeBB/issues/6158, it will deprecate this plugin and 2 forks https://github.com/dangerusslee/nodebb-plugin-category-sort-by-votes-next and https://github.com/jimmykane/nodebb-plugin-category-sort-by-votes-next
  • How to access req and res objects in hooks?

    6
    0 Votes
    6 Posts
    2k Views
    julianJ
    Yes... adding in continuation local storage is something we really wanted to do, although when @akhoury tried to do it a couple years back, the technology was as-yet still a little immature. Perhaps it is time for us to take a look at it again
  • Django SSO serveur with nodebb sso client

    1
    0 Votes
    1 Posts
    1k Views
    remydevR
    Hello, I'm working on a SSO integration from a django SSO. In my django project i add 'oauth2_provider' https://django-oauth-toolkit.readthedocs.io/en/latest/ And i get this : [image: gRuoX3M.png] On the nodebb side, I started from the plugin https://github.com/julianlam/nodebb-plugin-sso-oauth Which I modified as a result: The config.json file "oauth": { "id": "rs2yEx7aqrj7ZIgVRC9IFL7p0DyIjQwWPST4BqVW", "secret": "6A678EDFqAYtl0sALS5rqk2mfhlBQi0HIgoGH5mPaeIpnZGni8BdOFiv" }, and in the library.js) i change this lignes var constants = Object.freeze({ type: 'oauth2', // Either 'oauth' or 'oauth2' name: 'nodebb_django', // Something unique to your OAuth provider in lowercase, like "github", or "nodebb" oauth: { requestTokenURL: '', accessTokenURL: '', userAuthorizationURL: '', consumerKey: nconf.get('oauth:key'), // don't change this line consumerSecret: nconf.get('oauth:secret'), // don't change this line }, oauth2: { authorizationURL: 'https://beta.esprit-bourse.com/oauth/authorize', tokenURL: 'https://beta.esprit-bourse.com/oauth/token', clientID: nconf.get('oauth:id'), // don't change this line clientSecret: nconf.get('oauth:secret'), // don't change this line }, userRoute: '' // This is the address to your app's "user profile" API endpoint (expects JSON) }), I've never programmed in JS nodes, so I don't really know what to do, and I don't understand all the code. I may have to change the information as indicated. Update profile information (around line 137 of library. js). But there is no user account to use the Oauth system After a git clone, i can't enable the plugin so i think there is something else to change. if someone can help me I will document everything for the link Oauth django/nodeBB. Otherwise, I'll keep the site and forum separate.
  • 2 Votes
    2 Posts
    1k Views
    ShardS
    I'll take a crack at it. Where are you looking to place the tipper?
  • nodebb-plugin-emailer-ses? Not working

    5
    0 Votes
    5 Posts
    2k Views
    S
    @pitaj said in nodebb-plugin-emailer-ses? Not working: There is an SES preset in the admin panel under email settings. Maybe you should try that as well? That is what I ended up using.
  • Approval Topic

    14
    0 Votes
    14 Posts
    4k Views
    barisB
    @andrea-cardinale that's a good idea https://github.com/NodeBB/NodeBB/commit/9a3a5192c4d25fecea0d0002f3892c814ea6380a
  • Is there a wiki plugin for Nodebb?

    1
    0 Votes
    1 Posts
    1k Views
    V
    Hi! I'm searching for a Wiki Plugin/Widget for Nodebb. I'd like to have a Widget/Plugin with which I can see a list of "tools" and if I click one tool, there should be information fields, images and richtext for this specific item. Just like: Tool XYZ Imageslider: [Image] [Image] Name Category Year ... Infotext: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus rhoncus nulla quis interdum feugiat. Sed eleifend mattis urna id dapibus. Morbi pharetra cursus lacus id bibendum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Integer in accumsan erat. Fusce maximus nulla libero, ac tincidunt erat maximus eget. Vestibulum laoreet ex diam, eget euismod augue porttitor eu. Aenean et felis et tortor aliquam eleifend nec non orci. Vivamus quis finibus turpis, sed congue lectus. Mauris eget rhoncus nulla, quis viverra ligula. Proin in magna gravida, malesuada dolor a, bibendum ex. Donec metus eros, dignissim eu lacus ut, volutpat iaculis mauris. Cras hendrerit metus quis nibh pretium suscipit et sit amet eros. Quisque scelerisque turpis erat, ac aliquet justo malesuada non. Aenean suscipit, ligula vitae scelerisque rutrum, massa sapien vulputate sem, eleifend iaculis augue quam in arcu. Sed eget dolor justo. Donec molestie vel tortor sit amet laoreet. Pellentesque ligula orci, venenatis et cursus eget, porta sit amet quam. Is there already something like that? Or do you have an idea how to do it?