Page 1 of 1

Changing lastreplier to owner - help!

Posted: Thu Aug 16, 2012 9:00 pm
by SnortDorker
Script URL:
Version of script: 2.4
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I changed ticket_list.inc.php so that the ticket list in admin_main would show the owner instead of lastreplier. Now it shows the owner as the hesk_users id #. Can someone help me get it to show that users name in that field instead of the id # from hesk_users. Here is what I did...

Code: Select all

<td class="$color">$ticket[lastreplier]</td>
to

Code: Select all

<td class="$color">$ticket[owner]</td>

and

Code: Select all

<th class="admin_white" style="text-align:center; white-space:nowrap;"><a href="<?php echo $href . '?' . $query . $sort_possible['lastreplier'] . '&sort='; ?>lastreplier"><?php echo $hesklang['last_replier']; ?></a></th>
to

Code: Select all

<th class="admin_white" style="text-align:center; white-space:nowrap;"><a href="<?php echo $href . '?' . $query . $sort_possible['owner'] . '&sort='; ?>owner"><?php echo $hesklang['owner']; ?></a></th>

Re: Changing lastreplier to owner - help!

Posted: Fri Aug 17, 2012 5:34 pm
by SnortDorker
Anybody?

Re: Changing lastreplier to owner - help!

Posted: Fri Aug 17, 2012 8:42 pm
by SnortDorker
Duh... found out what I broke... nevermind.