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
  • 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.
  • Sudonix Blog

    General blog new topic plugin
    8
    3 Votes
    8 Posts
    4k Views
    Madchatthew
    Yes that is very awesome and I really like that idea! Great job with thinking that up!!
  • What's your go to product for site stats?

    Let's Build It umami stats
    27
    2
    15 Votes
    27 Posts
    9k Views
    phenomlab
    For anyone else coming here and is struggling to get pm2 to work with Umami (as I did - it started, but never seemed to work after a reboot which is pretty useless), you can use the below. Obviously, change the parts noted inside the [brackets]. Follow the below instructions: Instructions Open a terminal and create a new systemd service file: sudo nano /etc/systemd/system/umami.service Add the following content to the file: [Unit] Description=Umami Analytics Server After=network.target [Service] Type=simple User=[umami user] WorkingDirectory=[path to umami] ExecStart=/usr/local/bin/node [path to umami]/node_modules/.bin/next start Restart=on-failure [Install] WantedBy=multi-user.target Replace [umami user] with the username of the user that should run the Umami service, and [path to umami] with the actual path to your Umami installation. Save the file and exit the editor. Reload the systemd manager configuration: sudo systemctl daemon-reload Enable the Umami service to start on boot: sudo systemctl enable umami.service Start the Umami service: sudo systemctl start umami.service You can check the status of the service with: sudo systemctl status umami.service This systemd service file will ensure that Umami starts automatically when the system boots, and it will restart the service if it fails. Remember to adjust the WorkingDirectory and ExecStart paths according to where Umami is installed on your system, and ensure that Node.js is installed and accessible at /usr/bin/node (or adjust the path to Node.js as necessary).
  • Custom Board Stats Widget

    Moved Let's Build It widget board stats
    28
    4
    20 Votes
    28 Posts
    10k Views
    cagatay
    thanks Mark.
  • who is read NodeBB

    Customisation read post nodebb
    6
    0 Votes
    6 Posts
    3k Views
    phenomlab
    @cagatay You should ask in the NodeBB forums. Perhaps reference this post https://discuss.flarum.org/d/23066-who-read
  • Changing Background on NodeBB

    Solved Customisation background image nodebb
    4
    0 Votes
    4 Posts
    2k Views
    phenomlab
    @cagatay You’d target the body tag and use the below line of CSS background: url(/assets/customcss/backgrounds/default/default.png) no-repeat center center fixed; Obviously, you need to change the path to suit where your image is being stored. More info around the background property can be found here https://www.w3schools.com/cssref/css3_pr_background.php
  • Tenor GIF Plugin

    Solved Customisation plugin
    19
    1
    5 Votes
    19 Posts
    9k Views
    Sampo2910
    @phenomlab Also for me now Upgraded in ACP and all good . Thx.