Hi there,
I have a problem with the installation of the premoderation plugin, especially with the "posts not visible hack".
The plugin runs, ie if a not registered user posts a message, it will not be displayed in the board, but there appears a text, that tells other users that there is a message waiting to be checked.
To solve this problem, there is a "posts not visible hack". As fas as I understand, I have to add the following code to the parseMessage - function in the "bb_plugins.php"-file.
The code is: /* Premoderation hack - do not display pending messages at all */ if($GLOBALS['action']=='vthread' and isset($GLOBALS['preModerationType']) and $GLOBALS['preModerationType']>0){ if($GLOBALS['posterText']==$GLOBALS['l_postQueued']) $GLOBALS['tpl']=''; else $GLOBALS['tpl']=makeUp('main_posts_cell'); //return; } /* --Premoderation hack */
I have tried to copy that to this function at several differnt positions, but I can't get rid of the "pending"-message.
Could anybody please help me to get this plugin running?
Thanks in advance, Groucho |