Quote:
Originally Posted by cherylferraro
On my board unregistered posters are moderated. I just noticed that all of their posts have been Encheferizerized. Have I set something up incorrectly?
I had to disable the hack to get their posts to display normally...
|
I think I have a fix for this. It's a little hard for me to be sure, as I'm on the road and don't have access to my actual test server ... so I'm having to (very carefully!) test it on a couple of live servers.
[Edit - I just got into my test board, and this fix works for me just fine. I set guests to be moderated, posted, approved, posts show up normally.]
Could you try this. Find your "Encheferizer - main postbit", and replace the PHP with the following. There's actually only one small change, but it's easier to just copy & paste the whole thing in there:
PHP Code:
// Product: Encheferizer 1.05
// Author: Hugh Messenger (cheesegrits)
global $thread, $encheferize_all_perps, $encheferize_perps, $chef_parser, $swedish_chef, $chefids, $chefforumids, $vuserid, $chef_tag_list;
$safeScripts = array(
'showpost',
'showthread'
);
if (in_array(THIS_SCRIPT, $safeScripts) and (
in_array($GLOBALS['forumid'],$chefforumids) or (
$this->post['userid'] and (
in_array($this->post['userid'],$chefids) and (
!$vuserid or
!in_array($vuserid,$chefids) or
$encheferize_all_perps or (
$encheferize_perps and
$this->post['userid'] == $vuserid
)
)
)
)
)
)
{
$this->post['title'] = $swedish_chef->encheferize(strip_bbcode($this->post['title'], true));
$cheftext = $chef_parser->do_parse($swedish_chef->bb_encheferize($this->post['pagetext'],0,$chef_tag_list,$didCut),0,1,1,1,1);
}
Let me know if this fixes your problem, and I'll wrap this and another change up and release 1.05.
-- hugh