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.

  • 0 Votes
    1 Posts
    356 Views
    S

    I have an old website that has a lot of entries.
    For the sake of seo I would like to move everything in archium form to nodebb.

    Can I do it?
    Does it make sense?
    How do I do it?

    Just the news is enough, although I have a lot of comments written for over 10 years!

    Thanks for all the tips !

  • Migration line breaks

    Solved
    14
    0 Votes
    14 Posts
    786 Views
    Chris1C

    So the solution I have found is to replace all of the \n line breaks with %0A characters. The API then sends these to display correctly.

    I'm not sure if there is a better way, but that solves my problem once I purge the topics and repost.

    Thanks for all your help.

  • Paid subscription

    1
    2 Votes
    1 Posts
    213 Views
    B

    Hello friends.

    The nodebb-plugin-paypal-subscriptions plugin does not seem to work and has not been updated for several years.
    Tell me, is there any solution for a paid subscription?

  • Redis connection error in basic nodeBB setup.

    2
    0 Votes
    2 Posts
    559 Views
    omegaO

    OMG - Redis didn't setup properly all along!

    I was using make and make install cmd that no longer worked.

  • Disable ACP auto-logout?

    3
    0 Votes
    3 Posts
    314 Views
    Q

    @baris Thanks!

    Settings ->User->Account Protection->Admin relogin duration (minutes)->0

    👍

  • Site showing default Apache welcome page

    1
    0 Votes
    1 Posts
    236 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!

  • 0 Votes
    2 Posts
    333 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
    497 Views
    N

    You are right. I was fixed enabling Custom SMTP and set port 25 and all parameters there:

    7a415c76-1996-4413-9051-37f5ae283b9d-image.png

  • Getting an error with my Custom Javascript

    3
    0 Votes
    3 Posts
    375 Views
    R

    @PitaJ Thank you. How about this error that I am seeing in my browser console:

    Screen Shot 2019-04-19 at 7.32.08 PM.png

  • browser console errors after v1.6.0 upgrade

    30
    0 Votes
    30 Posts
    6k Views
    zaasmiZ

    Cyberian.pk
    a11adac4-f118-4ba4-858c-f49c0228fb74-image.png
    nodebb.com
    09a9b011-a660-499e-8b79-fed209e2c44e-image.png

  • 0 Votes
    8 Posts
    4k 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
    602 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
    1k 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
    514 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
    525 Views
    yariplusY

    The .travis.yml for each branch should be a good indicator of compatibility in general.

    Link Preview Image File not found · NodeBB/NodeBB

    Node.js based forum software built for the modern web - File not found · NodeBB/NodeBB

    favicon

    GitHub (github.com)

  • Group level permissions for uploaded files?

    6
    1 Votes
    6 Posts
    828 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
    444 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
    (Capture d’écran 2019-04-10 à 11.20.34.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
    314 Views
    PitaJP
    ./nodebb stop ./nodebb build ./nodebb start