Page 1 of 1

Remove new ticket button in administration

Posted: Thu Dec 10, 2020 10:54 pm
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.

Re: Remove new ticket button in administration

Posted: Sat Dec 12, 2020 12:45 pm
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.