Remove new ticket button in administration

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
vampire85
Posts: 1
Joined: Thu Dec 10, 2020 10:47 pm

Remove new ticket button in administration

Post by vampire85 »

Script URL:
Version of script: 3.1.2
Hosting company: A2
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Good evening, I state that I would like to use the script as a dispute management solution between customers and sellers, in my case the sellers will be my team, and I will be the supervisor.
The software as written is perfect for my needs (even better), but I only have one problem.
Is it possible to remove the New Tiket button in the administration? Even better to remove it only for team members and leave it for admin only?
Thanks for the attention.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Remove new ticket button in administration

Post by Klemen »

In the file "inc/show_admin_nav.php" find "new_ticket.php" - should be there twice.

Then delete the link HTML code, or wap it in a PHP if statement checking if $_SESSION['isadmin'] is set to 1.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply