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.

  • How do I manually re-send the digest?

    3
    0 Votes
    3 Posts
    345 Views
    D

    Setting it to more than 2 hours after the original time seemed to work.

  • Incorrect URL after login

    20
    2 Votes
    20 Posts
    2k Views
    W

    @julian I found this: https://github.com/NodeBB/NodeBB/issues/4734
    Using the certbot configuration, I edited /etc/nginx/sites-available/default

    Leaving the certbot managed parts as they are, my custom config looks like this now:

    proxy_set_header X-Forwarded-Proto $scheme; location / { proxy_pass http://127.0.0.1:4567; }

    The special part is the x-forwarded-proto line, that's what I was needing all along.

    And in /home/nodebb/nodebb/config.json I'm setting the URL with https:

    { "url": "https://forums.mydomain.com", "secret": "<REDACTED>", "database": "mongo", "port": "4567", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "nodebb", "password": "<REDACTED>", "database": "nodebb", "uri": "" } }

    This resolved my problem.

  • 0 Votes
    1 Posts
    280 Views
    Vamsi KrishnaV

    Hi everyone
    Currently, all of the pages on my forum have the same meta tags and descriptions, which is the site level tags that I have setup from ACP. Is there any way I can setup meta tags for individual categories and posts?

  • 0 Votes
    4 Posts
    531 Views
    S

    @Thief-Garrett said in Installing along side preexisting intallation of wordpress on Apache2 (ubuntu):

    So what I ended up doing was converting from Apache2 to Nginx and created a server entry for nodebb with SSL. I'm thinking it was primarily the SSL and lack of server block for nodebb causing the forums.example.com to redirect back to example.com

    no need for a server block if they are running independently. I wouldn't recommend both on the same server for other reasons, but there is no reason for them to conflict.

  • 0 Votes
    2 Posts
    402 Views
    S

    Not sure what you mean. What data? Don't they log into NodeBB directly already?

  • 0 Votes
    2 Posts
    308 Views
    PitaJP

    If you have ftp access, you should also have ssh access. If you can connect with ssh, you can access the config object in mongodb.

  • Question with multiple url binding for frp

    4
    0 Votes
    4 Posts
    525 Views
    T

    @thathooo
    By the way, my url setting in config.json is same with url in nginx.conf .

    My status quo is that

    I set the url in config.json and nginx.conf as “https://mysite.top” which DNS response to my IP in LAN for intranet use.
    And for users from the Internet, I do frp to map my nodebb to my vps whose IP is bound to “www.mysite.top” . So I can visit it from internet by https://www.mysite.top .

    And now “mysite.top” is totally normal.
    But “www.mysite.top” occurs incorrect jumping when login in. For example https://www.mysite.top/https://www.mysite.top .

    Is there some way for me to deal with it?

  • Category watch/ignore set default for all users?

    17
    0 Votes
    17 Posts
    2k Views
    barisB

    @djensen47 said in Category watch/ignore set default for all users?:

    @baris So the _key is as you described, the value is the user id, and the score is the watch state?

    That's correct, and the records do not exist until a user explicitly changes the setting on the category page. Until they change it the default from the ACP is used.

    There are 3 possible values. https://github.com/NodeBB/NodeBB/blob/master/src/categories/watch.js#L9

  • Can't get Nginx to work

    7
    0 Votes
    7 Posts
    945 Views
    G

    @PitaJ said in Can't get Nginx to work:

    @Goldrush12 said in Can't get Nginx to work:

    I just tried that without success (yes, I made sure to restart NodeBB). Also, the developer mode doesn't fix the problem (contrary to what's stated in the linked thread).

    Okay, so it must be something else.

    I'm not sure if this has anything to do with the issue, but I had a few errors while setting up NodeBB initially, which I had to address.

    Wow, um, big red flag there. How did you install NodeBB in the first place? It may be wise to start from scratch and reinstall with correct permissions from the get-go. You absolutely should not use sudo to install or run NodeBB. The only installation-related things you need root access for are nginx configuration and maybe changing directory privileges before installing NodeBB.

    What OS are you installing NodeBB on? Are you following any tutorials or instructions?

    My OS is Ubuntu 18.04 and I followed a documentation from your website. I started from scratch and it's running fine now! I assume the guide I used must have been outdated, which led to some errors. I must say that it might make sense to clean up the documentary and make sure that only one version of the installation guide for every OS exists to avoid confusion.

    Thank you for your help! 🙂

  • error upload photo help

    4
    0 Votes
    4 Posts
    365 Views
    FrankMF

    Please check the user rights of the folder upload.

  • Custom Field that User can't edit?

    4
    0 Votes
    4 Posts
    484 Views
    D

    Are there any fields existing that are visible by Admin only?

  • 0 Votes
    10 Posts
    1k Views
    PitaJP

    @wayne-workman I said to run npm install, not ./nodebb install

  • in China,the @ problem

    3
    0 Votes
    3 Posts
    418 Views
    S

    @PitaJ Is it possible to tell the user that "there has to be a space before the @"? I found many users donot aware that and failed to mention others.

    Or is it possible to mention others no matter if there is a space before the @

  • 0 Votes
    3 Posts
    446 Views
    olivierlambertO

    I understand. However, it's very likely users are the same because almost everyone is connecting via external provider (GitHub mainly)

  • payment

    2
    0 Votes
    2 Posts
    287 Views
    julianJ

    Perhaps this plugin would help: https://github.com/psychobunny/nodebb-plugin-paypal-subscriptions

  • How to Downgrade Back to 1.11.x

    11
    0 Votes
    11 Posts
    1k Views
    GeferonG

    I haven't been able to post it yet as i'm very occupied but I will when I can

  • 0 Votes
    4 Posts
    518 Views
    B

    @julian besides spam Warning do we have any answers for the posted questions? It was posted on few threds because there was no answer till now ?any type of possible answer?

  • Absolutely lagging

    Solved
    16
    0 Votes
    16 Posts
    3k Views
    F

    @julian Unfortunately, lost patience and have created indexes like this (without unique parameter)

    db.objects.createIndex({ _key: 1, value: -1 }, { background: true, sparse: true });

    Load speed seems to be back.

    Regarding the pattern of duplicates, its all over the keys e.g the ones i found

    cat last post topic bookmarks user email
  • 0 Votes
    3 Posts
    1k Views
    D

    @jtsimoes Yes, you could call it an e-mail blacklist.

  • 0 Votes
    2 Posts
    464 Views
    julianJ

    Ah, not really... topic subscriptions are considered (in my opinion) user private data, and that is not shared by default.

    You could instruct your users to adjust their settings if they are being notified about a specific topic too often:

    36e3bb18-6c5d-422f-b160-32901d422107-image.png