Jump to content

Better(??) Kayako integration


twhiting9275

Recommended Posts

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!

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated