Removing "Close Ticket" from Customers
Posted: Sat Feb 26, 2011 11:15 am
Hi all,
If like me you have your admins open and close all the tickets and only allow your customers to view the updates of a ticket then this mod will be for you. Removing the ability to close a ticket from your customers removes customer error. It removes the accidental closing of a ticket that is open by your customer.
To remove "Close Ticket" from your customers ticket view:
open ticket.php and locate
change this
To this
Do this for each of the cases. So the above code shows case 0, also change for case 1 and 2.
This should now remove the option to close a ticket from your customers and leave the option for admins.
If like me you have your admins open and close all the tickets and only allow your customers to view the updates of a ticket then this mod will be for you. Removing the ability to close a ticket from your customers removes customer error. It removes the accidental closing of a ticket that is open by your customer.
To remove "Close Ticket" from your customers ticket view:
open ticket.php and locate
Code: Select all
switch ($ticket['status'])
Code: Select all
case 0:
echo '<font class="open">'.$hesklang['open'].'</font> [<a
href="change_status.php?track='.$trackingID.'&s=3&Refresh='.$random.'&token='.hesk_token_echo(0).'">'.$hesklang['close_action'].'</a>]';
break;
Code: Select all
case 0:
echo '<font class="open">'.$hesklang['open'].'</font>';
break;
This should now remove the option to close a ticket from your customers and leave the option for admins.