Chat 2 by Siropu

Chat 2 by Siropu [Paid] 2.5.2

No permission to buy (€29.99)
Just when I think I can finally type, someone says something and whatever I'm typing into the forum ends up in the chat box because it stole the focus.
The chat editor gets focused when someone posts in the chat? Can't reproduce that. Does it happen on the default style?

When in Sidebar mode, typing into the chat interface you seem to lose focus randomly which results in keypresses doing stuff in the browser instead of typing text.
You have this issue only in the sidebar? I don't see how it can lose focus unless there is something outside of it that interfere.
 
hi @Siropu

i bought the addon today and i have to say - it's really great! :)

i do have some suggestions, though (feel free to ignore all of those, naturally ... but i just though it might be something other people might find useful as well):
  • it would be nice to be able to let people change the height of the chat themselves in settings? because right now there's only the option in ACP and the users themselves can only toggle between whatever is set in ACP or the maximized mode
  • it would be nice to be able to only have the chat visible in certain threads? or better yet - only have certain rooms visible in certain threads? for example: if there's a chat room about bird watching - it would be nice to be able to check an option on room creation that would only display that room (or even the entire chat) when someone is browsing a thread which is specified on room creation
  • it would be nice to be able to let users automatically create a chat room on thread creation, make OP the moderator in that chat room and also link that thread to the chat room (so both the chat messages are automatically posted in the thread and thread posts are visible in the chat - those 2 options are already available afaik ... it would just be nice to have them available on thread creation to the OP)

    something like this:
    203591
  • oh, and it would be also nice to not have to have the general chat room ... if, for example, we only want to have chat rooms limited to certain thread, and no general one where people can just talk regardless of where they are on the forum
  • having the ability to convert a chat room into a thread after the fact would also be nice to have ... just click on a chat room and select a "convert to thread" option

all of that would basically enable people to make the chat only available for certain threads, not the entire forum - if they want to do something like that

just a few suggestions i had in mind :)
 
Last edited:
You have this issue only in the sidebar? I don't see how it can lose focus unless there is something outside of it that interfere.
So I've figured out how to reproduce this 100% of the time. It only occurs when I'm scrolled down slightly so the top of the chat sidebar is just under the header and when I start typing, the whole sidebar shifts down so that the top of the chat widget is visible and I lose focus immediately on the text input. It does not happen on the default theme, only my UI.X 2 theme so I guess I'll have to report the issue to them.
 
@Siropu
First, brilliant add-on. Hats off.

I'd like to give users only two display modes: All pages and Chat page.

How can I remove all other modes from this menu?

203636


I know I can edit siropu_chat template, but just wondering if I missed an option somewhere.
 
Use this CSS:
CSS:
select[name="display_mode"]
{
     option[value="below_breadcrumb"],
     option[value="above_forum_list"],
     option[value="below_forum_list"],
     option[value="above_content"],
     option[value="below_content"],
     option[value="sidebar_top"],
     option[value="sidebar_bottom"]
     {
         display: none;
     }
}
 
You have this issue only in the sidebar? I don't see how it can lose focus unless there is something outside of it that interfere.
I've resolved this issue with UI.X theme. They have sticky sidebars which specifically caused this issue. Setting the UI.X 2 Sticky sidebar to "Sticky top only" (or disabling it) fixes any problems with the chat in sidebar losing focus when typing.

One more problem I have now is with Above Content and Below Content positions. When switching chat to these positions on UI.X 2, the chat completely disappears and the only way to restore is going to Default theme or the dedicated chat page to change it back. I reported the issue to TH and they advised that it's possibly an unsafe regex expression by the Chat addon when doing a template modification. Are you able to assist?
 
The setting siropuChatMessageDisplayLimit does not seem to have any effect, only if I change the setting in the widget it affects all instances (sidebar, page, popup).

Furthermore, our users would like the chat to behave like a classic chat, eg. that only logged in users can see those messages that are posted while they are logged in.
How can I configure the Add-on to behave this way?

Our users would like to be able to have private chats with multiple users, but this does not seem to be possible at the moment:
If I start a private chat and try to /invite another user I get a message that this command is not allowed in private chats.

Is there any way to enable this apart from allowing users to create their own rooms, password protect them and only invite those users that they would like to chat with?
This would probably work, but is waay too complicated for the average user.

How can I get back to the main chat (we do not have enabled rooms, so there is only 1 room) when I am in a private chat?
 
Last edited:
I have this problem,

The links are not visible because the background of the theme is dark, how can I change this?
If I change the color of the links in the general setting of the theme, it changes throughout the web page.
But it only looks bad in the chat menus

203796
203797
 
The setting siropuChatMessageDisplayLimit does not seem to have any effect, only if I change the setting in the widget it affects all instances (sidebar, page, popup).
The widget setting is the master option. Admin option is used mainly in AJAX.

How can I configure the Add-on to behave this way?
You mean, logout the user from the room when no longer active? You cannot.

Is there any way to enable this apart from allowing users to create their own rooms, password protect them and only invite those users that they would like to chat with?
If you give users the permission to create rooms and password protect them, yes.

How can I get back to the main chat (we do not have enabled rooms, so there is only 1 room) when I am in a private chat?
Seems to be an issue with that so enabling rooms is the only way to fix that for now.

I have this problem,
Please go to siropu_chat template and change class="blockLink" to class="menu-linkRow" for menu links and let me know if that's ok.
 
You mean, logout the user from the room when no longer active? You cannot.
No. As said, our users would like the chat to behave like a traditional IRC chat, eg. you can only see messages posted as long as you are logged in & joined to certain rooms.
As it is right now, users will always see the last X messages (as configured in the widget) no matter if they are logged in or not.
If it was possible to set this to zero that would almost achieve the behaviour our users would like to have, but this does not work - the minimum value is 1.

If you give users the permission to create rooms and password protect them, yes.
Basically this means that the answer is no :)
So here comes the feature request: It would be nice if private chates could be established beweeen multiple users without having to create rooms, passwort protect them and invite users to join.
As said, this workflow is way too complicated for average users.

Another feature request:
The chat doesn't really feel realtime, it does take quite a long time (2-3 seconds?) for a message to appear for ofther chatters in the room.
It would be nice if you could offer a WebSocket server so this could become realtime.
 
Last edited:
The change suggested above was for options menu. Can you see the links with that change?

yes


203804



203805
 
That's how it works, but if you disable rooms and used a default joined room, the user auto joins that room.
I am sorry, but this is not how it works (at least for me).

Steps to reproduce
  1. Turn on Rooms
  2. Set Message display limit to 25
  3. Create a new room "Room 2"
  4. Join that room
  5. Post messages "Msg1", "Msg2" and "Msg3"
  6. Take another browser, log in as a new user, access the chat page, make sure that you are not joined to Room 2
  7. Now join Room 2

Expected Result
The user that has just joined "Room 2" does not see Msg1, Msg2 and Msg3

Actual Result
The user does see messages that were posted before he joined the room

So the question remains:
How can I setup the chat so that users only see messages that are being posted while they are logged in and have joined the room?
 
Back
Top Bottom