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

You are not logged in.

Announcement

#1 2020-04-10 19:18:45

Lilo
Member
Registered: 2015-02-26
Posts: 110

HTMl Embeded

Hi All
I like the new version but when i copy and paste Page embeded page , it dont show on my website (its blank) . When I take same embeded code from this website it is working.
Is there anything I am missing?

Offline

#2 2020-04-10 19:31:06

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

Re: HTMl Embeded

Send to my email link where have you embeded. If you have chat on one subdomain and site another you need to take care of cors headers. Read documentation about that.

Offline

#3 2020-04-10 21:54:01

Lilo
Member
Registered: 2015-02-26
Posts: 110

Re: HTMl Embeded

Hi Rem
You seem to have nailed it. Its from a subdomain that i  have lhc ...can you send melink to the documentation

Offline

#4 2020-04-11 03:28:59

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

Re: HTMl Embeded

https://doc.livehelperchat.com/docs/int … her-domain

I have also put default .htaccess you can just copy just to root folder.

https://github.com/LiveHelperChat/liveh … /.htaccess

Offline

#5 2020-04-11 08:59:39

Lilo
Member
Registered: 2015-02-26
Posts: 110

Re: HTMl Embeded

Thank you Remdex.
1. Just last question ...do i add htaccess only where LHC is at and not on the website (or both)

2 .Header always Set Access-Control-Allow-Origin "*" - the * or domain do i replace with the subdomain or the main website URL

Offline

#6 2020-04-11 09:00:50

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

Re: HTMl Embeded

You add it to lhc_web folder .htaccess just

Offline

#7 2020-04-11 09:01:42

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

Re: HTMl Embeded

As for second it should be website, just play around and see what works smile

Offline

Board footer