Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
cxtsupport Offline
New Member
 
Posts: 4
Join Date: Mar 2009
How can I capture the currently logged in staff user? - 08-02-2010, 05:25 PM

I'm working on creating my own module in eSupport and I'm wondering if anyone knows if there is a global variable or something I can capture to log the currently logged in staff user in the staff pages? I'd even just settle for the staff user ID if I can't capture the actual user name.

Thanks in advance!
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 7,371
Join Date: Jan 2006
Location: England, UK
08-02-2010, 05:38 PM

Do a die(print_r($_SWIFT)) and review the results - you'll find the array of staff information in there.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#3) Old
cxtsupport Offline
New Member
 
Posts: 4
Join Date: Mar 2009
08-02-2010, 05:50 PM

Thanks. $_SWIFT['staff']['fullname'] gets me what I'm looking for.
   
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Logged (SWIFTFOUR-361) Alert (SMS/Mail) only when user is not logged in pkreil Alerts 3 17-08-2009 11:00 AM
User logged in name disappears supportskins SupportSuite, eSupport and LiveResponse 6 21-07-2009 08:04 PM
(split) inability for a logged in user to change their email address sarahw SupportSuite, eSupport and LiveResponse 3 24-03-2008 09:14 AM
Forcing a user to be logged in when submitting a ticket brendan How do I? 20 10-11-2007 04:12 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78