I have add this at core and work...but I wont add a drop menu if users select colour 4 write and their messages at chat.php are at colour select...[/b]
Colours Text Chat.php Page
Collapse
X
-
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
-
Guest
metulj... both are same... "color" at yours... and "colour" at mine.. that`s the difference between them
Comment
-
metulj... both are same... "color" at yours... and "colour" at mine.. that`s the difference between them[/b]
just put this on core.php
Code:$text = preg_replace("/\[colour\=(.*?)\](.*?)\[\/c\]/i","<font color=\"\\1\">\\2</font>", $text);
Code:[colour=red]you r boring[/colour]
opening and closing tags arent same at first place,
but even that would be ok with proper usage
which would be in your case
Code:[colour=red]RED TEXT[/c]
Code:[colour=red]you r boring[/colour]
(although normaly both tags would be equal!)
and your opening tag is wrong... theres one \(backslash) to manyIt's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
Guest
Comment