Page 1 of 2
(re)move the "Code" button from the bbcode buttons
Posted: Thu Feb 08, 2007 3:21 pm
by Mordred
Only the mods know exactly how many posts they have to fix because of this, so I wonder why don't you just remove the darned button and be done with it!
If this is somehow too drastic, maybe move "Code" somewhere around "syntax" and make "php" bold, red or both.
Posted: Thu Feb 08, 2007 3:57 pm
by Kieran Huggins
Here here... and I wouldn't mind seeing both "list" types replaced with "Javascript" and "HTML".. if it's not too much trouble...
Posted: Thu Feb 08, 2007 4:17 pm
by feyd
The
Code: Select all
tag has to stay for various reasons for the boards to maintain legacy posts and because it is still useful/needed now.
Due to how the
Code: Select all
button is integrated, it's not possible to give it special highlighting without removing it from that integration.
Adding buttons for individual highlighting constructs probably won't happen.
Re: (re)move the "Code" button from the bbcode but
Posted: Thu Feb 08, 2007 4:20 pm
by RobertGonzalez
Mordred wrote:Only the mods know exactly how many posts they have to fix because of this, so I wonder why don't you just remove the darned button and be done with it!
If this is somehow too drastic, maybe move "Code" somewhere around "syntax" and make "php" bold, red or both.
Believe it or not, all of these suggestions were brought up in moderator discussions a while ago. We even talked about adding a monospace/code entry to the Syntax dropdown, but for reasons mentioned by feyd, we truly cannot do it without adding heaps of work to the admins when phpBB releases new code.
So while the thought is nice, it just cannot be done in a practical way.
PS And you wouldn't believe how many posts we fix... even if we told you...

Posted: Thu Feb 08, 2007 4:27 pm
by Kieran Huggins
Fair enough! (it never hurts to ask

)
Posted: Thu Feb 08, 2007 4:29 pm
by AKA Panama Jack
feyd wrote:The
Code: Select all
tag has to stay for various reasons for the boards to maintain legacy posts and because it is still useful/needed now.[/quote]
You can leave the code just remove the button and reference to it in the BBCode FAQ http://forums.devnetwork.net/faq.php?mode=bbcode
Posted: Thu Feb 08, 2007 4:30 pm
by feyd
The button needs to remain in some form too.
Posted: Thu Feb 08, 2007 4:31 pm
by AKA Panama Jack
feyd wrote:The button needs to remain in some form too.
Why? I have been working in the PHPBB internals for... well... years and there isn't any reason for it to stay if everyone wants it removed. There are no code restrictions that require the button in the template to remain. It can easily be removed from the template and not cause ANY problems.
Posted: Thu Feb 08, 2007 4:32 pm
by feyd
It has nothing to do with the internals.
Posted: Thu Feb 08, 2007 4:34 pm
by AKA Panama Jack
feyd wrote:It has nothing to do with the internals.
Then explain why it needs to be retained in the template?
If the only reason is just because you want it there just say that instead of being so obscure.
Sheesh
Posted: Thu Feb 08, 2007 4:57 pm
by feyd
I'm not being obscure. You may think so, but I will disagree.

Posted: Thu Feb 08, 2007 5:50 pm
by RobertGonzalez
I don't think an explanation is necessary. The fact is the moderator/administrator team has had discussion about this in the past and we have come to an agreement that the button stays. That should be enough.
Posted: Thu Feb 08, 2007 7:18 pm
by Ambush Commander
It could be done with CSS... but not very portably.
Posted: Fri Feb 09, 2007 12:25 am
by Kieran Huggins
greasemonkey?
Posted: Fri Feb 09, 2007 3:10 am
by Mordred
I am almost completely sure (haven't checked though) that the button placement depends on the theme, so it can be moved without this affecting the installation of new versions.