News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SA Chat

Started by Diego Andrés, July 21, 2010, 10:36:59 PM

Previous topic - Next topic

Diego Andrés

Quote from: jsx on December 23, 2021, 10:52:53 AMWhen this feature is enabled: "Enable group permissions
Enable group permissions that you can modify in the permission manager in SMF. Note: The settings here will override permission setting"
then no group can see the chat. What exactly does this function do?

I believe it shows the chat for every group by default, and using that option allows you to hide or disable access for certain groups.




I can't reproduce these on the original file or new

Undefined index: permissions

File: /home/xx/xx/mydomain.pl/sachat/Sources/Subs.php
Line: 93

WARN

array_diff(): Expected parameter 1 to be an array, null given

File: /home/xx/xx/mydomain.pl/sachat/Sources/Subs.php
Line: 93

I also added a fix for something unrelated I discovered while testing.

SMF Tricks - Free & Premium Responsive Themes for SMF.

jsx

#1881
Quote from: Diego Andrés on December 23, 2021, 01:16:31 PMI believe it shows the chat for every group by default, and using that option allows you to hide or disable access for certain groups.

I don't fully understand this feature, because setting SA Chat permissions is in General Permissions for any group. For example, I want to hide the chat for a certain group, so I have to use this "Enable group permissions" function and what should I do next?

Quote from: Diego Andrés on December 23, 2021, 01:16:31 PMI also added a fix for something unrelated I discovered while testing.

I uploaded the modified files to the server and now the errors do not appear anymore. Thanks for fixing this.



I sent a message to a forum member and the window does not show when the message was sent or at what time. Only when I put the mouse cursor on the message, this is displayed:

<strong>Today</strong> at, 13:35:pm

Can you check it out?

How can I disable this feature? I don't want messages to be deleted. Should I enter 0 here?

Purge read messages
Purge read messages after how many days?

Diego Andrés

- About deleting messages I'm not certain, Wayne would know better, would require testing it.

- For disabling it for groups yes. You enable the setting and then go to permissions and you should have a hide/disable chat permission (funny, it's worded as if it was a setting lol)

- Yes, I noticed the time glitch, it was working before the fix, not sure what caused it, I'll look into it.

SMF Tricks - Free & Premium Responsive Themes for SMF.

jsx

Quote from: Diego Andrés on December 24, 2021, 10:33:32 AM- About deleting messages I'm not certain, Wayne would know better, would require testing it.

I understand, I see that Wayne is no longer developing this chat. Are you in the development of this chat or just fixing bugs?

Quote from: Diego Andrés on December 24, 2021, 10:33:32 AM- For disabling it for groups yes. You enable the setting and then go to permissions and you should have a hide/disable chat permission (funny, it's worded as if it was a setting lol)

When this setting is enabled or disabled, only these settings is shown in Permissions:

Access SA Chat           
Allowed to Chat           
Disable bar

So this feature does nothing, because whether it is enabled or not, the same settings are displayed in the permissions.

Diego Andrés

Quote from: jsx on December 24, 2021, 11:51:33 AMSo this feature does nothing, because whether it is enabled or not, the same settings are displayed in the permissions.

I'm certain they are ignored when the setting is disabled.

Quote from: jsx on December 24, 2021, 11:51:33 AMI understand, I see that Wayne is no longer developing this chat. Are you in the development of this chat or just fixing bugs?

For 2.0.x only bug fixing. Will start working on a new version for SMF 2.1 in the future.
You can leave suggestions here or in github so they are properly tracked  :P

SMF Tricks - Free & Premium Responsive Themes for SMF.

jsx

Quote from: Diego Andrés on December 24, 2021, 12:28:37 PMFor 2.0.x only bug fixing. Will start working on a new version for SMF 2.1 in the future.
You can leave suggestions here or in github so they are properly tracked :P

Very good, this chat needs some changes. :)

So look at these suggestions:

- Add a function in the modification settings that will allow hiding the window Login to chat for guests.

- Implement a wider and larger message box or add the ability to customize the window to the own width and height.

- Implement the button to minimize the window to the bar, now everyone has to click on the username to minimize the window.

- Implement the button (e.g. an arrow) to send the message. Currently, to send a message, need to use enter button. I mean the arrow like in Messenger. Enter may also be responsible for sending, but the arrow is missing.

- Implement the display of the user's avatar in the message window. In Messenger, it is. I mean the photo of both users.

- Think about the like button (thumb up).

- Implement the information with the time that the message was displayed (read) by the user.

- Implement in the window the possibility to select the emoticons that are used in the forum.

- It is possible to send a photo [img] link [/ img], but the photo is displayed very small and cannot be previewed. It would be good if the photo uploaded in this way would display as a larger thumbnail, and after clicking in this thumbnail, the photo will open in full size.

- Add the ability to select a photo from the disk and send it in a message.

- Add the ability to select a GIF from a set of GIFs generated from some GIF website.

- Think about the Notifications feature in the chat window, take a look at Arrowchat have something like this.

- Implement the ability of creating a chatroom with the option of entering the number of users in the conversation and setting a password for this chat.

- Implement the option to delete messages straight in the chat during the conversation, I mean the function for the administrator, and I think it would not be bad if you could implement the permission which will allow the user to undo a sent message.

- Implement the ability to change the sound of the sent message in the main modification settings.

- Think about the Archive Conversation feature.

- Implement the ability to hide online for administration and any user.

- Think about the possibility of changing the name of the Chat in the modification settings. Current name is Chat, which is displayed on the bar.

- It would be nice if there was a possibility of video chat, but it is probably a big challenge and hard to achieve.

This SAChat can be a competition for ArrowChat chat. You can think about creating paid add-ons in the future.

atanua

> - Add a function in the modification settings that will allow hiding the window Login to chat for guests.

I greatly support this request. Is there any hardcoded work around to not show the bar for guests?

Advertisement: