Skip Navigation

buggy url linking code

Travel Forums System Talk buggy url linking code

1. Posted by myrrhlin (Budding Member 8 posts) 9y Star this if you like it!

Note: because your forum code also recognizes the same [ url] tag i'm talking about in b-log posts, i have edited this forum post: In every " [ url] " you see below, just delete the space between the bracket and the letters "url".

I've experienced weird and broken behavior trying to link URLs in my travel b-log posts. The code does not work as described in the help file, which says you can simply enclose a text url with the [ url] tag.

To elucidate the problem, I tried creating a post with the following content, then Preview'd it (and the Publish'd it to confirm):

1 [ url][/url]
2 [ url][/url]
3 [ url][/url]
4 [ url][/url]
5 [ url=][/url]
6 [ url=][/url]
7 [ url=][/url]
8 [ url=][/url]
9 [][/url]
a [][/url]
b [][/url]
c [][/url]

These should all produce functionally the same thing. But cases 1-4, where the url is not specified explicitly, are badly broken. It also seems a variable isn't being erased after each use because its content continues to lengthen until an actual link appears.

The work-around is just to always specify the link url explicitly.

Please fix, thank you!

[ Edit: Edited on May 27, 2008, at 1:58 AM by myrrhlin ]

2. Posted by Sam I Am (Admin 5588 posts) 9y Star this if you like it!

Well spotted!

Actually, this appears to have been working correctly in the forum, but only broken in the blogs based on a recent update. Here's the above code to verify working in forum:


I've copied/pasted the same to to make sure this is now fixed in the blog as well.

3. Posted by visitor (Budding Member 6 posts) 9y Star this if you like it!

Sorry, just a test post here that I need to actually post to check. This is Sam by the way ;)

Test link text and how they look in the notification email!