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.

  • 0 Votes
    3 Posts
    2k Views
    M

    I was crating bug to GitHub, but thought that this could be know issue, after upgrade, so thats why added this question first... I did se you managed to do it fist, so I added information to there. I use tags, both 1.4.5 and 1.4.6 has this issue.

    Link Preview Image Upload cover picture does not work when using subfolder · Issue #5631 · NodeBB/NodeBB

    Uploaded cover picture path does not contain the relative_path.

    favicon

    GitHub (github.com)

  • Image Uploads Interrupted - Any ideas?

    2
    0 Votes
    2 Posts
    1k Views
    T

    I solved this by installing SSL as that allowed the ws connection to work properly through the ISP in question.

  • Error: localStorage behaved unexpectedly

    2
    0 Votes
    2 Posts
    792 Views
    barisB

    This is fixed on master, just pull again.

  • Plugins issues

    6
    0 Votes
    6 Posts
    2k Views
    A

    @PitaJ ah ok. If its nothing to worry about, then it should be fine.

  • 0 Votes
    4 Posts
    3k Views
    F

    @kacemlight I know it's a very old topic. Just replying because i faced a similar issue. SEO tools pointed out that the heading structure was incorrect i.e the nav bar headings had H3 and content had H2 and H1.

    I solved it by creating a barebones plugin and overwrote the tpl file that had the inconsistent heading structure (in my scenario). The path of the file is plugin/static/templates/partials/menu.tpl

  • Empty Log

    4
    0 Votes
    4 Posts
    2k Views
    BriB

    Yep that works, I updated my version here:
    https://gist.github.com/bdharrington7/2599927d41d30f11900f2099b8d8fc64

  • How can I create an Admin account manually ?

    3
    0 Votes
    3 Posts
    2k Views
    frju365F

    Thank you very much for your answer. I will see if it works.

  • Custom CSS not working

    13
    0 Votes
    13 Posts
    4k Views
    C

    @Thouv said in Custom CSS not working:

    @PitaJ said in Custom CSS not working:

    I just want to make sure that every possibility is exhausted.

    Can you try turning the Enable Custom CSS toggle off, then saving the page, then turning it back on, then saving the page again? Thanks.

    And can you check for any errors in the browser console when on that page?

    It worked! Thanks
    Just had to disable, save, and reenable. Weird.

    😛 Hi thouv

  • 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.