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.

  • Issue with Admin Panel since upgrade to 1.4.2

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    M

    @PitaJ @priapo thanks for the support 🙂 Technical assistance helped me because i dont have access to the apache config.

  • 0 Votes
    2 Posts
    2k Views
    P

    It was solved; here is my working Apache's nodebb.conf:

    <VirtualHost *:80> ServerName thewizards.club Redirect permanent / https://thewizards.club </VirtualHost> <VirtualHost *:443> ServerName thewizards.club SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM SSLCertificateFile /etc/apache2/ssl/thewizards-club/2_thewizards.club.crt SSLCertificateKeyFile /etc/apache2/ssl/server.key.insecure SSLCertificateChainFile /etc/apache2/ssl/thewizards-club/1_root_bundle.crt # ServerAdmin webmaster@localhost <Proxy *> Require all granted </Proxy> ProxyRequests off #ProxyVia on AllowEncodedSlashes On #ProxyPreserveHost on RequestHeader set X-Forwarded-Proto "https" RewriteEngine On RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://127.0.0.1:4567/$1 [P,NE,L] # NE flag == noescape ProxyPass /socket.io http://127.0.0.1:4567/socket.io nocanon retry=0 ProxyPassReverse /socket.io http://127.0.0.1:4567/socket.io ProxyPass / http://127.0.0.1:4567/ nocanon retry=0 ProxyPassReverse / http://127.0.0.1:4567/ ErrorLog /home/web/logs/apache/forum-error.log CustomLog /home/web/logs/apache/forum-access.log combined </VirtualHost>

    It was fixed it based on these resources:

    Link Preview Image Apache ProxyPassReverse escaping special characters

    I have this very simple reverse proxy rule in Apache 2.2.19: ProxyPass /test http://other.local.machine/test ProxyPassReverse /test http://other.local.machine/test The problem is...

    favicon

    Server Fault (serverfault.com)

    Link Preview Image can't get mod_proxy to correctly forward encoded slash (/) characters (%2f)

    I have a virtual host set up to redirect ntung-gitblit.localhost --> myserver:1279. However, it's not working with forward encoded slashes (%2f). The URL I'm trying to access is, http://ntung-gitb...

    favicon

    Server Fault (serverfault.com)

  • Add group member add/remove to Events

    1
    0 Votes
    1 Posts
    1k Views
    lonestarL

    What sort of effort would it take to log users being added or removed from groups, along with the user that added/removed them?

  • 0 Votes
    7 Posts
    3k Views
    T

    Thanks @julian! Works now. Seems like we'll have to rerun build each time we npm install a new plugin 😄

  • Internet randomly crashes with Installshield

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    jareyJ

    @alanwaston excuse me, but... what has this to do with nodebb?

    Technical Support forum here on community.nodebb.org is ment to be the place to give thecnical support about nodebb.

  • 0 Votes
    3 Posts
    1k Views
    barisB

    Widget essentials has a suggested topics widget.

  • Crash when navigating to manage flags page

    3
    0 Votes
    3 Posts
    1k Views
    lonestarL

    @baris
    This worked perfectly. Thank you!

  • 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
    769 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