Jump to content

Marketplace

Rocket.Chat Online Users 1.3.1

   (1 review)

2 Screenshots

About This File

Small Widget to show a list of online users on a Rocket.Chat server.

Intended to be used along with the OAuth Server application that allows to login in a Rocket.Chat server using the forum credentials.

Instructions:

  • download the .tar file
  • 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 RESPT API

The latest version of the widget was tested with 

  • Rocket.Chat: up to 0.72.x
  • IPB: 4.3.x
  • PHP: 7.0.18+
  • OAuth2: 1.2.4 

593549b4e36f0_Screenshot2017-06-0514_06_13.thumb.png.815a9cd2ae3acd1ceb1b8cd32075c0d6.png

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:

image.png.838ba34e32927f0a90dbd9c05293d42e.png

The widget is refreshed every 60 seconds.


What's New in Version 1.3.1   See changelog

Released

  • Fix: group names no longer colored.
  • Template fixes for 4.4.2 developer mode.

Tested with IPB 4.4.2

Upgrade notice: The template was changed. If you modified the template in the admin panel, please compare it with this updated one or revert and re-apply your changes.

image.thumb.png.abca7a82b86622144d05f26cdae5ac46.png




User Feedback

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


jmw253

   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.

Share this review


Link to review
×
×
  • Create New...