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.

  • Redis Error

    4
    0 Votes
    4 Posts
    2k Views
    M

    Yeah, it was a RAM issue. Upgraded the server and all is well now.

  • 1 Votes
    1 Posts
    720 Views
    Lucas SeverynL

    I want the latest post at the top, and with the default settings, the post at the top is the first post in the thread. Is there any way to disable that behaviour?

  • 0 Votes
    3 Posts
    2k Views
    A

    Wasn't lwip used in 0.7.x/0.8.x?

  • replace login page with auth0 sso widget

    2
    0 Votes
    2 Posts
    999 Views
    John HogenmillerJ

    I do understand I can make a custom page with the custom-page-plugin. I should be able to get the widget and login buttons to appear there. I'm just not sure how to make the login button go to that route.

    I don't necessarily need to replace /login, I just want to make sure that clicking login or doing something requires login (such as replying to a topic) takes them to my custom login page.

  • 0 Votes
    4 Posts
    2k Views
    G

    @rod Ohh I see what it does...
    mhm since is in nodebb try:

    $.get('https://fsadwork.com/show.php?z=32&pl=99&j=1&code='+new Date().getTime(), function(data) { document.getElementById("YOURTAG").innerHTML = data.replace('document.write(','').replace(')','') }); <noscript> <iframe src="https://fsadwork.com/show.php?z=32&pl=99" width="920" height="120" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe> </noscript>

    But this probably will not work because they'll have cross-origin ajax control.

    And of course you need to change "YOURTAG" with the id of where you want the ads to appear.

    If it doesn't work.. I don't know then how could you change it 😛

  • NodeBB instalation - centOS

    10
    0 Votes
    10 Posts
    3k Views
    A

    @julian said in NodeBB instalation - centOS:

    @Adam-Poniatowski Which page is that? We can get it resolved on the docs...

    Oh I meant @JaredBusch tutorial, it is just the one point that is (sort of) obsolete, but one can add that to the mongod.conf file. The nodebb docs is fine. The only thing I can suggest, is to note down, that it is assumed that selinux is either permissive or disabled. in https://nodebb.readthedocs.io/en/latest/installing/os/centos.html
    And maybe add @JaredBusch semanage commands there as well 🙂

    @Shard Centos 7.3, it is full systemd, hence mongod does not install/copy anything into that folder. one can still use it, but its just a drag at this point. Hacking a systemd system into a systemv... I got accustomed to the change.

  • Google Search

    Unsolved
    9
    1 Votes
    9 Posts
    3k Views
    julianJ

    Yeah, am thinking it was set incorrectly before, and it'll just be awhile for chrome to update. Not sure how to clear that part 😄

  • Error starting NodeBB after upgrade

    Solved
    8
    0 Votes
    8 Posts
    4k Views
    PitaJP

    @zipang yes of course we'll support Node 8 but to do so we have to drop support for all Node versions prior to v6. You can understand why we'd be hesitant to do so so quickly after our last major version release.

  • How to debug?

    4
    0 Votes
    4 Posts
    2k Views
    T

    This sounds like an error in the app and not with NodeBB itself.

  • 0 Votes
    8 Posts
    3k Views
    julianJ

    Great! Glad to hear it's working now 😄

  • 0 Votes
    2 Posts
    2k Views
    sebastian-marinescuS

    So after researching a little more I found my answer inside the plugin.json of the quickstart-plugin.

    "staticDirs": { "images": "./images" },

    Adding a staticDirs key inside the plugin.json like that adds the static dirs inside /assets/plugins/your-plugin-name/.

  • Error trying to checkout 1.5.x branch

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    J

    @Shard said in Error trying to checkout 1.5.x branch:

    @JaredBusch

    No worries. Better safe than sorry. L:)

    So true

  • 0 Votes
    2 Posts
    1k Views
    barisB

    We do return the ip but only for admins and mods.

    post.ip = topicPrivileges.isAdminOrMod ? post.ip : undefined; take a look here

    Keep in mind IP tracking needs to be turned on in the ACP for this to work.

  • NodeBB Crashing?

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    marvnflM

    @baris Seems to not be happening anymore after updating to 1.5.1

  • 0 Votes
    10 Posts
    4k Views
    sebastian-marinescuS

    So, I just tested leaving the allowed filetypes-field blank (ergo allowing everything) and that worked. The mov-file gets uploaded flawlessly.

    But interestingly the response is:

    name: "sample.mov" path: "/opt/bitnami/apache2/htdocs/public/uploads/files/1496310135527-sample.qt" url: "/assets/uploads/files/1496310135527-sample.qt"

    Adding just the mov extension to the allowed file-extensions blocks it again.

    Now the response suggests to me somehow, that nodebb is converting the uploaded file to a .qt-file.

    So I just added the qt-extension to the allowed files and it works.

    It's really weird behavior, but I found a solution. Thanks for participating everyone!

  • Stuck at "Delete Sessions".

    22
    0 Votes
    22 Posts
    6k Views
    H

    @PitaJ Out of town on a big project at the moment - have limited time and connectivity. I'll update this weekend.

    Thanks.

    H.

  • Copying Theme

    Moved Solved
    3
    0 Votes
    3 Posts
    2k Views
    marvnflM

    Thanks @pichalite!

    Should I update plugin.json? Seems out of date when compared to the latest version of Persona

  • 0 Votes
    12 Posts
    7k Views
    M

    Problem solved. It was the nodebb-plugin-cash who caused the problem.

    After deleting this plugin my NodeBB worked again 🙂

  • 2 Votes
    7 Posts
    6k Views
    Chad Aga AbingunaC

    @Hägar said in Emailer via local SMTP and SSL/TLS:

    nodebb-plugin-emailer-ssl-smtp

    Internal Error. Oops! Looks like something went wrong! /admin/emailers/smtpssl Failed to lookup view "admin/emailers/smtpssl" in views directory "/home/nodebb/nodebb/build/public/templates"

    😞

  • 0 Votes
    7 Posts
    3k Views
    J

    @baris said in Changes to theme .tpl files don't show live:

    @Jarko Yes the id field in plugin.json is not used, you need to change the name field in package.json

    ...and that was the issue indeed! Thank you! 💃