twhiting9275 Posted November 13, 2007 Share Posted November 13, 2007 Ok, so this started off as a version of this (kayako integration v1.0), but, a good number of changes were made to the system, so, in the spirit of contribution and sharing , here's the download: What's changed, you ask? -- The system now checks the kayako database, and if the user isn't there, adds them. -- The system now synchronizes the user's password associated with that account, to the email associated with kayako (ie: they share passwords, from the WHMCS side). -- The system now pages all calls from the tickets.php page. After looking through, this wasn't that hard to do, and helps out clients with larger tickets -- The system now stores all of the css information in one file, not spread out over templates -- i.php has been expanded to allow for further modification. No longer is it only usable for viewing and replying to tickets, but you can put links to downloads, troubleshooters, all in the system, you just need to modify i.php properly. -- Passwords are no longer sent via browser. Instead, the user's kayako email and id are checked, and the information pulled that way. -- A few minor changes and tweaks -- New tickets can now be submitted (link example provided in the docs) Read through the readme in how to set it up, it's pretty straight forward. Because I used one of the WHMCS functions to grab the password from the db, I have encrypted the file used to do this. If Matt approves, I will make this OS in future versions, providing of course there's enough desire. Problems? Bugs? Need it installed for you? Just let me know! 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 13, 2007 Share Posted November 13, 2007 which loginshare are you using? Or are you even using one? Note: you might want to fix your website, its had a php error for a couple hours now. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted November 13, 2007 Author Share Posted November 13, 2007 I'm actually not using a loginshare for this, shouldn't need to. As for the website, it's been up and running just dandy, though the link was off, my bad. 0 Quote Link to comment Share on other sites More sharing options...
indesigns Posted November 14, 2007 Share Posted November 14, 2007 I tried this but did not work. In whmcs/template/yourtemplate/ for header.tpl and clientareahome.tpl, it was the coding for {php} ... {/php} it did not like. clientareahome.tpl - line 3 to 35 header.tpl to insert {php} require_once("includes/kayako_functions.inc"); {/php} any suggestions? 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted November 14, 2007 Author Share Posted November 14, 2007 I've found and fixed this specific bug. If you redownload the package, it should be fine. If you notice problems with the package, please, by all means put them in here, and I'll help out the best that I can. Suggestions for it? Go for it. 0 Quote Link to comment Share on other sites More sharing options...
indesigns Posted November 15, 2007 Share Posted November 15, 2007 I'd redownloaded the link provided in the first posting in this thread. Looking at the 2 templates they look the same. did a test with clientareahome.tpl with the {php} insert and it did not work. Where should I download to get the latest? Also I've got an email notification from Kayako's thread that Varun will be taking over the integration project. to read more, forums.kayako.com/showthread.php?p=65720#post65720. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted November 15, 2007 Author Share Posted November 15, 2007 The templates aren't what changed. something else did. Unfortunately, without seeing error messages, I can't do anything. I know this works, because I've installed it twice now, two separate servers, and I'm running the very same code myself. The only thing I can do is try to install it for you, but my time isn't free. As far as Varun taking things over, that's good, but, well, it's still no reason to hold your breath. Kayako's been "working on this" for 6 months now. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted November 15, 2007 Author Share Posted November 15, 2007 Just another thought: Are you running php4 or php5? If 4, upgrade to 5 as I believe I used mysql_real_escape_string in a couple of those, and 5 should be used anyways. That may not make a difference, but it might. Again, just stabbing in the dark here. 0 Quote Link to comment Share on other sites More sharing options...
indesigns Posted November 16, 2007 Share Posted November 16, 2007 running php5 but thank you for asking. Give me a few days. I will also look at mysql_real_escape_string just to double check. 0 Quote Link to comment Share on other sites More sharing options...
Chad Posted January 10, 2008 Share Posted January 10, 2008 I have a question. I integrated this and submitted a test ticket just fine. Isn't there a better way to integrate the actual esupport inteface (the main portion, no header/footer) within whmcs? Also, after opening a test ticket, I went back to "my support tickets" which is correctly linked to tickets.php now, but no tickets showed up. 0 Quote Link to comment Share on other sites More sharing options...
JofleyUK Posted January 11, 2008 Share Posted January 11, 2008 it does in whmcs, in the client area but the admin section doesn't 0 Quote Link to comment Share on other sites More sharing options...
Chad Posted January 11, 2008 Share Posted January 11, 2008 That's what I meant. It does not show up in whmcs client area 0 Quote Link to comment Share on other sites More sharing options...
pjs32 Posted January 12, 2008 Share Posted January 12, 2008 sorry for being dumb - but could you tell us what file we need to update? You will need to change the links to your support desk to point to the installation. For example, mine are: --------------------------------------- <div class="atal"><b>Support:</b></div> <a href="tickets.php"><img src="images/clientarea/supporttickets.gif" border="0" align="absmiddle">{$LANG.clientareanavsupporttickets}</a> <a href="{$path}i.php?email={$email}&kayak_id={$kayakid}&reply=newticket" target="_blank"><img src="images/clientarea/supporttickets.gif" border="0" align="absmiddle">New Ticket</a> </font></span></td> <a href="{$path}i.php?email={$email}&kayak_id={$kayakid}&reply=troubleshooter" target="_blank"><img src="images/clientarea/supporttickets.gif" border="0" align="absmiddle">Troubleshooter</a> </font></span></td> <br /><br /> </div> 0 Quote Link to comment Share on other sites More sharing options...
Chad Posted January 14, 2008 Share Posted January 14, 2008 When you login to client area, where it shows you general client info, open tickets, due invoices, etc. the submit ticket link is submitticket.php (by default) but where do I edit this? Also, please explain how to get the tickets viewable in client area if possible. 0 Quote Link to comment Share on other sites More sharing options...
Chad Posted January 14, 2008 Share Posted January 14, 2008 Please explain what the code should be for : view tickets ticket status downloads All linked to Kayako with automatic client login. 0 Quote Link to comment Share on other sites More sharing options...
HostworX Posted February 27, 2008 Share Posted February 27, 2008 but it says the kayak functions file is corrupted, it looks like binary, its in the zip like this.. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted February 28, 2008 Share Posted February 28, 2008 Could i by chance get a copy of the kayako functions without the password info? I would like to see how its submitting tickets, etc. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.