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

You are not logged in.

Announcement

#1 2018-02-26 09:47:08

Marnix.gefeliciTAART
Member
Registered: 2018-01-26
Posts: 7

Hidden, unless an operator has sent a message on 1 page

Hi,

We have a multi page website. On 1 page we would like to hide the chat completely, unless the operator sends a message (i.e. in response to a message sent from a previous page).
We'd also like the user to be able to open a chat from a help section within the page.

Is there a way to do this?
Might switching the theme work for this?

Offline

#2 2018-02-26 09:54:56

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Hidden, unless an operator has sent a message on 1 page

Hi,
thank you for your question on the live helper chat forum!

If the default Embed code is present for all page, to also that page I think what you need to do is not possible.
If you can exclude any Embed code you can generate an Embed code by selecting to be invisible in the design tab.

We'd also like the user to be able to open a chat from a help section within the page.

This is not clear to me.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2018-02-26 10:04:41

Marnix.gefeliciTAART
Member
Registered: 2018-01-26
Posts: 7

Re: Hidden, unless an operator has sent a message on 1 page

Thank you for answering the first part. We can exclude the regular embedding and use the design tab to create an invisible chat.

PeopleInside wrote:

We'd also like the user to be able to open a chat from a help section within the page.

This is not clear to me.

I meant that I'd like the chat to open when the visitor clicks a link or button.

Offline

#4 2018-02-26 10:09:04

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Hidden, unless an operator has sent a message on 1 page

Please try to see if this help:
https://forum.livehelperchat.com/viewtopic.php?id=2050
Try to see if some topic help here:
https://forum.livehelperchat.com/search … 1023431480

Let me know  smile


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2018-02-26 10:37:44

Marnix.gefeliciTAART
Member
Registered: 2018-01-26
Posts: 7

Re: Hidden, unless an operator has sent a message on 1 page

Thanks, I will look into the options shown in the first link smile

The second link tells me "Your search returned no hits."

Offline

#6 2018-02-26 10:39:23

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Hidden, unless an operator has sent a message on 1 page

Thank you for the feedback and sorry for the broken link that works for me.
You can go on the search page and try to digit "open widget link" for have more topic solutions.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#7 2018-02-27 11:09:09

Marnix.gefeliciTAART
Member
Registered: 2018-01-26
Posts: 7

Re: Hidden, unless an operator has sent a message on 1 page

I'm trying to work out the first suggestion (LHCChatbox.min()), but the LHCChatbox object cannot be found (neither can the lhc_Chatbox).
I start the chat using: //<domain>.livehelperchat.com/nld/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true/(disable_pro_active)/true/(theme)/2?r='+referrer+'&l='+location;

Offline

#8 2018-02-27 12:54:38

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Hidden, unless an operator has sent a message on 1 page

Hi,
have you tried to look at the other topics and solution with a research?

You can go on the search page and try to digit "open widget link" for have more topic solutions.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#9 2018-02-27 16:00:01

Marnix.gefeliciTAART
Member
Registered: 2018-01-26
Posts: 7

Re: Hidden, unless an operator has sent a message on 1 page

I'm sorry, you are right: I should have checked.

I got it working with How to use invisible position of widget? and a button from How to open chat by click on link

Within the <script> loading the chat API, I added:

[== JavaScript ==]
var chatInit = function() {
    lh_inst.hide(1);
    lh_inst.startNewMessageCheck();
};

po.onreadystatechange = chatInit;
po.onload = chatInit;

to hide the chat screen on load, but start checking for messages.

A visitor can open the chat with:

[== HTML ==]
                <a onclick="lh_inst.lh_openchatWindow(1);">Chat</a>

edit: I do miss documentation on the JS API. It took me quite some time to figure out which functions could help me solve the problem.

Last edited by Marnix.gefeliciTAART (2018-02-27 16:02:04)

Offline

#10 2018-02-27 16:15:30

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Hidden, unless an operator has sent a message on 1 page

Thank you for the updates, I hope you have solved.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#11 2018-03-23 10:05:41

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Hidden, unless an operator has sent a message on 1 page


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer