Forgot tracking ID?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
hollandsedrop
Posts: 90
Joined: Tue Dec 30, 2008 11:29 am

Forgot tracking ID?

Post by hollandsedrop »

Hi,

Forgot tracking ID? Sent to customer all tickets!

I want only status of open ticket list.

help please...
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If I understood correctly... in index.php change

Code: Select all

$sql = "SELECT * FROM `hesk_tickets` WHERE `email` LIKE '$email'";
to

Code: Select all

$sql = "SELECT * FROM `hesk_tickets` WHERE `email` LIKE '$email' AND `status` != '3'";
I also recommend that you change words in emails/forgot_ticket_id.txt :
This e-mail contains a list of support tickets
change to
This e-mail contains a list of open support tickets
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
hollandsedrop
Posts: 90
Joined: Tue Dec 30, 2008 11:29 am

Post by hollandsedrop »

Perfect! Thanks...
hollandsedrop
Posts: 90
Joined: Tue Dec 30, 2008 11:29 am

Post by hollandsedrop »

how can i change new version (2.0) this?

Klemen wrote:If I understood correctly... in index.php change

Code: Select all

$sql = "SELECT * FROM `hesk_tickets` WHERE `email` LIKE '$email'";
to

Code: Select all

$sql = "SELECT * FROM `hesk_tickets` WHERE `email` LIKE '$email' AND `status` != '3'";
I also recommend that you change words in emails/forgot_ticket_id.txt :
This e-mail contains a list of support tickets
change to
This e-mail contains a list of open support tickets
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

In the new version you have

Code: Select all

$sql = 'SELECT * FROM `'.$hesk_settings['db_pfix'].'tickets` WHERE `email` LIKE \''.$email.'\'';
change it to

Code: Select all

$sql = 'SELECT * FROM `'.$hesk_settings['db_pfix'].'tickets` WHERE `email` LIKE \''.$email.'\' AND `status` != \'3\'';
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
Post Reply