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
brygrant Offline
New Member
 
Posts: 26
Join Date: May 2006
Location: Sydney, Australia
Adding Phone Numbers To Users - 20-06-2006, 05:09 AM

Hello there. I want to add phone numbers to users (customers) but don't want to create contacts for them all. Is there any way of doing this? I have gone into USERS>MANAGE USERS>[specific user] but can't find any way of doing it!

This means when I am logging a call I can only use the search function to find email addresses for these users.

As a side note, my AD users all have telephone numbers on them so eventually I would like to use these fields to automatically populate them. But for now, I am more interested in just associating users to them.

Any help would be greatly appreciated.
   
Reply With Quote
  (#2) Old
brygrant Offline
New Member
 
Posts: 26
Join Date: May 2006
Location: Sydney, Australia
getting somewhere - 23-06-2006, 05:24 AM

Hello again everyone (anyone?!). I may be getting somewhere with this. Kayako support advised to add a custom field to the user registration BUT this does not allow it to be searched upon when creating a call well ... I added an extra field in kayako_suite.swuseremails table called businesstelephonenumber (to keep to the same standard as the contacts table) then added the following code as stated:


File: modules\core\functions_userlookup.php - Inserted at line 82

// Additional from Bryan Grant to add phone numbers from kayako_suite.swuseremails.businesstelephonenumbers
// This will add another section in the search field for any phone numbers which are not null
// Bryan Grant 2006-06-23

$usersnode = &$menu->addItem(new HTML_TreeNode(array('text' => " ". $_SWIFT["language"]["users"], 'icon' => "icon_ticketphone.gif", 'expandedIcon' => "icon_ticketphone.gif", 'expanded' => true)));
foreach ($_userlist as $key=>$val)
{
$businesstelephonenumbercount = count($val["business"]);
if ($businesstelephonenumbercount > 1)
{
$usericon = 'icon_redbigdot.gif';
} else {
$usericon = 'icon_yellowbigdot.gif';
}
$_usernode = &$usersnode->addItem(new HTML_TreeNode(array('text' => " ". addslashes($val["fullname"]) ." ". iif($businesstelephonenumbercount>1, '('.intval($businesstelephonenumbercount).')'), 'link' => "javascript:windowPlacebusinesstelephonenumber(\'" . addslashes($val["business"][0]) ."\', \'".addslashes($_GET["formname"])."\', \'". addslashes($_GET["formfield"]) ."\')", 'icon' => $usericon, 'expandedIcon' => $usericon, 'expanded' => true)));
if ($businesstelephonenumbercount > 0)
{
foreach ($val["business"] as $businesstelephonenumberkey=>$businesstelephonenum berval)
{
if ($businesstelephonenumberval > 0)
{
$_businesstelephonenumbernode = &$_usernode->addItem(new HTML_TreeNode(array('text' => " ". addslashes($businesstelephonenumberval), 'link' => "javascript:windowPlacebusinesstelephonenumber(\'" . addslashes($businesstelephonenumberval) ."\', \'".addslashes($_GET["formname"])."\', \'". addslashes($_GET["formfield"]) ."\')", 'icon' => "icon_ticketphone.gif", 'expandedIcon' => "icon_ticketphone.gif", 'expanded' => true)));
}
}
}
}
// end Bryan Grant's entries


Still working to try and have loginshare map the phone number from active directory to the database in this field. I have got as far as the LDAP field is called telephoneNumber and I'm looking at the AD loginshare php file. If you come accross anything then please let me know!
   
Reply With Quote
Reply

Tags
numbers, phone

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
New SIP Phone functionality in LiveResponse (WinApp) Roger Clark News and Announcements 0 10-05-2006 06:35 AM
PROBLEM! Join two or more users, or adding address mblendinger SupportSuite, eSupport and LiveResponse 4 06-05-2006 11:29 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