Skip to content

NodeBB Development

Stay tuned here to hear more about new releases and features of NodeBB!

2.8k Topics 18.5k Posts

Subcategories


  • Posts from the NodeBB Development Blog
    96 Topics
    779 Posts
    G
    Very Nice!
  • Found a bug? Why not make a bug report here?
    1k Topics
    7k Posts
    barisB
    Because you ran the forum without indexes you have documents that violate the index constraints. You will have to remove these documents for the create index command to work.
  • Focused discussion related to ActivityPub integration in NodeBB

    107 Topics
    2k Posts
    P
    If I change my username after posting a post, the original username is still displayed on Activitypub?
  • Help Translate NodeBB
  • Update Notification Settings from 'PUT' request?

    1
    0 Votes
    1 Posts
    172 Views
    T
    Hi there! Wondering what a proper object would look like for updating a users notification settings with a PUT request. The only example from the docs doesn't drill very deep (showfullname: "1") and I'm trying to understand what I should send to update a users notification preferences. The response is a string and in the network activity I can see that is just "notification" -- but trying to update settings.notificationsettings[i].emailnotification to true or false or whatever the relevant binary-type values are. Am I in the right ballpark? Thanks!
  • NodeBB 2.6.1 Security Update

    Moved
    2
    2 Votes
    2 Posts
    716 Views
    julianJ
    The security advisory has now been published
  • Quick navigation within topics

    6
    3 Votes
    6 Posts
    631 Views
    gotwfG
    @julian Yep. Grok what you are getting at here. OTOH, in the hands of an expert, I suspect all those gauges and controls are a comfort. Oh, that elusive "middle ground". As mentioned elsewhere, I do not envy the task modern UI/UX designers have before them.
  • Image upload plugin in nodebb 2.x

    4
    0 Votes
    4 Posts
    466 Views
    oplik0O
    More specifically, the issue is that it defines a static directory in plugin.json: "staticDirs": { "s3": "public" }, But doesn't have it. It seems to be an artifact of people forking and updating it without fully understanding what exactly it was doing - looking back at some history at some point someone moved the templates from public/templates to just templates/ and apparently NodeBB wasn't enforcing that directories have to exist at that point, so it wasn't noticed and all future forks inherited this bug. NodeBB is IMO doing fine here - a lack of directory a plugin declared to have might suggest some issue with the installation or the plugin itself (for example a typo in a path). A plugin incorrectly declaring something it doesn't use can't really be distinguished from these issues. Also, @julian while .gitignore works, I feel like it's a bit of abuse of that feature and the name is misleading (upon seeing a directory with .gitignore my first thought would be that something is supposed to go there but will be ignored. And I feel without knowing much about git I might've assumed it meant the whole directory would be ignored by git - the opposite of what it actually does). I personally prefer the convention of using an empty file named .gitkeep (or just .keep), since it more obviously refers to keeping the directory and wouldn't have any other potential impact on files included by git. EDIT: TL;DR of the issue: [image: 1663029091446-why-would-nodebb-do-this.png]
  • 3 Votes
    1 Posts
    257 Views
    julianJ
    Hello all, We are notifying you today about a security vulnerability that was present in older versions of NodeBB. We were notified of these vulnerabilities on 25 May 2022, and have patched and released fixed versions of NodeBB, v2.0.1 and v1.19.8, three days later, on 28 May. The specifics of this vulnerability are available upon request, but they are considered critical and affect the security of any site running an affected version of NodeBB. Admins are urged to upgrade to these patched versions as soon as possible. Alternatively, the following changesets can be cherry-picked into your installation of NodeBB in lieu of a full upgrade: v2.x https://github.com/NodeBB/NodeBB/commit/e802fab87f94a13f397f04cfe6068f2f7ddf7888 v1.19.x https://github.com/NodeBB/NodeBB/commit/81e3c1ba488d03371a5ce8d0ebb5c5803026e0f9 As always, the NodeBB team is available at your disposal to answer any questions or provide assistance in implementing these changesets. For more information on the security vulnerability, please visit the GitHub Security Advisory page for this disclosure
  • This topic is deleted!

    5
    0 Votes
    5 Posts
    50 Views
  • Display only few topics (as preview) on a gated category.

    2
    0 Votes
    2 Posts
    395 Views
    julianJ
    @syedasad not out of the box, no. It sounds like you'd need a custom plugin to modify the topic visibility privileges on the fly based on whether the topic is the most recent X topics. Feel free to reach out to us for a quote on this kind of custom work [email protected]
  • Getting Reviewer-role in Transifex

    3
    2 Votes
    3 Posts
    458 Views
    cagatayC
    @Livar-Bergheim lets do it bro
  • Move theme's navigation

    6
    0 Votes
    6 Posts
    747 Views
    julianJ
    @田恩睿 It's probably better to keep the menu where it is, or at least in that file, but play around with the structure and CSS to have a left-side menu. Right now it is pinned to the top using .navbar-fixed-top
  • Deploy nodebb to docker

    4
    0 Votes
    4 Posts
    731 Views
    julianJ
    @姬清 any logs?
  • v2.0.0-beta.0 prerelease now available

    Moved
    6
    9 Votes
    6 Posts
    2k Views
    E
    Even the mobile version experience keeps being chaotic on this v2 beta im so glad the development is alive and having a big update like this v2 is nice news
  • 2.0.0 Breaking Changes

    3
    1 Votes
    3 Posts
    2k Views
    PitaJP
    @girish there may be something wrong with your dns. I can access that link just fine.
  • Integrating NodeBB in a CMS

    2
    0 Votes
    2 Posts
    588 Views
    julianJ
    @JoeCaleb likely not the ideal candidate. NodeBB is designed to be a standalone web resource, co-existing alongside another side on a subdomain or subfolder. You could customize a theme to match the look and feel of your main site – that's what we do here. The header and footer are dynamically retrieved from NodeBB.org See nodebb-theme-community to learn how it is done.
  • Creating multiple admins

    1
    0 Votes
    1 Posts
    270 Views
    R
    Re: Creating multiple Node BB Admins but with limited access to ACP @PitaJ , how can we create multiple admins? Can we assign a user as admin in Dashboard, please let me know.
  • Navbar autohiding configuration in Persona

    3
    1 Votes
    3 Posts
    510 Views
    S
    @julian Hi Julian, After some thought I guess I would like to go even further and am wondering how to "pin" the navbar, as well as the topic bar so that they scroll completely normally like the rest of the page. Would this be doable? Thank you in advance. for your advice.
  • How to modify a Bootswatch skin?

    3
    0 Votes
    3 Posts
    560 Views
    zhivkoangelovZ
    @pitaj Thanks for the quick reply. Well, the modifications are small (mainly change in colors and fonts) but have to be applied to many classes. And the UI/UX guy who will make it is not familiar with NodeBB but is familiar with Bootstrap. With this context in mind, do you still advice doing the changes as Custom CSS (I guess you mean using the option in the Admin panel) ? Sorry, if my question may sound stupid but I have a short experience with NodeBB and mainly with the API part...
  • Why isn't email required anymore?

    9
    3 Votes
    9 Posts
    1k Views
    gotwfG
    @julian said in Why isn't email required anymore?: There were two issues with this: Incorrect emails would bounce, causing reputation issues over time I run my own mail server and my forums are "small" so the bounces land in my queue/spool and are not a real problem. I see how this could cause significant grief otherwise, especially on larger forums. I also use IsTempMail, which seems pretty effective on its intended targets. I wonder how many others do? Been a while since I played with those knobs but iirc, it was pretty painless to set up. NodeBB prior to this change would allow any email to be entered, even other peoples' emails. A lot of sites do this, and it's not necessarily something we should guard against, but I personally find it really annoying when someone uses my email to sign up for random sites. Hard nut to crack, this one. Maybe add a disclaimer to the welcome message along the lines of "Somebody, hopefully you, used this email address to register for our community at URL. If this was not you we apologize for the inconvenience."?
  • Login options other than session sharing plugin

    Locked
    2
    0 Votes
    2 Posts
    352 Views
    julianJ
    @raj-0 https://community.nodebb.org/post/86615 duplicate, locking.
  • Can we use nodebb in mobile application (unity) ?

    2
    0 Votes
    2 Posts
    397 Views
    julianJ
    @subesh-s Have you tried using the login utilities route in the write API? It should send back a valid session cookie.
  • Test fail for missing translation key

    4
    0 Votes
    4 Posts
    803 Views
    magnusvhendinM
    @julian Okay, I'll do that. Thanks!