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.

  • Configuring duration of Notification Alerts

    Unsolved
    8
    2 Votes
    8 Posts
    2k Views
    F

    @baris @julian these guys are awesome and the most helpful team ever! Thanks!

    We are trying our best to support node bb and take it to next level.

  • 0 Votes
    12 Posts
    3k Views
    C

    found solution

    <iisnode enableXFF="true" />

    Link Preview Image Run NodeJs on iis Tutorial — Steemit

    install : nodejs - iis - iisnode - URL Rewrite - setup : add your site to iis and map it… by convertball

    favicon

    Steemit (steemit.com)

  • change password Faild with reverse proxy

    2
    0 Votes
    2 Posts
    979 Views
    yariplusY

    What is not working? Are you receiving an error? Are there any errors in the nodebb log file?

  • 0 Votes
    3 Posts
    886 Views
    G

    Thanks for the super fast reply!

  • 0 Votes
    7 Posts
    2k Views
    PitaJP

    @guts I meant no offense, I was just quickly providing a resource in the case that you hadn't looked at it before. Also, the docs that @yariplus linked are the outdated ones, whereas the ones I linked are more up-to-date.

    Hi, I use Litespeed actually for my other domains and they are on the same server so can I delete the config.json file in this case?

    I don't know anything about lightspeed, but I can tell you that config.json is completely separate from the reverse proxy you decide to use. config.json is generated by ./nodebb setup and is located in the nodebb directory.

    Do I have to use Ngynx in addition of Litespeed?

    Probably not, but you'll have to look up how to do the same things that nginx does when using our example config files and apply that to Lightspeed.

    I already have a database but where do I have to specify it during the setup?

    If you run ./nodebb setup after deleting config.json, it will ask you for settings for your database.

    How do I delete the config.json file?

    rm /path/to/nodebb/config.json

    My apologies but it becomes hard to follow... I followed a tuto on Youtube by entering some commands via SSH but this becomes hard to do so if someone can paste an exemple, it will be great and it will help.

    An example for what? Unfortunately it's difficult to reduce installation into quick examples.

  • Leaderboard on home page?

    2
    1 Votes
    2 Posts
    1k Views
    yariplusY

    Do you have a repo or code to show?

  • 0 Votes
    5 Posts
    2k Views
    zipangZ

    @pitaj Thanks a lot : that really makes much more sense now.

    I allready had deployed mailgun as a service through the use of an API key and that's what i was looking for !
    Now that my domain has been created in the mailgun admin pannel and verified through the propagation of specific DNS records, i can confirm that the SMTP credentials are working and that the mails are being sent !

    These clarifications were very helpful indeed ! 👍

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    25 Views
  • nginx reverse proxy nodebb

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    PitaJP

    Yes, the url in config.json should be equal to exactly the URL at which you access your site. It usually shouldn't be localhost or an IP address.

  • Modify only category list

    Moved
    3
    0 Votes
    3 Posts
    1k Views
    C

    than you @pichalite, i think i will use material theme

  • 0 Votes
    4 Posts
    3k Views
    julianJ

    The common causes for a session mismatch error are usually one of the following:

    1. Mis-configured URL parameter in your config.json file

    If you have a misconfigured url value in your config.json file, the cookie may be saved incorrectly (or not at all), causing a session mismatch error. Please ensure that the link you are accessing your site with and the url defined match.

    2. Improper/malformed cookieDomain set in ACP

    Sometimes admins set this value without realising that they probably don't need to set it at all. The default is perfectly fine. This is what the config looks like:

    Cookie Domain setting

    If this is set, you'll want to revert the setting by editing your database directly:

    Redis: hdel config cookieDomain
    MongoDB: db.objects.update({ _key: "config" }, { $set: "cookieDomain": "" });

    3. Missing X-Forwarded-Proto header from nginx/apache

    If you are using a reverse proxy, you will need to have nginx pass a header through to NodeBB so it correctly determines the correct cookie secure property.

    In nginx, you will need to add the directive like so:

    location / { ... proxy_set_header X-Forwarded-Proto $scheme; ... }
  • 0 Votes
    14 Posts
    2k Views
    9

    @julian I've solved the problem. Thank you very much!

  • Email settings not saving v 1.6.1

    9
    0 Votes
    9 Posts
    2k Views
    W

    @julian alt text

    I wasnt expecting Chrome to autofill in the settings page 😞

    IL see my self out.

    Thanks

  • 0 Votes
    7 Posts
    2k Views
    N

    @doekia How to see this?

  • Make my forum accessible online

    Locked
    7
    0 Votes
    7 Posts
    1k Views
    julianJ

    Locked as dupe found here: https://community.nodebb.org/topic/11477/what-should-i-do-to-make-my-forum-accessible-online/6

  • ERROR invalid data after in-house conversion

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    D

    Thanks Julian.

    I was not too complicated but not having any data model made the process longer.
    I still have faced an issue with my converted users not been able to view the categories. I have manually addressed the issue by creating a "legacy" group, add the necessary group/priv to my categories and manually adding my users to the legacy group (fortunatly was having no more than 150 legacy users).
    I presume it has something to do with group association but haven't been able to figure out what exactly

  • 0 Votes
    3 Posts
    2k Views
    S

    Solved. add-registration-field plugin was the culprit. An undefined field was added in the registration page causing the error in adding a user in the database.
    alt text

  • Share users between nodeBB and KeystoneJS

    8
    0 Votes
    8 Posts
    2k Views
    L

    @shery11 not yet 🙂 how about you ?

  • 0 Votes
    7 Posts
    2k Views
    B

    Excellent thanks!

  • 0 Votes
    2 Posts
    943 Views
    barisB

    You need to use something like https://github.com/julianlam/nodebb-plugin-support-forum