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.

  • Restricting a single user from a category

    6
    0 Votes
    6 Posts
    1k Views
    Z

    Well, phooey.

    What would be a good way (Mongo statement, I suppose) to add every user to a group?

  • 1 Votes
    4 Posts
    1k Views
    JamJ

    @pichalite wow, i see it, thanks so much for your reply !!! 👍

  • Avoiding the post_bar.tpl after the first post

    19
    0 Votes
    19 Posts
    4k Views
    barisB

    Maybe we can remove those checks now, they were added before we had the placeholder element in the template.

  • 0 Votes
    4 Posts
    2k Views
    julianJ

    @Shaun Yeah, the master branch... might have been fixed already.

  • Issues with Redis

    Solved
    5
    0 Votes
    5 Posts
    8k Views
    markkusM

    @yariplus Nope, I just moved away from DO. And yes, for me also it was probably the 3rd time where I had to install a database package manually as previous attempts to apt-get install had failed or installed an outdated version. I really wish they updated database packages more often on Ubuntu repos, since my problem occurred only due to an outdated redis package on Ubuntu 16.04 (Xenial) repo. 😠

  • Change user profiles display

    5
    0 Votes
    5 Posts
    2k Views
    J

    gonna look, thanks again!

  • Deleting all User Signatures

    3
    0 Votes
    3 Posts
    999 Views
    Z

    @baris Thank you. I'm pretty new to Mongo and after a little tinkering I figured out I had to run the following to get it work correctly:

    db.objects.update({_key: {$regex: /^user:\d+$/}}, {$set: {"signature": ""}}, {multi: true});

  • 0 Votes
    9 Posts
    4k Views
    J

    You've put port 8080 in "url". This should be the actual URL that people visit, and not the port on which the server should listen. You can specify the actual listen-port in config.json as follows:

    "port": 8080,

    This will fix the emoji-issue you're talking about 😉 (along with many other problems that may come up because the clients are trying an unresolvable port 8080)

    Source:
    https://docs.nodebb.org/en/latest/configuring/config.html

  • NodeBB periodically hangs

    28
    0 Votes
    28 Posts
    15k Views
    A

    To be honest I think that the actual issue here is a plugin or a poor setup overall, if not even a custom javascript interefering with one of NodeBB's internals. As of now I had no longs from 0.7.x and up.

    How about adding additional info:

    NodeJS version Cluster? How do you start NodeBB?
  • Using NodeBB as an OAuth2 provider

    1
    0 Votes
    1 Posts
    934 Views
    D

    Is it possible to use NodeBB as an OAuth2 provider? I searched for the answer to this, but all I found were lots of topics on connecting to other providers.

  • Mongodb server Authentication

    1
    0 Votes
    1 Posts
    636 Views
    F

    Hello!!
    I want to authenticate my local mongodb server by using springmongoconfig i.e authenticating spring data of mongodb server.

  • 0 Votes
    2 Posts
    1k Views
    R

    @danielflippance

    Have a look at the following post. I do not know if this is precisely the same as your issue but it seems to be in the same family.

    @julian said in 'Category Privileges' does not seem to work:

    I can confirm that the "Access Topics" privilege is not functioning correctly, so will need to look into that.

    However, with "Create Topics" disabled, the "New Topic" button is not present, and the category itself is not present in the composer dropdown, so that privilege is working as intended.

    Link Preview Image If a user does not have the "topics:create" privilege in a category, they are denied read access to topics in that category · Issue #4753 · NodeBB/NodeBB

    favicon

    GitHub (github.com)

    Specifically:
    @julian said in 'Category Privileges' does not seem to work:

    Fixed in latest master, the labels were swapped, so "Access" was actually controlling "Create", and vice versa.

  • How to change the up vote/down vote

    14
    1 Votes
    14 Posts
    4k Views
    T

    I had to remove mine for now as it works, but in IE and FF it would cutoff the picture, but worked pretty well in Chrome.

  • 0 Votes
    1 Posts
    580 Views
    R

    Looking to get some NodeBB consulting at the API level, mostly around reality checks on architecture de

  • Admin invite only

    2
    0 Votes
    2 Posts
    1k Views
    S

    I followed the setting from here and got it fixed https://community.nodebb.org/topic/6525/invited-future-users-can-t-register/5

  • 0 Votes
    7 Posts
    2k Views
    Jonathan HunterJ

    @UncleSam Yep @pichalite is right.. Its lavender with a few html side widgets.

    These are the only css changes I have so far :

    Changed font by doing this :

    @import url(http://fonts.googleapis.com/css?family=Oswald:300,400);

    body {
    font-family: "Oswald", sans-serif !important;
    }

    Changed some colors :

    a {
    color:#346634;
    }

    a:hover {
    color:#234423;
    }

    .category-box {
    background: #f2f2f2;
    }

    .panel-default {
    border-top-color: #6bb85c;
    }

    .btn-primary {
    color: white;
    background-color: #346634;
    border-color: #234423;
    }

    .btn-primary:hover {
    color: white;
    background-color: #234423;
    border-color: #234423;
    }

    .btn-default {
    color: #346634;
    background-color: white;
    border-color: #234423;
    }

    .btn-default:hover {
    color: #346634;
    background-color: white;
    border-color: #234423;
    }

    .open>.dropdown-toggle.btn-default {
    color: #346634;
    background-color: white;
    border-color: #234423;
    }

    .topic .posts>li .topic-title {
    color:#346634;
    }

    .btn-info {
    color: white;
    background-color: #6bb85c;
    border-color: #234423;
    }

    .btn-info:hover {
    color: white;
    background-color: #6bb85c;
    border-color: #234423;
    }

    .open>.dropdown-toggle.btn-info {
    color: white;
    background-color: #6bb85c;
    border-color: #234423;
    }

    .topic .post-bar {
    border-left: 2px solid #6bb85c;
    }

    .tag-topic-count {
    border: solid 1px #6bb85c;
    background-color: #6bb85c;
    }

    Changed upvote/downvote to be weed leafs rather than chevron :

    .upvote {
    background-image: url("http://420.vawta.com/wp-content/uploads/2016/06/2000px-Cannabis_leaf.svg_.png");
    background-size: 20px;
    }

    .fa-chevron-up {
    display:none;
    }

    .downvote {
    background-image: url("http://420.vawta.com/wp-content/uploads/2016/06/red-leaf-md.png");
    background-size: 20px;
    }

    .fa-chevron-down {
    display:none;
    }

    Added Custom Background to display on desktop only:

    @media only screen and (min-width: 768px) {
    body {
    background: url("http://www.all-sweets.com/images/white-gradient-5-1920x1080.jpg");
    background-size: cover;
    background-attachment: fixed;
    }
    }

    Made is so recent post/comments doesn't display on mobile on home page:

    @media only screen and (max-width: 950px) {
    .category-item .post-preview:last-child {
    border-bottom: none;
    display: none;
    }
    }

    (This last change makes it look really clean on mobile so it is not so messy)

  • 0 Votes
    1 Posts
    2k Views
    Leonid BrishL

    Hello, after upgrade from 0.8 to 1.0 i have issue with launching forum in the cloud.
    It crash with message:
    2016-06-30T08:15:39.868567+00:00 app[web.1]: 30/6 11:15 [3] - error: Error: ENOENT: no such file or directory, scandir '/app/public/uploads/sounds'

    For image upload im using: "nodebb-plugin-amazons3": "^0.2.4"

  • 0 Votes
    14 Posts
    5k Views
    T

    @scottalanmiller said in 503 - temporarily unavailable due to excessive load:

    So our daily views (as reported by NodeBB) is 32K - 98K.

    It sounds like I should be a little amazed that 512 MB of memory works...

    I'll have to scale up my Digital Ocean tonight...

  • Steam SSO

    6
    0 Votes
    6 Posts
    2k Views
    PitaJP

    @jeff contact him through GitHub. If you find a bug, report it there.

  • 0 Votes
    4 Posts
    2k Views
    ArcticRaz0rA

    UPDATE:

    The solution I've found for this problem is to run the following command inside the NodeBB installation folder

    git cherry-pick 1f3fa3a90f5fc02b3b2dc950b3a340c361206cef

    Doing so automatically merges the fixing commit without any further problems, making the Admin panel usable instantly after a NodeBB restart 🙂