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

You are not logged in.

Announcement

#1 2015-04-17 07:46:17

4mike.techer
Member
Registered: 2015-04-17
Posts: 2

Tooltip timeout not working even with all recommended settings

Hi,

first of all thank you Remdex for sharing this awesome tool. I am nearly done configuring it but I still have the following bug:

Problem:
The "need help?" tooltip is showing on all pages for the same user regardless of the "24 hour" set timeout in live help configuration > Chat Configuration > Online tracking > Need help toolip timeout...

Context:
-Use of widget embed code only with custom theme
-Live chat applied to multiple domains (example1.com, example2.com, example3.com) and hosted on one single domain (https://secure.example4.com/live_chat_master_admin/lhc_web/..)
-All websites contain mix of http: and https: as well as a different subdomain during checkout ("http://www" replaced by "https://secure" during checkout)
-All widget and live chat config setup using https: as per recommendation

Tried:
-To apply the following settings:
Chat is running on https mode and does not support http, but site is running on http what should i Change for chat to load all data using https all the time? (same domain all the time)
During embed code generation choose https mode
In chat configuration enter "Chat configuration" => "Misc" in field "Please enter explicit http mode. Either http: or https:, do not forget : at the end." enter https:
Uncheck if checked - "Use secure cookie, check this if you want to force SSL all the time"

-To find an answer in the doc and forum
-To tweak the widget embed code parameters

Nothing as worked and the tooltip always show up on all domains unless I untick the "show need help tooltip?"

If someone could help I would really appreciate...

Offline

#2 2015-04-17 08:14:01

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

Re: Tooltip timeout not working even with all recommended settings

Just mis-configuration. How your embed code looks like?

Offline

#3 2015-04-21 01:40:47

4mike.techer
Member
Registered: 2015-04-17
Posts: 2

Re: Tooltip timeout not working even with all recommended settings

Here is how I have setup my embed code placed at the bottom of each page (just before the body tag):

    <script type="text/javascript">
    var LHCChatOptions = {};
    LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'example1.com'};
    (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 = 'https://secure.example4.com/live_chat_master_admin/lhc_web/index.php/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/2/(identifier)/exampleidentifier/(theme)/1?r='+refferer+'&l='+location;
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();
    </script>

Offline

#4 2015-04-21 04:56:33

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

Re: Tooltip timeout not working even with all recommended settings

This embeded code you pasted should be embeded in example1.com because it has pointed domain. In any case impossible to tell, there is commercial support for these misconfiguration issues.
Also make sure you have not checked secure cookie, because only example1.com is on secure connection.

Offline

Board footer