Version of script: 2.4.1
What terms did you try when SEARCHING for a solution: ftp/link
Hi; this is my problem:
I configured my hesk to send in the "new_email_by_staf mail" notification a copy of the message wrote (using special tag %%message%%)
This because i need to send to customers some ftp links, for example ftp://ftp.myftp.net/tmp/file.zip.
Well; when the system creates the customer's notification email, automatically changes the original ink in: ftp://http://ftp.myftp.net/tmp/file.zip
Naturally the link results wrong.
It seems that the system doesn't recognize the "ftp://" as a valid protocol.
How can i solve this issue?
Thank's for any answer
FTP link
Moderator: mkoch227
Re: FTP link
Try this:
1. open inc/common.inc.php in a HTML editor
2. find
3. change to
4. save, upload and test.
Does this help?
1. open inc/common.inc.php in a HTML editor
2. find
Code: Select all
$rexProtocol = '(ftp://|https?://)?';
Code: Select all
$rexProtocol = '(https?://)?';
Does this help?
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
[solved]Re: FTP link
pheraps you are inverted the order of command; anywher using
$rexProtocol = '(ftp://|https?://)?';
The system work fine and now the link is correct
Thanks' a lot
$rexProtocol = '(ftp://|https?://)?';
The system work fine and now the link is correct
Thanks' a lot
-
- Posts: 94
- Joined: Wed Feb 29, 2012 2:00 am
Re: FTP link
I have similar problem. I use hesk in intranet so the url like below:
http://chnshaxxxx/hesk/knowledgebase.php?article=4594
The function hesk_makeURL($text) should convert web addresses in the text into HTML hyperlinks but it did not.
I think the problem is my domain start as chnshaxxxx which be ignored by the function.
anybody has idea how to fix it?
http://chnshaxxxx/hesk/knowledgebase.php?article=4594
The function hesk_makeURL($text) should convert web addresses in the text into HTML hyperlinks but it did not.
I think the problem is my domain start as chnshaxxxx which be ignored by the function.
anybody has idea how to fix it?
Eagle
Life is a journey.
Life is a journey.
Re: FTP link
Try with the updated function I posted here and see if that works for you:
viewtopic.php?f=13&t=4423
viewtopic.php?f=13&t=4423
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: 94
- Joined: Wed Feb 29, 2012 2:00 am
Re: FTP link
can't, it only fix the bug which lost the parameter part of url text,
before
http://chnshaxxxx/hesk/knowledgebase.php
after:
http://chnshaxxxx/hesk/knowledgebase.php?article=4594
but it still can't handle the computer as a domain.
before
http://chnshaxxxx/hesk/knowledgebase.php
after:
http://chnshaxxxx/hesk/knowledgebase.php?article=4594
but it still can't handle the computer as a domain.
Eagle
Life is a journey.
Life is a journey.