Hi all,Is there any solution to get rid the User Lookup in Staff Panel when we click New Ticket will direct to ..  tickets.php?a=open&uid=2 ?I search and modified file as below:-user.tmpl.phpuser-lookup.tmpl.phpticket-open.incscp.jsajax.user.phpMy plan is to direct from tickets.php to ticket.php?a=open&uid=2? without need to add user and don't want popup.

please let me know if you need more information about this. thank you.

It's beyond my comprehension why you would want to do this but ... in version 1.8.0.2 you can add $user = User:(2); to the very top of ticket-open.php.

hi peter,actually the idea is to use osTicket as internal helpdesk. so, our osTicket don't need client to raise ticket. so, only register staff will create the ticket. by the way I just found out to disable the popup. if it will help others I will share it here. thank you.

Might as well.  I'm sure that you aren't the only person that doesn't want to send emails to their users and let them open tickets. :)

a month later

hi peter,

actually the idea is to use osTicket as internal helpdesk. so, our osTicket don't need client to raise ticket. so, only register staff will create the ticket. 

by the way I just found out to disable the popup. if it will help others I will share it here. thank you.

how you disable the popup ?thanks in advance 

hello eridanx,With disabling the user lookup popup you later will need to set autofill textfield for user (name, email, dept). You need to be clear with your flow.For me i just comment out some function in scp.js from line 408 until line 450 /*    $(document).on('click', 'a#new-ticket', function(e) {     ...           });     }); $.userLookup = function (url, callback) {     $('.dialog#popup .body').load(url, function () {         ...                        }                    }                })       ..            });         });     }; */in /upload/include/staff/ticket.open.inc I also comment out this lines<!--  <a href="#" onclick="javascript:...             <i class="icon-edit"></i> Change</a> -->

Write a Reply...