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.

  • 0 Votes
    2 Posts
    1k Views
    ?

    Here check this topic:
    https://community.nodebb.org/topic/7142/latest-pull-breaks-nodebb-packages-are-out-of-date/

    To fix the issues try to run the following commands:
    npm i [email protected]
    npm i install [email protected]

    And then run ./nodebb setup and just press enter. It is indeed just a workaround, but better than nothing.

  • 1 Votes
    4 Posts
    2k Views
    yariplusY

    @xen Here's the change you can make, until the pr is added.

    Link Preview Image Don't change url when homepage is set to a category. · yariplus/NodeBB@12fb512

    Node.js based forum software built for the modern web - Don't change url when homepage is set to a category. · yariplus/NodeBB@12fb512

    favicon

    GitHub (github.com)

  • Can no longer modify partial templates 0.9.1

    5
    0 Votes
    5 Posts
    1k Views
    W

    Yup you are right.. I did a search for my changes prior to upgrading and my search brought me to \public\templates\partials\post.tpl file instead of the one in the persona theme..

    I just made the changes in the theme folder and everything looks good again.

    Thanks for your help

  • Critique my forum, please!

    14
    1 Votes
    14 Posts
    5k Views
    H

    @Arc Yeah, housing is cheaper, jobs are more plentiful and pay better for a software engineer, and overall the community has more going for it in Kansas City. 😛 In terms of my life, things are much better here. I do miss family, the mountains and skiing though. But I can vacation in Colorado to visit those things.

  • Basics! Admin Access

    11
    0 Votes
    11 Posts
    3k Views
    ShardS

    @julian

    Dunno what was wrong that day. Did a pull to update, then did the same steps as I had before and it decided to work.

    Go fig.

  • 0 Votes
    17 Posts
    6k Views
    AtonB117A

    Well, damn. Didnt know that.

    Okay, Thanks for your phenomenal help, @pichalite.

    Gonna mess around with this proxying and nginx a bit now that everything is moving forward again.

  • NodeBB on Koding

    11
    0 Votes
    11 Posts
    2k Views
    ?

    @Aureney be sure to add the port to the URL unless you use a proxy like NGINX or run NodeBB on port 80.

  • installation of nodebb

    3
    0 Votes
    3 Posts
    2k Views
    ferikF

    As an aside, I think that Docker will be the easiest way to install and update a nodebb installation soon.

  • SSO Google stop working after 0.9.1 update

    5
    1 Votes
    5 Posts
    2k Views
    B

    My URL value in config.json was : "url": "http://forum.xxx.fr/"

    I deleted the "/" at the end and everything went back to normal.

    Don't know how this "/" appears.

  • Image size & uploads

    3
    0 Votes
    3 Posts
    1k Views
    barisB

    I think this is fixed on 0.9.1, try updating and let us know if it still happens.

  • What is advanced events?

    3
    0 Votes
    3 Posts
    892 Views
    JenklerJ

    Ahh, cool 😉

  • Contact

    7
    0 Votes
    7 Posts
    2k Views
    JenklerJ

    Under the mail settings in admin panel. But where do i input server info and account info? Is it possible todo what i want todo ?

  • Change color of loader bar?

    Moved
    3
    0 Votes
    3 Posts
    2k Views
    JenklerJ

    @yariplus said:

    #nprogress .bar {
    background: red;
    }

    Thanks a lot 😉

  • Mongodb perm

    1
    0 Votes
    1 Posts
    661 Views
    JenklerJ

    I use mongodb, but i get this

    "not authorized on nodebb_se_dev to execute command { serverStatus: 1 }"

    What perm is recommended for the nodebb users, I want it as safe as possible.

    I have this:

    db.createUser( { user: "myuser", pwd: "<Enter in a secure password>", roles: [ "readWrite" ] } )

    I found this

    Link Preview Image db.serverStatus() got not authorized on admin to execute command

    My mongo version : 2.6.11 I want to check db.serverStatus() in my robomomgo But got errmsg: { "ok" : 0, "errmsg" : "not authorized on admin to execute command { serverStatus: 1.0 }", ...

    favicon

    Database Administrators Stack Exchange (dba.stackexchange.com)

    But i don't want to add any rights to the admin DB only nodebb_se_dev. But the serverstatus is only for the admin db or what?

    What role am I missing?

  • Login in home page

    4
    0 Votes
    4 Posts
    2k Views
    julianJ

    Well, either way, your login form needs a csrf token added to it. You can do it via hidden input.

    Retrieve it via js like so

    require(['csrf'], function(csrf) { var token = csrf.get(); });
  • "No input file specified."

    8
    0 Votes
    8 Posts
    2k Views
    S

    System has been runninging flawlessly all day since upgrading to 0.9.1 without a repeat of this issue. Let's just put it down to something weird in the machine.

    Steve

  • 0 Votes
    3 Posts
    1k Views
    S

    Superb, thanks @julian much obliged.

    Steve

  • Application Error

    2
    0 Votes
    2 Posts
    784 Views
    julianJ

    Can you run it in a one-off dyno to see what the error is? Perhaps inspect the log? The heroku log doesn't show much for debuging 😦

  • Custom api router?

    Moved
    6
    0 Votes
    6 Posts
    3k Views
    julianJ

    Also, you'll want to add new routes to params.router, which is a special router just for plugins, and doesn't interfere with existing routes 😄

  • NodeBB with NSSM on windows

    3
    0 Votes
    3 Posts
    921 Views
    W

    Yeh it works fine starting it from the batch file.. I think il just create a startup script that checks that mongodb has started and if so then start nodebb with nodebb start command.