Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
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
Just provide domain in embed code generation window.
Offline
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
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
Pages: 1