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.

  • Admin can't add New User

    7
    1 Votes
    7 Posts
    762 Views
    KENT SUK

    I try install nodebb at new ubuntu18.04:

    git clone -b master https://github.com/NodeBB/NodeBB.git nodebb
    and

    nodebb/public/src/admin/manage/users.js

    line:289 has be change

    function handleUserCreate() { $('#createUser').on('click', function () { Benchpress.parse('admin/partials/create_user_modal', {}, function (html) { bootbox.dialog({ message: html, title: '[[admin/manage/users:alerts.create]]', onEscape: true, buttons: { cancel: { label: '[[admin/manage/users:alerts.button-cancel]]', className: 'btn-link', }, create: { label: '[[admin/manage/users:alerts.button-create]]', className: 'btn-primary', callback: function () { createUser.call(this); return false; }, }, }, }); }); return false; }); }

    the bug is the same .

    Thanks

  • createUser "Modal" in ACP

    11
    0 Votes
    11 Posts
    978 Views
    Kent Su 0K

    @baris

    I tried:
    sudo git reset --hard origin/master

    sudo ./nodebb upgrade

    he ACP user bug is the same ..

    how can I do ?
    THX

  • NodeBB crashed after starting

    1
    0 Votes
    1 Posts
    218 Views
    H

    Hello,
    I was installing NodeBB today and I after a successful install, I tried running nodebb start only for the nodejs script to pop up and the code to crash. This was in my nodebb log :
    NodeBB Error.PNG
    I couldn't find anything questions similar my issue and any help would be appreciated.

  • Mongodb authorisation

    3
    0 Votes
    3 Posts
    310 Views
    S

    PitaJ is correct, that's a text file that you need to edit. The description that you wrote tells all of the details... the two lines given are to be appended to the end of that file. Means the same thing on Linux as it does on Windows or macOS: open a text editor and stick those on the bottom of that file.

    You'll need to restart MongoDB after you make that change for it to pick it up.

  • How do I create a new theme and upload it?

    8
    0 Votes
    8 Posts
    910 Views
    ButonixB

    @The-Worms Well thank you very much! how do I enable development mode so that when a file is changed, it is hot-loaded? now when you change the file is fully assembled and each change you need to wait for 20 seconds to see the result

  • 1 Votes
    3 Posts
    449 Views
    Andre MosinA

    @baris said in how to get only current day/week posts of a specific category?:

    /api/top?cid=5&term=daily

    perfect! thanks!

  • 0 Votes
    3 Posts
    461 Views
    hotteshenH

    Sharing a topic using FB messenger works fine. I think only custom home page causes such problem. I've not tried categories page yet.

  • 0 Votes
    2 Posts
    322 Views
    J

    Bumpety bumbety! 🙂

  • Lost connection to nodebb after setting up ssl

    5
    0 Votes
    5 Posts
    478 Views
    Nam VuN

    @PitaJ @oplik0 it's working, thanks guys!

  • 0 Votes
    7 Posts
    547 Views
    hotteshenH

    I modified html link on my custom home page.
    from

    <a href="/app/">App</a>

    to

    <a href="javascript:window.location.href=window.location.href + 'app/'">App</a> Pros: no change to NodeBB source, so that I can update NodeBB as new release comes. Cons: The link URL is ugly and can not be copied for quote.

    Ref: Difference between window.location.href=window.location.href and window.location.reload()

  • 0 Votes
    9 Posts
    783 Views
    omegaO

    ☠ ☠ ☠ Check the credit card!!! ☠ ☠ ☠

    🤷

  • Mail via Nodebb stops working (Postfix)

    7
    0 Votes
    7 Posts
    719 Views
    A

    @julian said in Mail via Nodebb stops working (Postfix):

    587

    Actually somehow Actually, somehow the submission parameter on port 587 wasn’t present anymore in my postfix settings… And the TLS certificate wasn’t valid anymore… Anyway, I’ve forced to use port 25 without certificate. Its working again 🙂

    Thank you again @julian

  • Query to get all posts of topics

    3
    0 Votes
    3 Posts
    508 Views
    barisB
    const topicId = 5; const keys = db.objects.find({ _key: "tid:" + topicId + ":posts" }).map(i => 'post:' + i.value); printjson(db.objects.find({ _key: { $in: keys } }).toArray());

    You can save this in a file called query.js and then execute it with mongo localhost:27017/mydb query.js

    It will output something like

    [ { "_id" : ObjectId("5547ae6a65190fe21225ec2b"), "_key" : "post:124", "pid" : 124, "uid" : 47, "tid" : 5, "content" : "I like it too :)", "timestamp" : 1376791225638, "bookmarks" : 2 }, { "_id" : ObjectId("5547aee765190fe212296f10"), "_key" : "post:18", "pid" : 18, "uid" : 2, "tid" : 5, "content" : "Thank you :)", "timestamp" : 1373686442781 } ]
  • Not receiving data via email with API

    2
    0 Votes
    2 Posts
    310 Views
    julianJ

    What do you mean by "getting data by email"? It is possible to disable sending of emails, if your users don't want that...

  • Any way to deploy without running setup?

    7
    0 Votes
    7 Posts
    497 Views
    B

    @PitaJ figured it out, I need to run nodes build

  • Exifs missing in the resized uploaded photos.

    6
    0 Votes
    6 Posts
    687 Views
    A

    Perfect it's now working fine 🙂 Thank you.

  • 0 Votes
    1 Posts
    201 Views
    M

    Hi.

    The page Recent at a forum which uses NodeBB shows only 10 pages of "recent" topics.
    When I am at the 10th page, the ">" sign at the bottom of the page isn't clickable (has no link).

    I even tried to manually go to the next page by means of typing https://thedomain/forum/recent?page=11, but it returns

    There are no recent topics.

    I want to be able to read older topics because I'm trying to catch up (during a few last months I've been reading that forum quite rarely).

    Is it possible for the forum admin to enable showing all previous topics on the Recent page?
    Thank you in advance!

  • 1 Votes
    1 Posts
    297 Views
    M

    Good day, all.

    I'm a user of some forum which uses NodeBB.

    Is it possible (for the admins) to configure the forum so that the Unread section (a relative example here would be https://community.nodebb.org/unread) shows to the logged in user all posts and threads (topics) which were not read by this user?

    I have already consulted my Settings, but I can't see a setting for this.

    Currently there is only quite short range of posts shown in the Unread section. In this forum: only 26, while there are probably hundrends in fact.

    In "my" forum, after I read them, the sections displays:

    There are no unread topics.

    while in fact there are tens of them (in the last months I was visiting the Forum quite rarely).

    Now I'm trying to catch up, but Unread section quickly turned empty.

  • Please help me to fix the issues.

    Moved
    3
    0 Votes
    3 Posts
    424 Views
    A

    How should I do it?
    Please let me know.
    Thank you

  • Is MongoDB 4.2 supported?

    3
    0 Votes
    3 Posts
    374 Views
    A

    @baris said in Is MongoDB 4.2 supported?:

    Yes. As always make a backup of your database with mongodump before upgrading.

    Thank you 🙂