Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello :-)
First of all i just want to say thanks for this amazing project !
We are creating CRM + Mobile web sites and would like to integrate livehelperchat capabilities
1. -------- Co browsing - Its seems that some of our AngularJS / UI Bootstrap / MobiScroll widgets don't working -------
a. Scrolling inside custom select option not working
b. even after selecting an item the value don't displayed in the support chat window.
Is there any way to debug the Co browsing feature ?
2. ---- Integration Issue ----------------
a - We have a CRM dashboard and we would like to integrate the livehelperchat admin PHP module as part of our AngularJS app
b - The part of the Business logic in livehelperchat like: mapping between customer <-> Support team member should be decided by Our product Infrastructure.
is there any way to do so ? Any reference to relevant REST API ?
- support for any operations like save chat content to our CRM DB.....
We just want to create hookup / bridge between our CRM WebApp and the livehelperchat admin PHP WebApp/
Thanks in advance,
Elad Hirsch
Offline
Hi,
Perhaps few suggestions.
1.a - won't work. I sync only DOM changes. These small changes are not synced. If you make it I accept pull request
1.b - Does not trigger dom changes.
Location of co-browsing stuff
https://github.com/LiveHelperChat/liveh … s/cobrowse
To develop just gulp watch
or gulp js-cobrowse it will recompile co-browsing stuff.
2.a - https://livehelperchat.com/chats-export … -177a.html
2.b For this you are on your own. For storing chat content upon chat creation there is callbacks just see extensions and how they do it.
https://github.com/LiveHelperChat/osTic … tstrap.php
Also take a look at single sing on extension https://github.com/LiveHelperChat/liveh … nglesignon
In general you workflow should be, create an extension which listen's to dispatches and then your extensions stores data in your CRM db.
Also most likely you will have to create yourself some REST API for your purposes. Some more example https://livehelperchat.com/how-to-use-a … -413a.html
So just have fun
Offline
Thanks.
1.a - i understand why its not major focus , but 1.b - lets say for the example - a custom based UI select widget when selecting on of the
option our Angular $watches get triggered and some action is performed there isn't any DOM Changes here ? do i need to do any refactoring to support this kind of behaivor ?
as for 2.a+b - i will start exploring the API , but is there any way i can embed the PHP admin site in our CRM AngularJS container ? should i use IFrame or is there any more elegant solution ?
Is there any integration for AngluarJS ?
thanks again,
elad hirsch
Offline
1.a - pasted where you can find a source, everything else it's up to you. Also just in co-browsing settings do not check, execute javascript in operator window. Most of the time it just messes up the behaviour.
2.a+b - write plugin/extension and you have it
Offline
Thanks :-) I hope it's not too much but if i can share with you my idea :
My idea is to run livehelperchat server and to create a custom Monitor / Plugin that do the following :
1. Connect to the server via REST login ? Or i don't need to do so if Its part of the plugin ?
2. Check if there is any new incoming chat (Poll request operation every X seconds )
following this line : $dispatcher->listen('chat.chat_started', array($this, 'chatCreated'));
a. I need to write custom plugin the with line will trigger event in any case of a new chat request ? and i will get the chat details from the callback chatCreated($params) function
b. After getting the new chat ID send Push notification message (Using our REST Server) to the proper Help Desk user with operation URL like : http://localhost/lhc_web/index.php/site_admin/cobrowse/browse/{CHAT_ID}/#
c. on the Help Desk side - when the push message received - I need to do login Operation as you mentioned , is there any REST to add new Users dynamically ?
Should i use the singlesignon extension ?
d. then open new Link or embedded IFrame (Is it possible - cross domains?)
e. When the chat ends i can use the Chats export module or should i use the $dispatcher->listen('chat.close') as part of my Plugin ?
thanks ,
Elad Hirsch
Last edited by eladhr (2015-04-27 16:45:53)
Offline
1. It's up to you just see how https://livehelperchat.com/chats-export … -177a.html this extension does this and write similar plugin
2. see above
a. Yes you will get chat data on listener. Once again just see extensions examples.
b. You can try
c. See extension how they do it
d. Yes use autologin extension and then redirect iframe to you extension
e. Yes there is some event for this https://github.com/LiveHelperChat/liveh … .php#L1040
In general just don't be lazy and see extensions.
Offline
Pages: 1