Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2015-11-20 09:36:32

aravind0077
Member
Registered: 2015-11-20
Posts: 5

Need to clear chat box.

My user chat window show old data when some other user came and open chat box from same computer. how to delete old use chat or start a new chat. When user close and open a chat also again that old chat messages are displayed in user end chat box. also when operator close that chat, in user end it show chat de;leted for long time. how can i start a new chat by closing old chat

Offline

#2 2015-11-24 17:51:48

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Need to clear chat box.

I ques you have embeded chatbox not live help widget. Please embed live help widget smile

Offline

#3 2015-11-26 04:05:41

aravind0077
Member
Registered: 2015-11-20
Posts: 5

Re: Need to clear chat box.

Chief i used
1. Live help embed code->Widget embed code

But how to give a clear chat button or need to clear chat because one of my user chat with operator from chat embedded chat widget. and when other user came and chat from same system frontend it shows old data for that second user. and also in operator login it reopen first users chat and continue chat for second user. I need to clear chat for second user. How can I do this. Thankyou.

Offline

#4 2015-11-26 16:43:36

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Need to clear chat box.

Sorry, can you paste embed code here. You can remove domain itself from embed code.

Offline

#5 2015-11-27 04:01:23

aravind0077
Member
Registered: 2015-11-20
Posts: 5

Re: Need to clear chat box.

<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var refferer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location  = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//mydomain.com/chat/index.php/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true?r='+refferer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

Offline

#6 2015-11-27 05:52:50

aravind0077
Member
Registered: 2015-11-20
Posts: 5

Re: Need to clear chat box.

can you understand my situation. 1448603443_1_image.png this is a image of chat request from my website to admin long a hour ago. but when some other user chat from same system that same chat exist in chat widget how can I clear chat in user chat widget content and open a new chat. Please we are in rush. Thankyou in advance.

Offline

#7 2015-11-28 04:10:00

aravind0077
Member
Registered: 2015-11-20
Posts: 5

Re: Need to clear chat box.

Send a message to the user
If the message was already sent, this will mark it as not delivered and the user will be shown the chat message again.

i send some message to user. where user can see these messages.

Offline

#8 2015-11-28 08:44:54

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Need to clear chat box.

Hi aravind0077,
in the user side widget for see a chat closed widget must be closed.

So if you ends the chat from operator side but widget is still open in user side the chat (old) chat still be accessible in user side.
Also maybe your settings allow the user to reopen a closed chat so please go on settings, live help configuration, chat configuration, misc and check "Reopen closed chat as new? Otherwise it will be reopened as active." maybe uncheck "Reopen chat functionality enabled" and also uncheck "Allow user to reopen closed chats?"

This should fix your issue.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#9 2015-11-28 08:46:16

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Need to clear chat box.

If you see the message on user side is grey and not delivered that's means there is an issue of Internet connection. Maybe your hosting is not fast or you are in a shared slow hosting who is not the place where install the live chat on your own.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer