[nodebb-plugin-browsing-users] See browsing users in a topic
-
@baris said in [nodebb-plugin-browsing-users] See browsing users in a topic:
@chez Please use [email protected], looks like 1.1.3 has an issue.
Where can I install this version?
-
Wouldn't it be more fun if we could see the person who started typing in the editor in the mobile theme? Discourse and Flarum also have this feature. Why not on NodeBB?
Flarum:
https://i.imgur.com/nfXFp9L.pngDiscourse:
https://i.imgur.com/TfF4BPZ.png -
@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. -