LiveHelperChat / livehelperchat-extensions

Live helper chat extensions. Main repository https://github.com/remdex/livehelperchat
50 stars 38 forks source link

Chrome extension loads chat form, not login address #11

Closed LeeWiu closed 11 months ago

LeeWiu commented 11 months ago

After entering site address, shows "P" on extension and don't asking me for login but opens chat form page. Same thing if I enter manually login data in option. Chrome v120.0.6099.110 (Official Build) (64-bit), LHC v4.29

lhc2 lhc1

remdex commented 11 months ago

Please use dedicated browser if you want a standalone app E.g electron https://livehelperchat.com/demo-12c.html or just telegram integration :)

LeeWiu commented 11 months ago

Something wrong with my install? Even with the electron app, shows start chat page, not login screen.

remdex commented 11 months ago

Back office can be found always at https://demo.livehelperchat.com/site_admin/ /site_admin/ or index.php/site_admin/

LeeWiu commented 11 months ago

Instead of /lvhelp/index.php/lhc_web I put /lvhelp/lhc_web/index.php/site_admin and it works now in app but in chrome extension I get error

Refused to display 'https://mysite/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

remdex commented 11 months ago

As I told. Try to use electon as chrome extension is not supported in general.

LeeWiu commented 11 months ago

The reason I want to use chrome extension is for availability, worked fine in the past, but now if I'm not in chat tab, will make user offline. I want to make department online between certain hours, and I disabled "Ignore users online statuses and use departments online hours" user-lhc

but no matter if user is online or not, the widget still shows as online. The electron app is running minimized and after 30 minutes make user offline, instead with chrome extension was ok but now I can't get login page, just start chat page.

remdex commented 11 months ago

Setup online hours and force bot to follow online hours. image

remdex commented 11 months ago

Electron app should not force you make offline. Unless you have setup in your account image