Chat by Siropu

Unmaintained Chat by Siropu 1.25.1

No permission to buy (€29.99)
New features
Admins have now the option to set default user settings for users that haven't used the chat before.

New Commands
  1. /prune - Deletes all messages from the room.
  2. /prune all - Deletes all messages from all rooms.
  3. /quit - Logs you out from the chat leaving a notification message. Optionally you can leave a custom message after the command. This command is permission based and you can also globally enable/disable it via chat admin options.
  4. /clear - Clear all the messages in the chat window (does not delete them).
  5. /help - Will display an overlay with information about the chat commands.
  6. /rooms - Will display the available rooms.
  7. /rules - Will display an overlay with the rules you have set in admin options.
When you delete all messages, the chat bot will display a message notification to all users.

To use /prune command you need to have the "Delete all messages" permission.

Improvements
  1. Edit, delete and prune actions will now be reflected to all chatters on chat refresh without having to reload the page.
  2. Now you can allow room change in embed mode by passing an extra parameter: 'rooms=1'.
Bug Fixes
  1. Clicking on tagged users in messages or users mentioned in chat bot messages, will insert a @Username/guest in the chat input.
  2. Session for users who visits the chat page, with admin option "Display chat page visitors in chatters list" enabled, wasn't available on first load
  3. The user count in the chat bar reflected the users chatting in the current room instead of the whole chat.
  4. Admin option "Enable /me command" had a typo in the option ID

Attachments

  • defaultUserSettings.webp
    defaultUserSettings.webp
    8.9 KB · Views: 81
  • helpCommand.webp
    helpCommand.webp
    58.1 KB · Views: 80
  • quitCommand.webp
    quitCommand.webp
    12.2 KB · Views: 77
  • quitCommandSubmit.webp
    quitCommandSubmit.webp
    13.7 KB · Views: 79
Version 1.15.2 fixes a bug with autoscroll on page load when there are embedded images.

Also, a phrase has been removed because it was from another Add-on of mine and I accidentally set it to this Add-on.

Version 1.15.2 has been tested with XF 1.5 Beta 2 and no issues have been found so far.
Improvements
  • I have added style properties to allow you to change the color of the Font Awesome icons. This includes the editor icons.
  • I have made a small aesthetic change to the message list to prevent the date to go bellow the message.
Bug Fixes
  • Changing user options after changing the color message with the color picker breaks the message color code.
  • The content height in "Maximized mode" on "All Pages Mode" with notices or ads enabled, was not adjusted correctly.
  • Misspelled word in user group permissions.

Attachments

  • styleProperties.webp
    styleProperties.webp
    68.7 KB · Views: 69
New Features
Display chat page visitors in chatters list (allows you to globally display chat page visitors in the chatters list). This option can be enabled/disabled from admin chat options.

Also, now you have the option to disable the chat tab chatters count.

User Settings Improvements
  • Added color picker (You can enable/disable the color picker from Admin Options)
  • Added user group permissions for colored messages
Bug Fixes
  • Possible error in admin error log when there are messages that you don't have permission to view.
  • "Delete all messages" didn't fit in the menu on "All Pages Mode".
  • Double quotes in new thread and new posts bot messages were being escaped.
  • The user display mode didn't match the default mode set in admin option when user changed the settings for the first time.
  • The cursor in Firefox didn't get in front of the username when clicking to tag a user or whisper.
  • Tagged users that didn't had permission to enter a chat room were receiving alerts.
Changes
Edit/Delete/Report/Quote icons now show up when you hover over the date and they will replace the date for 2.5 seconds. This is experimental to fix a possible issue when the message is closer to the date and try to click one of the icons.

NOTE: Please clear the browser cache for the changes to take effect in the JS script.

Attachments

  • colorPicker.webp
    colorPicker.webp
    10.3 KB · Views: 67
  • messageColor.webp
    messageColor.webp
    13.7 KB · Views: 69
  • Like
Reactions: Gemma
Version 1.14.0 allows you to embed the chat with any room anywhere you want in the template using a template callback with XF's Template Modifications System.

Supports two modes: Node and Sidebar.

Embed a room in a node:
PHP:
<xen:callback class="Siropu_Chat_Callback" method="getChat" params="{xen:array 'room_id=id'}"></xen:callback>

Embed a room in the sidebar:
PHP:
<xen:callback class="Siropu_Chat_Callback" method="getChat" params="{xen:array 'room_id=id', 'sidebar=1'}"></xen:callback>

As admin you can now see room id in rooms list so you can easily find it when you need it to embed a room.

Bug Fixes:
Code error with message type and empty messages.
If a room is deleted, the bans for that room will also get deleted.

Attachments

  • adminOption.webp
    adminOption.webp
    5.7 KB · Views: 74
  • embedPage.webp
    embedPage.webp
    14.4 KB · Views: 69
  • embedSidebar.webp
    embedSidebar.webp
    9.5 KB · Views: 71
Version 1.13.2 fixes the following bugs:
  1. View permission on chat page.
  2. Ban error when not using chat rooms.
  3. Sound play when chat loads.
Version 1.13.1 fixes a bug in the installer class.
User Tag Improvements
Tag Alert Notifications (Enable/Disable Admin Option)
Link tagged users to their profile (Enable/Disable Admin Option)
Remove @ character from message if you have the XF option "Keep @ character with user tagging" unchecked.
When typing with @ in the chat input, the user list will show up for easy tagging.

New Message Feature
You can now Quote chat messages very easily by clicking the "Quote" icon of the message.

New BBCodes
Quote, Spoiler and Code BBCode have been added.

The BBcodes insert overlay (URL, IMG, MEDIA, QUOTE, SPOLIER, CODE) have now a new option called "Insert & Submit" which allows you to directly submit the message.

Ban Improvements
The option to ban multiple users have been added to the banned users list. This option also allows you to update current bans.

Now, ban/unban bot notification messages will be displayed in the room where the user was ban from and the messages displayed will be according to the ban type. If the ban is from the whole chat, The message will say "...has been banned/unbanned from the chat..." and if the ban is from certain rooms the message displayed will be "...has been banned/unbanned from the room...".

Bug Fixes
Quote, Spoiler and Code BBCode are now parsed correctly in any display mode.
You can now report "whisper" messages.
Some code bugs have been also fixed.

NOTE: Disable chat before upgrading to this version to avoid possible database errors during upgrade.
Version 1.12.1 fixes a bug in whisper command when using colored messages feature.

I've also made some improvements to the whisper link action so that when you add a extra user to the whisper group and click it again, it will remove that user or if it's only a user, it will clear the input.
Version 1.12.0 comes with the following features:

/whisper command (Permission based)
Allows you to send private messages to chatters and the best part is that it supports multiple recipients at the same time.

/whisper [User 1, User 2] your message

You can either write this manually or you can click the new "Whisper" link in the user actions menu. If you click on multiple users "Whisper" action, they will be added to the group.

When the message shows up, you can see who else received the message and if you click on the "Whisper" text, you can send a new message to the same group, without having to click again on their "Whisper"link.

The /whisper command can be globally switched on/off from admin options and there are also user group permissions.

Chat Rules
Allows you to set chat rules. If rules are set, a link will appear in the chat title bar and when clicked, the rules will popup in the overlay.

Bug Fixes
In previews versions users banned from the whole chat could still see the chat on the chat page even if the option to now view chat was set. This has been fixed now.

Chat room edit/delete icons didn't worked with font awesome.
Chat room delete didn't worked anymore due to some previews changes that I've done and forgot to update.

I hope I didn't forget anything.

Attachments

  • whisper.webp
    whisper.webp
    11.4 KB · Views: 62
  • whisperMessage.webp
    whisperMessage.webp
    11.5 KB · Views: 61
  • Like
Reactions: Dylan V
Back
Top Bottom