Disable Customer Replies & Uploads

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
sheldondebeer
Posts: 8
Joined: Fri Feb 16, 2024 7:03 am

Disable Customer Replies & Uploads

Post 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
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Disable Customer Replies & Uploads

Post 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.
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
sheldondebeer
Posts: 8
Joined: Fri Feb 16, 2024 7:03 am

Re: Disable Customer Replies & Uploads

Post 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
Post Reply