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.
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.15.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.