Chat 2 by Siropu

Chat 2 by Siropu [Paid] 2.5.14

No permission to buy (€30.00)
Hi Siropu,

I’ve gone through the resource description, update history, and support discussion. I’m evaluating Chat 2 version 2.5.9 as the dedicated live-chat layer for a large XenForo 2.3 community. Our normal forums and threads will remain the permanent discussion system; Chat 2 would be used only when members specifically want a live conversation.

I found answers to most of my questions, but I would appreciate current clarification on the following:

AJAX polling and capacity
Does every browser that currently has Chat loaded still make its own independent AJAX polling request at the configured interval?

When the chat is hidden, the browser tab is unfocused, or the member becomes inactive, does polling stop completely or only change to the applicable hidden or inactive interval?

Do you have any recent benchmarks, production experience, or recommended upper range for simultaneous connected clients using version 2.5.9 at the default five-second interval?

Opening or embedding one specific room
We may want to place a Live Chat button on selected pages that opens one corresponding Chat 2 room without loading Chat across the rest of the website.

Is there now a supported method for loading or opening one specific room without using an iframe? For example, is there a supported route, widget parameter, template hook, PHP service, class extension, or JavaScript API that another add-on can use without modifying Chat 2 files?

If an iframe is still the only supported method, can the embedded view show only the intended room without exposing the complete list of other available rooms?

Permission changes and immediate access removal
Can a Chat 2 room inherit or check access against a particular XenForo node’s permissions?

If not, when a member loses an allowed user group or is removed from a room’s permitted users, are they immediately removed and prevented from continuing to read or post, including through a direct room URL, or can they remain until they leave, refresh, or are manually kicked?

Member-facing terminology
Can all member-facing terminology used by Chat 2 be changed through XenForo phrases or the add-on’s normal options, including navigation labels, tabs, notices, alerts, widgets, archive pages, empty states, private-chat wording, and error messages, without modifying the add-on’s files?

Are any member-facing terms hard-coded or otherwise not phrase-controlled?

Development, beta, and production licensing
The current resource page says each installation requires a separate license. I also found your older answer stating that a development installation could use the production domain on the license.

What is the current licensing requirement for one private development or staging installation, one invite-only beta installation, and one eventual public production installation?

Data export, pruning, reports, and uninstalling
Is there a supported full export for Chat 2 data beyond exporting room messages into a XenForo thread? In particular, can room messages, room configuration, memberships, reports, sanctions, reactions, private-chat data, and attachments be exported in a structured form?

When a reported message is automatically pruned or deleted, is the reported content preserved anywhere for staff review?

Does uninstalling the current version cleanly remove all Chat-owned database tables, files, jobs, permissions, navigation entries, and other add-on data, or are there manual cleanup steps?

Accessibility
Has version 2.5.9 been tested for keyboard-only operation, visible focus, screen-reader use, announcements of newly arriving messages, focus retention while messages refresh, 200% zoom, and reduced-motion preferences?

Are there any known accessibility limitations that we should account for during our own testing?

Thank you. I realize this is a detailed list, but I reviewed the existing material first and tried to limit it to questions that I could not find a current answer for.
 
Does every browser that currently has Chat loaded still make its own independent AJAX polling request at the configured interval?
Yes.

When the chat is hidden, the browser tab is unfocused, or the member becomes inactive, does polling stop completely or only change to the applicable hidden or inactive interval?
It changes interval.

Do you have any recent benchmarks, production experience, or recommended upper range for simultaneous connected clients using version 2.5.9 at the default five-second interval?
No. It all depends on your server.

If an iframe is still the only supported method, can the embedded view show only the intended room without exposing the complete list of other available rooms?
Only iframe. If you use the room embed feature, it will only display that room.

Can a Chat 2 room inherit or check access against a particular XenForo node’s permissions?
No.

Can all member-facing terminology used by Chat 2 be changed through XenForo phrases or the add-on’s normal options, including navigation labels, tabs, notices, alerts, widgets, archive pages, empty states, private-chat wording, and error messages, without modifying the add-on’s files?
It has phrases that you can edit. Room names can be edited from the rooms list.

What is the current licensing requirement for one private development or staging installation, one invite-only beta installation, and one eventual public production installation?
For testing purposes you can use it with the current license you have.

Is there a supported full export for Chat 2 data beyond exporting room messages into a XenForo thread? In particular, can room messages, room configuration, memberships, reports, sanctions, reactions, private-chat data, and attachments be exported in a structured form?
There isn't.

When a reported message is automatically pruned or deleted, is the reported content preserved anywhere for staff review?
The report system will still show the content that was reported.

Does uninstalling the current version cleanly remove all Chat-owned database tables, files, jobs, permissions, navigation entries, and other add-on data, or are there manual cleanup steps?
I had to check to make sure and it looks like I have omitted some content types from the uninstall process but it will be fixed in the next release.

Has version 2.5.9 been tested for keyboard-only operation, visible focus, screen-reader use, announcements of newly arriving messages, focus retention while messages refresh, 200% zoom, and reduced-motion preferences?

Are there any known accessibility limitations that we should account for during our own testing?
No such tests have been done. If you want to test it live, send me a DM.
 
It doesn't touch the news feed.
OK, thanks. We need to do some good testing. But something is definitely going on where whenever Chat is active and firing a lot of user alerts, the "latest activity" feed (somehow) gets cleared. It could be something else going on - so we'll get more concrete data before bothering you with it.
 
Yes.


It changes interval.


No. It all depends on your server.


Only iframe. If you use the room embed feature, it will only display that room.


No.


It has phrases that you can edit. Room names can be edited from the rooms list.


For testing purposes you can use it with the current license you have.


There isn't.


The report system will still show the content that was reported.


I had to check to make sure and it looks like I have omitted some content types from the uninstall process but it will be fixed in the next release.


No such tests have been done. If you want to test it live, send me a DM.
Thank you!
 
I don't see any issues with the sidebar. What's the problem exactly?
I have sent you an email with the details. I also had Claude Code do an audit and it found a few other things for your evaluation.

I find it nice to dig through such audit for a large addon and find only minor issues.
 
Last edited:
Siropu updated Chat 2 by Siropu with a new update entry:

Bug Fixes

Fixed an issue with actions.json used for storing edit/delete/like/react message actions where file could be accessed directly from the "data" directory.
Fixed an issue with rooms pagination and join button not working.
Fixed an issue with room join not switching to it.
Fixed an issue with user group permissions where not having "View chat" permission could receive a private conversation and not be able see it.
Fixed an issue with user sanction generating a JS error if user not in the user...

Read the rest of this update entry...
 
me too. I put a trouble ticket in for it. (a day after installing it, the overnight check)
 
OK we have finally had a chance to really put this to some real testing. We had several very busy chat sessions this month, and every time, users complained their news feeds / latest activity widget went blank.

Refresher:

We haven't done a lot of testing on this, but want to flag it for @Siropu. It seems that in these conditions:

  • notifications/alerts of chat mentions ON
  • allow user reactions to chat messages ON
They work, but they seem to erase the users' news feed. Also "Latest Activity" will show as empty for the entire site until other activity occurs. It's almost like Chat deletes the recent activity feed (non-chat related) when it is adding chat reactions to the user's feed / activity feed.

I could be barking up the wrong tree - but the only time we've seen the issue manifest is when the chat room is being used and users are reacting to messages (Like, Love, etc.) - so it may be worth some further testing.

Today I used Claude (with apologies, but I never could have figured it out otherwise - I am not a developer, or even close) to look through the database and code and write up a diagnosis. I offer it with humility and the realization that it could be completely wrong because I don't have the expertise to know.

The rest of this post is from Claude..

It doesn't touch the news feed.

Not directly, but it causes XF core to: because the add-on registers a native reaction handler for room messages, XF core publishes a news feed row for every reaction, and since that content type has no news feed handler, those rows can never be displayed and end up crowding out everything else in "Latest Activity".

Bug Report

Issue: Chat 2 room-message reactions create news feed rows that can't be rendered, which empties "Latest Activity" / news feeds

XenForo version: 2.3.13
Chat 2 version: 2.5.13
Setting: "Enable reactions" (use XF's native reactions system) is ON.

Summary
When a user reacts to a chat room message, XenForo core writes a row to xf_news_feed (content_type = siropu_chat_room_message, action = reaction). The add-on registers a reaction_handler_class for that content type but no news_feed_handler_class, so those rows can never be displayed.

Why it matters
WhatsNewController::actionLatestActivity fetches only the newest (newsFeedMaxItems * 2) rows, then calls filterViewable(). With the default of 25, that is 50 rows. After a busy chat session the newest 50 rows are all chat reactions, every one is filtered out, and Latest Activity renders empty. "Show older" has the same problem when it lands on a run of these rows.

Evidence from our site
  • xf_content_type_field for siropu_chat_room_message has alert_handler_class, edit_history_handler_class, entity, reaction_handler_class and report_handler_class, but no news_feed_handler_class.
  • xf_news_feed held 86 such rows; one unbroken run of 45+ was written in about 50 minutes of chat.
  • Test: reacting to a chat room message sends the author an alert (correct) and adds a news feed row which appears for nobody.
Suggested fix
Either stop the room-message (and conversation-message) reaction handler from publishing to the news feed, or add a news feed handler for the
content type. siropu_chat_conv_message has the same handler pattern, so it probably behaves the same way.

One approach is to override publishReactionNewsFeed() in your room-message and conversation-message reaction handlers so they don't publish, since those content types have no news feed handler.
 
Last edited:
Back
Top Bottom