• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

[nodebb-plugin-browsing-users] See browsing users in a topic

Scheduled Pinned Locked Moved NodeBB Plugins
nodebbplugin
36 Posts 14 Posters 8.0k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #25

    show who is typing on mobile · Issue #10 · barisusakli/nodebb-plugin-browsing-users

    Adds browsing users to topics. Contribute to barisusakli/nodebb-plugin-browsing-users development by creating an account on GitHub.

    favicon

    GitHub (github.com)

    1 Reply Last reply
    3
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #26

    Browsing users 2.0.2 has this now. It works with a small change in persona, if you have a custom theme you can replicate this change. https://github.com/NodeBB/nodebb-theme-persona/commit/8ee78e4bf9935d74fa2bdc43b80c7c2a415d06b2

    419fa9fa-d487-43c4-9f28-8ffd5c6eb470-image.png

    kurulumu.NetK 1 Reply Last reply
    3
  • kurulumu.NetK Offline
    kurulumu.NetK Offline
    kurulumu.Net
    replied to <baris> on last edited by kurulumu.Net
    #27

    @baris Thanks for the update. I was really happy.

    ad731996-0487-4dac-82c0-51cc72e60ae7.jpg

    It's in the header on mobile. I looked at the plugin page but couldn't see a setting. How did you get the ban users to the bottom? I'm using NodeBB 1.19.1. Will 1.19.2 be like this?

    barisB 1 Reply Last reply
    0
  • volanarV Offline
    volanarV Offline
    volanar Translator
    wrote on last edited by volanar
    #28

    The old version 2.0.1 is displayed in the admin panel. I wonder why I don't see updates?

    barisB 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    replied to kurulumu.Net on last edited by
    #29

    @kurulumu-Net Persona uses 2 places to display it check topic.tpl, on desktop it is displayed in topic header on mobile it is displayed at the bottom.

    1 Reply Last reply
    1
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    replied to volanar on last edited by
    #30

    @volanar You can install it directly with npm i nodebb-plugin-browsing-users@latest if you don't want to wait for it to show up in the ACP.

    1 Reply Last reply
    2
  • q16marvinQ Offline
    q16marvinQ Offline
    q16marvin
    wrote on last edited by
    #31

    @baris thx for the great plugin, but why did you remove the save button in the latest version 3.1.0
    https://github.com/barisusakli/nodebb-plugin-browsing-users/commit/5c95ccd4852e25ac9fdab21bb8514a196723025e

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #32

    The save button is in the partial that is included at the top, <!-- IMPORT admin/partials/settings/header.tpl -->

    1 Reply Last reply
    0
  • q16marvinQ Offline
    q16marvinQ Offline
    q16marvin
    wrote on last edited by
    #33

    ahh i see in source code, but in admin page i see only this:

    grafik.png

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #34

    @q16marvin use [email protected], The latest version 3.1.0 is meant for nodebb 3.2.0 which isn't released yet.

    1 Reply Last reply
    0
  • dave1904D Offline
    dave1904D Offline
    dave1904
    wrote on last edited by
    #35

    I like this great plugin. I'm thinking of a way to also show the number of browsing guests. Or to add the total number of browsing people in addition to users. Could this be fetched with the API?

    1 Reply Last reply
    1
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by baris
    #36

    @dave1904 you should be able to get that data the same way this plugin does.
    https://github.com/barisusakli/nodebb-plugin-browsing-users/blob/master/index.js#L103-L112

    That code gets all the connected sockets that are in the topic. Each socket object has a data.uid field. If it is 0 then it is a guest other wise it is the user id of the logged in user. From that you can get the total number of sockets in the topic or just the guests etc.

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development