Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
sarahw Offline
New Member
 
Posts: 2
Join Date: Mar 2008
Arrow (split) inability for a logged in user to change their email address - 23-03-2008, 01:47 PM

Hi ,
Kayako is a great product, however many people have found that the inability for a logged in user to change their email address is a serious problem. The correct way around this at the moment is to add a new user email address via the staff operator interface. Of course this is very inconvenient for the user.

A simple, albeit dirty (!) way to get around this issue is to attach a trigger to the ticket table that inserts the new email address automatically. Of course you need to change the submit ticket template for registered users so that you can enter an arbitrary email address.

The required SQL is below:-

create trigger add_email_address AFTER INSERT on swtickets FOR EACH ROW insert ignore into swuseremails values(null,NEW.userid,NEW.email,0);

I hope this is useful for anone else trying to integrate Kayako seamlessly with there applications.
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,258
Join Date: Jan 2006
Location: United Kingdom
23-03-2008, 01:52 PM

Hi Sarah,

Thank you for sharing this. I have split your post from the other thread as the two didn't quite go.

This is something we are looking to fix, but nonetheless thanks for the quick work-around.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
  • This is not an official support forum - submit a support ticket.
   
Reply With Quote
  (#3) Old
Matthew Offline
Member
 
Matthew's Avatar
 
Posts: 168
Join Date: Oct 2007
Location: Jakarta, Indonesia
24-03-2008, 01:53 AM

Sarah, can you describe in a little more detail how this would work? I think our company could use a feature like this.


Matthew Arciniega
The Precision Group

+ Free: Ticket List & Ticket Search Mods

+ Free: (Almost) Perfect Outlook/HTML Tickets
+ Tutorials: SLA System Explained l Using Template Groups
Kayako v3.20.02 & v3.30.02 | PHP: 5.2.6 | MySQL: 5.0.58 | CentOS 4 Server
   
Reply With Quote
  (#4) Old
sarahw Offline
New Member
 
Posts: 2
Join Date: Mar 2008
Seamless login - more detail - 24-03-2008, 09:14 AM

Hi Mathew, sure. Let me descibe the context for our particular solution.

We have a web application that registered users log into, and we want user support to be specific to each registration. In particular we want login to Kayako to be completely seamless. So, when the user is logged into our application they only need to hit the 'support' button, and a pop window appears, in which they are already logged into Kayako, under their Company wide subscription. Although we are new to Kayako, looking through the forum suggests many people have a similar scenario.

To integrate Kayako so that it will behave in this way, I did the following :-
  1. In Kayako Admin create a a new Template Group called, for example. MyAppRegistrations
  2. Modify the submit ticket template for this group so that Email, and Full Name fields are shown (by default they are not for registered users). I have attached an example template, that has only minor modifications to the original.
  3. Rather than write our own LoginShare module, I simply used the existing vipercart variant supplied, and created a dedicated kayako_users table on our DB. This has the advantage that you do not need to but the Kayako source license (sorry Jamie!).
  4. Now when someone registers with our application, we also make an entry into the kayako_users table, so that registration can be seamless.
  5. OK, we do not want the user to have to physically login to Kayako, since they are already logged into our application. To achieve this I simply created a popup window that contains a hidden form, which is automatically submitted when loaded (the login info being passed to the form via the original URL). To make this form simply take the associated login form from the Kayako page, and set the enclosing tables style to 'style=display:none'. I have attached an example with hard wired username and password.
  6. Now at this stage all seems rosey, seamless login is achieved; however, and this is the real problem, if you use an arbitrary email address for your submitted ticket (rather than the one that was originally used in the Kayako registration) you cannot view your own tickets, since Kayako uses the email address as the effective primary key for the Company registration.
  7. This problem can be resolved at the operator end by manually adding a new email address to the associated user (there is a link under the user form to add more email addresses); but of course this is not satisfactory, since every time a user wanted to use a different email address they would need to send a support ticket to get the new address added!
  8. Now referring to the original post, the way round this is to attach the trigger to the Kayako ticket table (swtickets), so that any new ticket INSERT results in the additional email address being added to the associated users email list automatically. Note that the insert ignores duplicates. In short, the trigger is simply doing what the manual operator would have to do. For completeness here is the trigger again,
create trigger add_email_address AFTER INSERT on swtickets FOR EACH ROW insert ignore into swuseremails values(null,NEW.userid,NEW.email,0);

Having done this last stage, the solution now works fine; although I am the first to admit its not ideal - I await the forthcoming API for this.

Hope this helps :-)
Attached Files
File Type: txt submitticket.txt (6.8 KB, 2 views)
File Type: txt support_popup.html.txt (1.3 KB, 1 views)
   
Reply With Quote
Reply

Tags
address, inability, logged, split

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support Offline Email Address OLS_DLV How do I? 0 20-03-2008 06:31 PM
User email change loses ticket history? Ronny SupportSuite, eSupport and LiveResponse 7 29-10-2006 10:43 AM
How to change FROM email address in Autoresponder message... sureshkumar.mr SupportSuite, eSupport and LiveResponse 1 18-10-2006 12:44 PM
Can't show registered user email address kulukulu SupportSuite, eSupport and LiveResponse 1 25-09-2006 01:31 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46