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.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • 0 Votes
    5 Posts
    607 Views
    Q

    Ugh. I spoke too soon. If I refresh the page, the href tag disappears!

    That's really weird.....🤔

    EDIT:

    I upgraded to v1.12.0 and the problem disappeared (and none of my plugins broke either).

    Let us never speak of this again... 👍

  • test

    1
    0 Votes
    1 Posts
    187 Views
    slipknotS

    01dec5e1-84a5-4f35-9a40-b3bbf02b26a5-imagen.png

  • do not leave user input fields

    1
    0 Votes
    1 Posts
    223 Views
    slipknotS

    I just compile the project and raise the db but when I go to connect, the login is empty, which may be the problem and there is no error in the console
    Sin título.jpg

  • 0 Votes
    1 Posts
    253 Views
    Jordan DenisonJ

    I was wondering if there are any other editors available that are non-markdown that still allow for file uploads (pdf/doc) and not just image. I have tried the Redactor editor, but it seems to only supports images (if you upload a different file type other than image, it appears in the editor as a broken link image instead of link with the filename).

    Thanks,

    Jordan

  • where are files of skins store?

    2
    0 Votes
    2 Posts
    308 Views
    TiktakT

    found by searching in Ubuntu. it's in
    /home/yourUserName/nodebb/build/public/

  • 1 Votes
    8 Posts
    3k Views
    A

    @Master the link doesn't work now... 😞

  • Configure Apache Web Server for NodeBB

    1
    0 Votes
    1 Posts
    274 Views
    NIXKnightN

    I am trying to configure NodeBB on a site with /forum URI of the site serving NodeBB. Here is my configuration:

    Protocols h2 http/1.1 ProxyRequests off <Location /forum> RequestHeader set X-Forwarded-Proto "http" ProxyPreserveHost On ProxyPass http://localhost:4567 ProxyPassReverse http://localhost:4567 RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://localhost:4567/$1 [P,L] </Location>

    However, NodeBB does not load completely. I am unable to load other assets of NodeBB. Can someone help out with this?

  • How to immediately show the display picture?

    3
    1 Votes
    3 Posts
    362 Views
    TiktakT

    cloudflare is not a problem because I tested that by disabling it. I use nginx, but I am not sure there is a problem with that.

  • Bounced emails

    13
    0 Votes
    13 Posts
    1k Views
    S

    @djensen47 said in Bounced emails:

    @scottalanmiller said in Bounced emails:

    @djensen47 said in Bounced emails:

    Any thoughts here? Anybody? Is there any user setting or database record that basically says, "do not send mail to this account?"

    Yes, my users control this for themselves.

    But if the email is bouncing; I don't want to leave it to the user who may never actually come back. I have a user base of 12k going back as far as 2003. 😉

    Understandable, maybe get a list from your email provider of what is bouncing, then write a script to pull those from the database?

  • 0 Votes
    2 Posts
    496 Views
    S

    There is a filter for unlinked assets that nothing is using. If it is not under there, it is in use somewhere.

  • Help, 502 bad gateway

    2
    1 Votes
    2 Posts
    331 Views
    S

    So this sounds like Nginx is up, but NodeBB is down. Check your logs, what do they tell you has happened?

  • config.json changes after ./nodebb setup

    2
    0 Votes
    2 Posts
    610 Views
    barisB

    Probably expected since ./nodebb setup writes config.json any reason why you are runnig ./nodebb setup when you already have a config.json?

  • How do I manually re-send the digest?

    3
    0 Votes
    3 Posts
    325 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
    276 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
    530 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
    398 Views
    S

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

  • 0 Votes
    2 Posts
    304 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
    518 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?