Small bug:
When UPDATE a ticket, if both "Close/Open ticket" AND "Assignment" AND Category are checked, only one of them work.
I'd remove the standard_redirect in the following sections:
if ($vbulletin->GPC['closeticket'])
if ($vbulletin->GPC['openticket'])
if ($vbulletin->GPC['assignedtechid'] != $ticket['assignedtechid'])
// $_REQUEST['do'] = 'newreply';
$vbulletin->url = 'vBSupport.php?' . $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' . $vbulletin->GPC['ticketid'];
eval(print_standard_redirect('support_rebuilt_info '));
Also, the $_REQUEST['do'] = 'newreply'; need to be replaces by
PHP Code:
// $_REQUEST['do'] = 'newreply';
$vbulletin->url = 'vBSupport.php?' . $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' . $vbulletin->GPC['ticketid'];
eval(print_standard_redirect('support_rebuilt_info'));
otherwise, there'll be alot of templates not cached.
Also, Close/Open and Delete ticket can not be check both at the same time. if you delete ticket, close and open mean nothing, so, you may just want to make it Radio or dropdown instead of checkboxes
In tickets list, only those who have permission to delete ticket can see the delete selected ticket options
Should have additional options to open/close tickets there, for those who has permission to mass close/open tickets.