Chat 2 by Siropu

Chat 2 by Siropu 2.2.6

No permission to buy (€29.99)
Fixed an error on sanctions page when using PHP 8.1
  • Like
Reactions: yin9
Giphy API key used for the /giphy command has stopped working so I have added a command option to add your own API key (ACP > Chat > Commands > Giphy)

Also, a new command has been added called /gif where you can use either Giphy or Tenor as a provider. It require an API key for any of the providers (ACP > Chat > Commands > Gif).
  • Like
Reactions: yin9 and madness85
Added two new admin options:
  • Count room reactions
  • Count private conversation reactions

Deleting a user will also delete their attachments.

Bugs Fixed
Fixed an issue with muted sanction type where messages are still visible.
Board wide banned users can still see Chat in "All pages" mode.
Made some changes to prevent potential front-end errors when upgrading add-on.
Fixed a permission issue with forum activity thread/post bot notifications where users with the permission to view the node but not the threads/content can view thread title or post excerpt in the chat.
Fixed an issue with "who's typing" where it will not work depending on your setup (rooms only or conversations only).
Fixed an issue where the XF loading indicator appears when sending requests for who's typing.
Fixed an issue with reaction selection not working on popup window.
Fixed a potential error with server Chat data directory permissions on add-on install.
Fixed an issue with guest mode when permissions are not set up correctly and Chat display the "Conversations" tab title.
Fixed an issue with conversations not displaying in conversation popup.

Also, have added a style property for user mention row date for easy styling.
Added "who is typing" feature for both rooms and conversations with the admin option to enable it for each individually. The list of users who are typing is loaded directly from JSON files on the server so performance should be good with this approach. Server side, the file is read using file_get_contents and it requires allow_url_fopen on your server. This feature only works when the page is focused to prevent unnecessary loads.

Made some changes in room embed mode to only display room messages and user list from the room with no other tabs, improving db queries as well.
Added room user limit. This allows you to limit the number of active users that can join the room.
Made some changes to the image upload function to use the native XF attachment manager style.
Implemented chat message count update when using user account merge combine feature.

Bugs Fixed
Fixed image lightbox view in the archive.
Fixed issue with sound and tab notification in unfocused pages.
Fixed editor new line break with insert user mention.
Added two new commands: slap and hug. The slap command has an option in ACP (Chat > Commands > slap) where you can set a list of objects that will get picked randomly to slap a user with it.

Fixed an issue with a space added after posting a message.
Added new option "Allowed pages" for "All pages mode" to only allow it on certain pages.

Fixed an error on Top chatters page.
Fixed an issue with cursor set at the start of the input field when using the whisper menu option.
Top