Quote:
Originally posted by Boofo
Don't forget the private.php.
|
Of course - thanks for reminding me

.
In private.php, find:
PHP Code:
$fromuserinfo=getuserinfo($message['fromuserid']);
Below that add:
PHP Code:
// fix /me when quoted
$message["message"] = preg_replace("#(^|\[.*\])/me (.*)$#im", "\\1[color=\"#FF9C58\"]* $fromuserinfo[username] \\2[/color]", $message["message"]);
// end fix /me
Also, please note that I used the matching code for /me to what I had several posts above. This is matching it to /me when it follows just vBcode as well - it shouldn't cause much trouble just installing this part of the hack though

.