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.

  • Cant Access ACP

    23
    0 Votes
    23 Posts
    8k Views
    H

    @julian I do not think the problem is a DB issue, because i can log in as a user and use all the feature available on the platform but login as admin to the control panel is not possible. getting 504 error BAD gateway.

    Please advise.

  • NPM Warning During Install

    6
    0 Votes
    6 Posts
    2k Views
    S

    @PitaJ Thanks! 😉

  • Help with Heroku deployment

    1
    1 Votes
    1 Posts
    735 Views
    A

    Hi,

    I have followed the Heroku guide from the docs with no luck. Everything goes fine until I try to connect to the site when Heroku shows Application error page.

    Here's Heroku's app log:

    2017-03-29T21:22:03.000000+00:00 app[api]: Build succeeded 2017-03-29T21:22:23.566319+00:00 heroku[web.1]: Starting process with command `node loader.js --no-daemon` 2017-03-29T21:22:27.616058+00:00 heroku[web.1]: State changed from starting to crashed 2017-03-29T21:22:27.617327+00:00 heroku[web.1]: State changed from crashed to starting 2017-03-29T21:22:27.607752+00:00 heroku[web.1]: Process exited with status 0 2017-03-29T21:22:31.398032+00:00 heroku[web.1]: Starting process with command `node loader.js --no-daemon` 2017-03-29T21:22:36.001530+00:00 heroku[web.1]: Process exited with status 0 2017-03-29T21:22:36.003776+00:00 heroku[web.1]: State changed from starting to crashed

    I'm willing to provide you any information needed.

    Akseli

  • 0 Votes
    3 Posts
    1k Views
    julianJ

    @PitaJ said in How Much Customization Required for the SSO Plugin?:

    NodeBB is run with the correct cwd.

    This is likely OP's issue... incorrect cwd...

  • Signing On issue

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP

    @MBFTOM yes. https://github.com/julianlam/nodebb-plugin-sso-wordpress

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
  • What Does the SSO Plugin Expect for Oauth2?

    1
    0 Votes
    1 Posts
    634 Views
    C

    I'm trying to do some Oauth2 integration, and I need to know what a few of these variables are expecting in this part of the code:

    oauth2: { authorizationURL: 'https://mywebsite.com/oauth/authorize', <-- Does that look right? tokenURL: '[WHAT GOES HERE?]', clientID: 'CLIENT-ID', clientSecret: 'THE-SECRET' }, // what might userRoute look like?! userRoute: '' // This is the address to your app's "user profile" API endpoint (expects JSON)

    Thank you!

  • warning in log x from '\' is deprecated

    15
    0 Votes
    15 Posts
    3k Views
    R

    @PitaJ v1.4.4

    0_1490633559949_upload-031effbd-bc0a-4b32-8061-181db8d412f8

  • Forum Traffic chart broken?

    8
    0 Votes
    8 Posts
    2k Views
    A

    @PitaJ
    No, there are no errors in chromes console.
    The problem only happens in the 24h View. The month view works correct.

  • Changing socket.io heartbeat interval and timeout

    Solved
    4
    0 Votes
    4 Posts
    3k Views
    G

    @PitaJ WOW thanks. Didn't think about that.I'm new with node.js.

  • How to achieve this layout?

    6
    0 Votes
    6 Posts
    2k Views
    PitaJP

    It's much more complicated than we can just explain here. We could do it for you. Contact us at [email protected], and we'll give you a quote.

  • 0 Votes
    1 Posts
    1k Views
    R

    Is there any way to show image thumbnail on homepage or recent discussion page or might be an plugin for this?

    Looking for suggestions guys...

  • 0 Votes
    5 Posts
    2k Views
    G

    @PitaJ Found a syntax error after looking carefully at the server side code, thanks for pointing out the problem is at server side...thought I copy pasted it! Thanks again! 😄

  • Time for update to 1.4.5!

    4
    0 Votes
    4 Posts
    2k Views
    JenklerJ

    @Jenkler said in Time for update to 1.4.5!:

    0.3.1

    All fixed to 1.4.5 😉

  • Change Forum.Domain to domain.com/forum

    2
    0 Votes
    2 Posts
    2k Views
    PitaJP

    You want to switch from a subdomain (abcd.example.com) to a subfolder (example.com/abcd).

    Basic steps:

    Change config.json to reflect the new url
    "url": "http://forum.example.com" -> "url": "http://example.com/forum" Use nginx to reverse proxy requests by adding a new location block for /forum
  • error after updating npm packages

    2
    0 Votes
    2 Posts
    1k Views
    T

    I managed to fix it by deleting my packages.json file, replacing it with the version in github, then running npm install --production

  • 0 Votes
    6 Posts
    4k Views
    C

    I increased the size of my swap file. Solved.

  • How can I login via LDAP without input id/pwd?

    Unsolved
    1
    0 Votes
    1 Posts
    702 Views
    H

    How can I login via LDAP without input id/pwd?

    tried to use plugin of Office-LDAP, but it looks failed. so anyone knows any plugin can do so?

  • 0 Votes
    3 Posts
    1k Views
    C

    @rod Yeah, the request is appropriate. In fact, people will be invited to groups. There won't be a lot of requesting to join at first...

    I figure this is the functionality I want:

    When a user signs up on my site, create the forum (NodeBB) account. (Is that necessary?) This will give the user on-site messaging with other users. When the user creates a group on my site, create the associated group forum. Set user as owner/admin. Allow other users to join that group by invitation from the owner. When a user closes his account, close the forum group and archive all material. When a user leaves a group on my site, disconnect them from the associated forum as well.

    I'm wondering if Muut would be better for this kind of functionality...

    Any and all opinions requested and appreciated!

  • This topic is deleted!

    1
    1 Votes
    1 Posts
    38 Views