Page 1 of 1

Disable Customer Replies & Uploads

Posted: Mon Apr 15, 2024 12:49 pm
by sheldondebeer
good day all

please advise if anyone has found a way to disable customer replies and file uploads

when a client visits the tracking page and inserts thier tracking id hesk allows the client to write a message or upload a file

is there a way to disable this for the customer only

the staff still needs to be able to upload files and submit messages for the customer to see

i have tried lookinjg in Ticket.php hoping it was some code that could be removed but i dont see anything pertaining to my issue

any assistance will be greatly appreciated

kind regards
Sheldon De Beer

Re: Disable Customer Replies & Uploads

Posted: Mon Apr 15, 2024 1:28 pm
by Klemen
The easiest way to do that would probably be to add

Code: Select all

$ticket['locked'] = 1;
just above

Code: Select all

$hesk_settings['render_template'](TEMPLATE_PATH . 'customer/view-ticket/view-ticket.php', array(
inside ticket.php

This will always mark all tickets as "locked" to customers, meaning they will not be able to add replies or upload files.

Re: Disable Customer Replies & Uploads

Posted: Mon Apr 15, 2024 2:18 pm
by sheldondebeer
Good Day Klemen

once again you come to the rescue

this did infact work

thank you for he response

have a good one !

Regards
Sheldon De Beer