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
    445 Topics
    2k Posts
    julianJ
    @fahx00s if your other server is using oauth2, then use sso-oauth2-multiple plugin
  • Need a plugin developed? Ask here!
    227 Topics
    1k Posts
    nhl.plN
    Such up and downs are normal for all search engines. But it still interesting to see. I think NodeBB team is able to find eventual issues. Thank you for mentioning Bing.
  • Interested in writing a plugin?

    Pinned Locked
    1
    11 Votes
    1 Posts
    9k Views
    julianJ
    Please take a look at the official Plugin Writing Guide
  • [nodebb-plugin-link-preview] Rich Embeds and Link Previews

    65
    7 Votes
    65 Posts
    7k Views
    sketchucationS
    @julian thanks for your help. we'll jump on that 2moro and report any issues
  • 6 Votes
    1 Posts
    93 Views
    julianJ
    NodeBB's topic list layout is great for written and media-light content, although it is less ideal for categories which predominately feature pictures. I recently ran into this issue with the Pics and Trips category on the OpenBeta Community. While we've made some much-needed TLC and improvements so that topic thumbnails are better handled and displayed, I did not feel they were adequately prioritised for this particular category. So I wrote the Category Masonry plugin for NodeBB! [image: 1734625210426-screenshot-2024-12-19-at-11-01-07-pics-and-trips-openbeta-forums.png] In brief: Configurable; either by category or by percentage of topics with a topic thumbnail/image Overrides the partials/topic_list.tpl template to display cards Works with custom themes (will correctly override the theme's category.tpl, or the base theme's category.tpl if your theme does not have its own)
  • [nodebb-plugin-autothumb] How can I associate the topic to the thumbnail

    6
    0 Votes
    6 Posts
    181 Views
    julianJ
    @busker Keep in mind that this encompasses uploaded media only. Externally linked media is excluded (so, giphy embeds would be an example that would not be included). Edit: filter:topics.hasThumbs has been added (in addition to already-added filter:topics.getThumbs) so that plugins can append images to the thumbnail list.
  • [nodebb-plugin-search-elasticsearch] Elasticsearch Search

    9
    2 Votes
    9 Posts
    4k Views
    루루
    https://github.com/q8888620002/nodebb-plugin-elasticsearch#readme Does anyone know if the elasticsearch plugin is currently working? This plugin has commit history up to 2017. Or is the meilisearch plugin the latest? Should I use https://github.com/oplik0/nodebb-plugin-meilisearch? I need to implement Korean search, so I need (additionally) a search function in addition to nodebb-plugin-dbsearch.
  • nodebb custom plugin does not work

    3
    0 Votes
    3 Posts
    80 Views
    barisB
    @fahx00s post your custom plugin on github so we can see the code. If the client side js isn't executed properly that's likely a build issue.
  • [nodebb-plugin-openai] NodeBB OpenAI Plugin

    25
    +1
    4 Votes
    25 Posts
    2k Views
    kainosK
    I did all, but I can not find ChatGPT to chat with it
  • There is some questions when I use the nodebb-plugin-composer-quill

    13
    +1
    0 Votes
    13 Posts
    377 Views
    N
    @baris said in There is some questions when I use the nodebb-plugin-composer-quill: Do you have any error messages during build or in the browser console? What is the output of ./nodebb plugins? Sorry I am only replying now. I didn't get a notification that you had responded There are no error messages. The funny thing is that it works when I reactivate the default composer just with a few options not working such as uploads. [image: 1732950381974-screenshot-2024-11-30-090510.png] Here is the output of './nodebb plugins' [image: 1732950578130-screenshot-2024-11-30-090906.png]
  • 0 Votes
    1 Posts
    41 Views
    juseJ
    issues I wanted to implement DOM hook-like functionality for post pages, so I found this plugin called [nodebb-plugin-markdown-toc] But issues came up.... Since I don’t know how to write plugins and I’m not very familiar with the Harmony template, I can’t modify the front-end display of this plugin to look the way I want it to. Does anyone have any good ideas on how to modify it to make it look more appropriate? my css now /*********TOC*******/ .toc{background-color:var(--bs-container-background-color);border:1px solid #374646;box-shadow:2px 2px 3px rgba(0,0,0,0.1882352941);font-size:0.8rem !important;margin-bottom:1rem;border:1px solid rgba(0,0,0,0.125);border-radius:0.25rem;position:fixed;top:285px;left:-185px;margin-left:240px;min-width:120px;max-width:260px;padding-bottom:5px;display:inline-block;z-index:100;max-height:640px;overflow-x:hidden;overflow-y:overlay;transition:scrollbar-color 0.3s ease-out} .toc::before{content:"主题目录:";line-height:20px;text-decoration:none;text-indent:2em;margin-bottom:5px;padding:0px;font-size:12px;background-color:rgba(0,0,0,0.03);border-top:1px solid rgba(0,0,0,0.125);border-bottom:1px solid rgba(0,0,0,0.06);display:block;height:20px} .toc a{color:var(--bs-body-color-bright,var(--base06,var(--bs-body-color)))} .toc a{background:none!important;text-decoration:none!important} .toc ul{padding:0px!important;margin-bottom:0px!important;} .toc ul ul{padding-left:0.8rem!important} .toc li{list-style-position:inside;display:block;overflow:hidden;padding-right:6px!important;list-style-type:disc!important} .toc li{border-bottom:1px solid rgba(0,0,0,0.06)} .toc li li{border:none!important} .tocli a{text-decoration:none!important;word-break:break-all;word-break:break-all;overflow:hidden} .toc::-webkit-scrollbar{width:8px} .toc::-webkit-scrollbar-track{background:gba(248,249,250,0.8);border-radius:100px} .toc::-webkit-scrollbar-thumb{background-image:linear-gradient(180deg,#D0368A 0%,#708AD4 99%);box-shadow:inset 2px 2px 5px 0 rgba(#fff,0.5);border-radius:100px} @media(max-width:600px){.toc{position:unset;margin:3px auto;width:100%;min-width:50%!important;max-width:98%!important;border:1px solid #ddd;font-size:12px!important;font-family:nb,"microsoft yahei light"!important;display:inline-block} } Preview [image: 1732814143016-snipaste_2024-11-29_01-15-32.png] [image: 1732814192898-snipaste_2024-11-29_01-16-21.png] My website Preview https://bbs.aiink.cn/topic/10 https://bbs.aiink.cn/post/37 https://bbs.aiink.cn/topic/3
  • Change Author & Ownership Plugin

    3
    0 Votes
    3 Posts
    82 Views
    kainosK
    @baris said in Change Author & Ownership Plugin: You can change the owner of posts from the post tools menu, no need for a plugin. Thanks @baris, I haven't installed nodebb yet, that's why I'm asking. So like discourse has an option "change ownership", nodebb too.
  • [nodebb-plugin-user-level] User levels plugin

    27
    +2
    7 Votes
    27 Posts
    3k Views
    juseJ
    @julian already add file https://github.com/ijuse/nodebb-plugin-user-level [image: 1732376288993-snipaste_2024-11-23_23-36-54.png]
  • Question about reworking the nodebb-plugin-charts plugin.

    11
    0 Votes
    11 Posts
    238 Views
    barisB
    It is already in plugin.json https://github.com/svandecappelle/nodebb-plugin-charts/blob/master/plugin.json#L11-L13 so it should be bundled into nodebb.min.css
  • Twitter Embed Solution Possible? - ns-embed & embed plugins

    11
    0 Votes
    11 Posts
    1k Views
    DownPWD
    @phenomlab said in Twitter Embed Solution Possible? - ns-embed & embed plugins: @torn2 No plugin to my knowledge, which is why I wrote this https://sudonix.org/topic/642/nodebb-twitter-x-embeds Not a plugin per-se but minimal code + css, and easy to setup. A better solution and works perfectly
  • [nodebb-plugin-cards] Show cards when hovering over user links!

    125
    20 Votes
    125 Posts
    97k Views
    TapuzHT
    @phenomlab Oh thanks alot! That's great help. Real nice plugin of yours.
  • 0 Votes
    4 Posts
    148 Views
    K
    @julian When recording a large file, the disk is used. The file is first downloaded to the disk, and then written to the storage. During recording, you can see how the disk space is decreasing. After writing to the storage, free space is returned. I have very little space on my VDS. Is there any way to make the file be written in pieces through a buffer in memory?
  • SSO SAML

    1
    0 Votes
    1 Posts
    164 Views
    N
    I Need to impliment the saml in my nodebb forum and i have created a plugin for that and im getting the response of the saml on my code but i'm not able to do the user login or signup with that, i have confussion on that what hook's or plugin i need to use to make that login or signup work. i'm also sharing my code so that you can help better. @baris @julian router.post('/assert', async function (req, res) { const decodedResponse = Buffer.from(req.body.SAMLResponse, 'base64').toString('utf-8'); const parser = new xml2js.Parser(); const saml_response = await parser.parseStringPromise(decodedResponse); const issuer = saml_response['saml2p:Response']['saml2:Issuer'][0]; const assertion = saml_response['saml2p:Response']['saml2:Assertion'][0]; const subject = assertion['saml2:Subject'][0]; const nameId = subject['saml2:NameID'][0]; const existingUser = await User.getUidByEmail(nameId._); if (existingUser) { await authenticationController.onSuccessfulLogin(req, existingUser.uid); return res.redirect('/home'); } else { // Create a new user const newUser = { fullname: 'testfullname', username: 'testfullname', email: nameId._, created_at: new Date(), }; const result = await db.client.collection('objects').insertOne(newUser); if (result.insertedId) { await User.setUserField(result.insertedId, 'email', newUser.email); // await UserEmail.confirmByUid(result.insertedId); await authenticationController.onSuccessfulLogin(req, result.insertedId); return res.redirect('/'); } else { return res.status(500).send('Error creating new user.'); } } });
  • [nodebb-plugin-feed] NodeBB Feed Plugin

    19
    +0
    7 Votes
    19 Posts
    4k Views
    barisB
    @dave1904 thanks for reporting, fixed in 3.1.27.
  • Hide links to guests

    11
    8 Votes
    11 Posts
    2k Views
    DownPWD
    Indeed it could be interesting to maintain this plugin.
  • [nodebb-plugin-ns-embed] NS Embed

    137
    7 Votes
    137 Posts
    62k Views
    K
    Is this plugin compatible with 3.x? Any active development as far as you can tell?
  • 0 Votes
    4 Posts
    160 Views
    barisB
    The plugin should have two settings one for masked works one for preventing the post.