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.
  • Cannot Login to nodebb: "Welcome back guest"

    19
    0 Votes
    19 Posts
    3k Views
    8shlomi8
    @arnaudw I installed a new forum on a heroku server and when I connect via myapp.herokuapp.com it works great But when I connect through my domain it is written to me "welcome back guest" but really stayed disconnected (I only use a subdomain, at the domain root I use for another site, I use cloudflare I set ssl and force ssl) I would be happy to help, thanks
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    15 Views
  • What is the CSS code for ... ?

    Solved
    4
    0 Votes
    4 Posts
    547 Views
    DownPWD
    The third: .category .category-item.highlight, .topic .topic-item.highlight {} Hope it's would be helpful for others.
  • does it work on Win11 ARM build?

    Unsolved
    1
    0 Votes
    1 Posts
    224 Views
    Peter-WxinP
    Re: Why new accounts created by api doesn't work with nodebb-plugin-session-sharing Thanks a lot! I will try it on
  • Why new accounts created by api doesn't work with nodebb-plugin-session-sharing

    Solved
    1
    2 Votes
    1 Posts
    271 Views
    F
    Hello, I created some accounts with the api/v3, but those accounts can't log in by email on the forum, and consequently can't log in with session sharing plugin. I searched a long time, because this used to work on nodebb v1.15. But on v1.18, some db objects are only set after the call of confirmByUid function : ['email:uid', uid, currentEmail.toLowerCase()], ['email:sorted', 0, `${currentEmail.toLowerCase()}:${uid}`], [`user:${uid}:emails`, Date.now(), `${currentEmail}:${Date.now()}`] So you have to confirm each account before the plugin "session sharing" works with them. To resolve this, i made a custom plugin and used the "confirmByUid" function : library.js : const Users = require.main.require('./src/user') var Plugin = { onCreateUser: function (postData) { const { user } = postData; Users.email.confirmByUid(user.uid); Topics.markAllRead(user.uid); } } plugin.json : "library": "./library.js", "hooks": [ { "hook": "action:user.create", "method": "onCreateUser" }, ] I hope this can help ;).
  • This topic is deleted!

    Solved
    1
    0 Votes
    1 Posts
    1 Views
  • Bootbox 5.5.2 Cross-Site Scripting

    Unsolved
    2
    0 Votes
    2 Posts
    400 Views
    barisB
    Bootbox is used to show modals and alerts. You can test it by running bootbox.alert('hello') in your browser console. The vulnerability mentioned comes from bootbox allowing any html to be passed in. For example bootbox.alert('hello<script>alert("ok")</script>') This will execute the javascript in the text. So it has to be sanitized before passing it to bootbox. bootbox.alert(utils.escapeHTML('hello<script>alert("ok")</script>')) For the full discussion you can check https://github.com/makeusabrew/bootbox/issues/661
  • Codepen Plugin

    Solved
    17
    0 Votes
    17 Posts
    1k Views
    W
    @julian Works (once I upgraded to a compatible NodeBB)! Thanks again!
  • Upgrade from NodeBB 1.13.3

    Solved
    4
    0 Votes
    4 Posts
    611 Views
    W
    @pitaj Works great! Thanks!
  • Upgrade error 1.17.1 to 1.18.x

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    gotwfG
    @pitaj Maybe put a temp note in the install docs since 16.x went LTS today?
  • Does NodeBB install well on Ubuntu 21.04?

    Solved
    3
    0 Votes
    3 Posts
    421 Views
    gotwfG
    Note: LTS switched to 16.x today.
  • help! help!Replace the url of the image before rendering the page.

    Unsolved
    2
    0 Votes
    2 Posts
    458 Views
    Picasso shiefP
    @picasso-shief @baris hi ~buddy,can you help me
  • hook method is not triggering from custom theme library.js

    Unsolved
    4
    0 Votes
    4 Posts
    573 Views
    PitaJP
    @aniinprni you might try renaming it to index.js instead. Or set "main": "library.js", in package.json
  • Update category picture (via image upload) API not working

    Solved
    24
    0 Votes
    24 Posts
    3k Views
    J
    @baris Using the below site, reminding me of just how powerful Chrome Developers tools are, I was able to Copy As Curl the specific PUT command. Curl Convert Then using the same command and just changing the CID, I confirmed the same command works for all of them. This is what ended up working, it includes all the recorded headers, of which some will be removed as not necessary: curl 'http://pubdump.unfufadoo.net:4567/api/v3/categories/80' \ -X 'PUT' \ -H 'Connection: keep-alive' \ -H 'Accept: */*' \ -H 'DNT: 1' \ -H 'x-csrf-token: H5FMJEaY-CthHWM_2Unzf7DtoPeryGq_JejE' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36' \ -H 'Content-Type: application/json; charset=UTF-8' \ -H 'Origin: http://pubdump.unfufadoo.net:4567' \ -H 'Referer: http://pubdump.unfufadoo.net:4567/admin/manage/categories/80' \ -H 'Accept-Language: en-US,en;q=0.9,zh;q=0.8,zh-CN;q=0.7,zh-TW;q=0.6,ja;q=0.5,ko;q=0.4,th;q=0.3' \ -H 'Cookie: _csrf=27ygKMdG0c0EyiVsJKAkKpId; express.sid=s%3AdODaXfUpLz7NTFsijWLq0d2rPUhH1Ki4.qkyxWOaxlBy%2BLDRpTYbhWS9QkD9IJE%2FRTN1vIhp7yV4' \ -H 'sec-gpc: 1' \ --data '{"backgroundImage":"/assets/uploads/category/category-84.jpg"}' \ --compressed \ --insecure Then using the cURL convert site, was able to save as javascript and modify to our needs so that we could loop through all categories. Jeff
  • how change post quick reply component become editor?

    Unsolved
    1
    0 Votes
    1 Posts
    219 Views
    Picasso shiefP
    how change post quick reply component become editor? [image: 1635060073010-ed5bfe2d-fb9a-41f3-8b77-b33ae0c7d0c8-image.png] [image: 1635059950019-2c12236d-3bbf-4d3c-8f26-4ffc3490277d-image-resized.png]
  • what this plugin ? for quote

    Solved
    2
    0 Votes
    2 Posts
    287 Views
    barisB
    It is in core will be available in next release.
  • Uncaught Error: Script error for "timeago/jquery.timeago"

    Solved
    3
    0 Votes
    3 Posts
    476 Views
    Picasso shiefP
    @baris thanks very very much! it works! my nodeBB version is tag:V1.18.4
  • setup error: TypeError: Invalid Version: upgrades

    Solved
    5
    0 Votes
    5 Posts
    842 Views
    Picasso shiefP
    @pitaj thanks,it works~
  • Anyone managed to get NodeBB and Ghost working together ?

    Unsolved
    21
    0 Votes
    21 Posts
    2k Views
    phenomlabP
    @gotwf Yeah, just saw that and replied ! Thanks
  • Constructed "post request" when submitting a new post

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    K
    @baris Thanks a lot!