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.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
  • can nodebb be installed on Apache 2 server?

    Solved
    8
    0 Votes
    8 Posts
    905 Views
    zoldosZ
    @phenomlab Awesome, thanks!
  • Which breaking change broke post messages API?

    Unsolved
    4
    0 Votes
    4 Posts
    502 Views
    D
    @pitaj Awesome, thank you!
  • NodeBB upgrade - TypeError: AsyncLocalStorage is not a constructor

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    barisB
    @renukadevi said in NodeBB upgrade - TypeError: AsyncLocalStorage is not a constructor: AsyncLocalStorage Upgrade to latest 12.x or 14.x that should fix your issue I think. https://nodejs.org/docs/latest-v12.x/api/async_hooks.html#async_hooks_class_asynclocalstorage
  • Hook a client party to a new message in chat

    Unsolved
    2
    1 Votes
    2 Posts
    303 Views
    barisB
    event:chats.receive https://github.com/NodeBB/NodeBB/blob/master/public/src/client/header/chat.js#L22
  • Automatic language expression

    Unsolved
    1
    0 Votes
    1 Posts
    209 Views
    Node-BonBonN
    Hello, I understand that the language strings in nodebb are automatic, meaning that one has to write an expression and enclose it in [[]] or {{}} (not entirely clear to me), and the forum shows the user the sentence according to his language definitions. I need to print in the app.alert message the string that appears when receiving an email from the NodeBB forum - "You have a new alert" appears on the subject. What is the sentence that needs to be written to print this message and it will be displayed according to the user's language choice?
  • Receive notifications content (client side hook)

    Solved
    10
    0 Votes
    10 Posts
    865 Views
    J
    Now I see that you can just use the "bodyShort" flag and it works. But it will still be interesting to know how to turn user-id into a username ...
  • Installing NodeBB on Google Compute Engine or Cloud Run

    Unsolved
    5
    0 Votes
    5 Posts
    748 Views
    M
    @manoj https://youtu.be/SxNEhTcGz90
  • 0 Votes
    38 Posts
    4k Views
    Evg RE
    @baris creation of index for tid can help in this case? can it harm something? what additional indexes would you suggest to add?
  • <!-- statements

    Unsolved
    4
    0 Votes
    4 Posts
    335 Views
    phenomlabP
    @baris No, it doesn't. Seems it's not recognised. EDIT - yes, it does - looks like @baris forgot the ! in the tag <!-- IF template.topic --> <h2 id="title" class="PageHero-title">{title}</h2> <!-- ENDIF template.topic --> <!-- IF !template.topic --> <h2 id="title" class="PageHero-title titlefont">{title}</h2> <!-- ENDIF !template.topic -->
  • How to disable citare button

    Unsolved
    1
    0 Votes
    1 Posts
    188 Views
    fffddd dfeeeddF
    İ don't like this button how to disable it?
  • What is category topic highlist code?

    Unsolved
    3
    0 Votes
    3 Posts
    326 Views
    fffddd dfeeeddF
    @baris ty a lot
  • Receive live output of the hooks emitted to the window

    Unsolved
    2
    0 Votes
    2 Posts
    379 Views
    J
    This is a great idea! I too often look for a particular hook, and such a thing can greatly help! @baris Maybe you have an idea how to do such a thing?
  • Hook on the client side when a post enters a queue of posts

    Unsolved
    17
    0 Votes
    17 Posts
    1k Views
    barisB
    You are using the wrong hook name action:composer.topics.post => for new topic action:composer.posts.reply => for new reply
  • URI api/v3/users/136 gives Error 404 - user not existent

    Unsolved
    8
    0 Votes
    8 Posts
    800 Views
    barisB
    I think the real issue is to figure out why they were empty in the first place. When a user is created user:136 object and the entry in users:joindate should be both created. In this case you will have to run a custom script to add the missing entries. Place the following code in a javascript file name custom_scripts.js in your nodebb folder and run it with node custom_script.js /* globals require, console, process */ 'use strict'; const nconf = require('nconf'); nconf.file({ file: 'config.json', }); nconf.defaults({ base_dir: __dirname, views_dir: './build/public/templates', upload_path: 'public/uploads', }); const db = require('./src/database'); db.init(async (err) => { if (err) { console.log(`NodeBB could not connect to your database. Error: ${err.message}`); process.exit(); } await addMissingJoinDates(); console.log('done'); process.exit(); }); async function addMissingJoinDates() { const batch = require('./src/batch'); const user = require('./src/user'); const total = await db.sortedSetCard('users:joindate'); let counter = 0; await batch.processSortedSet('users:joindate', async (uids) => { const userData = await user.getUsersFields(uids, ['uid', 'joindate']); counter += uids.length; await db.sortedSetAddBulk( userData.map(data => ['users:joindate', data.joindate, userData.uid]) ); console.log(`${counter} / ${total}`); }, { batch: 500, }); }
  • not update 1.18.+

    Solved
    5
    0 Votes
    5 Posts
    643 Views
    O
    problem is fixed: I uptated nodejs.
  • Version 19 of NodeBB

    7
    1 Votes
    7 Posts
    843 Views
    Node-BonBonN
    @julian At the time of writing I have not yet seen a version released are there any significant changes to the end user in the new version? Beyond technical changes ...
  • 0 Votes
    6 Posts
    4k Views
    M
    Here's how I got NodeBB up and running on the Google Cloud Platform. The following are the steps I took: Created VPC firewall rule with 4567 port. Deployed Compute Engine VM Instance with Ubuntu Pro 20.04 Install NodeBB via the Web Interface. Install Let's Encrypt Wildcard SSL on Nginx. The documentation for setting up NodeBB on Compute Engine can be found here. [Installing NodeBB on Compute Engine] (https://www.incapio.com/post/install-nodebb-forum-on-compute-engine-google-cloud-gcp)
  • topics.getTopic error

    Solved
    7
    0 Votes
    7 Posts
    548 Views
    crazycellsC
    @baris said in topics.getTopic error: (https://yesilkartforum.com/forum/assets/uploads/system/favicon.ico) This file needs to show the one you upload, it might be getting cached by nginx and nodebb, so try restarting both. yes, nginx restart solved the issue. Thanks
  • Connection to the forum issue

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    barisB
    @crazycells Yeah hopefully that's should resolve it.