Quote:
Originally Posted by KW802
To allow your administrator group to bypass being moderated (assuming that you have quotes moderation turned on in your ACP) make the following changes to quotes.php......
Find....
Code:
if (empty($author) OR empty($quote))
{
eval (print_standard_error('error_requiredfields'));
}
And below it add:
Code:
if ($bbuserinfo['usergroupid'] == 6)
{ // Do not moderate administrator quotes
$moderate_quote = 1;
}
else
{ // Use the moderation option set in the ACP
$moderate_quote = $vboptions[moderatequotes];
}
Right below that you should see....
Code:
$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "quotes (quote, author, userid, approved) VALUES ('" . addslashes($quote) . "', '" . addslashes($author) . "', $bbuserinfo[userid], $vboptions[moderatequotes])
");
Change the word " $vboptions[moderatequotes]" to " $moderate_quote" and try it out.
|
Hmmm... that didn't seem to do it for me. No noticeable change. Entries by the admin (me) still are stuck in the moderate queue.
I haven't looked into this much, but.....
BTW - My account is a member of the administrators group, but that's NOT my primary usergroup. Dunno if that matters.