Skip to content

[NODEBB] Stats

Unsolved Customisation
20 3 6.4k 1
  • JAC JAC

    @downpw said in [NODEBB] Stats:

    nodebb-widget-board-stats

    currently using this, what seems to be the issue you are facing with it mate?

    Screenshot 2022-01-16 at 12-58-56 Stockport County FC Fans Forum.png

    wrote on last edited by
    #6

    @jac one of reliability I think. I also use it but haven’t really paid that much attention to it as I’m not really into stats as such.

  • @jac one of reliability I think. I also use it but haven’t really paid that much attention to it as I’m not really into stats as such.

    wrote on last edited by
    #7

    @phenomlab I see mate. I thought it was showing wrong stats at first but it appears to keep you as if you’re online even if you’re not until it times out, this is the way NodeBB works I believe. 🙂

  • JAC JAC

    @phenomlab I see mate. I thought it was showing wrong stats at first but it appears to keep you as if you’re online even if you’re not until it times out, this is the way NodeBB works I believe. 🙂

    wrote on last edited by
    #8

    @jac that’s correct. I don’t think it leverages the socket connection to see if a user is online or not, but relies on another mechanism. I seem to recall reading something similar on the NodeBB forums.

  • @jac that’s correct. I don’t think it leverages the socket connection to see if a user is online or not, but relies on another mechanism. I seem to recall reading something similar on the NodeBB forums.

    wrote on last edited by
    #9

    @phenomlab said in [NODEBB] Stats:

    @jac that’s correct. I don’t think it leverages the socket connection to see if a user is online or not, but relies on another mechanism. I seem to recall reading something similar on the NodeBB forums.

    Absolutely! no issue with it at all, doesn’t bother me and infact could potentially look to be a few online which could lead to further sign-ups if people see there’s activity.

  • wrote on last edited by DownPW
    #10

    @jac said in [NODEBB] Stats:

    Absolutely! no issue with it at all, doesn’t bother me and infact could potentially look to be a few online which could lead to further sign-ups if people see there’s activity.

    Maybe your are right 🙂

    Personally, it didn’t show the same thing on the number of users online.

    For example:

    On https://XXXXX.XXX/users?section=online indicates 7 users active

    and 5 users active displaying on the plugin Widget.

    I prefer real time information or same as users?section=online

  • @jac said in [NODEBB] Stats:

    Absolutely! no issue with it at all, doesn’t bother me and infact could potentially look to be a few online which could lead to further sign-ups if people see there’s activity.

    Maybe your are right 🙂

    Personally, it didn’t show the same thing on the number of users online.

    For example:

    On https://XXXXX.XXX/users?section=online indicates 7 users active

    and 5 users active displaying on the plugin Widget.

    I prefer real time information or same as users?section=online

    wrote on last edited by
    #11

    @downpw yes, that’s the disconnect I mentioned.

  • wrote on last edited by
    #12

    yes!!! It’s stupid…

  • yes!!! It’s stupid…

    wrote on last edited by phenomlab
    #13

    @downpw I agree. You’d think there would be consistency

  • @downpw I agree. You’d think there would be consistency

    wrote on last edited by
    #14

    @phenomlab Of course, but I don’t think there’s a fix to this. I mentioned the same thing over at the NodeBB forum months ago.

  • JAC JAC

    @phenomlab Of course, but I don’t think there’s a fix to this. I mentioned the same thing over at the NodeBB forum months ago.

    wrote on last edited by
    #15

    @jac Not so much a lack of fix - more of a reluctance to provide one

  • @jac Not so much a lack of fix - more of a reluctance to provide one

    wrote on last edited by
    #16

    @phenomlab said in [NODEBB] Stats:

    @jac Not so much a lack of fix - more of a reluctance to provide one

    very true.
    See here - https://community.nodebb.org/topic/6287/users-online-information-wrong?_=1642345765412&lang=en-US

  • JAC JAC

    @phenomlab said in [NODEBB] Stats:

    @jac Not so much a lack of fix - more of a reluctance to provide one

    very true.
    See here - https://community.nodebb.org/topic/6287/users-online-information-wrong?_=1642345765412&lang=en-US

    wrote on last edited by
    #17
  • wrote on last edited by
    #18

    Exactly mate, if there’s enough complaining then maybe they’d do a fix or is there simply not one?

  • JAC JAC

    Exactly mate, if there’s enough complaining then maybe they’d do a fix or is there simply not one?

    wrote on last edited by
    #19

    @jac or I land up fixing it 🙂

  • @jac or I land up fixing it 🙂

    wrote on last edited by
    #20

    @phenomlab said in [NODEBB] Stats:

    @jac or I land up fixing it 🙂

    I wouldn’t put it past you 😛


Related Topics
  • 2 Votes
    1 Posts
    640 Views
    No one has replied
  • What’s going on with NodeBB?

    Performance nodebb script die
    20
    8 Votes
    20 Posts
    5k Views
    phenomlab
    @cagatay The most reliable way to upgrade Node.js on Ubuntu depends on how you originally installed it. Method 1: Using NVM (Recommended) If you already use Node Version Manager (NVM), upgrading is simple. NVM allows you to keep both versions and switch between them if needed. Install Node 22: nvm install 22 Switch to Node 22: nvm use 22 Set it as your default: nvm alias default 22 Verify the change: node -v Method 2: Using NodeSource (PPA) If you installed Node.js via apt using the NodeSource repository, you need to update the repository script to point to the new version. Remove the old NodeSource list (optional but cleaner): sudo rm /etc/apt/sources.list.d/nodesource.list Download and run the NodeSource setup script for Node 22: curl -fsSL [https://deb.nodesource.com/setup_22.x](https://deb.nodesource.com/setup_22.x) | sudo -E bash - Install/Upgrade Node.js: sudo apt-get install -y nodejs Verify the installation: node -v Method 3: Using the ‘n’ Package If you have npm installed, you can use the n interactive manager. Clear the npm cache: sudo npm cache clean -f Install the ‘n’ helper: sudo npm install -g n Install Node 22: sudo n 22 Update your shell: hash -r Troubleshooting Permission Denied: If you see permission errors using Method 2 or 3, ensure you are using sudo. Path Issues: If node -v still shows version 20 after upgrading via NVM, restart your terminal or run source ~/.bashrc. Conflicts: Avoid mixing these methods. If you switch from apt to nvm, it is best to sudo apt remove nodejs first to avoid path conflicts.
  • Custom Board Stats Widget

    Moved Let's Build It widget board stats
    28
    4
    20 Votes
    28 Posts
    10k Views
    cagatay
    thanks Mark.
  • Embedding external URLs

    Solved General embed plugin nodebb v3.x
    3
    3 Votes
    3 Posts
    1k Views
    dave1904
    Many thanks! I’ll use your walkthrough and go for the self-hosted solution.
  • plugin open link IMgur images

    Customisation plugin imgur
    7
    0 Votes
    7 Posts
    3k Views
    phenomlab
    @DownPW not sure what you mean. Can you elaborate ?
  • [NodeBB] greeting message

    Solved Customisation css nodebb javascript
    2
    1
    3 Votes
    2 Posts
    2k Views
    phenomlab
    @pwsincd welcome to sudonix, and thanks for the comments. What your looking for is here https://sudonix.com/topic/195/nodebb-welcome-message/3?_=1648295651358
  • NodeBB Design help

    Solved Customisation
    8
    3
    2 Votes
    8 Posts
    4k Views
    phenomlab
    @riekmedia I’ve applied some new CSS to your site. Can you reload the page and try again ? For the record, this is what I added #footer { background: #2d343e; border-top: 4px solid #2d343e; font-size: 0.9em; margin-top: 70px; padding: 80px 0 0; position: relative; clear: both; bottom: 0; left: 0; right: 0; z-index: 1000; margin-left: -15px; margin-right: -338px; } The /categories page seems a bit messed up, so looking at that currently EDIT - issued some override CSS in the CATEGORIES widget <!--- CSS fix for overspill on /categories page - DO NOT DELETE --> <style> #footer { margin-right: -45px; } </style> That should resolve the /categories issue.
  • NodeBB customisation

    Locked Customisation
    332
    27 Votes
    332 Posts
    274k Views
    phenomlab
    @jac Given your departure away from your previous project, I’m going to close this thread…