Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: readme.txt - maaliskuu 01, 2005, 03:05:55 AP

Otsikko: URL error !!!!!
Kirjoitti: readme.txt - maaliskuu 01, 2005, 03:05:55 AP
Hi, when I enter an URL of this type:

[url]http://www.expanderdance.com/dl/dj_set/guest/Moshic_live@eXpander_11-12-04(www.expanderdance.com).mp3[/url]

it doesn't leave like one wants

example:

http://www.expanderdance.com/dl/dj_set/guest/Moshic_live@eXpander_11-12-04(www.expanderdance.com).mp3

how can I solve it?

Thanks

Otsikko: Re: URL error !!!!!
Kirjoitti: sarobar - maaliskuu 01, 2005, 03:10:36 AP
i could not understand your code. I am sorry. May be the moderators will help you.  :o
Otsikko: Re: URL error !!!!!
Kirjoitti: readme.txt - maaliskuu 01, 2005, 03:13:31 AP
Lainaus käyttäjältä: sarobar - maaliskuu 01, 2005, 03:10:36 AP
i could not understand your code. I am sorry. May be the moderators will help you. :o

when you put that URL it doesn't leave as URL (where you can make click like an alone one lines) but rather it leaves all that

my english is not good :P
Otsikko: Re: URL error !!!!!
Kirjoitti: sarobar - maaliskuu 01, 2005, 03:24:32 AP
I also don't have a good english.

Anyway I think you are a good programmer. That is why I didn't understand your scripts. I am a designer that's why no good knowledge in programming.
Otsikko: Re: URL error !!!!!
Kirjoitti: [Unknown] - maaliskuu 01, 2005, 03:30:31 AP
 ! URLs within URLs in certain situations didn't auto link properly. (Subs.php)

For now, an easy fix is to replace "www." with "www%2e".  The problem is it's finding this:

(www.expanderdance.com)

Which looks like a beautiful example of a link, and making it a link.  Then, it's making the other part a link as well.... which is obviously wrong.  So, it's as if you typed this:

[url]http://www.expanderdance.com/dl/dj_set/guest/Moshic_live@eXpander_11-12-04([url=http://www.expanderdance.com]www.expanderdance.com[/url]).mp3[/url]

The link won't be made automatically for this, however:

(www%2eexpanderdance.com)

Because that's clearly not a link.  Luckily, it still WORKS inside the other link, so everything is good ;).  Anyway, this will not be a problem in 1.1, as posted above.

-[Unknown]