Preventing People From Entering Multiple Replies Before Responding Back.
Need to know if there's a way to prevent people from posting multiple replies to a ticket before we get a chance to reply back.
We want it to be in such a way that a person cant post more than one reply at a time. I've gotten people that keep on adding comments to the ticket, there's like 10 enteries back to back before we get to even reply back. So I want to know if there's a way if we can set it up, so that when a person opens a ticket, they cannot add another section to it until we reply back.
So its
Person - Opens First Ticket
We Reply Back
Person - Replies Back
We Reply Back
Not like :
Person - Opens First Ticket
Person - Adds comments
We reply back.
Person - Adds comments
Person - Adds comments
Person - Adds comments
We want to prevent the person from entering non sense comments to the ticket or prevent them from adding additional sections until we reply back. Thanks again.
Preventing People From Entering Multiple Replies Before Resp
Moderator: mkoch227
-
- Posts: 65
- Joined: Sat Aug 15, 2009 9:38 pm
Re: Preventing People From Entering Multiple Replies Before
In ticket.php try changing to and see if that works for you.
Code: Select all
($ticket['locked'] != 1 && $ticket['status'] != 3)
Code: Select all
($ticket['locked'] != 1 && $ticket['status'] != 3 && $ticket['status'] != 1)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
-
- Posts: 65
- Joined: Sat Aug 15, 2009 9:38 pm
Re: Preventing People From Entering Multiple Replies Before
The original code you suggested is not in the ticket.php file.
When I add the code it gives us an an error in line 66.
When I add the code it gives us an an error in line 66.
Re: Preventing People From Entering Multiple Replies Before
What version of Hesk are you using?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
-
- Posts: 65
- Joined: Sat Aug 15, 2009 9:38 pm
Re: Preventing People From Entering Multiple Replies Before
We're using version 2.1
Somehow the new update kinda messed up our support site big time. So we went back to 2.1
Somehow the new update kinda messed up our support site big time. So we went back to 2.1
Re: Preventing People From Entering Multiple Replies Before
In 2.1 you have try
Code: Select all
$ticket['status'] != 3 || $hesk_settings['custopen']==1
Code: Select all
$ticket['status'] != 3 || $hesk_settings['custopen']==1 || $ticket['status'] != 1
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
-
- Posts: 65
- Joined: Sat Aug 15, 2009 9:38 pm
Re: Preventing People From Entering Multiple Replies Before
The code doesnt work I was able to reply 4 times in a row just after opening a ticket.
-
- Posts: 65
- Joined: Sat Aug 15, 2009 9:38 pm
Re: Preventing People From Entering Multiple Replies Before
I changed the code to this and it allowed only one reply after they opened the ticket but after the first reply they were not able to respond back until we replied back.
if ($ticket['locked'] != 1 && $ticket['status'] != 1 && $ticket['status'] != 1)
Only having one reply back after the ticket is fine it works. Thanks again. Appriciate it.
if ($ticket['locked'] != 1 && $ticket['status'] != 1 && $ticket['status'] != 1)
Only having one reply back after the ticket is fine it works. Thanks again. Appriciate it.