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.

  • session conflict

    4
    0 Votes
    4 Posts
    1k Views
    julianJ

    It is not. I need to know everything you did to trigger it, what buttons you pressed, everything.

    If I can't reproduce it, I can't fix it, and it's likely a config issue on your end.

  • Saving plugins on Amazon S3

    1
    0 Votes
    1 Posts
    659 Views
    liberaltechL

    Is there a way that I can save the plugins I install through the ACP on Amazon S3?

    I currently host my forum on Heroku and it seems to default the theme when I have been offline for a long period of time. It does not delete the plugins though, a quick restart usually places everything back to where it was.

    This last time I reconnected it was showing me the persona theme even though I'm using the slick theme. Has this happened to anyone else?

  • 0 Votes
    3 Posts
    1k Views
    julianJ

    Giving away your credentials is dangerous, please do not do so.

    Let us know the output of /var/log/mongodb, or what happens when you try to start mongo from the command line, thanks.

  • 0 Votes
    2 Posts
    1k Views
    barisB

    This sounds like https://github.com/NodeBB/NodeBB/issues/5472, take a look at that issue and make the suggested changes.

  • Console error after plugin install

    5
    0 Votes
    5 Posts
    1k Views
    Gnat008G

    @baris That does seem to have worked! Thanks!

  • 0 Votes
    6 Posts
    5k Views
    사다리하하

    @rod said in i want to play(mp4 file and mp4 url) in my web site how can i do it???:

    <a href="(.).mp4">[^<]</a>

    solved it~!!!!!

    ^,.^

    write as like this (mp4 play and / mp4 url play on my own web)

    in nodebb-plugin-ns-embed

    it works..

    ----if embed mp4 url----
    Watch🐤
    ."(http://[^"].?.mp4)".*

    Replace🐱
    <video id="$1" src="$1" controls style="width:800px"></video>
    <div><small><a href="$1" target="_blank">Download video</a></small></div>

    ------------------------- if mp4 file upload..---------- follow this
    Watch🐤
    <a href="/uploads/files/(.).mp4">[^<]</a>

    Replace🐱
    <video id="$1" src="/uploads/files/$1.mp4" controls style="width:800px"></video>
    <div><small><a href="/uploads/files/$1.mp4" target="_blank">Download video</a></small></div>

  • Installing v1.4.4 inside docker

    1
    0 Votes
    1 Posts
    628 Views
    lycanoL

    Hi,

    i read in another post ( https://community.nodebb.org/post/53578 ) that you should be able to use node v6. Since i did not find anything related to which version some should use.

    The current Dockerfile suggest using v4 but the file was updated long time ago.

    The docs also do not really say which version some should use (at least i didnt find it here: https://docs.nodebb.org/en/latest/installing/os/debian.html). Since the docs are mentioning wheezy i suspect they are outdated too.

    I would suspect using v6 would be fine since this is the latest LTS now. Which version should is use?

    Best wishes,
    lycano

  • 0 Votes
    9 Posts
    3k Views
    AuthorjamesA

    @PitaJ There we go, for some reason I was trying to use code blocks and it removed the first line

  • 0 Votes
    3 Posts
    1k Views
    S

    @PitaJ Thank you!

    I followed the steps and after v1.4.0 when I checked back into v1.x.x and ran ./nodebb upgrade I received this error now:

    error: Build failed: Unexpected character ''

    It seems i only get this on v1.4.4 I reverted back to v1.4.3 and it seems to be fine for now

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
  • 0 Votes
    4 Posts
    2k Views
    S

    Annnnd I just realized I can probably just make an ajax call to the /api/tags/tagName route and get all the information I need. 👍

  • Problem on last update

    4
    0 Votes
    4 Posts
    1k Views
    PitaJP

    These are warning messages meant for developers. You can safely ignore them. We try to minimize the amount of warnings shown due to these deprecations. Odds are they are just old requests from browser caches, or some other external cause.

  • Embed uploaded video

    2
    0 Votes
    2 Posts
    1k Views
    BriB

    I'm using ns-embed and it's working for me, what's your setup?

  • App broken (unrecoverable theme)

    3
    1 Votes
    3 Posts
    1k Views
    liberaltechL

    @psychobunny I ended up starting from scratch and destroyed the database I was using and created a new one. Working on Heroku makes this very simple to do.

    Two things I can't seem to get working now are my recent cards plugin and email services.

    I also haven't managed to figure out how to upload cover images or profile photos. I get the "invalid mime type" alert.

  • 1 Votes
    2 Posts
    2k Views
    W

    Hi NodeBB community,

    I'd certainly be interested in producing a NodeBB forum, but displaying subcategories as @mxngyn asked above is definitely an interest of mine.

    Please, if you know how to solve this, I'd love to know.

  • invalid csrf token when I login in forum

    4
    0 Votes
    4 Posts
    2k Views
    J

    Check your Nginx settings. One of my systems broke on upgrade because of that.

    Link Preview Image New install leaves me with session mismatch + invalid csrf

    @Pramvir-Rathee here is my current Nginx config for the site. server { client_max_body_size 40M; listen 443 ssl; server_name community.bundystl.c...

    favicon

    NodeBB Community (community.nodebb.org)

  • 0 Votes
    2 Posts
    2k Views
    liberaltechL

    Have you tried installing [email protected] using -g?
    It would be something like this.
    npm install -g [email protected]

  • Navbar Text

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    G

    @JasperNL thank you that did the trick

  • Invalid Array Buffer Length - Error

    9
    0 Votes
    9 Posts
    3k Views
    T

    Users are still receiving the invalid buffer error as well, it appears to be (but I am not sure) posts with a lot of images. Is that likely related?

    Does the buffer array limit/length include the image content? I wouldn't think so.

    Note: Our images are currently sent to imgur.

    Thanks

    Ted

  • Images in old posts not displayed

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP

    @yari https://github.com/NodeBB/NodeBB/issues/5441