Quote:
Originally Posted by bplinson
Found a bug.
|
Fixed a bug.
I'll release a 1.05 with this fix in it as soon as I fix the moderated post thing cherylferraro noticed. For now, if you want you can edit your "Encheferizer - showthread title" plugin, and replace the PHP code with this version:
PHP Code:
// Product: Encheferizer 1.05
// Author: Hugh Messenger (cheesegrits)
global $encheferize_all_perps, $encheferize_perps, $chef_parser, $swedish_chef, $chefids, $chefforumids, $vuserid;
if (in_array($thread['forumid'],$chefforumids))
{
$thread['title'] = $swedish_chef->encheferize(strip_bbcode($thread['title'], true));
$foruminfo['title'] = $swedish_chef->encheferize(strip_bbcode($foruminfo['title'], true));
$foruminfo['description'] = $swedish_chef->encheferize(strip_bbcode($foruminfo['description'], true));
}
else if (in_array($thread['postuserid'],$chefids) and
(!$vuserid or !in_array($vuserid,$chefids) or $encheferize_all_perps or
($encheferize_perps and $thread['postuserid'] == $vuserid)
)
)
{
$thread['title'] = $swedish_chef->encheferize(strip_bbcode($thread['title'], true));
}
-- hugh