@xx not really but something that comes close to it.
Use the spoiler plugin made by @Nicolas. Spoilers are only viewable by logged in users.
This plugin shows who is currently viewing a topic. This was a core feature that we removed a while ago, now it is back as a plugin
npm install nodebb-plugin-browsing-users
More info at https://github.com/barisusakli/nodebb-plugin-browsing-users
Notes
Currently only persona supports this, if you want to add it to your custom theme make these changes.
@baris: After installing your plugin, I found many error messages in the logs: 404 Not Found: /assets/templates/partials/topic/browsing-users.tpl
Can you please check?
Try running ./nodebb build
and then restart
This does not solve this problem.
The template file "browsing-users.tpl" is not part of the repository. Where should it come from?
It looks like this requires an update to the persona theme. Have you updated persona to latest? You might need to update NodeBB as well.
I have the same issue, my persona version is 5.0.3 can't have the latest 5.0.11. This can be related.
I am using NodeBB 1.5.1 which has Persona theme version 5.0.3.
In case a later version is required, I will wait for the release. No problem!
I am using nodebb master version this plugin didn't work!
We just need an update of the theme, i think it's not a prob of nodebb itself.
@yann151924 said in [nodebb-plugin-browsing-users] See browsing users in a topic:
We just need an update of the theme, i think it's not a prob of nodebb itself.
I'm using nodebb-theme-persona last verstion
Nodebb theme exodus now supports this too
https://github.com/exo-do/nodebb-theme-exodus
Nodeb. 1.4.x
Will update it to 1.5.x next week
@sanatisharif said in [nodebb-plugin-browsing-users] See browsing users in a topic:
@yann151924 said in [nodebb-plugin-browsing-users] See browsing users in a topic:
We just need an update of the theme, i think it's not a prob of nodebb itself.
I'm using nodebb-theme-persona last verstion
You would also need to have both latest master in core (likely) and more importantly a theme that supports it (persona, exodus -- nice @exodo!)
Ok thanks for the answer, i'll just disabled it until the next update
Thank you all for posting this plugin! I just upgraded our site's NodeBB to v1.5.3, and was pleasantly surprised to see that this plugin is now fully functional. This was one of my favorite features from the beginning of NodeBB.
@baris does this plugin has maximum limit?
I was observing for some time, it looks like from ACP there are ~30 or ~40 people browsing a topic but it only shows 10 users on the topic... If so, can we remove the limitation or at least increase to 50 or so?
Yes I think there is a limit, open an issue at https://github.com/barisusakli/nodebb-plugin-browsing-users/issues
@baris thanks for the change, we have updated our plugin but I could not find the setting panel? How can I change the settings?
You can navigate to /admin/plugins/browsing-users
. I added the missing admin menu item in 1.0.11
This plugin is updated by @psychobunny to show typing users as well. Latest version is 1.0.24.
Why does such an error return to me?
widgets.checkVisibility is not a function