Jump to content

v4 and Kayako


Recommended Posts

  • 3 weeks later...
  • Replies 83
  • Created
  • Last Reply

Top Posters In This Topic

Ditto on that question. I am literally about to pull the trigger on Kayako but I'd like to know whether anything's changed that might change my mind - like it being incorporated as an addon with WHMCS or if there's been an upgrade to the existing ticketing system that negates buying Kayako? I'm particularly interested in the live chat.

Link to comment
Share on other sites

  • WHMCS CEO

Just my findings so not an official solution but the issue appears to be that the kayako integration relies on a variable defined on the page to identify who is logged in rather than taking the value from the session. Try this, open modules/support/kayako/integrate.php and change:

 

if (!empty($GLOBALS['clientsdetails']['id']))
{
require_once ("./includes/clientfunctions.php");
$GLOBALS['whmcsuser'] = getclientsdetails($GLOBALS['clientsdetails']['id']);

 

to

 

if (!empty($_SESSION['uid']))
{
require_once ("./includes/clientfunctions.php");
$GLOBALS['whmcsuser'] = getclientsdetails($_SESSION['uid']);

 

Matt

Link to comment
Share on other sites

Just my findings so not an official solution but the issue appears to be that the kayako integration relies on a variable defined on the page to identify who is logged in rather than taking the value from the session. Try this, open modules/support/kayako/integrate.php and change:

 

if (!empty($GLOBALS['clientsdetails']['id']))
{
require_once ("./includes/clientfunctions.php");
$GLOBALS['whmcsuser'] = getclientsdetails($GLOBALS['clientsdetails']['id']);

 

to

 

if (!empty($_SESSION['uid']))
{
require_once ("./includes/clientfunctions.php");
$GLOBALS['whmcsuser'] = getclientsdetails($_SESSION['uid']);

 

Matt

 

this fixed it matt.

Link to comment
Share on other sites

Just my findings so not an official solution but the issue appears to be that the kayako integration relies on a variable defined on the page to identify who is logged in rather than taking the value from the session. Try this, open modules/support/kayako/integrate.php and change:

 

if (!empty($GLOBALS['clientsdetails']['id']))
{
require_once ("./includes/clientfunctions.php");
$GLOBALS['whmcsuser'] = getclientsdetails($GLOBALS['clientsdetails']['id']);

 

to

 

if (!empty($_SESSION['uid']))
{
require_once ("./includes/clientfunctions.php");
$GLOBALS['whmcsuser'] = getclientsdetails($_SESSION['uid']);

 

Matt

Tried that - nothing happens :(

Link to comment
Share on other sites

Hi

 

another issue:

 

if staff attach a file to a ticket if the client tries to open the attachment it says:

 

ERROR: You do not have enough permissions to access this page. Please login by entering your Email and Password.

 

and shows kayako login.

also when the client logs in to WHMCS on "open tickets" on portal it says 0 tickets open.

Link to comment
Share on other sites

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