Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.8k Topics 26.5k 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. [image: youtubelogo.png] Setting up SendGrid mailer for NodeBB
  • NodeBB guides, how-to's and general tips and tricks

    83 Topics
    601 Posts
    Z
    not sure the plugin worked for firefox. saw a-z in the sort icon. when i used it, i expected the topics in the category would be sorted a-z. they werent
  • 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.
  • Disable ACP auto-logout?

    3
    0 Votes
    3 Posts
    353 Views
    Q
    @baris Thanks! Settings ->User->Account Protection->Admin relogin duration (minutes)->0
  • Site showing default Apache welcome page

    1
    0 Votes
    1 Posts
    287 Views
    Jack SpangenbergJ
    I was trying to switch to Apache instead of Nginx and I did all the instructions on https://docs.nodebb.org/configuring/proxies/apache/ But when I visit forums.mydomain.com, the default Apache welcome page appears. I’d appreciate any help!
  • Anyway to stop server restarts, if plugin throws an error?

    2
    0 Votes
    2 Posts
    386 Views
    barisB
    I don't think it's possible to recover from an unhandledException, the plugin needs to check the post object to make sure it's not undefined. Or needs to wrap that part of the code in a try/catch.
  • Default email port changed from 25 to 587

    4
    0 Votes
    4 Posts
    573 Views
    N
    You are right. I was fixed enabling Custom SMTP and set port 25 and all parameters there: [image: JeTory0.png]
  • Getting an error with my Custom Javascript

    3
    0 Votes
    3 Posts
    433 Views
    R
    @PitaJ Thank you. How about this error that I am seeing in my browser console: [image: gMCVbJr.png]
  • browser console errors after v1.6.0 upgrade

    30
    0 Votes
    30 Posts
    7k Views
    zaasmiZ
    Cyberian.pk [image: dpTe4y2.png] nodebb.com [image: mcpQOYo.png]
  • 0 Votes
    8 Posts
    5k Views
    Amit yadavA
    @zaasmi try this mongo -u "admin" --authenticationDatabase "admin" -p
  • Internal Server Error

    24
    0 Votes
    24 Posts
    5k Views
    zaasmiZ
    @PitaJ reply, top bar, and other functionality not working well in any browser.
  • Replies to post hidden in default theme

    5
    1 Votes
    5 Posts
    719 Views
    R
    I just managed to make a quick hack which achieves the effect that I wanted. I added the following to the Custom Javascript tab in ACP: function showreplies() { $('li[component="post"]').has('a[component="post/parent"]').addClass('hidden'); $('[component="post/replies/open"]').click(); } function noreply(event, data){ if(data.posts.length==1 && data.posts[0].toPid) { // this is a reply to some post var el = $('li[data-pid="'+data.posts[0].pid+'"]'); // newly added post if(el.parent('div[component="post/replies"]').length===0){ // added as a standalone post el.addClass('hidden'); } } $('div[component="post/replies"]').find('a[component="post/reply"], a[component="post/quote"]').addClass('hidden'); } $(window).on('action:ajaxify.end', showreplies); $(window).on('action:posts.loaded', noreply); The first line in function showreplies hides those posts which are replies to previous posts, and the second line opens up the replies below the relevant posts. (@baris This was my attempt before I read your answer. Thanks for the pointer to the code! I will try that out). I added the handler for action:posts.loaded in order to Eliminate Reply and Quote buttons for the replies in order not to generate higher levels of nesting (this is ok for me) After adding a reply to a post, by default it is also added at the end - in order to avoid that I set it to hidden. This does not work so well as the page gets scrolled to the top after that.. - I am not quite sure how to fix it. If I figure it out I'll make an update..
  • Forum completely gone

    13
    0 Votes
    13 Posts
    2k Views
    julianJ
    Check your redis logs. I believe there is an issue with your redis config being unable to persist to disk, therefore when your database restarts, everything is lost.
  • 0 Votes
    9 Posts
    1k Views
    R
    @PitaJ I finally got back to this... Well, that seems to have helped. The forum is up as 1.12.1. I see at least one plugin in that is spewing errors on the console (in ./nodebb dev mode) so I will need to disable that one. Big thing I see is that this does not seem to work any longer: $(window).on('action:ajaxify.contentLoaded', function(ev, data) { firePiwik(data); }); Has action:ajaxify.contentLoaded this changed? Thanks for all of the help thus far, and over the years!
  • Site Title Bold?

    6
    0 Votes
    6 Posts
    888 Views
    M
    @dcook said in Site Title Bold?: @julian Thanks! That worked perfectly! I would be nice if all these options were included in the control panel so you don't have to know the secret codes! CSS is not that hard Before I startet with NodeBB I did know nothing about CSS. But with the help from a lot of the admins and member here I did create this a topic account page Points page mostenly is color change and the navbar is 100% over the page. But some thinghs took a few days and some things took a few seconds. But everything is learned with the good help of the people here
  • Mapping of Node and NPM to NodeBB Versions

    4
    0 Votes
    4 Posts
    647 Views
    yariplusY
    The .travis.yml for each branch should be a good indicator of compatibility in general. https://github.com/NodeBB/NodeBB/blob/v1.12.x/.travis.yml
  • Group level permissions for uploaded files?

    6
    1 Votes
    6 Posts
    950 Views
    Q
    @alfazaz Ah well. I guess we can assume that this isn't a problem for most. I'm going to stick with NodeBB for public facing posts (It is a forum after all). For sharing sensitive data I'm going to use other more secure platforms (Nextcloud). Good luck!
  • Avatar size

    4
    0 Votes
    4 Posts
    497 Views
    MaleficentM
    @April Je parle français (je suis française) et j'ai fait ça sur mon forum si tu veux ! https://lereboot.com Here's a screen ([image: ahWfrFY.png] image url) Translate :I'm french and I'm proposing to help him in french because i've do that on my own forum
  • How to fix ads plugin

    2
    0 Votes
    2 Posts
    350 Views
    PitaJP
    ./nodebb stop ./nodebb build ./nodebb start
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
  • Clicking on resized images to view full-sized images??

    5
    0 Votes
    5 Posts
    705 Views
    Q
    Ugh. I spoke too soon. If I refresh the page, the href tag disappears! That's really weird..... EDIT: I upgraded to v1.12.0 and the problem disappeared (and none of my plugins broke either). Let us never speak of this again...
  • test

    1
    0 Votes
    1 Posts
    212 Views
    slipknotS
    [image: lhMGOxb.png]
  • do not leave user input fields

    1
    0 Votes
    1 Posts
    257 Views
    slipknotS
    I just compile the project and raise the db but when I go to connect, the login is empty, which may be the problem and there is no error in the console [image: 79uGn68.jpg]