Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.1k 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
    196 Posts
    phenomlabP

    @baris updated to 3.7.2 and now just waiting for the plugin to be updated.

  • The favicon and other don't update

    Solved
    16
    0 Votes
    16 Posts
    218 Views
    MichaelwuM

    It's still but if I changed a theme it will be Okay.

  • 0 Votes
    23 Posts
    670 Views
    barisB

    That field is passed to https://github.com/expressjs/cors#configuration-options, you might be able to just leave it out If not specified, defaults to reflecting the headers specified in the request's Access-Control-Request-Headers header.

    Did you try changing your url field in config.json to http://127.0.0.1:4567? And change the connection code to also use 127.0.0.1:4567 instead of localhost.

  • Can NodeBB run on NGINX?

    Solved
    3
    0 Votes
    3 Posts
    93 Views
    David SargradD

    @PitaJ Ty!

  • Search user private chats as administrator

    Solved
    4
    0 Votes
    4 Posts
    111 Views
    B

    Thank you both and apologies for the delay!

    I will try them both out.

  • Running NodeBB on multiple VMs?

    Unsolved
    5
    0 Votes
    5 Posts
    268 Views
    B

    @o-o - I was not able to make fly.io work. Unfortunately I don't remember all the details, but effectively fly.io and NodeBB were working under different assumptions as far as local resources were concerned. Upon idle my fly machine would lose track of the fly database, and upon restart it would attempt to restart NodeBB from scratch. Until the idle everything worked fine. But at the end of the day my issue was automatically serving the precompiled Javascript resources that NodeBB presupposes.

    Outsourcing the database to something like S3 might fix the problem. Also, fly.io changes very quickly, and I know others were having the same problems with other frameworks, so they may now have a workaround.

  • Redis dump lost

    Unsolved
    3
    0 Votes
    3 Posts
    53 Views
    T

    Thanks for the quick reply.
    I was pretty sure there was no automatic backup in de NodeBB directory...

    Thanks!

  • 0 Votes
    1 Posts
    60 Views
    J

    We need to get any user's number of unread topics by admin token from our server. And then display this number on another page to notify whom there are new topics to read.
    I have no idea how to implement it after reading the API doc. Could someone please give me some suggestions?

  • 0 Votes
    3 Posts
    72 Views
    David SargradD

    @baris Thanks Much!

  • failed to parse platform

    Unsolved
    1
    0 Votes
    1 Posts
    58 Views
    A

    Hi, i tried to run a nodebb via docker but i got error
    i used https://docs.nodebb.org/installing/cloud/docker/

    root@minifast:~/docker/NodeBB-3.6.1# docker-compose --profile redis up Building nodebb Sending build context to Docker daemon 17.68MB Step 1/25 : FROM --platform=$BUILDPLATFORM node:lts as npm failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument ERROR: Service 'nodebb' failed to build : Build failed root@minifast:~/docker/NodeBB-3.6.1#
  • 2 Votes
    2 Posts
    71 Views
    omegaO

    Not a programmer but I suppose some OS call up like happens when you hit a typical share via email button, this usually that populates a new email using your native OS email client, filling the message body with in signal with appraise link but with blank recipient

  • How to resend an invitation?

    Unsolved
    3
    0 Votes
    3 Posts
    57 Views
    Jon PincusJ

    @phenomlab thanks very much!

  • 0 Votes
    3 Posts
    38 Views
    Spin0usS

    @baris works like a charm. Thank you 👍

  • Template fragment cache for periodically updating?

    Unsolved
    3
    1 Votes
    3 Posts
    70 Views
    o              oO

    As in client side fetch? This is critical HTML that would block renders so that would be pretty bad. It's the header and has some search functionality in it, for example.

    On the other hand, if there was something like a remote-html convention for the widgets that fetched on server and expired the cache automatically, never blocked render, etc... that would be cool but I'm not sure how or where to see how caching works in these kind of cases.

  • Are the latest versions of MongoDB supported?

    Solved
    9
    1 Votes
    9 Posts
    294 Views
    Spin0usS

    I use V7 too on a Debian 11 with no problem.

  • 0 Votes
    3 Posts
    103 Views
    Jon PincusJ

    Thanks much @oplik0 ! I'll have a look at one of the existing plugins and see about adapting it.

  • Nodebb not loading

    Unsolved
    11
    0 Votes
    11 Posts
    324 Views
    CannybirdC

    @julian I was able to achieve HTTPS automatically by installing ssl certificate. Thank you for the follow up.
    https.ssl.JPG
    https.ssl2.JPG

  • Recognizing a new post has arrived via API

    Unsolved
    13
    0 Votes
    13 Posts
    558 Views
    julianJ

    @saikarthikp9 nodebb-plugin-ntfy

  • Share this post "301 moved permanently"

    Unsolved
    3
    0 Votes
    3 Posts
    136 Views
    Naluebet Manpati 0N

    @baris said in Share this post "301 moved permanently":

    @Naluebet-Manpati-0 can you give us some more info about when this is happening?

    01ab2d98-39ff-443e-8555-bca14840c43e-image.png
    Click share facebook post and it's like Facebook can't pull the meta tag.

  • 0 Votes
    14 Posts
    404 Views
    David SargradD

    @PitaJ Ty.. You steered me straight!

  • 0 Votes
    3 Posts
    102 Views
    David SargradD

    @julian Good Ty!