Don't send email notification of this reply to the customer

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Don't send email notification of this reply to the customer

Post by bastiaan.c »

Hi Klemen,

Thanks for your beta version of HESK.

I found the feature: Don't send email notification of this reply to the
customer

That is exactly what I was looking for.

Now my question: Which files from 2.5 do I need to replace in 2.4 in order
to get this feature running in the 2.4.2 installation???

Thanks for all you do Klemen.
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: Don't send email notification of this reply to the custo

Post by bastiaan.c »

Anybody that can help?

I would be gratefull for that :roll:
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Don't send email notification of this reply to the custo

Post by Klemen »

File: admin/admin_ticket.php

Find

Code: Select all

(<a href="profile.php"><?php echo $hesklang['profile_settings']; ?></a>)
After add:

Code: Select all

<br />
    <label><input type="checkbox" name="no_notify" value="1" /> Don't send email notification of this reply to the customer</label>
File: admin/admin_reply_ticket.php

Find

Code: Select all

hesk_notifyCustomer('new_reply_by_staff');
Chage to:

Code: Select all

if ( ! isset($_POST['no_notify']) || intval( $_POST['no_notify'] ) != 1)
{
	hesk_notifyCustomer('new_reply_by_staff');
}
I didn't have a chance to test it (am out of the country), so that's up to you :wink:
Last edited by Klemen on Mon Jul 01, 2013 2:13 pm, edited 1 time in total.
Reason: Modified a code error
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
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: Don't send email notification of this reply to the custo

Post by bastiaan.c »

Thanks Klemen!!!
But after I choose "Don't send email notification of this reply to the customer" and send it the page goes blank. It could be my mistake, but I think that I did exactly what you said :-(

After sending and then the blank page > and then going back to the original ticket it all seemed to work, so it is only the blank page...

Thanks for your help :D
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Don't send email notification of this reply to the custo

Post by Klemen »

Oh, sorry, this

Code: Select all

hesk_POST('no_notify')
should say

Code: Select all

$_POST['no_notify']
The hesk_POST function isn't available before 2.5.0 hence the problem.

I will update the original reply to show correct info.
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
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: Don't send email notification of this reply to the custo

Post by bastiaan.c »

HIIIII !!! Klemen !!! :D :D :D :D

So happy, It works :-)

Somehow I did implement the code wrong. (I do not know what was wrong) I startet all over and did not use the latest code:

Code: Select all
hesk_POST('no_notify')

should say

Code: Select all
$_POST['no_notify']

And it works afterall!!!!

Thanks so much. Now we can allready start using it (2 months earlier as planned) Since we have this feature now we can integrate all Grapichers...thanks again :-)
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Don't send email notification of this reply to the custo

Post by Klemen »

Before doing any modifications you may want to wait for 2.5.0, will be released this week.
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
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: Don't send email notification of this reply to the custo

Post by bastiaan.c »

Great info, Great News

Thanks,

Bas
Post Reply