Skip to content

[NODEBB] Stats

Unsolved Customisation
20 3 6.4k 1
  • 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
  • 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.
  • 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.
  • 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
  • Forum Icons NodeBB

    Solved Customisation icons forum nodebb
    13
    0 Votes
    13 Posts
    5k Views
    phenomlab
    @cagatay That matches what I see [image: 4f0f858d-9812-42b1-9f61-ffb13d31dccd-image.png]
  • 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]
  • [NODEBB] Welcome Message

    Solved Customisation css html nodebb
    20
    2
    13 Votes
    20 Posts
    9k Views
    phenomlab
    @DownPW the ‘js’ code for the banner takes the time from the client, so what it displays really depends on the regional settings for the operating system. I’ve not seen this issue myself but would like to see some examples of screenshots if possible.
  • Social icon (Nodebb)

    Solved Customisation nodebb social
    7
    0 Votes
    7 Posts
    3k Views
    JAC
    @phenomlab said in Social icon (Nodebb): @jac I just tested my theory around using the OG image, and according to the Twitter card validator, it works fine [image: 73e805e1-997b-41bf-9259-51c5052ca8fc-image.png] fixed
  • How to set a signature in NodeBB?

    Solved Customisation
    4
    2 Votes
    4 Posts
    2k Views
    JAC
    @phenomlab said in How to set a signature in NodeBB?: @jac No issues at all with copying. This is set using the signature for the user you are posting as. In the case of Hostrisk, it’s set like the below [image: 7bf04183-f6e8-4d72-b0eb-c9a05c9cd24b-image.png] You can set the signature by using https://domain.com/user/theuser/edit Mamy thanks Mark, I’ll set this up later .