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.

  • Invalid CSRF Token

    20
    0 Votes
    20 Posts
    14k Views
    H

    @phit said in Invalid CSRF Token:

    for the record for people finding this via search, for apache2 you have to set this somewhere in your nodebb vhost configuration

    Thank you very much. This really made my day !!!

  • Problems with login after upgrading to 1.11.0

    4
    1 Votes
    4 Posts
    644 Views
    H

    @FrankM said in Probmes with login after upgrading to 1.11.0:

    But in config.json i have http://...... Edit it to https:// solved the problem.
    Before version 1.11.0 i don't have this problem.

    Thanks, that solved the problem for me as well, changing http to https. And as for you, I did not have this problem before 1.11.0

    But then an other problem turned up: "Invalid CSRF Token"

    Pls see this link https://community.nodebb.org/topic/9222/invalid-csrf-token

    My solution for this was what is written in the end (I use Apache2)

    for the record for people finding this via search, for apache2 you have to set this somewhere in your nodebb vhost configuration
    with ssl

    RequestHeader set X-Forwarded-Proto "https"

    without ssl

    RequestHeader set X-Forwarded-Proto "http"

    you might have to enable mod_headers to do so!

    So upgrading to 1.11.0 gave me a problem that had to be solved in 2 steps. First by changing in config.json, then I had to modify Apache2 settings.

  • Widget only on some sections

    3
    0 Votes
    3 Posts
    364 Views
    SimosS

    @PitaJ i've made a persona child theme mantaining the same widget :

    { name: "Categories Sidebar", template: "categories.tpl", location: "sidebar" }, { name: "Category Sidebar", template: "category.tpl", location: "sidebar" }, { name: "Topic Sidebar", template: "topic.tpl", location: "sidebar" }, { name: "Categories Header", template: "categories.tpl", location: "header" }, { name: "Category Header", template: "category.tpl", location: "header" }, { name: "Topic Header", template: "topic.tpl", location: "header" }, { name: "Categories Footer", template: "categories.tpl", location: "footer" }, { name: "Category Footer", template: "category.tpl", location: "footer" }, { name: "Topic Footer", template: "topic.tpl", location: "footer" }

    but i can't see other's than linked screenshot

  • Error after upgrading to 1.11.0 [Solved]

    4
    0 Votes
    4 Posts
    710 Views
    H

    @baris said in Error after upgrading to 1.11.0:

    NodeBB is on version 1.1.0 so the command should use v1.1.x.

    1.11.0 worked fine for me.

  • Only admin account can upload non-image files

    2
    0 Votes
    2 Posts
    427 Views
    Q

    Worked it out.

    In the admin panel:

    Manage>Privileges

    then tick the 'upload files' box for registered users.

  • Missing logs - only 2 days of logs

    4
    0 Votes
    4 Posts
    480 Views
    D

    Okay, I'll also look for bugs. I think this happens when I either build, stop, or start from the command line.

  • Admins can see all signatures

    3
    0 Votes
    3 Posts
    366 Views
    D

    Maybe a permission to activate the setting?

  • Digest emails not getting sent

    25
    0 Votes
    25 Posts
    3k Views
    D

    Darn, that makes debugging difficult. I guess I'll file a bug with the errors that stopped the digest send.

  • Search crashes MongoDB and NodeBB

    22
    0 Votes
    22 Posts
    2k Views
    barisB

    If you click clear index on the ACP page for the plugin and then reindex it should only reindex the category not excluded.

  • Changing Font Size

    1
    0 Votes
    1 Posts
    252 Views
    M

    Greetings,

    We are using the default theme, is it possible to make the font size larger? If so how do we do that?

    Thank you.

  • Drip Email tool compatible with NodeBB

    1
    1 Votes
    1 Posts
    285 Views
    A

    Hello,

    I am currently using NodeBB to run a community forum and now I am looking at integrating a Drip Email tool into the forum.
    Are there any recommendations on which tools are the most campatible with NodeBB?
    Please find a list of popular drip email tools here.

    Looking forward to a positive response!

  • 0 Votes
    10 Posts
    816 Views
    D

    @baris

    New error, hope it's okay:

    4. Updating NodeBB data store schema... Parsing upgrade scripts... 2018-11-30T15:21:24.425Z [24448] - warn: [upgrade/appendPluginScripts] Unable to read plugin.json for plugin `nodebb-plugin-import-smf-1`. Skipping. OK | 1 script(s) found, 67 skipped → [2019/1/26] Changing dbsearch mongodb search schema to use _id... 2018-11-30T15:21:24.509Z [24448] - error: ns not found MongoError: ns not found at /var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63 at authenticateStragglers (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16) at Connection.messageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5) at emitMessageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10) at Socket.<anonymous> (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) {"ok":0,"errmsg":"ns not found","code":26,"codeName":"NamespaceNotFound","name":"MongoError"} 2018-11-30T15:21:24.512Z [24448] - error: ns not found MongoError: ns not found at /var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63 at authenticateStragglers (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16) at Connection.messageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5) at emitMessageHandler (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10) at Socket.<anonymous> (/var/srv/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at Socket.Readable.push (_stream_readable.js:208:10) {"ok":0,"errmsg":"ns not found","code":26,"codeName":"NamespaceNotFound","name":"MongoError"}

    Thanks for the help BTW.

  • nodebb-plugin-ns-embed don't work with v1.11.0

    3
    0 Votes
    3 Posts
    560 Views
    FrankMF

    Problem solved with version 3.

  • strange scrolling behaviour on v1.11.0

    3
    0 Votes
    3 Posts
    392 Views
    S

    here was the offending line:

    body { height: 100%; }
  • 0 Votes
    3 Posts
    538 Views
    P

    @baris said in Choosing forum software - a couple of questions:

    There is no quick way to find threads that you took part in but you can watch topics or bookmark posts, or watch topics automatically when you reply to them.

    I see. But this way requires user action on each post and does not work on old posts. I could make it the default but that would make the normal usage of watching posts not very useful.

    So I hope it would be easy to write a plugin or some other extension which would add the "threads you took part in" link?

  • persona child theme and v1.11.0

    3
    0 Votes
    3 Posts
    446 Views
    S

    thanks!
    all good now.

    I hadn't noticed that the header.tpl template had been changed here:
    https://github.com/NodeBB/nodebb-theme-persona/commit/90a1ba1eb1f5377c45c44656d3172389656c5a90

  • Change upvote/downvote icons?

    9
    0 Votes
    9 Posts
    1k Views
    S

    Great Idea! I took your solution and added a few lines of CSS to hide the downvote arrow and remove the whitespace.

    // Change the icon for votes span.votes { // not voted is outline heart .fa-chevron-up:before { content: "\f08a"; } // upvoted is solid heart .upvoted .fa-chevron-up:before { content: "\f004"; } } // hide the downvote element to remove whitespace a[component="post/downvote"] { display: none; } // reduce margin of post-submenue for alignment .topic .moderator-tools { margin-left: 0px; }
  • upgrade from v1.10.2 to v1.11 crashing

    8
    0 Votes
    8 Posts
    736 Views
    barisB

    Inspect your category data, it seems you have some invalid data in there.

  • 0 Votes
    8 Posts
    1k Views
    T

    @baris Those are already updated on my side. So the developers need to bring out updates, right?

    Thank you - no more errors/warnings.

  • My forum doesn't work properly on mobiles

    22
    0 Votes
    22 Posts
    3k Views
    A

    @PitaJ we can't do that at this time, it seems like it is working good, in few weeks we would acquire more ram if it's the problem.

    Thank you very very much!