Automatic Kayako SupportWorks / eSupport Login
Hello,
Having seen how AWBS automatically logs you into Kayako when you click the "Support System" link, I thought "Why couldn't X-Cart have such an intergration". So, I developed one. To intergrate it, do the following :- 1. Install Kayako SupportWorks / eSupport. 2. Setup the LoginShare correctly by entering the database details and also setting the main template group to use the X-Cart login routine. 3. Open up ./auth.php inside your X-Cart installation and enter the following code at the VERY bottom just before the "?>" :- Code:
// ------------------------------------------------------ 4. Set the $kayako_URL in the above code. 5. Open ./skin1/authbox.tpl and enter the following code just after "{capture name=menu}" at the top of the file :- Code:
{*** Kayako Passover **} 6. Still in auth.tpl, find "{$lng.lbl_orders_history} " and just below add :- Anyway, enjoy! If you have any problems, just post them below and I will try to help you out. Best Regards, Craig Brass |
Oh, forgot to mention, if you want it to open in a new window when a user clicks "Support System", leave it as it is. If you want it to open in the same window, remove " target="_blank"" from the <form> in step 5.
|
Hi Craig, interesting bumping into you in a thread here after meeting in the thread to request x-cart integration on the Kayako forums ;)
I integrated my support suite with my x-cart to use the same login and password, but found it annoying that a user logged into x-cart, would have to re-enter their login/pass to access Kayako, as a result I created a script to auto-log them in. In my Kayako support directory I put this in an .htaccess file: Code:
DirectoryIndex home.php index.php This allows home.php to be called prior to the kayako index. Then in home.php I entered the following which checks for a logged in x-cart user, and if they are logged into x-cart, it will create a login form for kayako and auto-submit it using javascript, logging them automatically into kayako. It works very similar to yours, just a bit of another integration option. NOTE: You'll have to edit the path to skin1.css and I'd put a logo on the page or something also. Code:
<?php |
Hi John,
Either way works really but I like to avoid messing around with .htaccess files tbh, had nothing but problems with them! :evil: Best Regards, Craig Brass |
Hi Craig,
i tried to do what you had mentioned but couldnt find xcart module in Template > login share section. do i need to do with oscommerce module , please help. regards Junaid |
Been looking at kayako today and it certainly looks impressive.
Im a little confused on which package i need to buy though as the esupport package seems to do just the ticketing but the supportsuite seems to do the whole shebang with livechat etc. The supportsuite looks like what i would want BUT it makes no mention of the intergration modules with it. |
The integration modules come with the ticket system and the ticket system comes with support suite :)
|
Cool looks like i'll be buying that tomorrow then :D
It will be nice to have some structure on customer requests etc. - at the moment its me and a notepad to remind me to email someone when a new product comes in. |
It has been an absolute life saver for me. I was hesitant at first because I didn't know how much it would help, but now I couldn't picture business without it.
|
Also we have some setup/installation FAQ's on our site that may help you as their documentation is severely lacking.
|
All times are GMT -8. The time now is 04:12 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.