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.

  • 1 Votes
    11 Posts
    798 Views
    julianJ

    Is that change made to my plugin? If so, can you open a pull request to get it in? 😄

  • welcome page error

    3
    0 Votes
    3 Posts
    778 Views
    crazycellsC

    @PitaJ said in welcome page error:

    Please ensure the URL value in config.json matches exactly the URL at which you access your site.

    thanks, that solved the issue.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    41 Views
  • Text Overlapping Issue

    3
    0 Votes
    3 Posts
    418 Views
    F

    @PitaJ said in Text Overlapping Issue:

    What version of NodeBB and nodebb-theme-persona are you on? How you tried stopping nodebb, running ./nodebb build, and starting it back up?

    We are on Ver 1.12.2 and Persona. I’ve stopped and built from cli multiple times and result is the same. What should I be looking at?

  • 0 Votes
    3 Posts
    350 Views
    T

    yes, ban a user from a specific category or thread.

  • 0 Votes
    3 Posts
    484 Views
    N

    @PitaJ said in Load pages except global header without refreshing entire page:

    nodebb-plugin-customize

    Thanks, it worked!

  • Subscribe a list of members by bulk

    2
    0 Votes
    2 Posts
    296 Views
    julianJ

    We have invite capability, but we don't have the capability to bulk invite users, just one by one. However, if this is something that interests you, we could build this out as a feature in NodeBB. Give us a shout at [email protected] and we can send over a quote 🙂

  • 0 Votes
    6 Posts
    910 Views
    julianJ

    Definitely would appreciate updates to our documentation so you can help others facing similar problems! 😄 Glad you're on your way.

  • Recent Card customization

    3
    0 Votes
    3 Posts
    445 Views
    crazycellsC

    @julian said in Recent Card customization:

    Sure... it depends on how you set up the widget. Instead of adding it to the global widget area, add it to categories.tpl

    Then add another inside category.tpl, which is for each individual category. Then you can restrict it to specific categories (and have it only show up on specific categories).

    If you want category-specific recent posts to show up on every single category, you might need to create a separate widget for each category 😬

    Yes, but I cannot set it this way, because category restriction setting does not exist in "recent cards" widget. It exists in all others...

    Or, do we have problem/mistake in our recent cards widget?

  • NodeBB on cPanel with Root

    4
    0 Votes
    4 Posts
    477 Views
    PitaJP

    If you have ssh access, there will likely be a way of getting it to work, but I don't know how cpanel will interact with everything.

  • Removing Buttons from Composer

    5
    0 Votes
    5 Posts
    451 Views
    crazycellsC

    @PitaJ said in Removing Buttons from Composer:

    @crazycells add this to the custom javascript:

    window.addEventListener('load', function () { document.documentElement.classList.toggle('is-not-admin', !app.user.isAdmin); });

    Then just put .is-not-admin .composer .... instead

    Thanks a lot.

  • how to merge topics in admin ?

    Solved
    29
    1 Votes
    29 Posts
    10k Views
    crazycellsC

    @baris said in how to merge topics in admin ?:

    Clicking on the topic title should work. Needs better UX though since other tools work by clicking the user avatar.

    yeap, it worked. Thanks. I was trying by clicking topic avatars as well.

  • Install Nodebb forum by Node js application

    1
    0 Votes
    1 Posts
    317 Views
    Tung NobiT

    Anyone Install Nodebb forum by Node js application in Hawkhost's Hosting

    alt text

    I tried but failed. If someone ever did, please give me specific instructions.

    Thank you so much!.

  • 1 Votes
    3 Posts
    343 Views
    E

    Hi! @PitaJ thank you for the quick reply.
    I understand that an absolute URL have the protocol, but most of the normal users, at least in our forums, don't know what that is, some use it just because the copied from the browser, but sometimes a user doesn't add it, and having that links as relative URL returns a 404, causing a bad experience.
    Some CMS have a sanity check like Django and WordPress if you add a link inside a WordPress, they check if it's another domain and adds the protocol, so the user doesn't have to add it.
    I think it's a good measure to prevent bad user experience.

  • Block gif's from 3rd party sites?

    6
    0 Votes
    6 Posts
    911 Views
    gotwfG

    @julian

    Thanks. Figured some such, wh/is why I did not want to open bug report prior to checking in 😉

    P.S.; Prior to github and markdown becoming defacto I always preferred asciidoc for such duties. Still do. Much richer options for when you need/want them but still dead simple to use when you don't. Also, actually standardized, as contrasted w/the markdown flavor fest. But hey, github made markdown the golden boy for modern devs that never used else. Don't blame 'em cuz devs wanna code not invest time learning different markup 'time savers'. So whaddya gonna do, eh?

  • NodeBB New Users Overwriting Existing UserIDs

    4
    0 Votes
    4 Posts
    571 Views
    SoarinS

    Thank you all for the responses and offering your time, I completely wiped the nodebb db in MongoDB and re-restored it and everything is functioning perfectly again. ☺

  • Shared login between multiple nodebb sites

    6
    1 Votes
    6 Posts
    1k Views
    B

    I never got around to doing anything with it.

    We have a few gaming sites and I wanted to have one userbase between them all.

  • Profile Pictures.

    2
    0 Votes
    2 Posts
    424 Views
    PitaJP

    It's likely that this is a bug, not something you can easily fix. Open an issue on GitHub.

  • Killed... Killed and Killed

    7
    0 Votes
    7 Posts
    557 Views
    Dan ReyesD

    Hi, i fixed the problem by reinstalling nodebb. also cleaning all plugins and stuff, and no. I dont have nay custom plugin the only plugin i downloaded before this error was iframely recommended by the admins of this forum.

  • 0 Votes
    2 Posts
    703 Views
    D

    To resolve this, I changed the Proxy module I was using. It uses less code to implement and works with websockets. I think the NodeBB Node.js proxy documentation is out of date so I'll be submitting a PR with the new method I found.

    Working code is as follows:

    /** * Proxy forum */ const proxy = require('http-proxy-middleware'); // Forum Proxy app.use( '/forum', proxy({ target: 'http://www.myforum.co.uk/forum', changeOrigin: true, ws: true, }) );

    Another potential GOTCHA here is that this Prixy setup needs to be declared ABOVE the 'body-parser' module (if it's being used). The wrong order will prevent post requests from being proxied.