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.

  • Protect whole site with login?

    12
    0 Votes
    12 Posts
    4k Views
    C

    ive done something like this, change the links in navigation to require to be logged in. only link i have on my main forum, is the login link, everythign else is taken away

  • install on wp site

    22
    0 Votes
    22 Posts
    8k Views
    absurdsmashA

    @yariplus Thanks for the help, but I guess it was not the solution. Thanks anyway, im going to try again

  • Able to see " Register ", " Login "

    6
    0 Votes
    6 Posts
    2k Views
    meetdilipM

    The issue got fixed by itself now

  • 0 Votes
    2 Posts
    1k Views
    julianJ

    @matti Err... I'm not quite sure whether that is possible. What values have you tried?

  • This topic is deleted!

    Locked
    4
    0 Votes
    4 Posts
    1k Views
  • Conditional template possible

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    Bruce LeeB

    @yariplus and @jarey, thanks I got your points.

    haha I was looking for shortcut. I just read on this templates.js, it seem powerful, so I was looking around for more examples to see how far it can go.

    With jquery, I can listen to the change in the <select> and render the fields accordingly.

  • Error during WebSocket handshake

    13
    0 Votes
    13 Posts
    6k Views
    Y

    I'm quite sure I did, but juste in case I will check again.

  • Cannot access this domain from PC

    6
    0 Votes
    6 Posts
    2k Views
    meetdilipM

    Just tried. Working fine on Vivaldi browser for Ubuntu.

  • 0 Votes
    5 Posts
    2k Views
    E

    @pichalite said in v1.x.x installs mongodb 2.1.22 and requires 2.1.3:

    @exodo try the install without the ~

    npm i [email protected]

    that's the latest in that minor version.

    seems to work now after a few error commands 🌝

    npm i [email protected] - > [email protected] install /var/foroexodo/nodebb/node_modules/mongodb/node_module s/kerberos > (node-gyp rebuild) || (exit 0) make: Entering directory `/var/foroexodo/nodebb/node_modules/mongodb/node_module s/kerberos/build' CXX(target) Release/obj.target/kerberos/lib/kerberos.o In file included from ../lib/kerberos.cc:1:0: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory compilation terminated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 make: Leaving directory `/var/foroexodo/nodebb/node_modules/mongodb/node_modules /kerberos/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module s/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820: 12) gyp ERR! System Linux 3.5.0-54-generic gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/nod e-gyp.js" "rebuild" gyp ERR! cwd /var/foroexodo/nodebb/node_modules/mongodb/node_modules/kerberos gyp ERR! node -v v0.10.37 gyp ERR! node-gyp -v v1.0.1 gyp ERR! not ok [email protected] node_modules/mongodb β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] ([email protected], [email protected], [email protected] 1, [email protected]) β”œβ”€β”€ [email protected] ([email protected]) └── [email protected] ([email protected]) root@w1-exodo:/var/foroexodo/nodebb# npm ls mongodb [email protected] /var/foroexodo/nodebb └── [email protected] invalid npm ERR! invalid: [email protected] /var/foroexodo/nodebb/node_modules/mongodb npm ERR! not ok code 0 root@w1-exodo:/var/foroexodo/nodebb# npm install root@w1-exodo:/var/foroexodo/nodebb# ./nodebb upgrade 1. Bringing base dependencies up to date... OK 2. Checking installed plugins for updates... OK 3. Updating NodeBB data store schema... 15/8 11:14 [5763] - info: [database] Checking database indices. 15/8 11:14 [5763] - info: Beginning database schema update 15/8 11:14 [5763] - info: [2015/12/15] Chats upgrade skipped! 15/8 11:14 [5763] - info: [2015/12/23] Chats room hashes upgrade skipped! 15/8 11:14 [5763] - info: [2015/12/23] Adding theme to active plugins sorted set skipped! 15/8 11:14 [5763] - info: [2016/01/14] Creating user best post sorted sets skipped! 15/8 11:14 [5763] - info: [2016/01/20] Creating users:notvalidated skipped! 15/8 11:14 [5763] - info: [2016/01/23] Creating Global moderators group skipped! 15/8 11:14 [5763] - info: [2016/02/25] Social: Post Sharing skipped! 15/8 11:14 [5763] - info: [2016/04/14] Group title from settings to user profile skipped! 15/8 11:14 [5763] - info: [2016/04/19] Users post count per tid skipped! 15/8 11:14 [5763] - info: [2016/04/29] Dismiss flags from deleted topics skipped! 15/8 11:14 [5763] - info: [2016/05/28] Giving topics:read privs to any group that was previously allowed to Find & Access Category - skipped! 15/8 11:14 [5763] - info: [2016/06/13] Store upvotes/downvotes separately skipped! 15/8 11:14 [5763] - info: [2016/07/12] Upload privileges skipped! 15/8 11:14 [5763] - info: [2016/08/05] Removing best posts with negative scores skipped! 15/8 11:14 [5763] - info: [upgrade] Schema already up to date! OK NodeBB Upgrade Complete! root@w1-exodo:/var/foroexodo/nodebb# npm ls redis [email protected] /var/foroexodo/nodebb β”œβ”€β”¬ [email protected] β”‚ └─┬ [email protected] β”‚ └── [email protected] β”œβ”€β”€ [email protected] └─┬ [email protected] └── [email protected] root@w1-exodo:/var/foroexodo/nodebb# npm ls mongodb [email protected] /var/foroexodo/nodebb └── [email protected]
  • [Solved] Invalid Session on Cloud9

    2
    0 Votes
    2 Posts
    1k Views
    TeboT

    So after clearing all local data, deleting the session entries via CLI, restarting the server, etc...

    I noticed that when I navigated to my forums this morning, I did not use the secure protocol URL I had in my config.json. πŸ’©

  • How to install NodeBB on Debian 8 (jessie)?

    11
    0 Votes
    11 Posts
    4k Views
    P

    this should work for you, you should've mentioned you are using plesk on the server early on
    since it completely changes how apache2/nginx configuration works
    https://community.nodebb.org/topic/9215/running-nodebb-with-plesk-tips

  • How to cover the original domain with a different one?

    Unsolved
    5
    1 Votes
    5 Posts
    2k Views
    A

    @pichalite said in How to cover the original domain with a different one?:

    @Apple-Pro said in How to cover the original domain with a different one?:

    I managed to do it for free using cloud 9

    Sure if the time you spent setting it up is worth nothing.

    Just an FYI if you didn't know it already, those free cloud 9 workspaces go in to hibernate mode after few hours of inactivity in the IDE. So, your installation will not be accessible after that.

    I can easily restart it.....it's actually worth being for free

  • SMF ssi.php mechanism?

    4
    0 Votes
    4 Posts
    1k Views
    OctalO

    Yes, thats what I've seen before, but, excuse me if I'm not understanding it well. with nodebb's /api you can easily get data from the forum in the browser (front end), but what I meant is a backend feature, like, when a poll (silly example, I know) is created (post request) store in the database the username, userid, body etc... of the user who is creating it, where the user information was provided directly from the forum and it ensures the authenticity of the session.

    ps: sorry for the english level, is also a bit late.

  • I need someone to setup nodebb for me

    Locked
    12
    0 Votes
    12 Posts
    4k Views
    P

    Hugs? 🍺 ? Those can be free

  • Openshift - How to fix csrf-invalid ?

    6
    0 Votes
    6 Posts
    3k Views
    P

    @TzA-0x000000001 if you are not able to login, try clearing the cookie domain directly in the database.

    db.objects.update({_key: "config"}, {$set: {cookieDomain: ""}});

  • A little help with NodeBB on Docker?

    13
    1 Votes
    13 Posts
    6k Views
    BriB

    Lots of people here willing to help, just have to show your effort πŸ™‚

  • Error when upgrading nodebb to 1.1.2

    Solved
    1
    0 Votes
    1 Posts
    1k Views
    toolitoT

    Hi,
    i have an error when I try to upgrade v1.1.0 to v1.1.2

    0_1470912978713_Capture d’écran 2016-08-11 aΜ€ 12.55.06.png

    I am using benlulbar/nodebb docker package.

    Do you think it is an error on my database, or on the migration script code ?

    Related issue

  • Where is the Copyright located?

    4
    -1 Votes
    4 Posts
    1k Views
    JenklerJ

    You can modify a lot with the css editor in the acp πŸ™‚

  • Why are there two types of Groups in NodeBB?

    6
    0 Votes
    6 Posts
    2k Views
    greenmoonG

    @phit thanks a lot! πŸ˜ƒ

  • Upgrading from old version

    4
    0 Votes
    4 Posts
    1k Views
    P

    @exodo https://github.com/NodeBB/NodeBB#requirements