MyBB Community Forums

Full Version: [B] Multiple color tags = break
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
If you look at my sig,you'll know what I mean. I have all the tags closed, but it breaks - and yes, the color tag is correct - got it right from the color bar(in the editor). Is this a bug, or a PHP limitation?
Can you c/p the bbcode in your sig here?
Yuppers:
[b][color=#109eff]If you want part in the [i]BETA[/i] testing of my CMS, [url=http://community.mybboard.net/private.php?action=send&uid=8469]PM me[/url]!
Need [color=#FFA500]5-10[/color] more testers/bug reporters.[/color][/b]
I think it is breaking because you have both closing tags last.


[b][color=#109eff]If you want part in the [i]BETA[/i] testing of my CMS, [url=http://community.mybboard.net/private.php?action=send&uid=8469]PM me[/url]!
Need[/color] [color=#FFA500]5-10[/color][color=#109eff] more testers/bug reporters.[/color][/b]

Use this.
(2009-04-09, 12:46 AM)Joshua Mayer Wrote: [ -> ]I think it is breaking because you have both closing tags last.


[b][color=#109eff]If you want part in the [i]BETA[/i] testing of my CMS, [url=http://community.mybboard.net/private.php?action=send&uid=8469]PM me[/url]!
Need[/color] [color=#FFA500]5-10[/color][color=#109eff] more testers/bug reporters.[/color][/b]

Use this.
It was intentional that their way. I shouldn't need to keep closing+opening themConfused
The tags shouldn't be nested. You open one, you close one. Similarly, if you incorrectly nest HTML, you'll get undesired results. Plus, the quotes works as nested because it was designed to be nested. Some code additions and changes would need to be added in order to accept the nesting for colors. However, it wouldn't be worth the time to do so as it's improper usage.
But it should work fine nested, it's just the opening tags.Confused Unless it's just me..
[b][color=#109eff]If you want part in the [i]BETA[/i] testing of my CMS, [url=http://community.mybboard.net/private.php?action=send&uid=8469]PM me[/url]!
Need[/color] [color=#FFA500]5-10[/color][color=#109eff] more testers/bug reporters.[/color][/b]
So you would need to do it like this?
@ Josh: If this is just how it's supposed to be, I guess so.
(2009-04-09, 12:58 AM)Joshua Mayer Wrote: [ -> ]
[b][color=#109eff]If you want part in the [i]BETA[/i] testing of my CMS, [url=http://community.mybboard.net/private.php?action=send&uid=8469]PM me[/url]!
Need[/color] [color=#FFA500]5-10[/color][color=#109eff] more testers/bug reporters.[/color][/b]
So you would need to do it like this?

Precisely.


(2009-04-09, 12:58 AM)Tom Loveric Wrote: [ -> ]But it should work fine nested, it's just the opening tags.Confused Unless it's just me..

Again, nesting isn't supported for the color tags.
Pages: 1 2