Skip to content
  • A place to talk about whatever you want

    4k 25k
    4k Topics
    25k Posts
    julianJ
    Simplest form of spam prevention is still just a hidden input field, and then disqualify any registrants that fill that input with gibberish.
  • Stay tuned here to hear more about new releases and features of NodeBB!

    3k 21k
    3k Topics
    21k Posts
    שניאור שמחש
    NodeBB 4.16.0, Harmony. Users kept reporting that short topics open from the first post after a new reply, instead of at the new post. I traced it to navigator.update() in public/src/modules/navigator.js. When the whole topic fits on the screen (no scrolling), both conditions are true: atTop: scrollTop === 0 and the first post is index 0 nearBottom: the bottom is visible and the last post is index count - 1 atTop is checked first, so newIndex is 1. Topic.navigatorCallback(1, count) then: doesn't advance the bookmark (index 1 is not > bookmarkThreshold) doesn't hit the "index >= elementCount" read path The topic is still marked read when it loads, but the bookmark stays behind. After the next reply the topic list links to the old bookmark (or none), so it opens from the start. To reproduce: log in, open a topic with 2-4 short posts that fits on the screen without scrolling, don't scroll. GET /api/topic/: bookmark is still null. Add a reply from another account, then open the topic from /recent or /unread: it starts at post 1. Suggested fix: when the whole topic is visible, treat it as being at the bottom: if (nearBottom) { newIndex = count; } else if (atTop) { newIndex = 1; } I'm handling it with a small client-side workaround for now: when the last post is loaded and the page is at the bottom, or not scrollable, it emits topics.bookmark with postcount. It would be better fixed in core. @julian @baris
  • You have a cool idea about NodeBB? Post it here.

    894 5k
    894 Topics
    5k Posts
    <baris>B
    This is kind of by design, since emails that are not validated yet are not considered to belong to any user(they are not saved in email:uid & email:sorted so search doesn't find them.
  • Discussion regarding NodeBB Plugin development.

    2k 16k
    2k Topics
    16k Posts
    Lincoln RussellL
    @rob-hills The 'getTestConnection' in the stack trace means the request info didn't get passed in and it tried to go into test mode.Try setting 'input_alias' and 'output_alias' in the config, or re-download the repo. It's possible you caught it at a moment I'd introduced a bug; I can't reproduce it at the moment.
  • A public listing of community themes created by the NodeBB community.

    50 1k
    50 Topics
    1k Posts
    omegaO
    @DownPW Very cool and most excellent fun. For me the funny thing is this looks very similar to a minimal theme concept I graphically worked up 6 years ago! I can't remember if I posted it but here is a jpeg for whatever it's worth. [image: example-minimal-theme-nodebb.jpg]
  • Need help with installing or configuring NodeBB? Look here.

    5k 29k
    5k Topics
    29k Posts
    J
    [image: KutarJPG-resized.jpg] test
  • Test NodeBB here! Topics and posts will be cleared on a regular basis.

    1k 4k
    1k Topics
    4k Posts
    B
    @testing-ground replying to myself
NodeBB 4.16.0 Released!

  • Welcome back to another minor release of NodeBB, at a blistering pace after the last release about three weeks ago! 🚀

    Here's what changed since v4.15.0, and what you can expect to see in v4.16.0.

Popular Tags

Online Users