Resource icon

xF2 Add-on Chat 2 by Siropu 2.3.4

No permission to download
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.
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.
This release fixes compatibility issues in XF 2.2.x

Other bug fixes
User with no permission to see older room messages after join, can still see the last message in the chat bar.
Clicking on "Sanction" from user menu, doesn't work as expected.

NOTE: This version is for XF 2.2.x only, do not try to update if you are using XF 2.1.x
  • Like
Reactions: SkuS
Clicking on a joined room in "Browse rooms", switches to that room tab.
Added some JS code to make some CSS adjustments on UIX when Chat is in all pages mode and uix bar at the bottom at the same time.
"Load more messages" feature is now dependent on "View archive" permission.
"Find" command is now dependent on "Search archive" permission.

Bugs Fixed
Fixed an issue where bot messages are posted at the wrong time.
Some FA icons not working with Chat style properties icon color.
Icons in "Browse rooms" display over search room input when scrolling.
Archive search options too crowded on mobile view.
Top