Quote:
Originally Posted by El_Muerte
ah... figures.. ok here's a fix. Replace the content of the "/me main" plugin with:
Code:
if (!function_exists("bbcode_irc_me"))
{
$bbcode_irc_me_parser = null;
function bbcode_irc_me($username, $text)
{
global $bbcode_irc_me_parser, $vbulletin;
if ($bbcode_irc_me_parser == null)
$bbcode_irc_me_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$mask = $bbcode_irc_me_parser->tag_list["option"]["action"]["html"];
$res = str_replace(array("%2\$s", "%1\$s"), array($username, $text), $mask);
return $res;
}
}
$ircme_pattern = "/(^|\s)\/me ([^\r\n]+)/is";
the produced HTML however isn't validator valid, but shouldn't produce rendering issues.
or install the newer product .xml
|
How do we get it to show up in highlight or a certain color?
Also, how do we avoid this?
Quote:
The * Boofo hack is working now.
|
If /me comes after the first word, it shouldn't be parsed.