I changed the /me tag a bit
in /admin/functions.php
I use this code:
PHP Code:
if ($dome) {
global $post;
$bbcode = preg_replace('#^/me (.*)$#im', "[me=$post[username]]\\1[/me]", $bbcode);
}
and in newreply.php
I use this code:
PHP Code:
$pagetext = preg_replace('#^/me(.*)$#im', "[me=$originalposter]\\1[/me]", $pagetext);
When parsed it will result in this:
[me=user]say something silly[/me]
Then I use a custom vbcode to add the color and the *
Code:
<font color="#339933">* {option} {param}</font>
You know how it works
This way when you qoute a /me tag the text in the qoute will also be the right color.
Hope this might help some people