Page 1 of 1

Need some expertise - how to put color in text

PostPosted: Wed Mar 14, 2007 7:31 pm
Author: .QUACK.Major.Pain
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://aaquacks.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

<p><font>Nov. 17 [ICON] 4-8</font></a></p>

Above is what I am trying to print in red, but comes up in black.
I'm very new at code, more of a copy/paste and alter guy LOL.

Can anyone help me out with changing color of text.

Thanks.

Re: Need some expertise - how to put color in text

PostPosted: Wed Mar 14, 2007 8:07 pm
Author: Helter
where are you trying to display this?

Re: Need some expertise - how to put color in text

PostPosted: Wed Mar 14, 2007 8:36 pm
Author: .QUACK.Major.Pain
I have created a IM Portal to display our clan scrim results.
Green for wins and red for loses.

Re: Need some expertise - how to put color in text

PostPosted: Wed Mar 14, 2007 8:45 pm
Author: Frost
No he means what file or where exactly are you trying to put that html code.

Did you create a block and you're trying to include it there? If so make sure the block is marked HTML and not bbcode

If you're trying to add it to the integra files themselves, it will depend on what file you're trying. Eg. .php, .tpl. etc

Edit Nevermind I see it's a block. Just make sure it's clicked on HTML and it should work just fine.

Re: Need some expertise - how to put color in text

PostPosted: Thu Mar 15, 2007 4:50 am
Author: .QUACK.Major.Pain
Yea it's a block.

Here's all the code in the block:

<p><font>Nov. 17 [ICON] 4-8</font></a></p>
<p><font>Nov. 23 ][x][ 5-8</font></a></p>
<p><font>Dec. 10 [MECH] 8-2</font></a></p>
<p><font>Feb. 23 [TEC] 4-8</font></a></p>
<p><font>Mar. 3 [MECH] 4-0</font></a></p>
<p><font>Mar. 3 [MECH] 4-3</font></a></p>
<p><font>Mar. 7 [TEC] 3-7</font></a></p>
<p><font>Mar. 10 [TEC] 8-4</font></a></p>

Everything comes up black text.

Re: Need some expertise - how to put color in text

PostPosted: Thu Mar 15, 2007 11:41 am
Author: Frost
Well, I don't know, you have a lot of un-needed html code in there but I tried it on my board and you're right. It may be some kind of bug, I'll look at it more when I get home from work.

Until then use BBCode to get the same effect.

If you dont want it bold, remove [ b ] [ / b ]
Edit You will need to remove all instances of ":1db32e1c70" in the following code...
Edit 2 Well that's annoying, seems the numbers change, just remove ":whatever numbers" from the code..........

Code: Select all
[b][color=red]Nov. 17 [ICON] 4-8[/color]  [color=red]Nov. 23 ][x][ 5-8[/color]  [color=green]Dec. 10 [MECH] 8-2[/color]  [color=red]Feb. 23 [TEC] 4-8[/color]  [color=green]Mar. 3 [MECH] 4-0[/color]  [color=green]Mar. 3 [MECH] 4-3[/color]  [color=red]Mar. 7 [TEC] 3-7[/color]  [color=green]Mar. 10 [TEC] 8-4[/color][/b]


Will produce...

Nov. 17 [ICON] 4-8

Nov. 23 ][x][ 5-8

Dec. 10 [MECH] 8-2

Feb. 23 [TEC] 4-8

Mar. 3 [MECH] 4-0

Mar. 3 [MECH] 4-3

Mar. 7 [TEC] 3-7

Mar. 10 [TEC] 8-4

Re: Need some expertise - how to put color in text

PostPosted: Thu Mar 15, 2007 1:32 pm
Author: .QUACK.Major.Pain
I copied and pasted the code you put above, and selected BBcode in block edit.
It shows the coding. Everything in the edit box shows in the forum box exactly the same.

Been having other issues like that with other functions. Could it be a corrupt file?

Re: Need some expertise - how to put color in text

PostPosted: Thu Mar 15, 2007 7:18 pm
Author: .QUACK.Major.Pain
ok I got the bbcode to work - not supposed to enter the #'s

Thanks for the help lads.

I have talked to a few clan members to see if we can arrange a donation for you great lads.