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]
  • 1 Votes
    3 Posts
    4k Views
    TelokisT
    And, if you want to bump minor or major version, simply do it in your package.json and the hooks will properly read and process it. Even updating the readme. And a new tag will be created. I didn't know about npm version but this is one step too much for me. I want to update the patch version at each comimt. This may not be optimal for js because it was originally meant to be a C++ thing. I just ported it to js.
  • 0 Votes
    8 Posts
    3k Views
    TelokisT
    @PitaJ No need to submit a PR or so, this can be a plugin! I noticed the action:plugin.* hook which is fired on install/uninstall of a plugin! That's perfect for my needs, it allows me to monitor easily! I can also use Plugins.showInstalled to retrieve the list of plugins currently installed and save it directly on load! And maybe parse the package.json of each plugin to be able to install the exact version that was used.
  • [nodebb-plugin-sso-qq-fix] QQ Login

    1
    1 Votes
    1 Posts
    1k Views
    a632079A
    This is a plugin allows users to login/register via their QQ account. How to get it? npm i install nodebb-plugin-sso-qq-fix NPM: https://www.npmjs.com/package/nodebb-plugin-sso-qq-fix Github:https://github.com/NodeBB-China/nodebb-plugin-sso-qq-fix
  • Is there any plugin can assign "Score" when user post?

    Unsolved
    4
    1 Votes
    4 Posts
    1k Views
    PitaJP
    @Jenkler it's like the bounty system on StackExchange sites.
  • Custom Meta description on posts!

    3
    0 Votes
    3 Posts
    1k Views
    JenklerJ
    I guess this is not needed. The first line in the post is applied to the meta description We learn something everyday
  • How to hide the posts that have been marked "Resolved" in the Plugin Q&A?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    H
    @rod said in How to hide the posts that have been marked "Resolved" in the Plugin Q&A?: Not a direct answer but take a look at @julian's "down voter" plugin, https://github.com/julianlam/nodebb-plugin-dwnvtr You may be able to modify the algorithm to look for something specific to a "resolved" post or you could copy out the opacity bits and add it to the Custom CSS setting area. not have idea for this yet. can someone help to look at this?
  • Is Imgur safe for a long term storage?

    3
    0 Votes
    3 Posts
    2k Views
    R
    Thanks for suggestion...appreciate it
  • Patreon plugin

    1
    0 Votes
    1 Posts
    1k Views
    G
    Hello, I am trying to create an sso plugin for Patreon.com. I posted about this on the generic version of the plugin and Julian Lam told me to fork the google or facebook plugin. I have done so. Now it connects to patreon but I am getting a url mismatch error. Please see my fork for the code I am using: https://github.com/gwhrengineering/nodebb-plugin-sso-facebook/blob/master/library.js I am unsure how to proceed from here. Any help would be greatly appreciated. Thanks
  • 1 Votes
    6 Posts
    3k Views
    julianJ
    @Kinchtwck Full text search is easiest with Latin characters only. Adding Unicode is good but gets much more complicated... I do believe Solr supports Chinese characters and can be installed on the same server as the forum...?
  • Plugin Templates Not Loading - Hello new build system!

    4
    0 Votes
    4 Posts
    2k Views
    J
    Found the solution, It turns out that I had missed this blog post before upgrading to 1.4.x: https://blog.nodebb.org/introducing-the-build-system-in-v1-4-3/ ./nodebb build
  • Help: How to modify the register UI?

    1
    0 Votes
    1 Posts
    804 Views
    T
    Hi guys, Now I start to write my plugin, and I have learned how to hook with "filter:register.build" and add some new input in the hook function, just by: function(params,callback) { params.templateData.regFormEntry.push(phoneInput); // phoneInput is some html input element It works well, but just add a new input in the "Registration Question" location, and I'd like to modify some about the Email Input, like the tip or check logic. So how can I do this? Thanks!
  • [nodebb-plugin-html5videoplayer] Embeds HTML5 Video

    12
    5 Votes
    12 Posts
    5k Views
    CJ InfantinoC
    @Bri I saw that. I am trying to use the ns-embed plugin. I'm assuming that's what we should be using now. Does it support embedding an html player for uploaded videos?
  • Create a plugin!

    4
    0 Votes
    4 Posts
    2k Views
    JenklerJ
    @yariplus Nice short, I will try to update my plugin to the new style Is it easy to read a json file from disk when you visit a page, Lets sat that you have somthing in stuff.json and that file is updated now an then on the disk.
  • Any client-side hook before new topic submit?

    10
    0 Votes
    10 Posts
    4k Views
    barisB
    Maybe we should move those checks after the hook then?
  • Minecraft for Nodebb

    7
    0 Votes
    7 Posts
    2k Views
    JenklerJ
    @yariplus Yeah, that's a better name for it. Maybe this could be a fun todo projekt. It would be easy to fix this in PHP but nodejs is better. Problem is that It takes too long time to for me (write and understand) nodebb and nodejs.
  • Composer Autocomplete and asynchronus replace

    2
    0 Votes
    2 Posts
    1k Views
    barisB
    We use https://github.com/yuku-t/jquery-textcomplete, I don't think it supports async calls in the replace function. You might have to find another way to load that data and use it in the replace function.
  • Debugging frontend js with chrome dev tools

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    PitaJP
    @Qwertyzw you could put a debugger; statement where you want it to break.
  • nodebb-plugin-custom-homepage

    8
    0 Votes
    8 Posts
    3k Views
    JenklerJ
    Now its updated and it works. Small patch, but me == happy anyway. Great work
  • How to write a hovered music player as a plugin?

    2
    0 Votes
    2 Posts
    1k Views
    julianJ
    Oof, that's a lot to ask in one post, which explains why nobody has responded yet Have you tried getting a base plugin made, to open a music player in something like a bootbox.dialog?
  • How to configure plugins?

    6
    0 Votes
    6 Posts
    2k Views
    MirkoM
    Ok, thanks, I'll try once more.