Skip to content

[NODEBB] Stats

Unsolved Customisation
20 3 6.4k 1
  • wrote on last edited by
    #1

    Hi @all

    Do you know a plugin that displays the stats of online users, their numbers, the last registered… Like this for example :

    5cf34c54-741f-4730-8980-ae0ab3a1a81a-image.png

    The basic widgets provided by NODEBB don’t appeal to me very much and don’t display what I want.

    There is a stats plugin but after testing it is not reliable, does not display the correct number of users etc…

    If you know this, I’m a taker

    Thanks in advance

  • Hi @all

    Do you know a plugin that displays the stats of online users, their numbers, the last registered… Like this for example :

    5cf34c54-741f-4730-8980-ae0ab3a1a81a-image.png

    The basic widgets provided by NODEBB don’t appeal to me very much and don’t display what I want.

    There is a stats plugin but after testing it is not reliable, does not display the correct number of users etc…

    If you know this, I’m a taker

    Thanks in advance

    wrote on last edited by
    #2

    @downpw I don’t know of any plugin that works in a way that can be relied upon I’m afraid. Sudonix uses Matomo to keep track of stats, but also respects the privacy requirements of visitors in the sense that if they ask not to be tracked, they won’t be.

  • wrote on last edited by
    #3

    @phenomlab said in [NODEBB] Stats:

    I don’t know of any plugin that works in a way that can be relied upon I’m afraid. Sudonix uses Matomo to keep track of stats, but also respects the privacy requirements of visitors in the sense that if they ask not to be tracked, they won’t be.

    yes!!
    I was tested nodebb-widget-board-stats but it’s buggy.
    He don’t shown correct information.

    Too bad because that’s exactly what I’m looking for.

    I open a topic, just in case on NodeBB communauty

    https://community.nodebb.org/topic/16280/nodebb-widget-board-stats-update

  • @phenomlab said in [NODEBB] Stats:

    I don’t know of any plugin that works in a way that can be relied upon I’m afraid. Sudonix uses Matomo to keep track of stats, but also respects the privacy requirements of visitors in the sense that if they ask not to be tracked, they won’t be.

    yes!!
    I was tested nodebb-widget-board-stats but it’s buggy.
    He don’t shown correct information.

    Too bad because that’s exactly what I’m looking for.

    I open a topic, just in case on NodeBB communauty

    https://community.nodebb.org/topic/16280/nodebb-widget-board-stats-update

    wrote on last edited by
    #4

    @downpw ok. I’d be interested in the results of this also.

  • @phenomlab said in [NODEBB] Stats:

    I don’t know of any plugin that works in a way that can be relied upon I’m afraid. Sudonix uses Matomo to keep track of stats, but also respects the privacy requirements of visitors in the sense that if they ask not to be tracked, they won’t be.

    yes!!
    I was tested nodebb-widget-board-stats but it’s buggy.
    He don’t shown correct information.

    Too bad because that’s exactly what I’m looking for.

    I open a topic, just in case on NodeBB communauty

    https://community.nodebb.org/topic/16280/nodebb-widget-board-stats-update

    wrote on last edited by JAC
    #5

    @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

  • 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
    639 Views
    No one has replied
  • Custom Page - nodebb

    Solved Customisation custom-pages nodebb
    13
    2
    5 Votes
    13 Posts
    3k Views
    DownPW
    I’m happy to see this
  • 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.
  • TNG + Nodebb

    General tng genealogy nodebb plugin
    4
    0 Votes
    4 Posts
    2k Views
    phenomlab
    @Madchatthew said in TNG + Nodebb: you have to try and use duck tape and super glue to change something to make it do what you want it to do I couldn’t have put that better myself.
  • NodeBB Twitter / X embeds

    Let's Build It twitter script
    34
    21 Votes
    34 Posts
    16k Views
    DownPW
    @phenomlab said: @DownPW thanks for spotting (and fixing) this issue. I admittedly threw this together quickly for @jac some time ago, and it hasn’t had any love since. If OK with you, I’ll merge these changes into the github repository? No problem dude
  • nodebb-plugin-custom-pages

    Solved Customisation plugin custom-pages
    5
    2
    3 Votes
    5 Posts
    5k Views
    phenomlab
    @DownPW it’s possible, yes, but you may inadvertently end up targeting other elements using the same class which of course isn’t desired. Can you provide a link in DM for me to review?
  • Whitespace fixes in Nodebb

    Solved Customisation nodebb
    18
    2
    7 Votes
    18 Posts
    6k Views
    phenomlab
    @Panda Just circling back here with something of an update (which I think you’ll like). I’ve completely restructured the ranking system. There are now less ranks, with a higher point threshold to reach them. More importantly, if you reload the site, you’ll notice that the ranks are now icons. I also removed the “Author” badge, and made this a single icon, which (to me) looks much better.
  • NodeBB Discord Plugins

    Unsolved Customisation nodebb discord plugin
    7
    0 Votes
    7 Posts
    4k Views
    phenomlab
    @RiekMedia hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?