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
    1k Views
    J

    @pitaj said in Many NodeBB forums have a message... connection... lost...:

    The "connection lost" message is usually caused because the URL at which you are visiting a NodeBB forum is not the "url" value set in config.json

    I can be on mangolassi.it for hours. Then I leave that tab and work in another tab for a while, and then when I click back on the tab for mangolassi.it I will be spammed with connection lost.

    @scottalanmiller

  • 0 Votes
    6 Posts
    1k Views
    T

    @teh_g There it is, thanks.

  • Moving NodeBB to a different server

    2
    0 Votes
    2 Posts
    795 Views
    barisB

    You need the uploaded files as well which are at public/uploads in the nodebb folder.

  • Users data

    3
    0 Votes
    3 Posts
    759 Views
    Evgeniy OneginE

    @baris thx

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • 1 Votes
    7 Posts
    2k Views
    Gus SurarezG

    It was rather trivial to add the error message, here is how:

    in uglify-js module, added a error reporting log to the file lib\parse.js in following method:

    function js_error(message, filename, line, col, pos) { console.log(message, filename, line, col, pos); throw new JS_Parse_Error(message, filename, line, col, pos); };

    Looks like the error handling of fault barrier doesn't do what it supposed to.

    @PitaJ Thank again for your help.

  • How to "emit" an event from the plugin with callback

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    J

    Indeed its broadcast, thank you. Solved the problem from the client side and moved on. Thank you very very much!!!

  • Problem

    10
    0 Votes
    10 Posts
    2k Views
    Evgeniy OneginE

    Probably i'm really solved ;d
    Just replace url in package.json

    "nodebb-theme-quickstart": "url",

    to

    "nodebb-theme-quickstart": "1.0.0", // your version

    and add --save
    to npm install https://github.com/nodebb/nodebb-theme-quickstart --save

  • E-mail from name not showing

    1
    0 Votes
    1 Posts
    445 Views
    T

    Hi,

    How do I make the e-mails display the name I set under e-mail settings, it shows the e-mail address instead of the name right now.

    I am using the Sparkhost plugin.

  • Maintenance mode - behaviour and controll

    1
    0 Votes
    1 Posts
    458 Views
    N

    Hello,

    I have two questions regarding the maintenance mode.

    When maintenance mode is enabled. How are currently active users affected? Especially what happens if a user is typing/submitting a post while maintenance mode gets activated. Is there a way to controll maintenance mode besides the admin panel? CLI or RestAPI maybe?

    Thanks for your insights.
    Nils

  • Randomly my CSS just broke

    7
    0 Votes
    7 Posts
    900 Views
    PitaJP

    What commands did you use to upgrade?

  • Upgrade fail

    2
    0 Votes
    2 Posts
    671 Views
    PitaJP

    Link Preview Image Skin display issue (noskin)

    @annihil this should work, but definitely back up the whole nodebb folder and your database first. To achieve this, we're going to do the following steps: I...

    favicon

    NodeBB Community (community.nodebb.org)

    Use whichever 1.x version of NodeBB you're currently on.

  • Installing on Heroku

    4
    0 Votes
    4 Posts
    1k Views
    RogerLevyR

    @pitaj Followup to last message ... turns out Heroku does not allow access through any other port than the one it gives you. Is this an insurmountable obstacle and I should look into other hosting, or is there a workaround?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • 0 Votes
    3 Posts
    1k Views
    T

    Thanks Julian! That fixed it.

  • Does it work?

    3
    0 Votes
    3 Posts
    1k Views
    Evgeniy OneginE

    I decided the question in a different way

  • Send mail failed

    1
    0 Votes
    1 Posts
    527 Views
    Z

    Hi,

    nodebb version 1.8.1
    os ubuntu 16.04

    when send confirm mail to new users,
    output in nodebb log:

    io: 1 on [ { type: 2, nsp: '/', id: 1, data: [ 'user.getUnreadCounts' ] } ]
    io: 1 on [ { type: 2, nsp: '/', id: 2, data: [ 'user.emailConfirm', {} ] } ]
    2018-04-04T06:02:18.196Z [2448] - error: Error: Sendmail exited with code 67
    at ChildProcess.sendmail.once.code (/home/ubuntu/nodebb/nodebb/node_modules/nodemailer/lib/sendmail-transport/index.js:137:27)
    at Object.onceWrapper (events.js:272:13)
    at ChildProcess.emit (events.js:180:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)

    Thank you.

  • MySQL data to html

    3
    0 Votes
    3 Posts
    788 Views
    PitaJP

    @evgeniy-onegin it's not simple. If you don't know where to start, and especially if you aren't a programmer, you're going to have a hard time.

  • node metrics VS google analytics metrics

    2
    0 Votes
    2 Posts
    589 Views
    aladmeA

    @aladme

    Can be caused by crawler bots? Seems that GA filter those visits.
    How can we mitigate that on node metrics?

    XD

    Thanks!

  • How can i fix my user?

    1
    0 Votes
    1 Posts
    543 Views
    L

    Hello... My user is one of the first to register on my forum (we have 2.6k now) and mine is to only one that the profile last posts and chat doesn't work.

    Does anyone have the same issue in the past? How you solve it?

    Its getting annoying... (i remember i tried to delete the user and create a new one logging in with facebook.... but it got the details of the old one.. so... everthing is fucked 🙂 )