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.

  • ./nodebb start not working

    12
    0 Votes
    12 Posts
    4k Views
    A

    I'm having this exact same problem currently-- ./nodebb dev works fine, ./nodebb start does nothing and outputs nothing to the logs, and I've tried all the ./nodebb upgrade and ./nodebb build.

  • 0 Votes
    3 Posts
    955 Views
    barisB

    We will release 1.9.4 with this fix hopefully this week.

  • How to Load Balance for all CPU Cores

    16
    2 Votes
    16 Posts
    2k Views
    0xA4B160

    Yes, as nginx and node.js are single threaded apps you need to spawn multiple copies of them which match the numbers of CPU cores in order to fully use the power of your server.

    0_1527420046918_Server.png

    One nginx process acts as a controller/watchdog.

    I'm no MondoDB expert but I read that it automatically uses multi-threads for read requests but uses a single thread for write operations.

  • Plugins not working after installation

    3
    0 Votes
    3 Posts
    905 Views
    A

    @yariplus said in Plugins not working after installation:

    Possibly sounds like a browser script crashing. What is the full list of plugins you have installed?

    It appears that rebuilding the forum + refreshing the page enabled access to the pages.
    However, I still cant make any Search Plugin work on my forum properly, be it DB search, Elastic or Solr. I'm using a non-roman alphabet ☹

  • New Install Login Error

    2
    0 Votes
    2 Posts
    561 Views
    PitaJP

    What's the url value in config.json?

  • Include additional data in digest emails

    8
    0 Votes
    8 Posts
    1k Views
    PitaJP

    @alanbrown it has to be one of the existing params. Looks like it's the interval field.

  • This topic is deleted!

    4
    0 Votes
    4 Posts
    55 Views
  • Nodebb on my linux

    19
    0 Votes
    19 Posts
    3k Views
    W

    @shiroan-hyun you are in the right spot, change target from blank to your local IP, then save. Please also send me your nginx configuration

  • How to snippets on google search

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    julianJ

    @abhinov-singh As stated in other thread, please consider upgrading your NodeBB as that may resolve the issue. Locking this thread now to reduce duplicate responses.

  • Shared authentication support?

    3
    0 Votes
    3 Posts
    779 Views
    julianJ

    The recommended method of sharing sessions between two separate and distinct applications is through OAuth2. We recommend this approach because NodeBB maintains its own user records, so that we can keep track of user-related metrics and other data. Relying on another database would be tricky, prone to breaking, and quite possibly dangerous.

    Luckily, it's quite straightforward to get things working with OAuth2!

    The first step is getting your application to expose an OAuth2 endpoint. If you're running a Node.js based app, you can use a module called OAuth2orize.

    Once that is set up, you'll want to take a look at the SSO plugin skeleton for customised OAuth deployments -- nodebb-plugin-sso-oauth. You'll take this plugin, fork it, and modify it to communicate with your OAuth endpoint.

    Once everything is working properly, you should be able to register and log in/out via your web app.

  • Profile Picture not animated?

    Unsolved
    12
    0 Votes
    12 Posts
    3k Views
    Evgeniy OneginE

    @julian said in Profile Picture not animated?:

    I believe you also need to turn off the image uploads conversion to PNG. What errors did you see with imagemagick plugin?

    Give us animated avatars!

  • 0 Votes
    4 Posts
    935 Views
    julianJ

    @JJSagan Yes, that is normal, just an informative echo to indicate that the process has started.

  • Help !

    1
    0 Votes
    1 Posts
    463 Views
    S

    Hello !
    I'm a bit nil and I'd like to get into nodebb with my linux, I followed the installation steps as it should, but going on my forum link it does not work ... In local it works very Well, if I could get help from you, I'll be very thankful, thanks in advance...
    0_1527006440056_Capture du 2018-05-22 18-22-10.png

  • 0 Votes
    2 Posts
    768 Views
    PitaJP

    https://support.google.com/webmasters/answer/47334?hl=en

    At the moment, sitelinks are automated.

  • show subcategories on main page

    3
    0 Votes
    3 Posts
    635 Views
    FrankMF

    Thank you!

  • Migrating Forums from one server to another

    10
    0 Votes
    10 Posts
    2k Views
    LethalLuigiL

    Seems to me like it worked thanks man.

  • Debugging require is undefined error

    2
    0 Votes
    2 Posts
    660 Views
    PitaJP

    We have source maps for most of the files, if that doesn't work you can always ./nodebb build -d which won't minify the files.

  • nodebb-plugin-imagemagick

    Solved
    3
    0 Votes
    3 Posts
    885 Views
    Evgeniy OneginE

    @pitaj Yes, I solved it but i wanna animated avatars 😞

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Animated Profile Pictures

    7
    0 Votes
    7 Posts
    2k Views
    Evgeniy OneginE

    Some solution?