Kayako logo
Installation & Upgrading Questions and issues regarding the installation and upgrade procedure of SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
scottd Offline
New Member
 
Posts: 4
Join Date: Jan 2008
Live Support icon says online, show offline form - 03-01-2008, 10:44 PM

I have having difficulty getting the html button to work properly. It does correctly detect if I am online or offline (both image and text have been tested). However, when clicked, both display the offline "leave a message" form. I have the departments all correct, and have also removed the group inherit option to be sure that wasn't the cause. But because it does change the image correctly depending on my availability, I am confused as to where to go from here. This is a new install of the latest version.
   
Reply With Quote
  (#2) Old
Digital Mayhem Offline
Community Moderator
 
Digital Mayhem's Avatar
 
Posts: 889
Join Date: May 2005
Location: Henderson, Nevada
03-01-2008, 11:19 PM

um login to Admin CP > Staff > Manage Staff > click on a Staff Member at the bottom make sure Staff Members are actually setup for the Departments... 90% of the time this is what people forget to do....


Steve
Digital Mayhem, Inc.
AIM: Steve.Lawrence@Digital-Mayhem.com
MSN: Steve.Lawrence@Digital-Mayhem.com
GTALK: Steve.Lawrence@Digital-Mayhem.com
YAHOO: DigitalMayhem_Steve
SKYPE: DigitalMayhem_Steve

I'm Important
Posting & You
   
Reply With Quote
  (#3) Old
scottd Offline
New Member
 
Posts: 4
Join Date: Jan 2008
04-01-2008, 01:49 AM

Quote:
Originally Posted by Digital Mayham View Post
um login to Admin CP > Staff > Manage Staff > click on a Staff Member at the bottom make sure Staff Members are actually setup for the Departments... 90% of the time this is what people forget to do....
Yes, all of the settings there are correct. The odd thing is that the icon and chat window work fine from the support center, just not from the website outside of kayako.

-sed
   
Reply With Quote
  (#4) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,865
Join Date: Aug 2006
Location: Mumbai, India
04-01-2008, 07:24 AM

Do you have any cache supporting software installed on your server?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#5) Old
craigbrass Offline
Senior Member
 
Posts: 5,768
Join Date: Jun 2005
Location: Cumbria, UK
04-01-2008, 09:07 AM

Try hitting Control + F5. Does it show online then?


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#6) Old
scottd Offline
New Member
 
Posts: 4
Join Date: Jan 2008
04-01-2008, 03:41 PM

I tried it on 2 different boxes and with 2 different browsers, with cache clearing between attempts. The icon changes as it should depending on the state of the Winapp but the chat form is never displayed, only the "leave a message" one.

Here, play with it and see if you can make it come up with the chat. Note that I am online most of the day, and do have rights for that department (thus the icon showing correctly)

Patriot Online Donation, Volunteer, and Event Management System

Last edited by scottd; 04-01-2008 at 03:54 PM.
   
Reply With Quote
  (#7) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
04-01-2008, 10:03 PM

I tried and the "leave a message" form does come up. Thats weird. There's gotta be an issue with the code you generated and or how if was copied to the site.


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 5,768
Join Date: Jun 2005
Location: Cumbria, UK
05-01-2008, 12:00 AM

I suggest you submit a ticket (http://support.kayako.com -> "Get Support") so they can trace the issue for you. Remember to link to this thread in the ticket.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#9) Old
scottd Offline
New Member
 
Posts: 4
Join Date: Jan 2008
05-01-2008, 04:20 AM

I had several other people that also had success, however during one of the chats (a legitimate customer that clicked on the button even), an error about a timeout or closed browser plagued the chat, and several "are you still there" messages from them. Luck would have it, they did send an email, otherwise that would have been opportunity lost. Not sure where the issue is here, but this was not a good start.
   
Reply With Quote
  (#10) Old
craigbrass Offline
Senior Member
 
Posts: 5,768
Join Date: Jun 2005
Location: Cumbria, UK
05-01-2008, 10:09 AM

Yea, I think it is deffo time you submitted a ticket so you can get the issue resolved before it costs you money. It is likely a misconfiguration error.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#11) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,458
Join Date: Jan 2006
Location: United Kingdom
05-01-2008, 01:41 PM

What version are you running? This is a known problem with some versions prior to 3.10.00.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#12) Old
markbyles Offline
New Member
 
Posts: 3
Join Date: Jan 2008
26-06-2008, 05:21 PM

I have been having a similar problem. The icon is ONLINE when the users who are online are members of a 'Ticket' department and not members of a 'Live Support' department. I have quickly modified the SQL select statement in the function isStaffMonitorOnline contained in ..\module\livesupport\functions_livesupport.php as below:

Mark


PHP Code:
/*
* Returns BOOL Value depending upon the status of staff visitor monitor (Online/Offline)
*/
function isStaffMonitorOnline($departmentid)
{
    global 
$dbCore$_SWIFT;

    
// Only support winapp for now, if we ever add a web based monitor we will need to change this.
    
$staffidlist $staffgroupidlist $onlinestaffidlist $awaystaffidlist $backstaffidlist = array();

    
$dbCore->query("SELECT staff.staffid, staff.groupassigns, staffgroup.staffgroupid, sessions.status FROM `"TABLE_PREFIX ."sessions` AS sessions LEFT JOIN `"TABLE_PREFIX ."staff` AS staff ON (sessions.typeid = staff.staffid) LEFT JOIN `"TABLE_PREFIX ."staffgroup` AS staffgroup ON (staff.staffgroupid = staffgroup.staffgroupid) LEFT JOIN `"TABLE_PREFIX ."groupassigns` AS groupassigns ON (staffgroup.staffgroupid = groupassigns.staffgroupid) LEFT JOIN `"TABLE_PREFIX ."departments` AS departments ON (groupassigns.departmentid = departments.departmentid) WHERE sessions.sessiontype IN('"SESSION_WINAPP ."', '"SESSION_MONITOR ."') and departments.departmentmodule = 'livesupport' and sessions.lastactivity >= '". (DATENOW-180) ."';");
    while (
$dbCore->nextRecord())
    {
        if (
$dbCore->Record["status"] == STATUS_ONLINE)
        {
            
$staffidlist[] = $dbCore->Record["staffid"];
            
$onlinestaffidlist[] = $dbCore->Record["staffid"];
            if (
$dbCore->Record["groupassigns"] == 1)
            {
                
$staffgroupidlist[] = $dbCore->Record["staffgroupid"];
            }
        } else if (
$dbCore->Record["status"] == STATUS_AWAY || $dbCore->Record["status"] == STATUS_AUTOAWAY) {
            
$awaystaffidlist[] = $dbCore->Record["staffid"];
        } else if (
$dbCore->Record["status"] == STATUS_BACK) {
            
$backstaffidlist[] = $dbCore->Record["staffid"];
        }
    }

    
// Is department id set to 0?
    
if (empty($departmentid) && count($staffidlist) > 0)
    {
        return 
STATUS_ONLINE;
    } else if (empty(
$departmentid) && count($awaystaffidlist) > 0) {
        return 
STATUS_AWAY;
    } else if (empty(
$departmentid) && count($backstaffidlist) > 0) {
        return 
STATUS_BACK;
    } else if (!empty(
$departmentid)) {
        
// Check to see if the staff we have are assigned to this department
        
$dbCore->query("SELECT departments.departmentid FROM `"TABLE_PREFIX ."departments` AS departments LEFT JOIN `"TABLE_PREFIX ."staffassigns` AS staffassigns ON (staffassigns.departmentid = departments.departmentid) LEFT JOIN `"TABLE_PREFIX ."groupassigns` AS groupassigns ON (groupassigns.departmentid = departments.departmentid) WHERE staffassigns.staffid IN ("buildIN($staffidlist) .") OR groupassigns.staffgroupid IN("buildIN($staffgroupidlist) .") GROUP BY departments.departmentid;");
        while (
$dbCore->nextRecord())
        {
            
// does this department match our department?
            
if ($dbCore->Record["departmentid"] == $departmentid)
            {
                return 
STATUS_ONLINE;
            }
        }
    }

    return 
STATUS_OFFLINE;


Last edited by Jamie Edwards; 26-06-2008 at 05:26 PM. Reason: Added PHP tags
   
Reply With Quote
  (#13) Old
craigbrass Offline
Senior Member
 
Posts: 5,768
Join Date: Jun 2005
Location: Cumbria, UK
27-06-2008, 10:44 AM

Thanks for sharing the fix Mark.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#14) Old
markbyles Offline
New Member
 
Posts: 3
Join Date: Jan 2008
27-06-2008, 01:56 PM

No problem Craig. I'm fairly new to these forums. What is the process for requesting this bug fix to be considered for the next Kayako software release? It is a pretty simple change

Thanks

Mark
   
Reply With Quote
  (#15) Old
craigbrass Offline
Senior Member
 
Posts: 5,768
Join Date: Jun 2005
Location: Cumbria, UK
27-06-2008, 01:58 PM

It used to be to submit to the bug tracker but John (developer) tells me they now want users to submit tickets to the help desk (http://members.kayako.net -> "Get Support") and this will get confirmed and passed to the developers.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
form, icon, live, offline, online, support

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
Live Support Icon Refresh Siora SupportSuite, eSupport and LiveResponse 6 25-05-2007 11:28 AM
Live Support Online shows Offline SysDeveloper SupportSuite, eSupport and LiveResponse 2 16-05-2007 06:19 PM
LiveSupport WCA Online, LS Icon Online but Chat request = offline! gremlin LiveResponse Desktop Application 3 21-03-2007 10:31 AM
Live Chat Offline Icon add URL Danym SupportSuite, eSupport and LiveResponse 0 02-02-2007 03:21 PM
Adding Live support icon to other pages afbla LiveResponse Desktop Application 1 18-08-2006 05:46 PM



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


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 47