Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hello,
I am using godaddy as hosting server , facing problem at front-end side (Widget embed code) of the live helper chat.At the time of installation I was facing problem hence I had put hard-code site URL by updating below file.
lib/core/lhcore/lhsys.php at line number 396
$instance->WWWDirImages = $instance->WWWDir = http://www.aaditehs.com/livechat;
Due to this it installed properly but gives error in front-end side (Widget embed code) code.
Please fine blow embed code.
------------------------------------------------------
<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 = '//www.aaditehs.comhttp://www.aaditehs.com/livechat/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);
})();
------------------------------------------------------
Can you please guide me so I can get proper po.src value ?
Thank you in advance.
Last edited by Parag (2014-12-12 10:08:27)
Offline
Hi,
Really do not know. But you can try to change these values https://livehelperchat.com/godaddy-conf … -119a.html
Offline