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

You are not logged in.

Announcement

#1 2014-08-12 11:17:18

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

Live widget status disapered on a website

Hi,
after the update a widget in one website are not anymore visible.

I can't understand what is wrong but maybe something changed and stop to work on that website where only few department are avaiable.
How can i do? Give you this website address?


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

#2 2014-08-12 11:20:42

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

Re: Live widget status disapered on a website

Yes you can give me an address. Also try to debug with chrome
http://livehelperchat.com/i-have-embedd … -265a.html
http://livehelperchat.com/during-some-a … -215a.html

If you have updated anything from remdex_dev branch, have in mind it's development repostitory. And your app won't see required database changes.
Future version will require this update
https://github.com/LiveHelperChat/liveh … ate_89.sql

Offline

#3 2014-08-12 12:30:56

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

Re: Live widget status disapered on a website

Hi,
the link is www.lapiazzadelcastello.it something is wrong. I have also tried to take a new generated embed code with only two departments and past in html editor but code don't work

It's seem to be the same problem in your demo but only if when generate enabled code you put it language and select only one of more department. So embed code don't work i think is bug.


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

#4 2014-08-12 12:33:25

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

Re: Live widget status disapered on a website

Embed code from demo you are pasting?

Offline

#5 2014-08-12 12:36:02

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

Re: Live widget status disapered on a website

I found an issue. Issue is just with ITA language and it's translation file. Will update in a minit or so.

Offline

#6 2014-08-12 12:37:31

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

Re: Live widget status disapered on a website

Yes, how to reproduce the issue:

1. you have to have more than one department.
2. go on settings as admin
3 embed code, live help embed code, widget embed code

4. now select only some department not all and put as language it

So the embed code generated not work

it work only for all and for language different from italian


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 2014-08-12 12:41:19

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

Re: Live widget status disapered on a website

Ok thanks let me know when is fixxed so i update my it file.

As i have personalized my IT file all time i must compare with new version and work mannually to.. change the sentence i want in IT and in ENG.. like Open in a new window in my it is translated "Apri in una nuova finestra | Open in a new window" Start chat is translated "Inizia Chat  Start Chat" so every time it file is updated i have to edit myself with little big work because i can't put english translation in it but for my website i want it in case the visitor is english.

I have to do that work all time or there are other way?
Thanks.

I will wait the italian language fix


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

#8 2014-08-12 12:41:27

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

Re: Live widget status disapered on a website

Just redownload translation file
https://github.com/LiveHelperChat/liveh … slation.ts
and replace it in your instance.

Offline

#9 2014-08-12 12:42:17

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

Re: Live widget status disapered on a website

Offline

#10 2014-08-12 12:50:04

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

Re: Live widget status disapered on a website

remdex wrote:

But for have personal translation and not edit the public translation and be update with new update? How to do that?


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 2014-08-12 12:51:28

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

Re: Live widget status disapered on a website

Sorry but not possible at the moment. I suggest fill github feature request for translation files support in extensions. So then you could have your local translation in your personal extension.

Offline

#12 2014-08-12 13:24:03

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

Re: Live widget status disapered on a website

Hi,
i have replaced as you told but not solved, solved in the demo.
I have to perform other action after replace the it file?

I have cleared cahced and updated language settings

thanks


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

#13 2014-08-12 13:29:32

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

Re: Live widget status disapered on a website

Sorry, but here it worked. I don't know what else. Try get request URL and debug it and see what error you get.

Offline

#14 2014-08-12 13:40:09

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

Re: Live widget status disapered on a website

OKS,
fund how to reproduce now.

So you must have
1° Department (normal, not hidden and not disabled)
2° Hidden department
3° Hidden and disabled department

Now if you want take embed code to this three department (not select all but this three department) code will not work.
In my LHC i have 4 department,

1. italiano (standard)
2. English (standard)
3. Special (Hidden and disabled)
4. Special 2 (Hidden)

So in one website i want take embed code with department 3 and 2 but code not work

Last edited by PeopleInside (2014-08-12 13:42:13)


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

#15 2014-08-12 13:42:16

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

Re: Live widget status disapered on a website

I understood.
Widget won't be shown if at least one of the departments are disabled.

Offline

#16 2014-08-12 13:47:39

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

Re: Live widget status disapered on a website

Ok so let's try in your demo.

This is department i set
1. is Default department (not hide and not disabled)
2. disabled and hidden (disabled and hidden)
3. hidden (hidden)

So let's generate embed code for have in a website department 2 and 3 avaiable and take also 1 department so i select not "any" in embed code but select mannully this three departments and this is the generated not working code:

[== Undefined ==]
<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 = '//demo.livehelperchat.com/ita/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/1/2/3?r='+refferer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

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

#17 2014-08-12 13:51:22

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

Re: Live widget status disapered on a website

As i wrote above it won't show anything if at-least one of selected departments are disabled.

Offline

#18 2014-08-12 13:53:17

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

Re: Live widget status disapered on a website

remdex wrote:

As i wrote above it won't show anything if at-least one of selected departments are disabled.

No.. it should see Default department who is not hidden and disabeld and should show other departments only if someone activate it


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

#19 2014-08-12 13:55:22

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

Re: Live widget status disapered on a website

Sorry but not. Disabled departments have not be presented in embed code. We had same behavior with single department.
Disabled department purpose is if it's not used anymore it should not be presented in embed codes.

This part won't be changed.

Offline

#20 2014-08-12 14:00:42

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

Re: Live widget status disapered on a website

Ok so i have to uncheck disabled and works. thanks.


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