Small Widget to show a list of online users on a Rocket.Chat server.
Intended to be used along with the OAuth capabilities (like the one integrated or the OAuth Server application) that allows to login in a Rocket.Chat server using the forum credentials. This way the member-names can be matched and the widget can show member details from the forum.
Note: please have a look at the Support-Topic. We are looking for someone to continue to develop this widget, as we have switched to another chat solution and cannot properly do this anymore.
Instructions:
-
as of IPB 4.5 use the marketplace integration to install the application
- or download the .tar file and upload into the Applications in your AdminCP
- use the block edit mode to add the new widget, use the edit button to add the rocket.chat server url (no / at the end!) and a user that can access the REST API
The latest version of the widget was tested with
- Rocket.Chat up to 3.18.1 (not tested with 4.x)
- IPB 4.5.x & IPB 4.6.x
- PHP 7.3.x for IPB 4.5.x & PHP 7.4 for IPB 4.6.x
The rocket.chat username in this scenario will match the member name in the forum, so some nice profile links are possible.
If you configure a channel name for the widget and that channel has an announcement it will be shown in the widget too above the users list:
The widget is refreshed every 60 seconds.
Edited by ossipetz
Note added
What's New in Version 1.6.1 See changelog
Released
- removed "type" from filtering users (was removed from Rocket.Chat API)
- added widget configuration to allow filter usernames (intended to filter bots and apps from the online user list)
- Issues or Suggestions: support topic.
- Sources: GitHub.