Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.7k Topics 26.1k 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
    196 Posts
    phenomlabP

    @baris updated to 3.7.2 and now just waiting for the plugin to be updated.

  • 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
    1k 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

  • HELP! Update from 0.8 to 1.4

    6
    0 Votes
    6 Posts
    3k Views
    O

    😞

    tom@ama:~/nodebb$ mongo nodebb
    MongoDB shell version: 3.2.12
    connecting to: nodebb
    Server has startup warnings:
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten]
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten]
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
    2017-02-19T11:42:57.746+0000 I CONTROL [initandlisten]

    show users
    {
    "_id" : "nodebb.nodebbsvc",
    "user" : "nodebbsvc",
    "db" : "nodebb",
    "roles" : [
    {
    "role" : "readWrite",
    "db" : "nodebb"
    }
    ]
    }

  • clustering on one cpu

    8
    0 Votes
    8 Posts
    2k Views
    S

    @julian said in clustering on one cpu:

    @teh_g Keep in mind that the 503 threshold is conservative, it is likely okay for you to raise that number by a bit before having to spin up new servers.

    We did that too, helped a lot.

  • nodeBB integration in a web app UI

    1
    0 Votes
    1 Posts
    627 Views
    S

    I am a web developer, new to nodeBB.

    I am working on a web app where users can discuss a document (see the prototype here; I am in the process of simplifying the UX and planning for version 1). The UI looks like this:
    -- a main area shows the document,
    -- in other areas/windows/tabs, users can create topics to discuss parts of the document.

    Does it sound feasible with nodeBB? My main concern is not OAuth/SSO, but client-side display.

  • Category cards on Persona theme

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    P

    @MJ it's neither. You will have to rewrite the template file to match that (it's vanilla theme).

  • Deleting categories

    2
    0 Votes
    2 Posts
    954 Views
    PitaJP

    @JKF80 what version of NodeBB? Disabling the category should remove it from that page. Are there any errors?

  • Getting Version Number

    3
    0 Votes
    3 Posts
    1k Views
    R

    Thank you @baris . Your tip didn't get me precisely what I needed but it got me on the right path. This is what I was looking for: config.version

  • Google Tag Manager

    4
    0 Votes
    4 Posts
    1k Views
    E

    they want it in the head / body fields.

    footer.tpl doesn't have those. i'm going to try header.tpl