[nodebb-plugin-browsing-users] See browsing users in a topic
-
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.
GitHub (github.com)
-
@baris Thanks for the update. I was really happy.
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?
-
The old version 2.0.1 is displayed in the admin panel. I wonder why I don't see updates?
-
@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.
-
@q16marvin use
[email protected]
, The latest version 3.1.0 is meant for nodebb 3.2.0 which isn't released yet. -
@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-L112That 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. -