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.

  • Scaling NodeBB across multiple nodes

    2
    0 Votes
    2 Posts
    721 Views
    barisB

    Link Preview Image Scaling - NodeBB Documentation

    favicon

    (docs.nodebb.org)

  • 0 Votes
    1 Posts
    625 Views
    S

    Hi.

    I'm currently using an Ubuntu server and I want to install Wordpress and NodeBB, for example:
    mydomain. com (Wordpress)
    forum.mydomain. com or mydomain. com/forum (NodeBB)

    I tried some things but failed. NodeBB need to be installed with Node.js and Wordpress with Apache or Nginx, but there are some conflincts when I'm using both.

    I've searched and read some topics but none helped me (not my situation or didn't understood them).

    Thanks for your help!

  • 0 Votes
    1 Posts
    602 Views
    S

    Hello,

    I try to confirm an account (email) with the API but it doesn't work.
    I try to do a PUT with email:confirmed but doesn't work too.

    Is it possible with write api ?

    Thanks

  • 0 Votes
    5 Posts
    1k Views
    M

    I have now managed to upgrade from 1.4.0 to 1.4.6, but can't get any further.

    Plugin issue has been resolved from deleting it on filezilla

    Any ideas on going from 1.4.6 to 1.9?

  • 1 Votes
    19 Posts
    6k Views
    D

    I tried this a while back and didn't get anywhere. Anyone know of a fix or something to disallow moderators to see certain categories. Would appreciate any help. ❤

  • 1.7.5 to 1.9.0

    2
    0 Votes
    2 Posts
    645 Views
    barisB

    Yes it is, you can switch to v1.9.x and run ./nodebb upgrade

  • Adding a column in MongoDB

    2
    0 Votes
    2 Posts
    843 Views
    G

    You can just use the User.setUserField(uid, field, value, callback) function, by importing the module.parent.require('./user')

    To set the value while creating the account, I suggest you to check the custom registration field (or something like that) plugin and use it, or taking inspiration from it.

  • Big Newb. Need Help With CSS Customization

    7
    0 Votes
    7 Posts
    2k Views
    J

    See also Where to put custom CSS file.. | NodeBB.

    Another possibility is a custom css file overriding the others by having the last <link rel="stylesheet" href="..." /> line in the theme source.

  • How to restore topic posters as topic followers?

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    barisB

    @juan-g Yeah you can declare now above the code with var now = Date.now()

  • 0 Votes
    5 Posts
    1k Views
    julianJ

    Locked, please follow https://community.nodebb.org/topic/12296/i-want-use-my-flag-json-or-error-json-in-my-plugin

  • Internal Server Error issue happend

    4
    0 Votes
    4 Posts
    1k Views
    T

    At last I did a upgrade : ./nodebb upgrade

    I think the plugin I deinstalled has some links with theme, after upgrade the missing files should be replaced again.

    Nice.

  • 0 Votes
    5 Posts
    1k Views
    FrankMF

    @pitaj Thanks for your tipp, i will try to optimize nginx.

  • 0 Votes
    4 Posts
    4k Views
    julianJ

    I think running ./nodebb upgrade is actually applicable to all NodeBB versions now. Should make the appropriate changes to docs @PitaJ ...

  • unable to send picture in the chatroom

    3
    1 Votes
    3 Posts
    742 Views
    F

    @citruz said in unable to send picture in the chatroom:

    redactor" composer plugin

    i dont see any option to upload pics in the chatroom using the plugin, can u share screenshot? does this plugin lets u upload images from your computer rather than just a hyperlink img which is what markdown allows.

  • Block 1 user from seeing category

    6
    0 Votes
    6 Posts
    2k Views
    absurdsmashA

    @pitaj said in Block 1 user from seeing category:

    NodeBB permissions are additive only, there are no negative permissions such as denying a specific user or group.

    Sorry to bump an old topic; are there any plans to implement such a feature anyway? Or is there a way we can build this ourselves? Its a pain right now to organize birthday gifts and allow everyone but one person.

  • Downgrading from 1.8 to 1.7

    3
    0 Votes
    3 Posts
    969 Views
    julianJ

    Hi @RogerLevy -- the import process should be fine, there aren't any major breaking changes.

    In fact, if you really want, our upgrade scripts are supposed to be idempotent, so you can run them again (by deleting the schemaLog value from the database) so that ./nodebb upgrade runs them all again.

    Alternatively, delete individual items from that sorted set.

    Alternatively, run individual upgrades by executing ./nodebb upgrade upgrade_script_name 😄

    Lots of options!

  • Connection to NodeBB was lost

    3
    0 Votes
    3 Posts
    1k Views
    T

    @pitaj yes you are right. Issue found, wrong redirect. Thanks

  • NodeBB AWS auto scaling

    14
    2 Votes
    14 Posts
    3k Views
    F

    @yariplus my config

    {
    "url": "https://staging.XXXX.org",
    "secret": "XXXX",
    "database": "mongo",
    "port": 4567,
    "mongo": {
    "host": "172.31.42.228",
    "port": 27017,
    "database": "nodebb",
    "username": "nodebb",
    "password": "AAAAA"
    },
    "oauth": {
    "id": "2bb8010d070f0be6f58d",
    "secret": "36a6b6da7df8e96f92b2aae22e24306a619a5413"
    },

    "socket.io": { "origins": "https://staging.XXXX.org:* https://staging.XXXX.org:*", "transports": ["websocket"], "address": "https://staging.XXXX.org" },

    "socket.io:origins": "https://staging.XXX.org",
    "sessionKey": "express.sid",
    "cookieDomain": ".philanthropyu.org",
    "socket.io:transports": ["websocket"],

    "redis": { "host":"nodebb.ifinyn.0001.euc1.cache.amazonaws.com", "port":"6379", "database": 0 }, "edx_host": "https://staging.XXXXX.org", "aws_access_key_id": "xxxxxxx", "s3_path": "https://XXX-community-uploads.s3.amazonaws.com/", "aws_secret_access_key": "xxxxxxxxxx", "master_token": "xxxxxxxxxx"

    }

  • 0 Votes
    2 Posts
    747 Views
    G

    Link Preview Image Heroku - NodeBB Documentation

    favicon

    (docs.nodebb.org)

  • This topic is deleted!

    2
    0 Votes
    2 Posts
    38 Views