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
    645 Views
    Y

    Report issue https://github.com/NodeBB/nodebb-theme-persona/issues

  • recentreplies.js Error causing problems

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    PJ LegendreP

    I will notify the plugin's creator, thank you.

  • NodeBB MongoDB Replica Set Read Preference

    3
    0 Votes
    3 Posts
    708 Views
    barisB

    Your config looks fine, not sure why it is only reading from a single one.

    { find: "objects", filter: { _key: /user:/i, username: "admin" }

    This doesn't look like a query we do in core nodebb, do you have some plugins that run custom queries? This doesn't use the indexes properly should probably be

    { find: "objects", filter: { _key: /^user:\d+$/i, username: "admin" }

  • Add nav class on scroll

    3
    0 Votes
    3 Posts
    2k Views
    C

    @PitaJ No error. But after your reply looked again and saw what I guess is the default way of doing this on Nodebb. And with $(window).on('action:ajaxify.end', function( ) it works as it should. Thank you.

  • change from http://oldsite.com to http://newsite.com

    Solved
    2
    0 Votes
    2 Posts
    402 Views
    PitaJP

    All you should really need to do is change the url value in config.json and change the server name in your reverse proxy.

  • need help to modify css template codes

    9
    0 Votes
    9 Posts
    1k Views
    D

    @PitaJ Oh, I got it. But I tried and unfortunately it does not change the attribute.

    Plus, I found the value is the length of placeholder 's length. the default English placeholder is "Enter tags here, between 3 and 24 characters each.", that's why it is 50.

    I am using zh-CN, according to translation, it is 23 characters, so value is 23.
    However, one character Chinese is 2 English letter wide, to show the placeholder full, the value need to be 46.

    Can you fix it? thanks.

  • 0 Votes
    2 Posts
    392 Views
    D

    I have figured it out. nodebb need to be rebuilt and restart, simply restart does not load new language file.

  • category tags vs tags

    3
    1 Votes
    3 Posts
    506 Views
    D

    Thanks for the reply. from the screenshot, it looks like no way to assign it to a specific category, or in other places I might have missed?

    Does nodebb has global tags concept? meaning a tag can be used across all categories? thanks.

  • Custom Pages, and Recend Cards problem.

    10
    0 Votes
    10 Posts
    1k Views
    M

    @PitaJ said in Custom Pages, and Recend Cards problem.:

    @Michael-Pfaff just FYI it is a widget now. I don't know how you have it set up, but that may be what changed.

    That was it! Thanks.

  • 0 Votes
    1 Posts
    328 Views
    T

    Hi Everyone,

    To be more specific about my issue, I want to deploy NodeBB from Cloud9 on Digital Ocean in order for it to run 24/7 and connect to the domain I purchased rather than the cloud9 URL (which requires me to sign in and run).

    More info about me:
    -I successfully set up NodeBB on Cloud9.
    -Bought domain from Godaddy which I have already set it up on Digital Ocean.
    -Wanting to connect NodeBB on Cloud9 to the domain I purchased.

    Thank you so much for all replies and helps.

  • Chat with all members of a group?

    3
    0 Votes
    3 Posts
    417 Views
    D

    @PitaJ Thanks. It was tough to find the discussion. Most results were about "group chat" not "Group chat".

  • Image embed plugin

    12
    0 Votes
    12 Posts
    4k Views
    D

    Which ones of those makes the link preview link like this ...

    It's nodebb-plugin-iframely

    Link Preview Image Axis & Allies .org Forums

    A community dedicated to Axis & Allies games and playing Axis & Allies online via forums.

    favicon

    Axis & Allies .org Forums (www.axisandallies.org)

  • Disabling Chat

    8
    0 Votes
    8 Posts
    698 Views
    SimosS

    @PitaJ said in Disabling Chat:

    @Simos you should be able to add the same IF...ENDIF around that code as well. Would you mind opening an issue on the persona repo so we can fix this permanently?

    I'm new to nodeBB so i've to better understand how it work but I suppose it generate sound options array somewhere and than it's used in template, if i use IF...ENDIF on that block i disable all sound notification options.

  • Only see topics that you create yourself

    2
    0 Votes
    2 Posts
    476 Views
    PitaJP

    Not at the moment without a custom plugin.

  • 0 Votes
    2 Posts
    361 Views
    PitaJP

    It's not possible to do exactly what you say, but it is possible to accomplish a similar thing by creating a NodeBB plugin which implements the API endpoint you want, instead of using the built-in API.

  • Registered Users double group

    3
    0 Votes
    3 Posts
    408 Views
    SimosS

    @PitaJ how i can check db ? I'm new to redis should be a mistake with a previous installation using the same db ?

  • Notify all users by default when admin posts

    1
    0 Votes
    1 Posts
    325 Views
    B

    Is there a way to make users automatically follow all admin users when they join a nodebb forum? Or anything similar that will result in everyone getting a notification when an admin makes a post?

    For reference I'm on v1.9.2.

  • Heroku deployment

    2
    0 Votes
    2 Posts
    492 Views
    G

    It's been 12 hours, since I downgraded to a previous commit with only Mongo mLab configured. I have not experienced issues yet.

    What is the recommended method to install plugins?

    Is there a way to persist uploaded images and files on Heroku?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
  • Everybody has the same IP address

    9
    0 Votes
    9 Posts
    2k Views
    D

    @julian said in Everybody has the same IP address:

    Yeah, the idea is you should be using a reverse proxy

    Yes.

    to handle traffic and NodeBB should be listening on port 4567...

    Yes

    if it's 4567 but port is not in url, then trust_proxy is automatically enabled.

    Not sure if I follow this. But the logic in the code is that if it's any port aside from 80 and 443 then "trust proxy" is enabled. Or if "trust_proxy" is set to true in the config, then "trust proxy" is enabled.