Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

When sent message in chat is deleted, recipient cannot remove notification

6 years 5 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

How to replicate:
1) Type in message in chat
2) hit Send
3) Delete that message from chat
4) Recipient gets notification, opens chat, does not see message (it is deleted after all) but notification number will stay on JS Toolbar (and Hello Me module) Chat icon/link. No matter what recipient of deleted message do, notification will not go away. Only when new message is sent in that conversation (does not matter who sends it) notification will be removed.

6 years 5 months ago
Licenses:

HI, Vladimir.

Thank you for contacting us and reporting this issue.
I was able to replicate it on my test site.
I'll report it to our developers.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Vladimir
6 years 5 months ago
Licenses:
JomSocial Active GURU Expired Publisher Expired AdAgency Expired iSEO Active

I can confirm this issue also.

6 years 5 months ago
Licenses:

Zdravo Gorane.

Hvala, issue is in developers queue.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Goran, Vladimir
6 years 5 months ago
Licenses:

HI, Guys.

Please, check this issue with JomSocial 4.5.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 5 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Still an issue on 4.5

6 years 5 months ago
Licenses:

HI, Vladimir.

Okay, yes... but now in 4.5 you can leave such a chat.
So if someone sent you a message and delete it right away, recipient have two options: - answer to empty message and ask what's up or just leave chat. In both cases notification icon will be gone :P


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 5 months ago
Licenses:
JomSocial Active GURU Expired Publisher Expired AdAgency Expired iSEO Active

That can be little confusing for users. It would be much better if JS would detect when message is deleted and remove notification for this kind of situation, or just display notification "this message is deleted by sender". Just a suggestion...

The following user(s) said Thank You: Michał
6 years 5 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

Exactly. Notification is there but there is no new message. Not OK. Yes, notification is cleared on Leave chat option which is good, but in general there should not be notification if there is nothing to notify about the recipient of chat conversation. Maybe delay notification until there is no option to delete sent message? Not easy implementation. We have "Checking for new messages in active chat:" and "Checking for new messages in other chats:" options that raise dynamics of chat and on the other hand there is "Delete last message within:" that allows removal of messages from chat. Do as others do. Display message "This message was removed by USER_NAME" in chat (with different styling, like seen by) so there is evidence that something has triggered notification on recipient side, that same message when seen by recipient removes notification and then no further action is needed on user side.

The following user(s) said Thank You: Michał
6 years 5 months ago
Licenses:

HI, Guys.

Thank you for your feedback. You're saying -we're listen :)
Make safe copy of this file:

ROOT/components/com_community/models/chat.php

Then replace original file with patched one from package.

Patch changes chat behavior, so when creating a chat and deleting initial message - chat will be removed and not started. Also notification if already sent/queued, will be removed.
Please, test it and let mi know if it works for you.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you

This message has an attachment file.
Please log in or register to see it.

The following user(s) said Thank You: Goran, Vladimir
6 years 5 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

YES, this works. Notification is shown and cleared when other participant access Chat section. Still, IMHO message that displays that there was deleted message (and by whom) is more desirable solution that can be presented for all chat participants. That way even if admin sets "Delete last message within:" to "No Limit", which allows unlimited deletion of sent messages, there will be at least some trace that some message/activity was existing in the past.

6 years 5 months ago
  • Vladimir's Avatar
    Topic Author
  • Vladimir
  • Offline
  • Junior Boarder
  • Posts: 283
  • Thank you received: 40
Licenses:
JomSocial Active

NO, not everything working as intended. Indeed when participant that received deleted message visits chat, page notification is removed. Visiting Home page again (JomSocial), notification reappears again.
Only new functionality with patched file is removal of notification on visiting Chat page. When user moves away from that page notification will appear, and disappear if moves back to Chat page.

6 years 5 months ago
Licenses:
JomSocial Active GURU Expired Publisher Expired AdAgency Expired iSEO Active

Dziękuję Michal! I can confirm that there is no issue and solution is working. I would like to suggest that this become permanent in future JS versions.
@Vladimir one step at the time ;)

The following user(s) said Thank You: Vladimir
6 years 5 months ago
Licenses:

Zdravo momci!

Yes, this will be permanent solution. Will be included in future releases.
I think there is no need to inform that chat was created and deleted ;)


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Goran, Vladimir
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW