FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » [URL] tag displaying text (automated)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
[URL] tag displaying text (automated) [message #30334] Sat, 18 February 2006 19:46 Go to next message
djechelon is currently offline  djechelon   Italy
Messages: 46
Registered: July 2005
Karma: 0
Member
Hi,
I wanted to propose an enhancement to the URL tag button. As default, you type the URL address and it returns tags like

[url]http://www.google.it[/url]

And it's OK. But I wanted the URL button to behave like the following: if I select text, it makes that text clickable with hyperlink to the URL i type.

For example i select Google in my post, then I click on the URL button and enter Google's URL Address. The Forum should return

[url=http://www.google.it]Google[/url]


Something similar happens, obviously, when I select text and click B, I, U etc
Nothing simpler than that Laughing
Re: [URL] tag displaying text (automated) [message #30344 is a reply to message #30334] Sun, 19 February 2006 20:33 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Select the headline text, and click on the URL button and enter the URL, it'll do what you want.

FUDforum Core Developer
Re: [URL] tag displaying text (automated) [message #30354 is a reply to message #30334] Sun, 19 February 2006 23:44 Go to previous messageGo to next message
djechelon is currently offline  djechelon   Italy
Messages: 46
Registered: July 2005
Karma: 0
Member
I tried doing that (that is exactly what I described in my message) but it does not work.

On this textarea, I typed Google, then selected it and clicked URL. After inerting URL address here's the result

http://www.google.itGoogle
which is

[url]http://www.google.it[/url]Google

I'm using Firefox 1.5.0.1
Re: [URL] tag displaying text (automated) [message #30361 is a reply to message #30354] Mon, 20 February 2006 14:35 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS, here is the patch:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=7555


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: admin email visible
Next Topic: Some feature ideas
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 13:15:13 GMT 2024

Total time taken to generate the page: 0.02664 seconds