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.

  • This post is deleted!

    14
    1 Votes
    14 Posts
    5k Views
    T

    @jarey This fixed the issue! Thanks.

  • 0 Votes
    28 Posts
    14k Views
    J

    @Pramvir-Rathee here is my current Nginx config for the site.

    server { client_max_body_size 40M; listen 443 ssl; server_name community.bundystl.com; ssl on; ssl_certificate /etc/letsencrypt/live/bundystl.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/bundystl.com/privkey.pem; ssl_stapling on; ssl_stapling_verify on; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_dhparam /etc/ssl/certs/dhparam.pem; add_header Strict-Transport-Security "max-age=31536000; includeSubdomains"; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://10.254.0.35:4567; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } server { client_max_body_size 40M; listen 80; server_name community.bundystl.com; rewrite ^ https://$server_name$request_uri? permanent; }
  • bug report ADMIN CP -> Advance -> Database

    3
    0 Votes
    3 Posts
    1k Views
    julianJ

    Thanks @dwatley for your insight 😄

  • 0 Votes
    6 Posts
    3k Views
    julianJ

    and this port then sends this to docker with port 4567. I have no nginx involved anywhere. How can I make login work in my case?

    I'm not familiar with Docker, but something is acting as reverse proxy. You'll have to figure out what it is, and add that header in appropriately.

  • Deleting null posts on DB

    2
    0 Votes
    2 Posts
    1k Views
    E

    Uppppppp

  • Assigning user group after registration

    3
    0 Votes
    3 Posts
    2k Views
    M

    I must've missed 'Default user settings' part. Thanks!

  • Group posts limit or auto scroll

    1
    0 Votes
    1 Posts
    769 Views
    T

    Currently it looks like the groups only load 10 posts and that is it, is there anyway to turn on auto scroll or at least increase this limit?

    Thanks

    Ted

  • How to install and setup NodeBB?

    5
    0 Votes
    5 Posts
    4k Views
    H

    @Waqass-Khalid

    As of date is it the only option available? shared hosting still not possible?

    Not unless the shared hosting provider gives you some command line access and will let you install nodejs, and run several npm commands. Plus they have to have MongoDB or Redis access for database. 😛 Most shared hosting providers don't have the software necessary for running nodebb, and they won't let you install it.

  • site logo not uploading to /uploads/system

    6
    0 Votes
    6 Posts
    2k Views
    T

    @julian said in site logo not uploading to /uploads/system:

    Agreed, that sounds like a prudent course of action.

    Done:
    https://github.com/barisusakli/nodebb-plugin-imgur/issues/29

  • 3 Votes
    1 Posts
    1k Views
    Pramvir RatheeP

    I want to browse two tags topics in one page, which url should i put ?
    For example tags are

    anatomy surgery
    Now we know we can separately browse two with following urs /tags/anatomy
    and /tags/surgery
    But i want to filter the topics with both tags
    i tried something like /tags/anatomy+surgery
    */tags/anatomy&surgery
    but none of them work.
    is there anyway i can filter topics with two or more tags ?
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    57 Views
  • 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
    840 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...