FUD code internal links [message #15636] |
Mon, 29 December 2003 04:07 |
firepages
Messages: 24 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
Hi , I just added internal links to my forums FUDcode by adding [iurl] to the post_proc.inc.t (ok I just copied and pasted and added an 'i' & reverse stuff in html_to_tags but it felt good anyway)
this way I can link internally without the new window which I think is useful.
I did start by checking for the domain in the existing code and then optionally removing the target="_blank" based on that but then that takes away the choice..
anyway what I am trying to say is I find this useful perhaps others might & may be a candidate for an extra FUDcode feature ?
I was also thinking of alternate inage tags so we can align images in FUDcode ... just simple stuff like right and left align [imgl] [imgr] etc ? no point ? daft ? go back to sleep Simon ?
|
|
|
Re: FUD code internal links [message #15639 is a reply to message #15636] |
Mon, 29 December 2003 15:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Considering FUDforum already has alignment tags, I see no reason to add [imgl] and [imgr], etc...
As for 'inline' link, it seems of somewhat dubious value since it would take the person away from the message they are reading.
FUDforum Core Developer
|
|
|
Re: FUD code internal links [message #15640 is a reply to message #15639] |
Mon, 29 December 2003 16:11 |
firepages
Messages: 24 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
Ilia wrote on Mon, 29 December 2003 10:33 | Considering FUDforum already has alignment tags, I see no reason to add [imgl] and [imgr], etc...
|
yes but that does not wrap the text as <img src="FUD" align="left" /> or similar inline styles would do , which is what I meant (I should have been more specific)
Ilia wrote on Mon, 29 December 2003 10:33 |
As for 'inline' link, it seems of somewhat dubious value since it would take the person away from the message they are reading.
|
dubious for sure , but not a large overhead considering the way FUD uses FUD markup , just a thought .
I am using FUD as a CMS and want to give admin as much power as possible without letting them have access to HTML , which , like letting regular users near an RTE as I have found to my distress is often a mistake ~
I appreciate that it would probably be a little used feature (and FUD is primarily a forum I accept) but thought I would ask anyway , cos if you don't ask .....
|
|
|
Re: FUD code internal links [message #15641 is a reply to message #15640] |
Mon, 29 December 2003 17:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
firepages wrote on Mon, 29 December 2003 11:11 |
Ilia wrote on Mon, 29 December 2003 10:33 | Considering FUDforum already has alignment tags, I see no reason to add [imgl] and [imgr], etc...
|
yes but that does not wrap the text as <img src="FUD" align="left" /> or similar inline styles would do , which is what I meant (I should have been more specific)
|
That's an excellent point, which I had not considered. If this in fact allows text wrapping around an image I'll definitely considering the necessary tags.
Quote: |
Ilia wrote on Mon, 29 December 2003 10:33 |
As for 'inline' link, it seems of somewhat dubious value since it would take the person away from the message they are reading.
|
dubious for sure , but not a large overhead considering the way FUD uses FUD markup , just a thought .
|
Lot's of little overheads add up, while you brought an excellent point about images, I am not convinced inline links are really needed. It seems to me that in most cases it's better to use new windows since the original message window is retained. Since it looks to be a very limited use feature I am rather reluctant to add it.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: FUD code internal links [message #26736 is a reply to message #26714] |
Mon, 08 August 2005 02:26 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It is a one line tweak inside post_proc.inc.t if you want to change the behaviour, just remove or change the value of the target attribute.
FUDforum Core Developer
|
|
|
|
Re: FUD code internal links [message #26741 is a reply to message #26738] |
Mon, 08 August 2005 13:18 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
FUDforum does not use regex for implementing tags, only from converting html back to fudcode. Basically if you want to add [urli] simply duplicate the [url] code and adjust the target field accordingly.
FUDforum Core Developer
|
|
|
|
|