Problem with some text in links
Hello!

Some specific sequences of words (such as balance point, blade geometry for example) automatically generate links while posting messages. I've always found this a bit surprising, as the link is not always on-topic, but in my last topic this feature has actually broken a link of my own. It seems that the automatic link interrupts the link set by the user. For example:
Code:
[url=http://www.myArmoury.com/talk/viewtopic.php?t=8088]something mentionning balance point and so on[/url]

shows up as
something mentionning balance point and so on

and gets split into two urls and an inactive text. Obviously the problem is more critical if the recognised words are just at the beginning of the link, because it then completely supresses the intended link.

This behaviour is all the more surprising since the preview shows the correct link.

I know that it is probably very rare (I must have been out of luck this time ;) ), but anyway I thought I'd mention it in case it's something easy to fix...

Kindest regards


Last edited by Vincent Le Chevalier on Mon 14 May, 2007 2:26 am; edited 1 time in total
Hmm okay so it's not that easy because my link above actually works fine :eek:
And the link in this test post does not :?:

I'm puzzled...
Vincent,
Nathan can give you more details, as he coded it, but the auto-linking won't show up in the preview as it seems to only be generated on the final posted page. Also, generally, the auto-link will only happen the first time a key word is typed in a given post, so when you mentioned balance point above in the parentheses), it took care of the auto-linking and then left your next instance of "balance point" unchanged.

If you ever feel your stuff is not being linked right, you can always say:

something mentioning balance point (http://www.myArmoury.com/talk/viewtopic.php?t=8088) and so on.

You can even make it:

Code:
something mentionning balance point ([url]http://www.myArmoury.com/talk/viewtopic.php?t=8088[/url]) and so on.


Which shows as: something mentioning balance point (http://www.myArmoury.com/talk/viewtopic.php?t=8088) and so on.

That ensures that the link always goes where you wish even if your text gets converted to an auto-link.

The auto-link is an important feature as you'd be surprised by the number of forum readers who haven't read our articles. Linking important concepts, books, and names to other places on the site reinforces what we we're doing: creating a multi-level content presentation.

I know it may be frustrating, but the workaround above will work and will point people to all kinds of things they should check out.

Thanks!
Chad,

Thanks for your answer, that's really all the details I need... I'll do as you suggest and change my links.

Regards
You can also get rid of the auto-link feature by adding additional markup into the phrase such as this:

The center of percussion of a sword helps define its dynamic characteristics.

Code:
The center of [b][/b]percussion of a sword helps define its dynamic characteristics.


The center of percussion of a sword helps define its dynamic characteristics.

Code:
The center of percussion of a sword helps define its dynamic characteristics.


Note that the empty bold tag thwarted the auto-linker.
Thanks Nathan, I'm going to keep that in a corner of my head as well...

Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum




All contents © Copyright 2003-2006 myArmoury.com — All rights reserved
Discussion forums powered by phpBB © The phpBB Group
Switch to the Full-featured Version of the forum