The [URL] button - a suggestion

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15619
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

The [URL] button - a suggestion

Post by ChrisGreaves »

Probably beyond the bounds, but worth asking ..

When I have a link, I copy it to the clipboard.
Then I select the appropriate text in my message, click the URL button, which surrounds my selection with {URL} and {URL}.
I paste in my link, than have to key in an equal sign.

All too often I get it wrong place!

Would it be possible to include the = sign in the leading {URL} to generate {URL=}?

It'd be interesting to scan the lounge and see how many {URL=} there were compared to {URL}.

P.S. This is not the most critical issue in my life right now (grin)
There's nothing heavier than an empty water bottle

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: The [URL] button - a suggestion

Post by HansV »

The problem is that the URL tag has two forms:

[url]http://www.eileenslounge.com[/url] results in http://www.eileenslounge.com.
[url=http://www.eileenslounge.com]Eileen's Lounge[/url] results in Eileen's Lounge.

If we could change the text inserted by clicking URL (I'm not sure we can), the first form would become more prone to errors...

By the way, I and the other admins seldom have to edit incorrectly entered URL tags here in Eileen's Lounge. In Woody's Lounge we had to do this many times a day.
Best wishes,
Hans

User avatar
Bigaldoc
PlatinumLounger
Posts: 3757
Joined: 24 Jan 2010, 11:00
Location: Lexington, KY, USA

Re: The [URL] button - a suggestion

Post by Bigaldoc »

ChrisGreaves wrote:Probably beyond the bounds, but worth asking ..

When I have a link, I copy it to the clipboard...
Chris, you may want to think about using a Fx addon to make link copying a bit more friendly to The Lounge:

Copy Link Text (CoLT)

User avatar
John Gray
PlatinumLounger
Posts: 5408
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: The [URL] button - a suggestion

Post by John Gray »

Really, this 'URL completion' feature is something which phpBB should provide as "standard issue". Other BBSes make a very good job of it (particularly vBulletin)...

I believe I have commented on this matter some months ago?
John Gray

"(or one of the team)" - how your appointment letter indicates you won't be seeing the Consultant...

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15619
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: The [URL] button - a suggestion

Post by ChrisGreaves »

HansV wrote:The problem is that the URL tag has two forms:
Thanks Hans.
If I understand you, it would mean we'd need an extra URL button:-
1.png
You do not have the required permissions to view the files attached to this post.
There's nothing heavier than an empty water bottle

User avatar
HansV
Administrator
Posts: 78485
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: The [URL] button - a suggestion

Post by HansV »

The URL tag is one of the tags built in to phpBB, along with Quote, Code, List etc. There's quite a bit of code behind it to prevent the tag from being abused for malicious purposes; this code is not accessible to us.
A new URL= tag would be a custom tag that would lack this protection.

As Bigaldoc mentioned, there are add-ins for Firefox that make it easier to create URL tags. Apart from the one he linked to:

BBCode (there is an update for Firefox 4)
BBCodeExtra (should work in Firefox 4)
DM BBCodeExtension (doesn't mention Firefox 4 compatibility yet)
Best wishes,
Hans

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15619
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: The [URL] button - a suggestion

Post by ChrisGreaves »

HansV wrote:A new URL= tag would be a custom tag that would lack this protection.
OK, thanks.
It's not a big deal, I just thought if it was a copy-and-paste (I know, I know; I'm starting to sound like my clients ... :grin: )
There's nothing heavier than an empty water bottle

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15619
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: The [URL] button - a suggestion

Post by ChrisGreaves »

Bigaldoc wrote:Chris, you may want to think about using a Fx addon to make link copying a bit more friendly to The Lounge:
Copy Link Text (CoLT)
Al, I hate add-ons with a passion, but in this case I'll make an exception:
Let's see if it works ....
Torontopreneur
yes! It does.
Thanks!
There's nothing heavier than an empty water bottle

User avatar
Bigaldoc
PlatinumLounger
Posts: 3757
Joined: 24 Jan 2010, 11:00
Location: Lexington, KY, USA

Re: The [URL] button - a suggestion

Post by Bigaldoc »

Thanks for your links, Hans. I wasn't aware of those (hadn't looked too hard, really) but will check 'em out.

And finally, I know I've mentioned this one in the past also, but Alan Miller's javascript (bookmarklet) code still works in Firefox 4. In case you want to try and not have to search the "other place," here it is:

javascript:%20void(prompt('Lounge%20URL',''%20+%20document.title%20+%20''%20));

If you execute that bookmark while on the URL you want to paste, it opens a little window and all you have to do is hit Ctrl-C and close the window.