Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > General Discussions

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-31-2011, 06:08 PM
hoffmana hoffmana is offline
Member
 
Join Date: Apr 2011
Posts: 42
Default Auto-populate Name/Email

I understand that the current ticket system does not have any kind of user accounts. I am working to role out the helpdesk to our user base (~500 employees). We currently have a wiki where I was hoping to place a link for the helpdesk. As of now user must login to the wiki, therefore I was hoping I could take their username (ie. email) and populate the helpdesk so that they don't have to.

Mainly so when they create a ticket instead of asking for their Name and Email, they would just type their problem. If these fields (Name/Email) can be removed and it just work in the background that would be great otherwise just populating them would be fine too.

Is there a way to do this without too much work? I should be able to create a variable in the link's query string to contain the currently-logged-in-user's username that could (hopefully) be recognized by osticket.
Reply With Quote
  #2  
Old 06-02-2011, 02:33 PM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,644
Default

You may be able to grab their login name (aka email) using one or more of the following:

$_SERVER['AUTH_USER'];
$_SESSION["username"];

the wiki probably uses some sort of sessions for authentication, so you may be able to access those session vars to carry them over to OST.
Reply With Quote
  #3  
Old 08-31-2012, 08:45 AM
luckman212 luckman212 is offline
Junior Member
 
Join Date: Aug 2012
Posts: 10
Default

Did you guys get anywhere with this? I'd also like to mod the new ticket form so it at least auto-fills their Name and Email address via either a cookie or even by accessing _GET params
Reply With Quote


Reply

Bookmarks

Tags
ticket, ticket creation, user authentication

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

Forum Jump


All times are GMT -4. The time now is 10:40 AM.