Deleting below "Reply above this line" doesn't work

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Steph
Posts: 26
Joined: Tue Feb 14, 2023 10:55 pm

Deleting below "Reply above this line" doesn't work

Post by Steph »

Version of script: 3.4.2
php: 8.2.2

Good morning,

There is apparently a bug with sending a response by email, the line "------ Reply above this line ------" is not taken into account.

In fact, I realized that this was no longer taken into account as soon as I added this to the custom-text.php file, even when using exactly the same text as in text.php

Code: Select all

$hesklang['EMAIL_HR']='------ custom text ------';
How can we fix this?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Deleting below "Reply above this line" doesn't work

Post by Klemen »

The settings file needs to be updated whenever this line is modified (in either text.php or custom-text.php).

So, after changing the "EMAIL_HR" variable, do this:
1. go to Hesk Admin > Settings > General
2. click "Save changes" at the bottom

This will reload and update the settings file with the new "EMAIL_HR" value.
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
Steph
Posts: 26
Joined: Tue Feb 14, 2023 10:55 pm

Re: Deleting below "Reply above this line" doesn't work

Post by Steph »

Thank you for this quick response.

I just did some tests, if I modify text.php it works with the manipulation indicated, but as soon as I add the line in custom-text.php it no longer wants.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Deleting below "Reply above this line" doesn't work

Post by Klemen »

Did you save the settings again as instructed after modifying custom-text.php?

Do you have several languages installed, or just one?
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
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Deleting below "Reply above this line" doesn't work

Post by Klemen »

I did some testing and you are right - when settings are saved, the EMAIL_HR is taken from text.php, and custom-text.php is ignored.

We'll fix this in the next release. In the meantime, you will need to resort to editing EMAIL_HR in text.php

Thank you for reporting this!
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
Steph
Posts: 26
Joined: Tue Feb 14, 2023 10:55 pm

Re: Deleting below "Reply above this line" doesn't work

Post by Steph »

Perfect thank you :wink:
Post Reply