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

You are not logged in.

Announcement

#1 2015-01-19 12:19:13

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

keep chat while user move in website

Hello ,

i did install Live Helper Chat , and when user open widget with operator it works fine .
Once user click any link inside website it appears to operator "User left chat" !
i need to keep chat as user still in site , is there any way to do that ?

Offline

#2 2015-01-19 12:20:33

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

Re: keep chat while user move in website

As soon you see this message after few seconds should appear status with user new page. If user really loose a chat session during browsing your page that means you mis-configured just it.

Offline

#3 2015-01-19 12:24:45

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

So what is the correct configuration for this
it appears to operator "User has left chat" and user get (Need Help Message) again and open new session !

Offline

#4 2015-01-19 13:28:20

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

Re: keep chat while user move in website

You either provided wrong domain in embed code or you messed cookie settings in chat configuration itself and without your site where embed code is embeded I cannot tell more.

Offline

#5 2015-01-20 06:24:48

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Hi remdex ,
First thank you for your fast replay ,
currently i use it on my local machine through local IP which is (http://192.168.1.23/)

and i use this IP to add widget to my site and every thing is OK but this problem
Here is my chat cookie settings

1421735058_chat.png

Offline

#6 2015-01-20 06:31:32

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

Re: keep chat while user move in website

1. Show "misc" screenshot
2. Show your embed code

Offline

#7 2015-01-20 06:40:25

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

This is Misc
1421735962_misc.png

And this is Embed code

[== JavaScript ==]
<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 = '//192.168.1.23/elite-development/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

#8 2015-01-20 07:11:44

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

Re: keep chat while user move in website

Remove 192.168.1.23 from cookie domain.

All you people are setting settings which you have no idea what they do...
In most cases after install you have to change nothing.

So don't mess around with stuff you do not understand...

Offline

#9 2015-01-20 07:18:54

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Dear remdex ,

i did exactly what you said and guess what ? it didn't work !
look at this (First i have started chat session)
1421738235_1.jpg

Then clicked home page link (as shown in chrome inspector session is stored and it have my last text but look at chat widget ! it's closed and if i click it , start a new session)

1421738319_2.jpg

Thank you for your effort .

Offline

#10 2015-01-20 07:20:44

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

Re: keep chat while user move in website

Sorry i have no more ideas, that there is something more misconfigured.

Can you install fresh version without changing anything and see then?

Offline

#11 2015-01-20 07:21:28

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Yes sure i will do it right now and come back to you with the results smile

Offline

#12 2015-01-20 07:22:18

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

Re: keep chat while user move in website

Also you can just embed code from http://demo.livehelperchat.com and see does chat stays

Offline

#13 2015-01-20 07:31:20

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

The exact same result even with untouched brand new installation with default settings !!

Offline

#14 2015-01-20 07:34:02

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Wired , when i try your live code chat stays !!
but not with my local installation ?!

Offline

#15 2015-01-20 07:35:14

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

Re: keep chat while user move in website

Sorry then i have no idea what's wrong. That means something with your server or it's configuration.

Offline

#16 2015-01-20 07:50:39

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Dear remdex,
Thank you , but as this problem will be indexed for google so for future people who will have this problem .
i have noticed some things

First , to make this thing work you have to uncheck this option

[== Undefined ==]
Disable HMTL5 storage, check it if your site is switching between http and https

An other thing i have noticed either the demo version is newer or mine
because i have noticed this text difference

List online operators, 0 - no, 1 - yes. (Your server)
List online operators. (My local server)

Finally , thank you and i hope this helps some one else smile

Last edited by samymassoud (2015-01-20 07:52:58)

Offline

#17 2015-01-20 07:53:20

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

Re: keep chat while user move in website

Text difference is ok. Demo just have older texts.

And in install by default is unchecked HTML storage disablement.

Offline

#18 2015-01-20 08:13:16

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Please revise this , because in my default installation settings it's checked by default !

Offline

#19 2015-01-20 08:30:34

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

Re: keep chat while user move in website

Ok,

So. By default it's checked and that's ok for 99% of sites. And just for some reason cookies cannot be set in your enviroment. So the only option worked for you is HTML storage.

So in resume - nothing to fix. Just would be interesting to see for what path cookie is set. But like it's local machine and you have no programming experience it will stay as is.

Offline

#20 2015-01-20 10:22:00

samymassoud
Member
Registered: 2015-01-19
Posts: 11
Website

Re: keep chat while user move in website

Dear remdex ,

Sure i have programming experience , and your cookies are set OK if you ask , check this

1421749223_cookies.png

i don't have enough time to look for this in your code , so i have asked you big_smile
but as you didn't know the reason i had to go all the way by myself as in this topic .

After all , Thank you for your great work .

Offline

#21 2015-01-20 10:32:25

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

Re: keep chat while user move in website

yes, cookie path seems ok, so the reason is somewhere else smile

Offline

Board footer