Script URL:
Version of script: 3.5.1
Hosting company: self hosted
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hello,
almost all responses to sent replys are created as new tickets. I see a problem with the 70 character subject length. The system cuts off the trackid and create it as a new request for responses. How could we make the length of the subject 255 (the subject field in the database is 255 long)
I tired change lenght in new_ticket.php but no success.
OR
Maybe we have solution to identify reply with trackid in message body?
Subject lenght problem
Moderator: mkoch227
Re: Subject lenght problem
Changed 1,70 to 1,255 in
hesk\inc\pipe_functions.inc.php
line "$tmpvar['subject'] = hesk_input($tmpvar['subject'],'','',1,70) or $tmpvar['subject'] = $hesklang['pem'];"
and problem solved.
hesk\inc\pipe_functions.inc.php
line "$tmpvar['subject'] = hesk_input($tmpvar['subject'],'','',1,70) or $tmpvar['subject'] = $hesklang['pem'];"
and problem solved.
Re: Subject lenght problem
"almost all responses to sent replys are created as new tickets"
This was also bothering me. It ussually happens when somebody fills a short-form email alias on the form, and later replies from a different e-mail adress.
Hesk checks that the email sender is already registered with the ticket. If not, it starts a new ticket.
I disabled the following lines. The ticket ID is kept, even if the email is from a total stranger. (We are a small company. You might want to consider security issues.)
hesk\inc\pipe_functions.inc.php, around line 178;
This was also bothering me. It ussually happens when somebody fills a short-form email alias on the form, and later replies from a different e-mail adress.
Hesk checks that the email sender is already registered with the ticket. If not, it starts a new ticket.
I disabled the following lines. The ticket ID is kept, even if the email is from a total stranger. (We are a small company. You might want to consider security issues.)
hesk\inc\pipe_functions.inc.php, around line 178;
Code: Select all
if (!in_array($tmpvar['email'], $customer_emails))
{
$tmpvar['trackid'] = '';
}
Re: Subject lenght problem
Cegri is correct; to get counted as a reply, Hesk checks both the tracking ID and the sender. If the sender doesn't match, a new ticket will be created.
The solution posted should fix it.
The solution posted should fix it.
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