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.

  • Custom Javascript nothing happen

    4
    0 Votes
    4 Posts
    361 Views
    H

    @oplik0 said in Custom Javascript nothing happen:

    Disable Cloudflare's Rocket Loader. It breaks things here because it's deferring loading of scripts.

    To do that go on you Cloudflare page to Speed>Optimization and toggle Rocket Loader there.

    I haven't tested it, but you can also try excluding your specific script from asynchronous loading by adding data-cfasync="false" attribute to the script tag, but I think the issue is with jQuery being loaded after your script so I don't think this would fix it (adding this to jQuery script tag should work, but it requires modifying the theme, I think. Or something else in NodeBB code)

    After I turn off the Rocket Loader of Cloudflare, all script works now, thank you very much.

  • This topic is deleted!

    7
    0 Votes
    7 Posts
    29 Views
  • Add user to group, from script / python.

    4
    0 Votes
    4 Posts
    677 Views
    M

    I should use API earlier, i was trying to avoid generating token for each forum but looks like it is the right way of doing it. Thanks for the input.

  • 0 Votes
    4 Posts
    384 Views
    PitaJP

    Installing plugins and themes doesn't work the same on heroku as it does on other servers. You can't just use the ACP to install them because of the way heroku resets. Instead you must install the plugins and themes before pushing the code up to heroku.

    This is why it shows that your theme is activated. The database is persisted across resets of your heroku server. But since the built assets directory in the git repository were created under persona, it resets to that.

  • Ngingx redirect issues

    9
    0 Votes
    9 Posts
    555 Views
    Joey WashburnJ

    @MoJo It does work, except for the admin area, but i have asked that in a seperate post.

    I didnt see anything in the docs about assets and plugins. Ill go look again.

  • Activate the Quill editor

    Unsolved
    5
    0 Votes
    5 Posts
    358 Views
    A

    Anyway lmk what you think.... I would require that I have a reasonable editor for my users. This editor/markdown component is a deal breaker for me, it's awful..... The platform fantastic, this editor.....??? Hopefully I can get Quill working b/c it will be exactly what I need.

  • 0 Votes
    3 Posts
    385 Views
    A

    Ok great, thanks!

  • 0 Votes
    7 Posts
    736 Views
    M

    Weird,

    > use nodebb switched to db nodebb > db.objects.update({ _key: "config" }, { $set: { "maintenanceMode": 1 } }); WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 })

    NodeBB restart.

    It's working, checked APC and the switch is turned on.

    I think i was loged in as administrator before, but i was checking maintenance page in APC and switch was turned off.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    18 Views
  • Cannot update General settings in admin panel

    9
    0 Votes
    9 Posts
    730 Views
    PitaJP

    I assume you've tried rebuilding and restarting.

    That's the whole git status? Nothing about untracked files?

    Can you try upgrading to the latest 1.14.x and trying that?

    I must be missing something. I see no reason why settings/general shouldn't work like everything else.

    Have you tried it without the CDN?

  • This topic is deleted!

    Solved
    3
    0 Votes
    3 Posts
    25 Views
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • 0 Votes
    7 Posts
    752 Views
    E

    @baris I applied and It also worked on the production server. Thanks again.

  • 0 Votes
    8 Posts
    1k Views
    barisB

    @tecy No need 🙂

  • Error installing NodeBB with Mongo

    4
    0 Votes
    4 Posts
    475 Views
    barisB

    MongoDB 4.2.7, nodejs 14.6.0, latest master from nodebb repo.

  • 0 Votes
    9 Posts
    72k Views
    SoulrainS

    @PitaJ said in Error: unable to verify the first certificate. How to fix?:

    You may be able to fix this by changing your email server setup to provide a different certificate, one which embeds the full chain. (Probably fullchain.pem)

    Since postfix was working for every other site on the server, I never thought to try that. But I did and it worked! Thank you very much.

  • 0 Votes
    1 Posts
    390 Views
    Varun Ganesh DV

    I'm using Newsletter plugin. But it shows forum title at the beginning of subject
    How to remove it?
    @administrators

  • How do I fix Nodebb installation errors

    9
    0 Votes
    9 Posts
    902 Views
    S

    Oh, even better. Here it is all updated for NodeBB 1.14 and NodeJS updated as well.

    Link Preview Image Deploying NodeBB 1.14 on CentOS 8 with MongoDB 4.2

    NodeBB is a powerful, open source package for building online communities and forums. We usually recommend running it on CentOS 8, primarily because of the n...

    favicon

    MangoLassi (mangolassi.it)

  • Write API - Adding users to groups

    1
    0 Votes
    1 Posts
    220 Views
    B

    Hello,

    I wonder if you can help.

    We are currently in the process of integrating NodeBB into our game server, when a player creates an organisation, adds members, deletes organisation, we are making the corresponding calls to NodeBB write api to do the above.

    We only want groups to be managed from game side rather than nodebb side (unless absolutely necessary by admins if there is an issue).

    Unfortunately, when we add a member to group, it gives them the group owner 'star' and allows them to manage the group on the forum.

    Is there a way to disable this?

    Thanks in advance.