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.

  • MongoDB directory Location?

    2
    0 Votes
    2 Posts
    994 Views
    Z

    For anyone interested, I was able to trace some information down 😄

    so using: "ps -xa | grep mongod" I was able to locate the config file for mongo in /etc/ (different than etc/)

    if you open the config file (mongodb.conf) -- some use gedit (if your distro has it or not), I use vim: vim mongodb.conf

    you can then find the path for the database =o -- for me that was: /var/lib/mongodb

    Hope this helps if anyone stumbles across this post 🙂

    ps:
    If you're stuck in vim be sure to press "esc" on your keyboard, and then type ":q"

    I would recommend looking up vim and how it works if you plan on editing files with it -- alternatively, you could use sftp if you're using a VPS.

    Cheers!
    -ZenOokami

  • Max allowed file size setting not respected

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    A

    Edit: I just tried again, and everything is working as expected. Thx anyway! 🙂

    //
    The file (mp3) is part of a post, not a profile picture.

  • Sub/child groups

    1
    0 Votes
    1 Posts
    699 Views
    G

    Hi community.
    I would like to have a parent group which automatically collects all users from sub or child groups. E.g. all member of group A, B and C should be members of group D without assigning them to group D manually.
    Is there any possibility to realize this?
    Thank you for your help and ideas!

  • emoji stopped working

    28
    0 Votes
    28 Posts
    12k Views
    S

    @frissdiegurke
    That's perfect . Thank you so much for everything.

  • 0 Votes
    2 Posts
    1k Views
    yariplusY

    You would need to edit the theme, to change the widget areas and sizes. The current widget system isn't advanced enough to do that alone. Also, the widgets currently reload every page change, which will look strange if widget content doesn't. But overall, it would work.

    I would ditch the widgets and use a theme with that as the main layout. Then if you need to change the side bar, you can use some simple js to change it when a particular page is loading. Of course, this would not work if you are planning to use a lot of the existing widgets.

  • Social Follow buttons

    3
    1 Votes
    3 Posts
    1k Views
    yariplusY

    Here's the related links:

    Link Preview Image Like Button - Social Plugins - Documentation - Meta for Developers

    favicon

    Meta for Developers (developers.facebook.com)

    Unofficial GitHub Buttons

    A set of static buttons with dynamic watch and fork counts for any repo hosted on GitHub.

    favicon

    Unofficial GitHub Buttons (ghbtns.com)

    https://dev.twitter.com/web/follow-button

  • Forum on a Sub-domain

    18
    0 Votes
    18 Posts
    6k Views
    H

    @rod @frissdiegurke this guide worked like a charm and it didnt fail from first command line.

    http://www.blogsynthesis.com/install-nodebb-on-digitalocean/

    My problem now is that the main domain is on SSL and sub-domain where the nodebb is not and after mailjet integration it is sending confirmation using https

    Please advise

  • Adding rewards breaks with rewards-essentials.

    3
    3 Votes
    3 Posts
    1k Views
    julianJ

    Glad to see others making rewards plugins 😄

    Hopefully you and @psychobunny can debug this issue...

  • 0 Votes
    1 Posts
    1k Views
    B

    Hello, have any of you encountered a following error?

    at /home/(HIDDEN)/forum/src/meta/templates.js:81:20
    at /home/(HIDDEN)/forum/public/src/utils.js:39:13
    at FSReqWrap.oncomplete (fs.js:82:15)
    TypeError: Cannot read property 'map' of undefined
    at /home/(HIDDEN)/forum/src/meta/templates.js:81:20
    at /home/(HIDDEN)/forum/public/src/utils.js:39:13
    at FSReqWrap.oncomplete (fs.js:82:1

    It happened out of the blue for no particular reason.
    If you have an idea of what can cause this, please let me know.

  • nodebb slows down

    16
    0 Votes
    16 Posts
    7k Views
    A

    @sanatisharif said in nodebb slows down:

    I don't know, please tell me how can I know that?

    $> top

    this will give you a bunch of statistics about the system, including that's running and how much CPU it is taking.

    to find out how many processes of nodejs are running i would recommend using

    #> ps aux |grep node

    this will spit our information about all processes that have "node" in their command line. you'll probably get a few false positives but you should be able to identify how many of those are nodebb easily enough.

  • Email confirmation doesnt work

    18
    0 Votes
    18 Posts
    4k Views
    P

    @hnahli if they provide an API then you will have to create a plugin similar to the ones listed.

  • Bug when saving sounds on ACP

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    toolitoT

    @baris
    It removed error in console, but I got an error : Changes not saved
    And sounds are still not working

  • RTL Email Template

    2
    0 Votes
    2 Posts
    995 Views
    PitaJP

    @hnahli It's probably because emails don't support those unicode characters

  • Admin panel seems completely broken

    12
    0 Votes
    12 Posts
    3k Views
    elandrielE

    A full purge and reinstall cleared the issues out. Thank you all for your assistance and my apologies for taking your time.

    FWIW, I absolutely love this forum and product. Great work.

  • Lost in subdomains !

    9
    0 Votes
    9 Posts
    3k Views
    T

    I remove all sessions with db.sessions.remove({}) but now i can't logged in (403 Forbidden) also when i restart nodebb ?? but cookie domain was .domain.com now 😉 one step forward, one step backward.
    Edit : loggin with Firefox works but not with chrome.
    ReEdit : sorry clear cache solve it. So now i have the same cookie (.domain.com) in chrome debugger at forum.domain.com and app.domain.com. Thank you very much.

  • 0 Votes
    7 Posts
    2k Views
    A

    Solved

    Turned out systemd could not write redis' pid file, hence the crashes/restarts.
    The missing category is probably a result of that.
    Reinstalled and everything is fine.

    Thx, keep up the good work! 🙂

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
  • Get the *name* of a forum through the API

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    frissdiegurkeF

    Oh, I found out there is a route: /api/config 😉 https://community.nodebb.org/api/config
    Pretty straight forward...

  • 0 Votes
    10 Posts
    4k Views
    julianJ

    @Maahi The error message tells you what you need to know. In this case, nginx cannot start because there is already something bound to port 80. Apache? NodeBB? You need to figure this out.

  • This topic is deleted!

    3
    0 Votes
    3 Posts
    48 Views