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

You are not logged in.

Announcement

#1 2015-05-08 14:43:16

Metrotyranno
Member
Registered: 2015-03-30
Posts: 23

Chat persist on sub domains

I currently have a problem that the chats on my control panel, billing area and main site act as individual livechats, how can i make chats persist across sub domains?

Offline

#2 2015-05-08 16:54:58

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

Re: Chat persist on sub domains

Just provide domain in embed code generation window.

Offline

#3 2015-08-26 17:14:09

Metrotyranno
Member
Registered: 2015-03-30
Posts: 23

Re: Chat persist on sub domains

The code is:

[== Undefined ==]
<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'dbmhosting.com'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (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 = '//dbmhosting.com/livechat/index.php/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

But chats between tcadmin.dbmhosting.com and dbmhosting.com don't persist.

Offline

#4 2015-08-26 19:49:29

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

Re: Chat persist on sub domains

Just try to follow this
https://livehelperchat.com/how-to-confi … -259a.html

Also make sure you are not using HTML5 storage. For storing chat data

Offline

Board footer