*** UPDATED TO PHPBB3 ***

we're listening.
Shepherd_of_Anu
mnml maxi
mnml maxi
Posts: 624
Joined: Fri Jul 25, 2008 4:14 am
Location: The space between space

Re: *** UPDATED TO PHPBB3 ***

Post by Shepherd_of_Anu »

LouisVee wrote:I have noticed something, I'm not sure if it's new with phpBB3...

Sometimes, when a url link is too long, it automatically get shorten with three dots (...), but the link doesnt work anymore.

Exemple: http://www.mnml.nl/phpBB3/viewtopic.php?f=2&t=71065

You know what I mean?

Ps. Sometimes it works... hmm. Maybe it's because the poster does not put the url between the [ url ] code?
Oh, by the way... I think this problem crops up when a poster edits a post. I am not sure exactly why but I think perhaps that ellipsis thing might have been added by someone who didn't fully understand the way the bbcode was parsed when it comes back out from the database and then is reentered again.

If I had to hazard a guess I would imagine that when the poster is rediting the post the edit window may be getting populated with the ellipised URL instead of the original URL... thus when the post is re-entered into the database the modified URL is entered rather then the original URL.

If that is the problem then notice that (I replaced the square brackets with round ones...) there is no URL written within the opening URL tag.

(url)http://www.mnml.nl/phpBB3/viewtopic.php ... 1065(/url)

VS.

(url=http://www.bbcode.org/)This be bbcode.org!(/url)

I can't say for certain but perhaps if people were to set the inner url attribute it would remain unmodified as opposed to the content between the tags.
I have not used a bbcode parser in a few years though and it did not have that feature.
This is just a wild guess but I think that might be what the problem is.
Themis
mnml moderator
mnml moderator
Posts: 2690
Joined: Fri Nov 14, 2008 10:27 pm
Location: Vienna

Re: *** UPDATED TO PHPBB3 ***

Post by Themis »

you are right, url only get shortend if the URL tag is NOT used.

if you edit a post with a url which is already short, it will stop working.

if you use the URL tag, doesnt matter in which form or way (inner url attribut or not) the url will work even if you edit your post.
Post Reply