View Full Version : Link problem
seanspeng
6th of October 2002 (Sun), 01:14
Hi Pekka,
I found that EE cannot display web site with ~ in it. For example it cannot work out on this one:
http://home.istar.ca/~townsend/pop_standards/tonight_i_celebrate_my_love_for_.htm
I also tried to add a link in my Gallery Info section, but without display the full link spelling. I know there is a way to write it. But with the coding sample I have from EE, I cannot get it work. Please let me know how to deal with this.
For example, I had to give all the letters for my Wedding Print link in
http://www.pengrus.com/gallery/index.php
Thank you for your help,
Sean
Pekka
6th of October 2002 (Sun), 03:53
seanspeng wrote:
Hi Pekka,
I found that EE cannot display web site with ~ in it. For example it cannot work out on this one:
http://home.istar.ca/~townsend/pop_standards/tonight_i_celebrate_my_love_for_.htm
Fix: In fetchsettings.php there is a function "parsehyper". Replace it with
function parseHyper($string) {
$search = array
("/([\w\.\/\&\=\?\-]+)@([\w\.\/\&\=\?\-]+)/",
"/((ftp(7?):\/\/)|(ftp\.))([\w\.\/\&\=\?\-]+)/",
"/((http(s?):\/\/)|(www\.))([\w\.\/\&\~\=\?\-]+)/");
$replace = array ("$1@$2",
"$4$5",
"$4$5");
return preg_replace ($search, $replace, $string);
}
I also tried to add a link in my Gallery Info section, but without display the full link spelling. I know there is a way to write it. But with the coding sample I have from EE, I cannot get it work. Please let me know how to deal with this.
For example, I had to give all the letters for my Wedding Print link in
http://www.pengrus.com/gallery/index.php
First, in misc settings, set index page's "activate links" to "NO". If EE's own activate links feature is on, you can not input any real html links to the text.
Then, in exhibition description text write links in plain html, like:
For prints, go here
seanspeng
6th of October 2002 (Sun), 09:34
Pekka,
I managed to get a link there, but the link does not work and it turned out to be
http://www.pengrus.com/"http://www.photoaccess.com/share/guest.jsp?ID=AD82B734A79&cb=PA"
I don't know why it adds my pengrus.com in front of that link.
Would you please take a look at it at:
http://www.pengrus.com/gallery/index.php
Thanks a lot!
Sean
Pekka wrote:
First, in misc settings, set index page's "activate links" to "NO". If EE's own activate links feature is on, you can not input any real html links to the text.
Then, in exhibition description text write links in plain html, like:
For prints, go here
Pekka
6th of October 2002 (Sun), 09:43
Use http:// in the link:
And remove the space after the first quote - it's added by this forum software...
seanspeng
6th of October 2002 (Sun), 09:51
Pekka:
Problems solved. Thank you so much for your time and help!
Sean
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.