Resource icon

xF2 Add-on Chat 2 by Siropu 2.2.8

No permission to download
Added the option to use file based "real-time" actions for edit/delete/reaction instead of XF simple cache due to issues on some big boards.
Made some cache improvements for active bot response/message count.

Bugs Fixed
Misspelling/errors on some phrases.
Issue with some permissions when editing rooms.
Issue with posting on some big boards where room cache not working as expected, causing a permission error.
  • Like
Reactions: BattleKing
Added JS pagination for rooms in "Browse rooms" tab and the option to set the maximum number of rooms to display per page.
Right side navigation chat icon has been added via template modification instead of JS.

Bugs Fixed
Sound notification repetition in private conversations if new messages are received in the current conversation and the main conversations tab is unfocused.
Display issues on mobile devices with toggle chatter list.
User custom message color setting not working on edits.
Fixed an error on sanctions page when using PHP 8.1
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).
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.
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.