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.

  • Accidentally disabled local user login

    3
    0 Votes
    3 Posts
    1k Views
    A

    @baris great! thank you. 👍

  • nodebb setup takes too long

    4
    0 Votes
    4 Posts
    1k Views
    PitaJP

    Maybe you're talking about the build step that's at the end of ./nodebb setup? In that case, you could save copies of the build directory as long as you use the same version of NodeBB and plugins for everywhere you're installing it.

  • 0 Votes
    12 Posts
    4k Views
    barisB

    If you are only using redis for cache yes you can just flush it.

  • systemd service not working

    3
    0 Votes
    3 Posts
    2k Views
    An_dzA

    Disregard, I've found the problem. In one of my tries to fix the other bug I ended up writing launcher.js rather than loader.js. 😁 It's all fine now.

  • 0 Votes
    5 Posts
    2k Views
    M

    So I'n my opinion it is bug that it ignores categories for some people. How to delete those entries in MongoDB?

  • Images in signature not working after upgrade to 1.4.6

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    M

    @PitaJ Thanks

  • 0 Votes
    3 Posts
    1k Views
    PitaJP

    No, NodeBB doesn't support it. Why not just use multiple databases?

  • Unable to login

    2
    0 Votes
    2 Posts
    1k Views
    T

    Sounds like something changed on the server side. I'd reach out to your host and find out what changed.

  • Moving from NodeJS to Nginx

    5
    0 Votes
    5 Posts
    2k Views
    PitaJP

    @Thouv did you try with nginx still pointed to localhost:4567?

    That should work, and also you might want to set "bind_address": "127.0.0.1" in config.json

  • 0 Votes
    1 Posts
    1k Views
    aneeeshpA

    Re: How To: Piwik and NodeBB

    I tried to use the code mentioned in this topic, but am getting an error in console. Webpage where I added the code is: https://www.mbatious.com/recent

    Error:
    _paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order. ["setCustomUrl", "https://www.mbatious.com/recent"]

    Can anybody help me come out of this?

  • 0 Votes
    3 Posts
    2k Views
    ApxukocA

    @BuZz said in "Recent cards" not working, NodeBB 1.4.5:

    you need to use v 0.3.1 for nodebb v1.4.5
    npm i [email protected] --save

    Thanks!
    It is working!

  • Conversion question..

    2
    0 Votes
    2 Posts
    869 Views
    BriB

    @Eric-Ladner Welcome to Nodebb! I actually went through a similar issue when migrating my forum, check this note out about how I fixed it: https://github.com/bdharrington7/nodebb-plugin-import-vanilla#other-custom-transformations

    Basically you'd just have to run a custom regex find / replace to strip out those bits you don't want.

  • 0 Votes
    7 Posts
    2k Views
    S

    @PitaJ Cool. Thanks a bunch. I was thinking it has something with translations but i did not know i could go there and fix it just by saving 🙂 Thanks once more.

  • Xenforo to NodeBB

    2
    0 Votes
    2 Posts
    1k Views
    djcyryD

    Check this : https://community.nodebb.org/topic/2006/transfer-xenforo-to-nodebb/3

  • BUG: Small post form in Safari 8.0.8

    3
    0 Votes
    3 Posts
    1k Views
    JenklerJ

    Not my browser, its a friends computer 🙂 But i will tell him 😛

  • 0 Votes
    4 Posts
    2k Views
    PitaJP

    That is a warning. That should not be causing issues for when you visit your site. Check for other errors in the nodebb log and in your browser console.

  • Post and topic count

    2
    0 Votes
    2 Posts
    1k Views
    WarbleSyncW

    Wow just found this myself if anyone else is looking to do this.

    This data is stored on the Category object. Just replace the category # with your category:

    db.objects.find( { _key : "category:#"} ) .pretty();

    Next you can use the update() method to change the values to match.

    db.objects.update( { _key : "category:#" }, { $set : { "topic_count" : numberofTopics } } );
  • 看看中文的搜索是否可用?

    1
    0 Votes
    1 Posts
    2k Views
    S

    看看中文的搜索是否可用?

  • Plugins and Themes not loading

    Moved
    8
    0 Votes
    8 Posts
    4k Views
    P

    @insuusvenerati try running ./nodebb build and then start NodeBB

  • Is there a working SMTP/relay plugin

    5
    0 Votes
    5 Posts
    2k Views
    J

    @JaredBusch said in Is there a working SMTP/relay plugin:

    @aleksad said in Is there a working SMTP/relay plugin:

    The solution was found for this error? If there is a solution, could You share, thank you.

    Yes, I'm sorry I forgot to post I am on the road right now but I will do so later

    I did not end up using a plugin. I ended up editing /etc/postfix/main.cf myself and adding a relayhost as I happen to have one setup for other purposes.

    relayhost = 10.254.0.31