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.

  • What is advanced events?

    3
    0 Votes
    3 Posts
    893 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
    662 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
    785 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
    922 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.

  • Error upgrading master branch

    2
    0 Votes
    2 Posts
    2k Views
    julianJ

    Looks like a warning, but not a serious one. We don't use that package in NodeBB itself so it is likely one of its dependencies

  • 0 Votes
    4 Posts
    2k Views
    Charly86C

    @julian
    Sorry forgot this one, mail notification settings says
    "Send an email if a new chat message arrives and I am not online"
    And I receive one even if I'm connected (but not on same tab) which does not match option configuration πŸ˜‰

  • Email templates showing URL as local host.

    5
    0 Votes
    5 Posts
    2k Views
    julianJ

    Glad to hear it's working out now πŸ™‚

  • Purge topics without deleting category?

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    W

    😬 Woops.. Just noticed the purge topic button that appears after deleting.. Moving on..

  • Toobusy. Excessive load

    12
    0 Votes
    12 Posts
    4k Views
    julianJ

    Yeah, since the commit you made, it's disabled on dev mode, although I think he means his dev install of NodeBB.

  • My nodeBB website is not working anymore

    37
    0 Votes
    37 Posts
    12k Views
    W

    There is no CopyZip in logrotate, so you have to do it in two steps πŸ˜‰

  • 0 Votes
    3 Posts
    2k Views
    PilvinenP

    Aaa, okay. I was wondering if it's a bug or just been placed elsewhere. Thanks.

  • 0 Votes
    1 Posts
    671 Views
    C

    I am importing from a PunBB install which contains numerous spam users and posts. Is there a way to cleanse the NodeBB database of spam when it already exists? I realise there is the spam-be-gone plugin but presumably that is only effective for new content.

    I guess I am looking for some kind of spam sweep or cleanup script?

  • Is there anyway to reset just the navigation

    Unsolved
    1
    0 Votes
    1 Posts
    717 Views

    0_1448254372049_bbb.png

    I installed nodebb-plugin-header-extend plugin and then wanted to go back to default navigation.
    After going back to default navigation, I was able to see some small blank icons in the navigation , so I activated the plugin again and deleted all the icons.
    Then all the icons were gone, and I was not able to put back any navigation icons into it. Is there anyway to make it default? like resetting just the navigation part?

  • I have problem with adsense

    Unsolved
    1
    0 Votes
    1 Posts
    746 Views

    I tried using adsense to show my ads but it didn't work.
    So I am now trying to use widget to show up my ads but it's not loading either.
    How do I make it show my ads show up? PLEASE!!!
    Here's my code for the widget:
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- nodebb_top -->
    <ins class="adsbygoogle"
    style="display:block"
    data-ad-client="ca-pub-xxxxxxxxxxxx"
    data-ad-slot="xxxxxxxxxxxx"
    data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>