Change user UID to start from 10000

NodeBB Development

Suggested Topics

  • 1 Votes
    11 Posts

    @julian said in [RFC] Change to the quick-reply `toPid` value?:

    While it is true that you can know at-a-glance whether a post has replies, I'd want to know what specific value it provides to you as an end user, besides the tautological one (i.e. it provides value when showing a post has replies, because it shows it has replies).

    For me one of the primary values of that information is found in picking up the thread of a conversation between two or more users. Traditionally forums have only had back-links, and the only way to read a conversation was to start at the very end and follow the reply-links through to the beginning, perhaps opening each post in a new tab so they could then be read sequentially once you find the beginning. The replies dropdown allows me to start at the beginning and follow the conversation as it bobs and weaves randomly through the thread.

    The broader point is consistency of expectation. If users aren't reading each post of the thread and they want to do what I just described, they could train themselves to <first check to see if there is a replies dropdown; if not, check to see if the next post is a reply; if both of these conditions fail then I am at the end of the conversation>. But more consistency makes it easier to accomplish this use case, as well as the simpler use case of gaining information about whether a post has received replies.

    (Just my $0.02. I am coming from long-form discussion forums where it can be hard to follow a conversation from post to post, where users generally do not read each post in a thread, and where time zone differences tend to place gaps between responses.)

  • 0 Votes
    6 Posts

    It should cache for an hour, I think (based on a quick look at nodebb package manager code). So yes - you have to wait a bit before the nbbpm refreshes. You can just install the updated version manually by using npm install <package name> from the command line in NodeBB folder.

  • 0 Votes
    2 Posts

    If anyone is curious, I found a workaround using jQuery!

    It's kind of cheaty because it's using time, but basically I set an interval to run every 100ms a total of 100 times. Each time it checks where my posts are (.awge-windows-container) and looks for a highlight class. If it finds it, it will scroll down and cancel the interval. It's cheaty, but it works without disturbing anything 🙂

    Code below

    var foundHighlight = false; function setIntervalX(callback, delay, repetitions) { var x = 0; var intervalID = window.setInterval(function() { callback(); if (++x === repetitions || foundHighlight) { window.clearInterval(intervalID); } }, delay); } setIntervalX(function() { $('.awge-windows-container').each(function(ind, obj) { if ($(obj).find(".highlight").length > 0) { $(obj).animate({ scrollTop: $($(obj).find(".highlight")[0]).offset().top }, 2000); foundHighlight = true; } }); }, 100, 100);
  • 0 Votes
    7 Posts

    @julian Oh definitely, will do. Thanks.

  • User session

    NodeBB Development
    0 Votes
    6 Posts

    time to fess up and say that "remember me" doesn't actually do anything. should make an issue for that 😛

    Remember Me · Issue #859 · NodeBB/NodeBB

    The checkbox is there but we'll remember you for 30 days whether you like it or not


    GitHub (