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.

  • Unable To Upload Avatars

    3
    0 Votes
    3 Posts
    1k Views
    S

    @rbeer That did the trick, thanks a bunch!

  • User managment with flask

    3
    0 Votes
    3 Posts
    1k Views
    K

    Thx for the quick reply 👍

    Kobold

  • Redirect subdomain to NodeBB IP with nginx

    4
    0 Votes
    4 Posts
    3k Views
    julianJ

    Thanks @SimonQ! I'm sure that will be very helpful 🙂

  • 1 Votes
    13 Posts
    5k Views
    S

    @julian This may sound silly but, if I were to place the dump.rdb file back into /var/lib/redis (from my NodeBB install) and reset my server from there would anything horrible go wrong?

  • Help - Name of a specific theme

    Moved
    2
    0 Votes
    2 Posts
    1k Views
    reidR

    You're looking at an older version of Majestic. It's very outdated now, but you can purchase newer versions on the forum.
    v4: https://community.nodebb.org/topic/3279/majestic-4-5-final
    v5: https://community.nodebb.org/topic/4017/majestic-5

  • 1 Votes
    8 Posts
    3k Views
    julianJ

    @sonia @baris we should launch shouldn't we... :trollface:

    After 0.7.0 I think we wanted to launch weekly or something

  • Creating a Page and Altering Templates

    6
    0 Votes
    6 Posts
    2k Views
    C

    i decidede to fork the recent cards plugin, and modify it to have the html markup i want only on the category page.

  • TeamSpeak Plugin

    4
    0 Votes
    4 Posts
    1k Views
    D

    Moved to: https://community.nodebb.org/topic/5998/nodebb-plugin-teamspeak-0-5-to-0-7

  • Can't move one category to another

    3
    0 Votes
    3 Posts
    1k Views
    leksarL

    Sorry for your time. Was too forgetful to check server logs. It's my mistake, I didn't deactivate the nodebb-plugin-ns-slugify which made for 0.7.1 version, not for 0.7.0. 😐

  • Getting variables (eg total post count, etc)

    3
    0 Votes
    3 Posts
    1k Views
    reidR

    @psychobunny thanks!

  • 0 Votes
    6 Posts
    2k Views
    S

    Thanks @baris that did the trick

  • unknown error while updating vanilla theme

    5
    0 Votes
    5 Posts
    2k Views
    Blue-OrangeB

    @julian That's very stupid of me....i was thinking the time in Canada is 5 hours later then here but i have been mistaken with the time in Indonesia Where my daughter spent her trip. In Indonesia it's 5 hours later then Europe [Netherlands] My apologies for my mistake

  • 0 Votes
    6 Posts
    3k Views
    S

    It is taking me some time - mostly because I'm not familiar enough with NodeJS / NodeBB.

    Some observations:

    Took a while to get the ./nodebb setup routine to work - had to do it first for MongoDB and then for Redis and then combine the two files and restart (redis / mongodb nodejs files do not get installed on the npm install command).

    Then got stuck with launching multiple processes on reboot with systemd. Gave up on that and just used a crontab @ reboot line to run a shell script. Need to figure out how to restart / reload processes seamlessly.

    Found some issues with socket.io and spdy - did not investigate, disabled spdy on nginx.

    Found some issues with the 0.7.0 branch and upgraded to master 0.7.1 and found that much more stable. But these were plugin related - sections, adsense - dropped them both.

    Made the mistake of setting the production flag in the environment variable NODE_ENV. 🙂

    As of now, have a test site running persona, notifications plugins on a distributed setup - NFS / REDIS / MONGO DB on one server and a barebones NODEJS + NGINX/SSL on another.

    Seems stable for now on a test setup on https://devlib.org will give it a day or two while I play around with the templates / plugins and watch memory usage, before I go through another effort to set the autoscale / loadbalancer up.

    @baris @julian @psychobunny - I really like what I see so far. Well done. If all goes well with the setup / eval, I will be dropping you guys an email to see if I can fund some development. 🙂

  • variables.set is deprecated

    2
    0 Votes
    2 Posts
    960 Views
    barisB

    Link Preview Image ajaxify.variables.get deprecated

    Instead of using ajaxify.variables.get('topic_name') now you can access the data returned on a particular api route by doing ajaxify.data.title. The old meth...

    favicon

    NodeBB Community (community.nodebb.org)

    You don't have to worry about it if you are not developing plugins.

  • 3 Votes
    3 Posts
    2k Views
    C

    Im running ubuntu, i created my own startup (init.d) script so it loads on boot

  • Check if user is in group

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    julianJ
    Notice the hook listener registered here: https://github.com/NodeBB/nodebb-plugin-quickstart/blob/master/plugin.json#L7 Corresponding to a method in the plugin library itself: https://github.com/NodeBB/nodebb-plugin-quickstart/blob/master/library.js#L7

    You'll want to listen to the hook I mentioned above, and make a call to groups.isMember() to check group membership status, and then save it to the corresponding users' information.

  • NodeBB - MultiSite / Shared Users and/or Code

    2
    0 Votes
    2 Posts
    2k Views
    A

    For 1 I would be inclined to use clustering then reverse proxy the subdomains to categories. Rather than spooling individual instances for each. I've done this at my own site.

    dnb.35hz.co.uk will take you to the electronic category.

    You could then make a few changes to how your homepage/main website looks and do it that way.

    As an additional. Anything you're not sure exists, drop an email to sales [at]nodebb.org and they may be able to create what you need.

  • 0 Votes
    5 Posts
    2k Views
    R

    @psychobunny @julian
    A special user/group for the ACP would be nice to have, though.

    I am thinking in terms of: Intrusion starts with spotting the user with desired credentials. This way administrator/moderator/team accounts couldn't be targets to any attacks. As such a username (account with ACP access) wouldn't be exposed to the public, whatsoever.

    But since many BBs, for many years did well without it, I come around to the first line: "Nice to have". 🙂

  • "New topic" button don't works

    5
    0 Votes
    5 Posts
    2k Views
    P

    If you're on latest core, you also need to install and activate the nodebb-plugin-composer-default plugin for topic posting to work

  • Composer Errors

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    ?

    It's still not working. I enabled it like you said. Previously , when it wasn't working for one of my users , that was when all the plugins were all enabled too.

    edit: I renabled all plugins except for the lavender theme , and it seems to be working now - tested it on IE and chrome.

    I think the lavender theme has some code that's conflicting with the composer , since it got updated recently.