Quote:
Originally Posted by User_001
Yep, unless there is more than one spot that code is in..
Code:
$pagetext = trim(strip_quotes($pagetext));
// /me Hack
$pagetext = preg_replace('#^/me(.*)$#im', "[color=\"red\"]* $originalposter\\1[/color]", $pagetext);
// /me Hack
eval('$newpost[\'message\'] = "' . fetch_template('newpost_quote', 1, 0) . '";');
// fetch the quoted post title
edit: It works when the "/me" code is placed before the quote tags.
And to clarify, this is the only hack i am using. 
|
Yeah, it only seems to work for me when /me is on the first line of my post.