Skip to content

NodeBB Plugins

Discussion regarding NodeBB Plugin development.

1.8k Topics 15.0k Posts
Most Voted Plugins

Subcategories


  • Have a question about building a plugin? Ask here
    426 Topics
    2k Posts
    starkorebaS

    Hello, first of' thanks for the amazing work !
    For the context: I'm a junior developer from France, so excuse my english (and my limited understanding of everything lol). I was looking for a software alternative to build a forum RPG. I just installed NodeBB on Ubuntu 20 (Focal) working on WSL 2. I'm using redis and want to write plugin using typescript.

    It would be great to have a guide version of the Quickstart plugin in typescript !
    I know its possible to write plugin in typescript, the emoji plugin does that. But it would save me so much time to have a guide that explain the extra step we need to do in order of compiler and make it work on NodeBB.

    Here's my questions tho:

    Is it in the roadmap team of NodeBB to document how to write plugin in typescript? Did the team plan to write a typescript version of NodeBB?

    Although it would be great to have some more advanced example right in the documentation on how to do something and what are the step to make it work.
    Like here : https://community.nodebb.org/topic/16994/how-do-i-add-custom-user-fields-to-my-theme

    Like "if I want to add/ change something, I have to think of the scope of this features and what's need to be modify in other file to be working properly". Or at least, say it in the documentation a little bit more straightforward. So that beginner will understand that first sight. But I think examples are more worthy than tons of words.

    Is it possible for beginner to contribute on the documentation to make it more specific and understandable for beginners, or is it a documentation for more experienced developers and a choice of the team (and don't want to change that)?

    Is it because from a plugin to another, things might be working so differently that it's not worthy to do a more detailed documentation ?

    Because people might be wanted to write plugin over time, mutualisation of knowledge would be great, so that might simplified the process of each developer trying to write plugin have to go throw investigations to understand how NodeBB works before even start to develop the actual plugin.

    For example: How to interact with the database explain in this answer: https://community.nodebb.org/topic/17657/best-way-to-store-plugin-data-in-database-in-context-of-compatibility/2?_=1714543873650 for me this should be in the documentation.

    In conclusion, I feel like in general people agree that it's difficult to start writting plugin without investigate and dive in the structure file of the source code. I'm willing to help on that make it easier to really understand how NodeBB works for developer. So that anyone not familiar with the source code can start almost immediately customization. :emo:

  • Need a plugin developed? Ask here!
    222 Topics
    1k Posts
    barisB

    Plugin doesn't show usernames if they set their status to offline AFAIK

  • 0 Votes
    2 Posts
    1k Views
    MegaM

    It's not an answer to your question but, just in case, for researching hooks better to use Github wiki
    https://github.com/NodeBB/NodeBB/wiki

  • Any user Invitation plugin under development?

    6
    1 Votes
    6 Posts
    3k Views
    E

    totally agreed, this is must have for large forum community

  • 0 Votes
    3 Posts
    2k Views
    P

    Thanks @baris. For some reason it didn't work for me when I started the plugin but it seems to work now.

  • 0 Votes
    3 Posts
    1k Views
    P

    thanks @julian

  • Multi select dropdown in plugin settings?

    19
    0 Votes
    19 Posts
    5k Views
    julianJ

    @pichalite Thanks for helping make NodeBB better! 😄

  • 0 Votes
    5 Posts
    2k Views
    barisB

    Yeah my latest commit addresses that, topics.follow on latest will just follow the topic and there is a new function called topic.toggleFollow that does the old functionality.

  • Ranking System

    2
    0 Votes
    2 Posts
    3k Views
    MegaM

    Probably it isn't what you expected to get as an answer
    https://github.com/NodeBB/NodeBB/wiki/Plugin-Hooks#actionuserset
    https://github.com/NodeBB/NodeBB/blob/8f5bf1a7edc991f7b40c3f8520cec87b8b10b8f8/src/user.js#L159-L196

  • 1 Votes
    16 Posts
    5k Views
    barisB

    Link Preview Image pass the loaded pids to action:posts.loaded · NodeBB/NodeBB@288d507

    Node.js based forum software built for the modern web - pass the loaded pids to action:posts.loaded · NodeBB/NodeBB@288d507

    favicon

    GitHub (github.com)

    You will get the loaded pids in the params of the hook with that commit.

  • 0 Votes
    3 Posts
    2k Views
    A

    exactly!
    Do u have one?

  • Custom Static Pages

    5
    0 Votes
    5 Posts
    3k Views
    J

    @pitaj Thanks!

  • Topic Color

    28
    8 Votes
    28 Posts
    13k Views
    esiaoE

    It's better when the good version of NodeBB is given (dumb me).
    Patch 1.3.1 "compatibility": "^0.5.0" → "compatibility": "^0.6.0"

  • This topic is deleted!

    6
    0 Votes
    6 Posts
    254 Views
  • Twitter stream or tweets widget

    6
    0 Votes
    6 Posts
    2k Views
    3malG3

    @baris said:

    Try this

    <a class="twitter-timeline" href="https://twitter.com/3malG" data-widget-id="507843649955041282">Tweets von @3malG </a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> <script> if(window.twttr !== undefined) { window.twttr.widgets.load($('.motd')[0]); } </script>

    Yes, now it works! Thank you very much!

  • 5 Votes
    80 Posts
    59k Views
    F

    @a_5mith happen on me too..
    I've used the correct version..it does show the settings and new widget area, however nothing happen on homepage except a new forum button appear at menu bar.

  • 0 Votes
    6 Posts
    3k Views
    A

    Usually PHPStorm, but I wiped my HDD when I went over to Windows 10. So at the minute, I'm without one. May try an up to date version of phpstorm, see how it's improved.

  • AdBlock Plugin

    2
    1 Votes
    2 Posts
    2k Views
    ?

    I'm sure you can find an existing script to detect adblockers and display messages in place of ads.

    I haven't looked extensively into it, but this site should have something similar to what you need.

  • 2 Votes
    7 Posts
    3k Views
    G

    @RazorAxis Yes

  • 1 Votes
    1 Posts
    2k Views
    wladistonW

    Sup guys?

    I did a plugin for who wants to keep files on AWS S3. It's good for who keeps the NodeBB on Heroku or others servers that have ephemeral filesystem.
    I wanted to maintain compatibility with NodeBB 0.6.x and nodebb-plugin-s3-uploads doesnt worked for me.

    I will need to increase some features like content access control in the next version.

    Link Preview Image Build software better, together

    GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

    favicon

    GitHub (github.com)

  • 0 Votes
    8 Posts
    4k Views
    A

    @h3ku said:

    @mani @psychobunny
    I dont know why dont work.
    I have NodeBB v0.6.0

    That's probably why, not sure if this plugin was updated to support 0.6.0. Also I'm not sure it was ever designed to parse bbcode on the fly like that. But I could be wrong.

  • mailjet plugin?

    6
    0 Votes
    6 Posts
    3k Views
    P

    @raistlinthewiz try https://github.com/pichalite/nodebb-plugin-emailer-mailjet