Tweak BBcode URL

https://www.phpbb.com/ideas/
Post Reply
Author:
***Blaze***
Posted:
Wed Nov 20, 2013 3:54 pm
Rating:
Status:
New
User avatar
***Blaze***
Registered User
Posts: 53
Joined: Tue May 22, 2007 6:21 am
Location: Dankov, Russia
Name: Aleksej
Contact:

Tweak BBcode URL

Post by ***Blaze*** » Wed Nov 20, 2013 3:54 pm

If you press on BBcode URL you will see two windows with "Insert link" and "Enter description" - We obtain the following:

Code: Select all

[url=http://your link here]your text here[/url]
Screenshot 1
Screenshot 2

Thanks.

----------

View idea at: Tweak BBcode URL

Posted by ***Blaze***
My website ublaze.ru

User avatar
D@ve
Registered User
Posts: 143
Joined: Sat Aug 28, 2004 12:49 am
Location: Germany, Bretzfeld D.C.
Name: Dave Remmel
Contact:

Re: Tweak BBcode URL

Post by D@ve » Wed Nov 20, 2013 6:21 pm

-1...
For an (optional) wysiwig editor this would be okay. But I prefer the quote button the way it is.
2jesus.de - (german community for bible & faith)
phpBB.de - the German support community for pbpBB

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: Tweak BBcode URL

Post by Jessica » Wed Nov 20, 2013 6:43 pm

This would be very useful +1
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Master_Cylinder
Registered User
Posts: 761
Joined: Wed Jun 26, 2013 10:14 pm

Re: Tweak BBcode URL

Post by Master_Cylinder » Wed Nov 20, 2013 7:58 pm

What happens if the user doesn't input either? Does it break something or just leave the =http* and/or description blank? What if I've already pasted/typed a URL or the description in the text box and selected it before hitting the URL bbcode, will it know which is which? Will it put the description where the =http part should be or vice-versa? Can the bbcode system handle that much logic?

I'm not sure about this one yet. I like it but will it cause more problems than it solves? Converting magic urls to topic/title makes sense but I think it'd be harder to make it work with the bbcode since not everyone hits the bbcode button before they add the url/description.

Since we're talking about bbcode though, somebody could write one to test and then try to get that added to the core if it works well enough. *shrug*

User avatar
peopleopinion
Registered User
Posts: 372
Joined: Thu Nov 07, 2013 7:12 pm
Contact:

Re: Tweak BBcode URL

Post by peopleopinion » Tue Nov 26, 2013 4:29 pm

+1 for this: it will help users to insert url with ease.
But IMHO could be better to have just one dialog like the attachment;
Attachments
URL-window.png
URL-window.png (11.36 KiB) Viewed 150 times
Please explicate why you voted negative or positive, so it will be possible to better understand each one's point of view.
Please visit and vote my website and express freely your opinion on it (phpbb ver.: 3.0.12):
http://peopleopinion.altervista.org
Thanks. Best Regards, peopleopinion.

User avatar
peopleopinion
Registered User
Posts: 372
Joined: Thu Nov 07, 2013 7:12 pm
Contact:

Re: Tweak BBcode URL

Post by peopleopinion » Tue Nov 26, 2013 4:42 pm

Master_Cylinder wrote:What happens if the user doesn't input either? Does it break something or just leave the =http* and/or description blank? What if I've already pasted/typed a URL or the description in the text box and selected it before hitting the URL bbcode, will it know which is which? Will it put the description where the =http part should be or vice-versa? Can the bbcode system handle that much logic?

I'm not sure about this one yet. I like it but will it cause more problems than it solves? Converting magic urls to topic/title makes sense but I think it'd be harder to make it work with the bbcode since not everyone hits the bbcode button before they add the url/description.

Since we're talking about bbcode though, somebody could write one to test and then try to get that added to the core if it works well enough. *shrug*
I trust developers that will optimize the behavior of the code to solve these situations.
Please explicate why you voted negative or positive, so it will be possible to better understand each one's point of view.
Please visit and vote my website and express freely your opinion on it (phpbb ver.: 3.0.12):
http://peopleopinion.altervista.org
Thanks. Best Regards, peopleopinion.

User avatar
AmigoJack
Registered User
Posts: 5605
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Tweak BBcode URL

Post by AmigoJack » Wed Nov 27, 2013 7:50 am

That's not "tweaking" a BBCode, that's "tweaking" the editor.

Also see Re: links from highlighted text and following.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

brunoais
QA Team
Posts: 420
Joined: Wed Jun 18, 2008 10:50 am

Re: Tweak BBcode URL

Post by brunoais » Sun Dec 15, 2013 9:18 am

The WYSIWYG editor will have that in both modes.

If requested, the popup can be made optional.

Post Reply

Return to “phpBB Ideas”