Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.8k Topics 26.7k 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. [image: youtubelogo.png] Setting up SendGrid mailer for NodeBB
  • NodeBB guides, how-to's and general tips and tricks

    83 Topics
    601 Posts
    Z
    not sure the plugin worked for firefox. saw a-z in the sort icon. when i used it, i expected the topics in the category would be sorted a-z. they werent
  • 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.
  • Hosting NodeBB behind a cache or CDN

    6
    0 Votes
    6 Posts
    981 Views
    JavadocMDJ
    @scottalanmiller Those are fair points. In this particular instance I'm less concerned about improving site performance than on capitalizing on CloudFront's other features, like WAF integration. Sounds like I'm in a very small niche here.
  • Installation stops

    2
    0 Votes
    2 Posts
    369 Views
    S
    What OS are you installing on?
  • Issue With Login (Sockbot)

    2
    0 Votes
    2 Posts
    625 Views
    M
    This is from my logs: 2019-05-01T23:05:47.795Z [4567/1956] - info: [plugins/spam-be-gone] Settings loaded 2019-05-01T23:05:47.858Z [4567/1956] - info: Routes added 2019-05-01T23:05:47.860Z [4567/1956] - info: NodeBB Ready 2019-05-01T23:05:47.867Z [4567/1956] - info: Enabling 'trust proxy' 2019-05-01T23:05:47.872Z [4567/1956] - info: NodeBB is now listening on: 0.0.0.0:4567 2019-05-01T23:06:46.203Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:44.904Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:45.822Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:46.745Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:47.671Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:48.797Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:49.637Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:50.764Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:51.806Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:52.799Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:53.673Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:54.520Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:55.402Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:56.383Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:57.203Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:58.085Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:58.957Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:19:59.803Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:20:00.659Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:20:01.574Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:20:09.481Z [4567/1956] - error: /login invalid csrf token 2019-05-01T23:37:11.087Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":417,"error":"Iframely could not fetch the given URL. 429"}. Url: http://www.wdrb.com/story/39585380/its-game-on-during-nerdlouvia. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=http%3A%2F%2Fwww.wdrb.com%2Fstory%2F39585380%2Fits-game-on-during-nerdlouvia 2019-05-02T00:43:42.736Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":403,"error":"The page is private and requires a login."}. Url: https://hangouts.google.com/hangouts/_/qo43i4llbzdv5gmvxnb4ajunqee. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=https%3A%2F%2Fhangouts.google.com%2Fhangouts%2F_%2Fqo43i4llbzdv5gmvxnb4ajunqee 2019-05-02T01:32:30.455Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":403,"error":"Iframely could not fetch the given URL. The page appears to be private or requiring a login"}. Url: http://themonstersknow.com/why-these-tactics/. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=http%3A%2F%2Fthemonstersknow.com%2Fwhy-these-tactics%2F 2019-05-02T04:45:22.871Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":417,"error":"Iframely could not fetch the given URL. 429"}. Url: http://www.wdrb.com/story/36868273/nerds-come-together-for-louisvilles-only-tabletop-gaming-convention. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=http%3A%2F%2Fwww.wdrb.com%2Fstory%2F36868273%2Fnerds-come-together-for-louisvilles-only-tabletop-gaming-convention 2019-05-02T10:21:13.697Z [4567/1956] - info: [plugin/iframely] iframely responded with error: {"status":403,"error":"Iframely could not fetch the given URL. The page appears to be private or requiring a login"}. Url: https://company.wizards.com/job/game-designer-dungeons-dragons-job-renton-wa-us. Api call: http://iframe.ly/api/iframely?origin=nodebb&align=left&api_key=6973ed56efecf5d8548108&url=https%3A%2F%2Fcompany.wizards.com%2Fjob%2Fgame-designer-dungeons-dragons-job-renton-wa-us 2019-05-02T11:35:57.170Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:35:58.144Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:35:59.142Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:00.114Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:01.049Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:01.928Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:02.956Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:03.893Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:05.109Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:06.244Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:07.208Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:08.119Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:36:16.187Z [4567/1956] - error: /login invalid csrf token 2019-05-02T11:48:57.212Z [4567/1956] - error: /login invalid csrf token
  • Custom Login Page

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    ?
    https://github.com/NodeBB-Community/nodebb-plugin-custom-pages#readme Does exactly what you want.
  • Where exactly do you put a new theme?

    Moved
    7
    0 Votes
    7 Posts
    638 Views
    omegaO
    Let me say I didn't notice the CUSTOM CSS/LESS screen in the admin control panel! I dunno what version of the forum that was implemented but I really breezed by it somehow. This will work much more efficiently for my needs methinks! Hurrah!
  • I need RESTful API to develop an Android application.

    1
    0 Votes
    1 Posts
    297 Views
    CoderYellowC
    All I find is nodebb-plugin-write-api which is not enough. It doesn't even have login API.I am not familiar with nodejs.And it is not necessary to handle the problems only existing on browser like CSRF.
  • I can't install NodeBB on Ubuntu

    4
    0 Votes
    4 Posts
    720 Views
    L
    @baris Oh God, thank you. After a big journey to get here, finally I could see it working. I almost gave up. I appreciate your support.
  • Render last post in topic from template

    2
    0 Votes
    2 Posts
    434 Views
    PitaJP
    @JJSagan what have you tried? Check out the benchpress docs: https://github.com/benchpressjs/benchpressjs/blob/master/docs/readme.md
  • How to use translator module?

    2
    0 Votes
    2 Posts
    454 Views
    PitaJP
    Please provide more context on what you're trying to do. It will help to see if there is a way to avoid translating manually. It looks like you're trying to use it server-side. In that case, there are some complicating factors around providing the current user's language. Anyways, to import translator you want to do require.main.require('./src/translator') To translate a bunch of words there are a couple options: Join tokens into a single string and translate it, then split the tokens, like so const tokens = [ '[[myplugin:greeting1]]', '[[myplugin:greeting2]]', ].join('|||'); // language is only required if server-side here translator.translate(tokens, language, (translated) => { const [greeting1, greeting2] = translated.split('|||'); // etc }); This works well, especially when you need to translate from multiple namespaces, but has a fair amount of overhead. Get translations directly and pick the ones you want, like so // language is required here translator.getTranslations(language, 'myplugin', (translations) => { const { greeting1, greeting2 } = translations; // etc }); This works great with single namespaces but with multiple namespaces it gets a little more complicated.
  • Write-API Plugin speed limits

    Solved
    5
    0 Votes
    5 Posts
    649 Views
    Chris1C
    That's great, many thanks!!
  • 0 Votes
    1 Posts
    446 Views
    S
    I have an old website that has a lot of entries. For the sake of seo I would like to move everything in archium form to nodebb. Can I do it? Does it make sense? How do I do it? Just the news is enough, although I have a lot of comments written for over 10 years! Thanks for all the tips !
  • Migration line breaks

    Solved
    14
    0 Votes
    14 Posts
    1k Views
    Chris1C
    So the solution I have found is to replace all of the \n line breaks with %0A characters. The API then sends these to display correctly. I'm not sure if there is a better way, but that solves my problem once I purge the topics and repost. Thanks for all your help.
  • Paid subscription

    1
    2 Votes
    1 Posts
    278 Views
    B
    Hello friends. The nodebb-plugin-paypal-subscriptions plugin does not seem to work and has not been updated for several years. Tell me, is there any solution for a paid subscription?
  • Redis connection error in basic nodeBB setup.

    2
    0 Votes
    2 Posts
    674 Views
    omegaO
    OMG - Redis didn't setup properly all along! I was using make and make install cmd that no longer worked.
  • Disable ACP auto-logout?

    3
    0 Votes
    3 Posts
    398 Views
    Q
    @baris Thanks! Settings ->User->Account Protection->Admin relogin duration (minutes)->0
  • Site showing default Apache welcome page

    1
    0 Votes
    1 Posts
    324 Views
    Jack SpangenbergJ
    I was trying to switch to Apache instead of Nginx and I did all the instructions on https://docs.nodebb.org/configuring/proxies/apache/ But when I visit forums.mydomain.com, the default Apache welcome page appears. I’d appreciate any help!
  • Anyway to stop server restarts, if plugin throws an error?

    2
    0 Votes
    2 Posts
    425 Views
    barisB
    I don't think it's possible to recover from an unhandledException, the plugin needs to check the post object to make sure it's not undefined. Or needs to wrap that part of the code in a try/catch.
  • Default email port changed from 25 to 587

    4
    0 Votes
    4 Posts
    631 Views
    N
    You are right. I was fixed enabling Custom SMTP and set port 25 and all parameters there: [image: JeTory0.png]
  • Getting an error with my Custom Javascript

    3
    0 Votes
    3 Posts
    478 Views
    R
    @PitaJ Thank you. How about this error that I am seeing in my browser console: [image: gMCVbJr.png]
  • browser console errors after v1.6.0 upgrade

    30
    0 Votes
    30 Posts
    7k Views
    zaasmiZ
    Cyberian.pk [image: dpTe4y2.png] nodebb.com [image: mcpQOYo.png]