Chat 2 by Siropu

xF2 Add-on Chat 2 by Siropu 2.2.11

No permission to download
Added error log for open AI API to troubleshoot issues.

Fixed a problem on shoutbox mode with board logout and login where no room loads.
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.
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
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 a new command called "export" that allows you to export messages from the current room to a thread with a post author and per post limit.

Extended the admin option "Disallowed pages" to include all the global display positions.

Added two new options for "Enabled BB codes": Paragraph format and Insert horizontal line.

Added a new style property to set content height on mobile.

Bugs Fixed
A banned/kicked user in shoutbox mode, won't be able to join the chat after sanction expiration.

Issue with "All page mode" template modification on some styles where the chat is added twice and not working.

The button to disable chat in the chat bar is displayed even if the user doesn't have the permission to change settings.
Fixed an issue where editor input is not focused after post is submitted.
Fixed an issue with top chatters order.
Fixed an issue with chat bar display when board is disabled.
Fixed an issue with chat bar display in guest mode.
Added rating option for Giphy command (ACP > Chat > Commands > giphy).

When in All pages mode in mobile view, Chat bar will auto-hide when you focus the editor in a thread or in other places, and auto-show when the editor is unfocused.

Fixed an issue where the lightbox is not working with posted images.
Missing JS and styles directories from the zip archive.