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
    196 Posts
    phenomlabP

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

  • 0 Votes
    8 Posts
    795 Views
    PitaJP

    I don't think that commit has been released yet, which would explain why you'd still have the error. You could have just cherry-picked that commit you linked, but what you did works as well. It might just end up conflicting with future upgrades.

  • 0 Votes
    5 Posts
    553 Views
    barisB

    Link Preview Image search icon doesn't function after login or logout · Issue #7236 · NodeBB/NodeBB

    https://community.nodebb.org/topic/13551/click-on-search-magnifier-leads-to-login-but-if-logged-in-search-magnifier-does-nothing-after-clicked

    favicon

    GitHub (github.com)

  • Badges showing only randomized

    4
    0 Votes
    4 Posts
    429 Views
    PitaJP

    You can't change the groups you're a part of, but you can choose which badges show up with your avatar.

    Go to https://community.nodebb.org/me/edit and you'll see a "Group Title" select box. That's where you configure which titles show up below your avatar.

  • Hosting NodeBB on bare metal EC2

    5
    0 Votes
    5 Posts
    577 Views
    R

    Thank you.

  • Old Pic Showing Instead of New Pic

    1
    0 Votes
    1 Posts
    154 Views
    SaeedS

    Hi, there is an issue of new pic not showing when uploaded. Instead the old pic from cache is showing. The new pic only shows once I close and reopen the browser. This can easily be fixed if someone can save the last modified datetime of the pic in the db and put that datetime in the pic query string like this:

    <img id="user-current-picture" class="avatar avatar-xl avatar-rounded" src="/assets/uploads/profile/1-profileavatar.jpeg?mod=2018-12-30 22:59:00" data-original-title="" title="">

    thanks,
    Saeed 🙂

  • 0 Votes
    6 Posts
    690 Views
    JsonHiveJ

    @JJSagan thanks

  • Email configuration (mailgun) issues

    6
    0 Votes
    6 Posts
    539 Views
    G

    @PitaJ and who else may encounter this issue, here is how I solved it.

    The root problem was the image format used for "Site Logo" in general/settings.
    I've uploaded a png file and the information was not saved in the database, althoughthe fields remained filled across the sessions.
    Once I've changed the site logo with a jpg file, the emails were properly formatted too.

  • Using any sso plugin results in 404

    9
    0 Votes
    9 Posts
    1k Views
    GeferonG

    @gorgiselkov I believe that one might not be working because it's a skeleton plugin, and not an actual SSO auth (as stated on github page), unless you've configured it yourself but, it doesn't seem like it.

  • 0 Votes
    5 Posts
    421 Views
    J

    Thanks @baris it might be useful to add to the acp at the category editing page...

  • nodebb-plugin-rss: getaddrinfo enotfound

    4
    0 Votes
    4 Posts
    1k Views
    J

    @The-Worms and anyone else following this topic: the RSS plugin may be fixed. See this topic for howto: https://community.nodebb.org/topic/13540/changes-to-nodebb-plugin-rss-in-light-of-yql-shutdown

  • 0 Votes
    17 Posts
    2k Views
    S

    I run into this problem as well, and I fixed it by simply npm install --build-from-source sharp, FYI.

  • install error, centered on share module

    7
    0 Votes
    7 Posts
    1k Views
    M

    @PitaJ Thanks. I was seeing the same "Error: Cannot find module '@babel/runtime/core-js/object/create'" issue and deleting my node_modules directory and then running

    npm install ./nodebb setup

    solved the problem for me.

  • 0 Votes
    6 Posts
    2k Views
    N

    Solved!

    Soo, there appeared to be two errors. One with the nginx config which I solved in the past ( a / typo behind the proxy_pass ) for anyone having this same issue make sure you double check the nginx rules for a typo.

    Secondly a npm rebuild fixed all the issues.

    Thanks for the help guys!

  • Installing NodeBB in a subfolder of another site

    34
    0 Votes
    34 Posts
    20k Views
    teotikalkiT

    @Violing

    I was able to make it work with /forum; no ^~ required. Given what @yariplus stated this seems relevant.
    My conf:

    location /forum/ { proxy_pass http://172.17.2.3:4567; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }

    Indented lines are ones that I copied from my other blocks that weren't present in the suggested.

  • 0 Votes
    2 Posts
    355 Views
    NodeMonsterN

    What do you mean? It's working fine for me on 1.11.1

  • URL Problem after Log In (Double Url)

    6
    0 Votes
    6 Posts
    666 Views
    rikiR

    I have the same issue, I cleared the cache and tried with several web browsers but the same thing happen.

  • Stripe.com tracker on admin panel ?

    3
    0 Votes
    3 Posts
    369 Views
    The WormsT

    thanks for reponse 🙂

    I identify the ns-embed plugins

    @nicolas ??

  • Forum not starting

    3
    0 Votes
    3 Posts
    510 Views
    Y

    Fixed, the problem was on the nginx side;

  • 0 Votes
    1 Posts
    162 Views
    J

    Hi Devs,

    I understand that chat notification occur when the target user is not directly focused on the chat itself. I further understand that the notification will also be delayed by about a minute just in case more messages come in.

    However, in the latest version, it seems that when chat is sent, the target user will not get notified within 1 minute (pending the above). Actually, action:notification.pushed is triggered after few minutes, if at all.

    Anything I am doing wrong?

    Thanks!
    JJ.

  • Need to login every time on mobile

    3
    0 Votes
    3 Posts
    414 Views
    tarvos21T

    @PitaJ What kind of reverse proxy configuration issue may it be? I've tried to change some nginx configuration lines, but withou result.

    Oh I forget, I have used certbot to install SSL for my NodeBB forum, it changes some configuration in the nginx file. I do it according to this: https://medium.com/@hariomvashisth/free-https-within-5-minutes-5b67479849fa
    https://www.digitalocean.com/community/tutorials/how-to-set-up-let-s-encrypt-with-nginx-server-blocks-on-ubuntu-16-04

    I notice that on the mobile safari browser, after click the 'go' button, the url seems to stop for 1 or 2 times, maybe caused by http/https transformation. But not very clear, any idea? Thanks!