Skip to content

[NODEBB] Stats

Unsolved Customisation
20 3 6.4k 1
  • @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
  • 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.
  • 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
  • Embed - What Are You Using?

    Solved General customisation plugin
    13
    3 Votes
    13 Posts
    4k Views
    phenomlab
    @DownPW Hmm - it’ll work with iFramely (locally hosted), or you can use the below string to embed using https://community.nodebb.org/topic/7135/nodebb-plugin-ns-embed-ns-embed/114 Watch (?:<a.*?)?(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/video\/([a-zA-Z0-9_-]{4,11})(?:.*?\/a>)? Replace <div class='embed-wrapper'><div class='embed-container'><iframe src='//www.dailymotion.com/embed/video/$1' frameborder='0' allowfullscreen></iframe></div></div> [image: 4f5f13f7-0c73-460e-b32f-f974f170b236-image.png]
  • Plugin reaction Bug

    Solved Customisation plugin nodebb reaction
    15
    1
    0 Votes
    15 Posts
    6k Views
    phenomlab
    @DownPW That was going to be my next suggestion
  • 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.
  • [NodeBB] username cards

    Solved Customisation nodebb
    8
    5 Votes
    8 Posts
    3k Views
    Sampo2910
    @phenomlab Aha…nice to know. As always thank you for the reply and information.
  • Customising NodeBB

    Locked Customisation nodebb
    3
    0 Votes
    3 Posts
    3k Views
    phenomlab
    Closing this thread as a duplicate of https://sudonix.com/topic/12/nodebb-customisation