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.

  • mention pick list not opening

    1
    0 Votes
    1 Posts
    841 Views
    T

    For some reason, my mentions aren't quite working right. When I type the @ symbol, the majority of the time the pick list for the mentions does not open up. It looks like the pick list doesn't open for me whenever the @ is typed on the first line (basically before any line break).

    As an example, here is what it ends up looking like:
    0_1482349966717_upload-744b25e2-2e44-461d-a9da-9ebd2676debd

    A few of my users are reporting that the pick list opens, but closes after one character being typed.

    I am using Chrome x64 (latest). NodeBB is up at 1.4.1. No errors in the Chrome console either.
    0_1482350174215_upload-42e17644-9295-44bc-93d2-ba46b48d3717

    Edit: And of course, after typing this, I also see the issue with the pick list closing after typing one character.

  • Upgrade to 1.4.0 - Issues with websocket?

    2
    0 Votes
    2 Posts
    1k Views
    fabianF

    I disabled websocket support in config.js

    "socket.io": { "transports": ["polling"] }

    And the board is back again.
    This is ok for me, since websockets never worked with the proxy setup...

  • Update from v0.7.0 to v1.4.0

    31
    0 Votes
    31 Posts
    11k Views
    TaLocheT

    Finally made it from v0.6.0 to v1.4.1

    This was my upgrade route (hosted on DigitalOcean and with a mongo database - shell 2.6.7, node v0.10.38)

    *v0.6 to v0.6.1 git fetch git reset --hard origin/v0.6.x git describe --tags ./nodebb upgrade *v0.6.1 to v0.7.0 git checkout v0.7.0 ./nodebb upgrade npm install touch npm install minimist npm install colors *v0.7.0 to v0.7.3 git reset --hard origin/v0.7.x git describe --tags ./nodebb upgrade node app --upgrade *install nvm curl https://raw.githubusercontent.com/creationix/nvm/v0.11.1/install.sh | bash *Restart terminal nvm install v0.10.39 * Change index.js in /root/"yourfoldername"/node_modules/connect-mongo from *module.exports = require('./src'); *to *module.exports = require('connect-mongo/es5'); *edit /etc/mongod.conf, to uncomment auth = true line service mongod restart mongo use admin db.createUser({user: "adminname", pwd: "yourpassword", roles: ["readWrite"]}) use *name of the db where nodebb is installed* db.updateUser( "adminname", { roles : [ { role : "dbAdmin", db : "*name of the db where nodebb is installed*" }, { role : "readWrite", db : "*name of the db where nodebb is installed*" } ] } ) ./nodebb upgrade ./nodebb start ./nodebb stop *v0.7.3 to v0.8.x git checkout v0.8.x git pull ./nodebb upgrade ./nodebb start ./nodebb stop *v0.8.2 to v0.9.x git checkout v0.9.x git pull ./nodebb upgrade ./nodebb start ./nodebb stop *v0.9.4 to v1.4.1 git checkout v1.x.x git pull nvm install v6.2.1 nvm use v6.2.1 ./nodebb upgrade *edit /etc/mongod.conf, to uncomment noauth=true line

    This should help to avoid any issue with mmmagic, kerberos, bluebird and the key_1_value_-1 already exist error.

    Et voilà !

    Thanks again for your help Julian !

  • Passing cluster ports to app.js

    1
    0 Votes
    1 Posts
    768 Views
    Absam SibsamA

    Is there a way to pass an array of ports to the setup process ?

    some thing like this node app --setup -port="[4567, 4568, 4569]"

    Thank's

  • How to get forward user's avatar

    4
    0 Votes
    4 Posts
    253k Views
    PitaJP

    @Ny-Kamal there's no way to do this at the moment as the post parent data doesn't contain user icon info

  • 0 Votes
    3 Posts
    2k Views
    C

    Author of Barebones CMS here. The message you received is associated with your IP address, which indicates that your current IP address has probably been flagged globally a known spam source. Even after you clear up the spam issue on your end, the IP information on the server side is cached for two weeks. You can always send an e-mail to [email protected].

    NodeBB is not associated with MyBB. The folks behind MyBB are not associated with Barebones CMS nor any other CubicleSoft related product.

  • Cannot find module [..] my-theme/less/app.js

    8
    0 Votes
    8 Posts
    2k Views
    julianJ

    @Bret certainly wouldn't hurt to try 😄

    Back up your db though!

  • 0 Votes
    1 Posts
    66k Views
    A

    I want make different view for first post and I use <!-- IF !posts.index --> <!-- ENDIF !posts.index -->. But problem in replies (in v1.3.0). In replies {posts.index} is not set, so it false. And replies looks like first post. Any ideas how change first post without changing replies?
    May be exist some construction like <!-- IF posts.index=0 -->?

    Screenshots:
    0_1481879854859_Screenshot from 2016-12-16 14:11:48.png

    But problem with it:
    0_1481879881614_Screenshot from 2016-12-16 14:12:08.png

  • Advice on Local Install Debugging - Windows

    8
    0 Votes
    8 Posts
    2k Views
    T

    @jarey Will bear that in mind, thanks again

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    9 Views
  • 1 Votes
    3 Posts
    2k Views
    H

    Thank you for this solution, it works like a charm.

  • Groups - Post Selection Logic Question

    2
    1 Votes
    2 Posts
    1k Views
    M

    @tedbaker said in Groups - Post Selection Logic Question:

    I would like the groups to only show a post in that feed if it is posted in certain categories or if the @Group is used and not only if a member is in the group.

    Do you think that would be possible and if so what code would i need to look at?

    Thanks

    Ted

    Amen.

  • Social sharing url

    3
    0 Votes
    3 Posts
    1k Views
    barisB

    This is already fixed on master, will be available in 1.4.1

  • NodeBB can't Register/Login

    2
    0 Votes
    2 Posts
    1k Views
    DarwinD

    Remove config.json and run /.nodebb -setup... this is also happen for me if reboot my server.. and also sometimes my local install after reboot... I´am also hunting a solution!

  • 0 Votes
    8 Posts
    2k Views
    PitaJP

    @rod looks like you can fix it temporarily by using this css:

    @media (min-width: 992px) { .composer .title-container .title.form-control { padding: 3px 16px; height: auto; } }

    I'll see what I can do about fixing theme-vanilla and composer-default for the future.

  • Theme not changing

    21
    0 Votes
    21 Posts
    6k Views
    DarwinD

    @julian I will try with swap 🙂 I just have to understand my problem 🙂

  • New installation missing views

    Solved
    13
    0 Votes
    13 Posts
    4k Views
    julianJ

    seconding swap. A 512mb droplet will run out of memory when installing dependencies for NodeBB..

  • New install what to use?

    1
    0 Votes
    1 Posts
    736 Views
    DarwinD

    I want to install nodebb on digitalocean..

    Which is the best OS and version ??

    which version of node.js ??

    Redis or Mongo ??

  • how to create topic with posts in an easy way

    10
    0 Votes
    10 Posts
    4k Views
    R

    @riddle911
    This guy had the same issue about write-api: https://community.nodebb.org/topic/9966/cannot-find-installed-plugins

  • How can I let Guests Answer to Posts

    3
    0 Votes
    3 Posts
    1k Views
    T

    @PitaJ thank you 🙂