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
    440 Topics
    2k Posts
    barisB
    You could use the below custom javascript, it will open the last chat if there is no open chat. $(window).on('action:ajaxify.end', async () => { const { data } = ajaxify; if (data.template.chats && !data.template.roomId && data.rooms.length) { const Chats = await app.require('forum/chats'); Chats.switchChat(data.rooms[0].roomId); } });
  • Need a plugin developed? Ask here!
    223 Topics
    1k Posts
    Silver.meS
    I am willing to pay whatever it takes, $30 max.
  • Include XRegExp unicode-categories.js client-side

    9
    0 Votes
    9 Posts
    1k Views
    julianJ
    Ha! Yeah I hear you. Every time I load up a regex library I feel like there ought to be a better way... luckily I'm at least semi-proficient at writing a regular expression, but don't ask me to make sense of one after a week's time LOL
  • Forcing UID value

    68
    0 Votes
    68 Posts
    12k Views
    SimosS
    @Simos said in Forcing UID value: https://github.com/SimosNap/nodebb-plugin-login-anope/blob/master/library.js#L116 it look it can't change email what's wrong ? Does nodebb make some check on invalid emails ?
  • How do I make a category "read-only" and private categories

    5
    2 Votes
    5 Posts
    1k Views
    kfirbaK
    @PitaJ Thanks! [image: thank-you-2.jpg]
  • nodebb-plugin-login-mysite fork

    1
    0 Votes
    1 Posts
    419 Views
    SimosS
    I've just made a fork of nodebb-plugin-login-mysite and modified to use my api to login. It work fine but i've a problem, a user can change on main database both his email and his username, and in this case nodebb will make a new account on next login. The only thing wich can't change on main db is uid , any hint to solve this problem ? Sorry for my bad english.
  • 7 Votes
    6 Posts
    2k Views
    F
    Is this still working fine with node bb latest version?
  • 0 Votes
    6 Posts
    2k Views
    julianJ
    @JavadocMD I believe that is doable, yes. Please contact us at [email protected] and reference this topic in your message
  • Custom homepage plugin not working

    4
    0 Votes
    4 Posts
    756 Views
    julianJ
    Can you repro these on a brand new install of 1.10.2? How about 1.10.1?
  • Override login screen to redirect directly to sso page.

    5
    0 Votes
    5 Posts
    2k Views
    K
    That's perfect. Thanks
  • Topic POST Limits for nodebb-plugin-write-api

    3
    0 Votes
    3 Posts
    1k Views
    julianJ
    That's the one, just disable the new user restrictions temporarily and import away
  • Add page in user profile

    13
    0 Votes
    13 Posts
    5k Views
    julianJ
    You either request the data with socket.io, or you put it in the template data when you render the page itself. If it's in the page template itself, it is accessible on the client side via ajaxify.data Chart.js you can get on the client side via require(['Chart'], function (Chart) { ... });
  • Badge-like Plugin for Forum Patrons?

    6
    0 Votes
    6 Posts
    2k Views
    barisB
    Yes it was added in 1.9.0 https://github.com/NodeBB/NodeBB/issues/6433
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • Error with nodebb-plugin-markdown

    6
    0 Votes
    6 Posts
    1k Views
    dannydk6 0D
    That did the trick. Now nodebb-plugin-markdown is working great after pulling the latest updates from the NodeBB repository !!!
  • Error in using nodebb-plugin-sso-auth0

    1
    0 Votes
    1 Posts
    424 Views
    K
    I just installed nodebb-plugin-sso-auth0 and created an app at Auth0. After successfull login at Auth0, when redirected, i get the following error. No restart or build helped. Any suggesstions for the prorblem? nodebb-plugin-sso-auth0 Internal Error. Oops! Looks like something went wrong! /auth/auth0/callback undefined
  • /auth/auth0/callback undefined for auth0 Plugin

    1
    0 Votes
    1 Posts
    428 Views
    K
    I just installed nodebb-plugin-sso-auth0 and created an app at Auth0. After successfull login at Auth0, when redirected, i get the following error. No restart or build helped. Any suggesstions for the prorblem? nodebb-plugin-sso-auth0 Internal Error. Oops! Looks like something went wrong! /auth/auth0/callback undefined
  • [nodebb-plugin-cash] Cash MOD

    44
    4 Votes
    44 Posts
    27k Views
    M
    This is not working anymore on my NodeBB 1.10.1 and 1.10.2. The page in ACP does not work anymore.
  • What plugin does this with links

    3
    0 Votes
    3 Posts
    740 Views
    J
    @PitaJ said in What plugin does this with links: That doesn't seem right. It's the iframely plugin, I don't know why it's using window.open instead of just target=_blank. Maybe some kind of tracking thing? Well I don’t use that plugin. So, not sure where to look to isolate for a bug report.
  • [nodebb-plugin-prometheus] Prometheus Monitoring for NodeBB

    19
    7 Votes
    19 Posts
    4k Views
    D
    I just release version 0.3.0 of this plugin. The following changes have been implemented: Using action:analytics.increment for analytics counter (better performance and accuracy) Added label viewer to page view that can have the values user, guest, or bot (inspired by an upcoming change in 1.11, you get it early here) Added new metric nodebb_online_guests Added new metric nodebb_eventloop_lag_seconds. This is measured by NodeBB which has a smoothing factored compared to what is measured by NodeJS and provided via nodejs_eventloop_lag_seconds Added new metric nodebb_eventloop_maxlag_seconds. This is the maximum allowed lag for NodeBB. If the lag is getting closer to this value NodeBB will start to issue 503 error codes. The chance a user is getting a 503 is calculate by this formula: (lag - maxLage) / maxLag. @Per0x Sorry it took a while but your metric for online guests is now finally available.
  • Is the official blog avaible to use?

    3
    0 Votes
    3 Posts
    1k Views
    0
    Thank you @baris It's good to know that. Use this together with NodeBB seems awesome.
  • nodebb-plugin-write-api - add custom user fields

    5
    0 Votes
    5 Posts
    2k Views
    barisB
    @hearsedriver Glad you figured it out