MyBB Community Forums

Full Version: color problem?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi. when select some text and change their color, only the first color is appear. For example:
1) select the first line and color it with red:
[/color-]First Line[color=#FF0000-]

2) select another line and color it with blue:
[/color-]Second Line[color-]

as you see, the second line color code generated without the number of the color!?
Note: "-" is just to allow text to appear.

how can I solve that problem?

Thanks[/color]
After all, it should be like this:
[color=color] text [/color]
You have your tags around the wrong way, it should be as virus4 says.
Try using the tags in the editor to learn how they work.
you didn't understand the problem!!!

the problem is not the order of the generated tag!!!

The problem is that the second color tag have no code for the selected color, just
[color-][/color-]

I know that the above tags seq. is wrong... I wrote them just for example... no problem with anything else the problem I telling about.
I think this is a really old bug... [Issue #2]
I'm using the latest version of mybb?!
it may be from the style I'm using?
anyway, how can I fix it?

Thank's in advance Matt
I think that he wants to end a spesific color. But if I am correct, it should just end the first color if they are nested. Maybe I am just misundersanding this all though.

Example:
[color=red][/color=red]