Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.2k Posts

Subcategories


  • User documentation for NodeBB

    44 Topics
    44 Posts
    Jay MoonahJ

    One of the first important things to do after setting up NodeBB is to set up an emailer plugin. While NodeBB does include a local emailer, if your forum is particularly active we recommend using an third-party emailer such as SendGrid which provides better deliverability for sites that send a high volume of email. Setting up SendGrid in NodeBB is very easy.

    Open the administrative dashboard using the 'gear' icon on your forum. Open the Extend > Plugins menu, and select the Find Plugins tab. Use the search on the right. Type 'SendGrid' and the plugin should appear -- select Install when you see it. From Installed tab on the Plugins menu, search again for 'SendGrid' and select Activate. Activating the plugin will require a restart of your forum. To restart, select the Dashboard menu and press the Restart button to the right. After NodeBB restarts, the SendGrid plugin will be active.

    After you restart, there should be a item called Emailer (SendGrid) under the Plugins menu -- if you don't see this right away, try refreshing your browser.

    Sign up to SendGrid

    Go to the SendGrid website, open the pricing page and scroll to the bottom. Click on the link and create your free account. Once you've confirmed your SendGrid account via email, you should be able to login to the SendGrid website. On the left side of your SendGrid dashboard, open Settings and click on API Keys. Click the button in the top right to create a new key. Make sure that the key has Full Access for Send Mail and Alerts. ย When you are done, the new key to your clipboard.

    Now, return to the SendGrid menu on your NodeBB admin panel. Paste the API key into the field, and save your changes. Now go back to the Dashboard to restart your forum one more time.

    SendGrid should now be working for your forum.

    YouTubeย Setting up SendGrid mailer for NodeBB

  • NodeBB guides, how-to's and general tips and tricks

    82 Topics
    599 Posts
    barisB

    Quick start plugin has an example on how to add a new api route https://github.com/NodeBB/nodebb-plugin-quickstart/blob/master/library.js#L40-L76.

    The hooks that are fired client side are for client side code in plugins. If you want to pass data from the client to the server you have two options.

    Create an api route like in quick start plugin Create a new socket event listener on the server side and use socket.emit() client side. Example here
  • 25 Topics
    201 Posts
    eeeeeE

    I think you answered my point, by agreeing there are issues.
    I didn't even attempt to deploy nodebb, I had problems with much smaller projects!
    Nextjs routing was going through a change of design at the time, so perhaps that is less confusing now, but there were multiple other headaches. I would get build errors and issues with package management.

  • Invite e-mails not arriving

    Unsolved
    3
    0 Votes
    3 Posts
    166 Views
    Eduardo SilvaE

    @dave1904 Great, tks!

  • Forum: Can not "Mark As Read" with keyboard

    Unsolved
    7
    1 Votes
    7 Posts
    331 Views
    barisB

    You should be able to hit tab to go to the dropdown list and then use the arrow keys to navigate.

  • 0 Votes
    5 Posts
    238 Views
    DownPWD

    While waiting for version 3.5.0 which will add the new containers, we have solved the problem like this (with the help of @phenomlab ๐Ÿ™‚ )

    if ($(window).width() <= 991) { // Check if the custom thread view button already exists in the bottom bar //$buttonContainer = $('.bottombar-nav.p-2.text-dark.bg-light.d-flex.justify-content-between.align-items-center.w-100'); if ($("#logged-in-menu").length > 0) { var buttonContainer = $('.bottombar-nav ul#logged-in-menu'); } else { var buttonContainer = $('.bottombar-nav ul#logged-out-menu'); } // Prepend the button to the selected container buttonContainer.prepend(threadViewButton); }
  • 0 Votes
    5 Posts
    223 Views
    G

    @phenomlab seems everything is fine? the whole config is a bit complicated with some very very secret things, so I may not able to show it here ๐Ÿ˜ž

  • use Redis cache instead of in memory cache

    Unsolved
    7
    0 Votes
    7 Posts
    304 Views
    barisB

    @oplik0 yeah that's true, if they override lru cache then it would apply to most of the caches, but again it is probably not worth it and might slow things down.

  • 0 Votes
    5 Posts
    909 Views
    julianJ

    Currently posts.changeOwner socket call will let you change the owner of a post to a new user. There is no API call for this yet.

  • Necro function - DOM changes

    Solved
    7
    0 Votes
    7 Posts
    265 Views
    phenomlabP

    @baris Good spot - that works!

    Thanks

  • Global moderators unable to change email addresses

    Unsolved
    2
    1 Votes
    2 Posts
    116 Views
    barisB

    @alejandrocobo thanks for reporting. I created an issue to track https://github.com/NodeBB/NodeBB/issues/12057

  • NTFY: NodeBB

    24
    0 Votes
    24 Posts
    2k Views
    phenomlabP

    @julian Confirmed working - thanks.

  • 0 Votes
    4 Posts
    189 Views
    phenomlabP

    @tecy Happy to help. I am a "former" Plesk user so understand all of it's nuances!

  • 0 Votes
    7 Posts
    388 Views
    tecyT

    Hi folks,

    I am grateful, that I can give something back to the community.
    This is only the short excerpt of the console.
    But the forum is working ๐Ÿ˜„

    Basically, I was just installing the modules, which nodebb meant where missing.
    that did the job.

    This is my solution,
    may it be helpful to others.

    $ ./nodebb upgrade Error: Cannot find module '/opt/nodebb/node_modules/request-promise-native/lib/rp.js'. $ npm install request-promise-native $ ./nodebb upgrade error: uncaughtException: Cannot find module 'request-promise-core/configure/request2' $ npm install request-promise-core $ ./nodebb upgrade error: Error: Cannot find module 'stealthy-require' $ npm install stealthy-require NodeBB v3.4.2 Copyright (C) 2013-2023 NodeBB Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. For the full license, please visit: http://www.gnu.org/copyleft/gpl.html Clustering enabled: Spinning up 1 process(es). 2023-09-27T12:18:09.201Z [4567/2922161] - info: Initializing NodeBB v3.4.2 [...] 2023-09-27T12:18:11.071Z [4567/2922161] - info: [api] Adding 0 route(s) to `api/v3/plugins` 2023-09-27T12:18:11.087Z [4567/2922161] - info: [router] Routes added 2023-09-27T12:18:11.090Z [4567/2922161] - info: ๐ŸŽ‰ NodeBB Ready 2023-09-27T12:18:11.091Z [4567/2922161] - info: ๐Ÿค Enabling 'trust proxy' 2023-09-27T12:18:11.093Z [4567/2922161] - info: ๐Ÿ“ก NodeBB is now listening on: 0.0.0.0:4567 2023-09-27T12:18:11.093Z [4567/2922161] - info: ๐Ÿ”— Canonical URL:
  • Simplemachines (SMF) 2.1.x import?

    Unsolved
    4
    0 Votes
    4 Posts
    259 Views
    oplik0O

    @Themistocles-Papassilekas said in Simplemachines (SMF) 2.1.x import?:

    However, are you talking about some specific SMF exporter? I haven't seen any on the SMF side!

    They're probably talking about nodebb-plugin-import which works alongside an exporter plugin like nodebb-plugin-import-smf by providing a common API for the exporters to use (and yeah, exporter plugins have import in the name... Makes a bit of sense since nodebb-plugin-export-smf would suggest it's exporting to SMF, but it's still a bit weird)

    I'm not sure how well maintained that is honestly, but NodeBB database schema hasn't seen any major changes in the last few years - still, the best idea might be to follow what the readme offers, install NodeBB 1.12.1, import data from SMF and then upgrade NodeBB to 3.x. Though note that you'll probably want to switch to Harmony theme after upgrading, since you'll be defaulted to the old Persona theme ๐Ÿ™‚

    The bigger question is whether the SMF plugin will work with 2.1.4, since it was tested on 2.0.3 and hasn't been updated in the last few years

  • Markdown and Composer plugins error

    Unsolved
    3
    0 Votes
    3 Posts
    169 Views
    Axen QexsaA

    I was just restarting, but now I'm going to rebuild. Seeing a Turkish admin makes me very happy

  • Forum content keeps getting deleted

    Unsolved
    9
    0 Votes
    9 Posts
    369 Views
    phenomlabP

    @PitaJ Yes, only use Redis for Clustering - DB is Mongo ๐Ÿ™‚

  • Action event (client side) for creating and updating posts

    Unsolved
    23
    0 Votes
    23 Posts
    1k Views
    phenomlabP

    @baris Perfect! Thanks ๐Ÿ™‚

  • How to add a panel of users and connected in real time?

    Unsolved
    2
    0 Votes
    2 Posts
    130 Views
    barisB

    Only I see that there is an option to add a panel on the home page with how many are registered and how many are connected in real time and a few other things, and I don't know how to add it.

    Can you share a screenshot of this? It sounds like the board stats widget

  • csrf invalid - socket.io

    Solved
    12
    0 Votes
    12 Posts
    548 Views
    julianJ

    To be honest NodeBB shouldn't require the reverse proxy to pass the protocol in, I will have to take a closer look as to why that is needed.

  • 0 Votes
    7 Posts
    283 Views
    L

    @baris Thanks a lot, it's working now ^_^
    I will wait for the RSS plugin ๐Ÿ™‚

  • Testing Ultrawide Mode

    Unsolved
    6
    0 Votes
    6 Posts
    185 Views
    DownPWD

    seems this distorts the recent card, I have the impression that I cannot widen the reading area without the div where the Recent Card is present ? right @phenomlab ?

  • Session Mismatch errors

    Unsolved
    7
    0 Votes
    7 Posts
    272 Views
    R

    It finally happened again, Looks like app.user.uid doesn't match the logged in user uid as app.user.id is set to 0 while the uid is 2.
    It all starts working again as soon as I flush the Cloudflare cache.
    Where are the app values gettting set?

    screenshot-app.datadoghq.com-2023.09.14-17_35_09.png