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.

  • Autostarting loader.js

    5
    0 Votes
    5 Posts
    2k Views
    E

    So I tried the command cd /var/www/mynodebb/ && sudo ./nodebb start and it worked manually like a charme but when I try to auto start this as a script it still fails, here is what I did (running ubuntu 14.04 lts @ ec2 instance):

    sudo vi /usr/local/bin/autostart.sh #!/bin/sh cd /var/www/mynodebb && sudo ./nodebb start

    sudo chmod 4755 autostart.sh

    sudo vi /etc/xdg/autostart/vmware-user.desktop

    [Desktop Entry] Type=Application Encoding=UTF-8 Exec=/usr/bin/vmware-user-suid-wrapper Name=VMware User Agent # KDE bug 190522: KDE does not autostart items with NoDisplay=true... # NoDisplay=true X-KDE-autostart-phase=1 exec=/usr/local/bin/autostart.sh

    doesn't work... but as I' reading this I might guess that it doesn't work because I don't load any "Desktop" or GUI!? I use this method because of the autostart wiki of ubuntu

  • Change The Way Categories Look?

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    codejetC

    @psychobunny said:

    Technically speaking you can deploy Persona now if you switch to our development (master) branch. That said, may as well wait till next week when we release 0.7

    How do you do spoilers again.. 😉

    Can't wait !

  • Is emoji-extended acting strange in chrome

    6
    0 Votes
    6 Posts
    2k Views
    codejetC

    @julian yeahh did. It's ok, I waiting for something else to come into affect anyway before I do anything NodeBB-wise. It's fine

  • Make a simple login form work

    3
    0 Votes
    3 Posts
    2k Views
    E

    thank you so much. i'm sorry that i haven't found this by searching, but I was in a hurry because we worked on launching a closed beta version of our board so things got a little bit hectic in the last days

  • ERR value is not an integer or out of range

    Solved
    5
    0 Votes
    5 Posts
    5k Views
    Moritz FriedrichM

    Nope- problem seems gone now, since the machine migration everything is fine and I get no more errors. Thanks though 😊

  • Code Block in Post

    8
    0 Votes
    8 Posts
    5k Views
    julianJ

    @Kozax above and below

  • Disable widget only in mobile - possible

    8
    0 Votes
    8 Posts
    3k Views
    P

    hidden-xs

  • Bulk account creation

    3
    0 Votes
    3 Posts
    2k Views
    julianJ

    Alternatively, you could consider installing the write-api and importing the users that way.

  • Infinite Request Loop - Wrong Post Count

    11
    1 Votes
    11 Posts
    4k Views
    S

    @psychobunny no, I have not, but I suspect it may be plugin related or something screwy about this thread in the database. I have been distracted by a million other things and one misbehaving thread wasn't my priority, but I will look and see if I can figure something else out.

  • What theme does this NodeBB install use?

    Moved
    3
    0 Votes
    3 Posts
    2k Views
    Daniel DoyleD

    Ah, fantastic, thanks

  • 502 Proxy Error on login

    16
    0 Votes
    16 Posts
    6k Views
    barisB

    This is fixed on master, thanks for reporting.

  • This topic is deleted!

    Locked
    1
    0 Votes
    1 Posts
    6 Views
  • new topic replying to "{function.escape

    25
    1 Votes
    25 Posts
    11k Views
    nhl.plN

    Yes, any sysadmin will configure it in 5 minutes.

  • Custom Page Plugin Breaks with v0.7.x

    4
    0 Votes
    4 Posts
    2k Views
    A

    Any ETA on when this will be updated for 0.7.0?

  • Topic Tools

    6
    0 Votes
    6 Posts
    3k Views
    A

    I had to go into the SSH and ./nodebb upgrade and start it back up for it to fully work again.

    It's working now, thanks.

  • Disable ability to change gravatar

    2
    0 Votes
    2 Posts
    1k Views
    P

    Try this, in Admin -> Settings -> User

    Users will still be able to upload their own avatars though. There isn't a setting to disable that, but for the time being you can set "Maximum User Image File Size" to 0. Created an issue for that specifically:

    Link Preview Image Ability to disable custom avatar uploads · Issue #3013 · NodeBB/NodeBB

    favicon

    GitHub (github.com)

  • 0 Votes
    6 Posts
    3k Views
    julianJ

    @Moritz-Friedrich said:

    Weird enough, I just realized that at the old subdomain (as a CNAME) logging in is still possible...

    Default this is not set to anything, so this doesn't need to be set... afaik

  • 0 Votes
    7 Posts
    3k Views
    remcokatzR

    Ok so after having a chat with nhl.pl it seems that the ip for the proxy_pass in the nginx file should be "localhost" instead of "127.0.0.1" because of reasons (digitalocean).

    config.json:

    {
    "url": "http://ideocracycommunity.com:4567",
    "secret": "lolololol",
    "database": "redis",
    "redis": {
    "host": "127.0.0.1",
    "port": "6379",
    "password": "lololoo",
    "database": "0"
    }
    }

    nginx:

    server {
    listen 80;
    server_name ideocracycommunity.com;

    location / { proxy_pass http://localhost:4567; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade;

    }
    }

  • Recent Topics + Categories on the Home Page

    4
    0 Votes
    4 Posts
    2k Views
    barisB

    Yeah with a plugin you can completely override the home route and return whatever you want in the data.

  • Prevent Markdown from formating headlines

    2
    0 Votes
    2 Posts
    1k Views
    barisB

    Use a backslash before the #

    maybe

    # maybe

    \# maybe