Jump to content


Rocket.Chat Online Users 1.5.0

   (1 review)

3 Screenshots

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.5.x
  • IPB: 4.5.x
  • PHP: 7.2.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
updated versions and instructions

What's New in Version 1.2.8   See changelog


Fixed an issue where the user specified in the widget for the REST API calls would fill up with "authTokens" in mongodb. 

If the widget behaves very slow you can empty the authTokens for that user (or maybe delete / recreate it?) in the users collection:

"resume": {
    "loginTokens": []

(I have used mongo-express to connect to the rockat.chat mongodb instance)

User Feedback

You may only provide a review once you have downloaded the file.


   1 of 1 member found this review helpful 1 / 1 member

On 4.2.5 editing any setting causes the widget to crash a large chunk of Invision Community and have to disable plugin for forum to start working again:

Error: Class 'IPS\tfrocketchat\widgets\Exception' not found (0)
#0 C:\inetpub\wwwroot\applications\tfrocketchat\widgets\tfRocketChatWhosOnline.php(167): IPS\tfrocketchat\widgets\_tfRocketChatWhosOnline->readJsonFromUrl('https://chat.si...', Array, Array)
#1 C:\inetpub\wwwroot\system\Widget\Widget.php(731): IPS\tfrocketchat\widgets\_tfRocketChatWhosOnline->render()
#2 C:\inetpub\wwwroot\uploads\template_3_94a9d7649fb9cdbfc784d3516e61a717_global.php(14808): IPS\_Widget->__toString()
#3 C:\inetpub\wwwroot\system\Theme\SandboxedTemplate.php(56): IPS\Theme\Cache\class_core_front_global->widgetContainer('sidebar', 'vertical')
#4 C:\inetpub\wwwroot\uploads\template_3_94a9d7649fb9cdbfc784d3516e61a717_global.php(12460): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#5 C:\inetpub\wwwroot\system\Theme\SandboxedTemplate.php(56): IPS\Theme\Cache\class_core_front_global->sidebar('right')
#6 C:\inetpub\wwwroot\uploads\template_3_94a9d7649fb9cdbfc784d3516e61a717_global.php(5420): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#7 C:\inetpub\wwwroot\system\Theme\SandboxedTemplate.php(56): IPS\Theme\Cache\class_core_front_global->globalTemplate('1fa89c086a6a3d0...', '\n<div class='ip...', Array)
#8 C:\inetpub\wwwroot\system\Dispatcher\Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#9 C:\inetpub\wwwroot\system\Dispatcher\Standard.php(103): IPS\_Dispatcher->finish()
#10 C:\inetpub\wwwroot\system\Dispatcher\Front.php(556): IPS\Dispatcher\_Standard->finish()
#11 C:\inetpub\wwwroot\system\Dispatcher\Dispatcher.php(148): IPS\Dispatcher\_Front->finish()
#12 C:\inetpub\wwwroot\index.php(12): IPS\_Dispatcher->run()
#13 {main}

Worked before 4.2.5, so wondering what's up?

Response from the author:

as of 1.2.2 this issue should have been gone. If it still occurs please try the latest version and let me know in the Support Topic.

Link to comment
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy