Skip to content

Technical Support

Need help with installing or configuring NodeBB? Look here.

4.8k Topics 26.7k 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.
  • How to uninstall plugins CLI?

    7
    0 Votes
    7 Posts
    3k Views
    julianJ
    @alff0x1f Fixed in docs now
  • Rest API Examples

    8
    0 Votes
    8 Posts
    3k Views
    PitaJP
    @patnyc yeah that should work.
  • Memory (MongoDB)

    8
    0 Votes
    8 Posts
    5k Views
    F
    @alff0x1f excellent! Thank you very much for those printouts. Swap it is, then
  • why nodebb use gravatar image for og:image

    4
    0 Votes
    4 Posts
    2k Views
    PitaJP
    @Krissanawat-Kaewsanmuang you misunderstand, that's just a reference of the code which by default falls back to the user image if there's no topic image.
  • topic thumbnail doesn't show on facebook share

    3
    0 Votes
    3 Posts
    2k Views
    Krissanawat KaewsanmuangK
    Where file location i can fix it
  • ?loggedin routes to the wrong page

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    T
    @rod thanks that did it. i entered the wrong url there
  • send email error 404

    Unsolved
    1
    0 Votes
    1 Posts
    837 Views
    Krissanawat KaewsanmuangK
    can't send email error in log appear [image: 6cM838z.png]
  • Cannot Reply or Create Threads - Help!

    4
    0 Votes
    4 Posts
    2k Views
    julianJ
    Is the wrong version installed? Run npm i --production to ensure the proper composer version is installed. Otherwise, perhaps the issue has been fixed in a newer version of NodeBB... what commit are you on?
  • Posts/topics date format ("2 year ago" -> "20 may 2014")

    5
    2 Votes
    5 Posts
    3k Views
    A
    @MJ My solution. For demo you can look at my forum (russian language) WARNING!!! It is dirty solution (change source code may cause problem with updating in future, you must know how to solve it) and I am not recommend use it, if you didn't understand what you do. Solution without localization, use it only if your forum use only one language (or change code and use number month) 1. Set cutoff settings for timeago library Open acp > custom HTML&CSS > Custom Header and add this: <script type="text/javascript"> jQuery(document).ready(function() { jQuery.timeago.settings.cutoff = 2419200000; }); </script> In this example I set 28 days for relative date (1000 * 60 * 60 * 24 * 28 = 2419200000), you can change it. Didn't forget turn on checkbutton "Enable Custom Header" and save changes. After this, all dates older 28 days become unvisible. 2 Change timeago library Onen file public/vendor/jquery/timeago and this code: if (!isNaN(data.datetime)) { if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) { $(this).text(inWords(data.datetime)); } } replace to this: if (!isNaN(data.datetime)) { if ( $s.cutoff === 0 || Math.abs(distance(data.datetime)) < $s.cutoff) { $(this).text(inWords(data.datetime)); } else { var monthNames = [ "Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sept", "Oct", "Nov", "Dec" ]; var day = data.datetime.getDate() var year = data.datetime.getFullYear(); var monthIndex = data.datetime.getMonth(); var hours = ("0" + data.datetime.getHours()).slice(-2); var minutes = ("0" + data.datetime.getMinutes()).slice(-2); $(this).text(day + ' ' + monthNames[monthIndex] + ' ' + year + ' ' + hours + ':' + minutes); } } 3. Restart forum All must work fine Revert changes back If you need revert changes, you can do it with command git checkout /public/vendor/jquery/timeago/jquery.timeago.js And remove added text from acp > custom HTML&CSS > Custom Header
  • unable to edit groups/bad data

    1
    0 Votes
    1 Posts
    729 Views
    Brass ManB
    A while back I restored my database from a backup, and I have a feeling that backup may have been corrupt. when I try to visit the admin/manage/groups page, my nodebb instance crashes and reboots. I get the error Cannot read property 'indexOf' of undefined. After doing a little debugging I found that that the query for groups:createtime (line 152 in src/database/mongo/sorted.ja), is returning some objects that DONT have "groups:createtime" as their key ... these documents don't have the expected schema, which is what's throwing that undefined error. I've found, using the mongo console, when I use find('_key': 'groups:createtime') I only get the objects I expect, but find('_key': \groups:createtime\) returns the bad objects (note that the substring "groups:createtime" appears nowhere in _key string for those objects). More upsettingly, if I remove those bad objects by their ObjectId, they STILL return in that query ... despite the remove command returning without error, despite no longer being able to look the object up by it's ID. I'm not clear on whether this is a NodeBB issue at all, or entirely on the Mongo side, but in the meantime, I can't edit anything in regards to groups (including adding/removing members to existing groups), and attempts at upgrading my forum version fail at the database migration step.
  • Some issues after upgrading to 1.2.1

    5
    0 Votes
    5 Posts
    2k Views
    A
    @alff0x1f Nice work around. Tks buddy
  • [Solved] Color profil missing in the resized uploaded photos.

    6
    0 Votes
    6 Posts
    2k Views
    A
    @metalkramp said in [Solved] Color profil missing in the resized uploaded photos.: @azeus Do you mind posting the solution? I just installed the plugin nodebb-plugin-imagemagick as suggested by @baris (And of course ImageMagick in the server).
  • Merge categories based on tags

    2
    0 Votes
    2 Posts
    1k Views
    PitaJP
    @metalkramp it sounds like it may be easier for you to only use tags in this case, and use a custom plugin to display certain tags as if they are categories.
  • How to show a widget in a theme widget area ?

    Moved
    17
    0 Votes
    17 Posts
    9k Views
    F
    Answer to self: enable the custom header and the global vars will be there. Sounds about right?
  • problem when install on digitalocean

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    T
    One thing to try as well; bump the amount of RAM up for the install, then lower it down after the install finishes.
  • Search returns results for empty search term when opened

    4
    0 Votes
    4 Posts
    2k Views
    M
    Due to problems with dbsearch plugin mentioned above I switched to solr plugin. Seems to resolve problems that occured with dbsearch + solr gives better search results.
  • SSO Google Plugin

    1
    0 Votes
    1 Posts
    863 Views
    H
    I am getting this error from Google when I tried to register with Google account on my NodeBB forume: ""The redirect URI in the request, http://discuss.tafsirahlam.co/auth/google/callback, does not match the ones authorized for the OAuth client. Visit "" The Authorized redirect URIs in Google Console is the same which is "http://discuss.tafsirahlam.co/auth/google/callback" Please advise.
  • padding between categories and subcategory icons like in community.nodebb.org

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    P
    @spwolf unless you applied custom css on your site to make the icons and text smaller, there shouldn't be any difference. Persona theme is used as is on this site. I am sure that there is no custom css applied here.
  • Upgrade from v1.1.2 to v1.2.1

    5
    0 Votes
    5 Posts
    2k Views
    ljhardyL
    @pichalite That did it. Thanks!!
  • 0 Votes
    7 Posts
    3k Views
    BriB
    @julian Not sure if related, but 2FA isn't working again for whatever version community.nodebb is running right now, I just tried to disable 2FA and nothing happens (Trying to port over my codes to a new device)