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
  • GDPR - change consent

    1
    0 Votes
    1 Posts
    318 Views
    JürgenJ
    I searched quite a while for GDPR consent and did (not suprisingly) found this thread: Re: Is NodeBB compliant with the GDPR (the newest legislative spam by the EU)? As far as I understood most of the discussion is made there. Furthermore I understood that the GDPR plugin was made for migrating old forums to the new consent mostly required by EU regulations in May 2018. So my problem in 2021 is: I would like to ask all our users to consent once again AND to change the sources they are consenting to. I thought the gdpr plugin might be helpful - but as far as I understand I am not capable to unset the consent state with it. So basically my questions are two: how do I unset the consent state of (all) users? are they forced to consent for the next login?
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    4 Views
  • How to stylize answer suggestions list?

    Moved
    3
    0 Votes
    3 Posts
    440 Views
    AlekseiA
    @baris, great, thank you.
  • Execute Custom JS on Infinite Scroll

    10
    0 Votes
    10 Posts
    2k Views
    AlekseiA
    I've got the point. Thanks for all the help.
  • Is there any widget or plugin for document catalog tree

    1
    0 Votes
    1 Posts
    269 Views
    X
    Is there any widget or plugin for document catalog tree like this [image: 1609998786230-01f33da0-9d81-455c-a1d7-a004970549f6-image.png]
  • 1.16.0 Breaking Changes

    5
    2 Votes
    5 Posts
    2k Views
    julianJ
    We have received reports that after upgrading to v1.16.0, the amount of websocket connections is very high relative to pre-upgrade This is due to older socket.io clients (running on version 2) attempting to connect to the new socket.io 3. These protocols are incompatible, and so the connection is rejected, and NodeBB was configured to try indefinitely. This is ok. Over time, as your users close their browser windows (or refresh), they will automatically start using the latest version, and socket usage will return to normal levels. If you are worried about the excessive traffic, you can configure a nginx condition to drop requests with the query string ?EIO=3. Please see the issue linked above for more information.
  • 1.15.0 Breaking Changes

    23
    3 Votes
    23 Posts
    5k Views
    A
    @baris Thanks, that was this ! This problem is solved now.
  • HIRING NodeBB plugin developer (mobile app preferred)

    1
    0 Votes
    1 Posts
    364 Views
    data-dataninjaD
    We are hiring plugin developers to develop custom plugins Also highly preferred if you have experience in making the nodeBB into an ios/android app contact me at [email protected] or discord (preferred) dgTroy#0996
  • Testing stage in GitLab pipeline

    4
    0 Votes
    4 Posts
    577 Views
    oplik0O
    NodeBB tests require database setup beforehand. I recommend just checking out how NodeBB currently does it with GitHub Actions or how it was done earlier with TravisCI I haven't used GitLab CI much, but I think the services part is pretty similar to GitHub Actions - there are some setup differences (per job variables instead of per service env for example), but I think just adapting the service configuration to GitLab syntax will be better than the bash based install from TravisCI
  • NodeBB v1.15.4 released!

    Moved
    1
    6 Votes
    1 Posts
    2k Views
    E
    We've released v1.15.4. Check out our GitHub page for fixed issues: https://github.com/NodeBB/NodeBB/releases/tag/v1.15.4
  • mongodb database structure and Queries document

    3
    0 Votes
    3 Posts
    627 Views
    shayanS
    tnx, quess you are right. now I have to scan the whole source code for any use of database
  • Is it possible to modify user's avatar background?

    1
    0 Votes
    1 Posts
    282 Views
    Fairuz AfdhalF
    by modify user's avatar I meant that to put glow effects behind their avatar or something similar, I saw this post https://community.nodebb.org/topic/975/request-mod-owner-overlay-on-posts, is it possible now?
  • Hiring: NodeBB developer to customize themes

    Moved
    1
    0 Votes
    1 Posts
    342 Views
    S
    Hey, We are looking to hire someone to do some custom theme work with either the persona or material theme for one of our clients. Please email me sterling [at] luceosports [dot] com with the subject 'NodeBB Development' if interested. Thanks, Sterling
  • NodeBB v1.15.0-rc.0 -- Release Candidate published

    10
    6 Votes
    10 Posts
    2k Views
    barisB
    Release rc.4 https://github.com/NodeBB/NodeBB/releases/tag/v1.15.0-rc.4
  • How to list groups + users that can see this forum (widget)?

    2
    0 Votes
    2 Posts
    429 Views
    G
    Here a mockup how it could look like on nodebb.org forum: [image: hyF6N7F.png] List unfold: [image: COvUDsO.png]
  • Issue connecting to Elasticache Redis

    4
    0 Votes
    4 Posts
    800 Views
    D
    @baris it seems like there's no error logs coming. It's just timing out silently after ~1min.
  • How to image carousel based on user uploads?

    4
    1 Votes
    4 Posts
    559 Views
    gotwfG
    @greyteapot You can drop that widget into different boxes, iirc. Mayhaps worth exploration
  • a question about syntax of benchpressjs

    2
    0 Votes
    2 Posts
    371 Views
    PitaJP
    We don't have any built in conditional support. There's the @first helper which works for when you only want to check if @index == 0. To do this, I'd suggest adding a helper for whatever condition you need.
  • the issue of benchpressjs

    3
    0 Votes
    3 Posts
    872 Views
    T
    Thanks for the help and sorry if the "terrible" word hurts your feeling, I didn't mean to. @PitaJ said in the issue of benchpressjs: First off, calling their work "terrible" is a really bad strategy if you're trying to get help from someone. I'll still help, because I like being helpful, but please don't act this way in the future. #1. about Interpolation, benchpressjs does NOT allow to retrieve array by index, like this: <h1>{localNews.topics[0].title}</h1> If you're trying to just get a specific single element of an array, you just put the number as the property name, like so: <h1>{localNews.topics.0.title}</h1> I see this isn't documented, so I'll open an issue to document this behavior. #2, about helper function, I created one like this: Benchpress.registerHelper('getByIndexInArray', function (arrayData, i) { return arrayData[i]; }); and call this helper function like this: <h5>{getByIndexInArray(localNews.topics, 1)}</h5> But it seems like the index "i" can not be passed into the helper function, since in this helper function, I always got "i" as undefined. Your helper is correct, it's how you're calling it that's the issue. Benchpress doesn't have numeric literals, it only has string literals. Putting just 1 in there is telling Benchpress to look up the property "1" on the global object, and call the helper with that value (which is undefined in your case). Your helper will work if you call it like this instead: <h5>{getByIndexInArray(localNews.topics, "1")}</h5> I will also add a note to document this behavior in the paths and helper section. Issue is here: https://github.com/benchpressjs/benchpressjs/issues/89
  • How to work with the postData-Object?

    Solved
    2
    0 Votes
    2 Posts
    650 Views
    julianJ
    @pasib when you concatenated the object, it got stringified. Try console.log('test', postData);