PDA

View Full Version : Moderate new threads only


melondog
03-26-2002, 10:00 PM
Here's my second hack. It's very easy to do, it allows only new threads to go into the moderation queue.

In newthread.php find this:
$visible=iif($foruminfo[moderatenew],0,1); and delete it.

Next, we need to change a line a little under that. Find:
// auto bypass queueing for admins/mods
if (ismoderator($foruminfo[forumid])) { And the replacement is:
// auto bypass queueing for admins/mods and other usergroups
if (ismoderator() or $bbuserinfo[usergroupid] == 8) { You can replace 8 as needed, or even delete or $bbuserinfo[usergroupid] == 8 if you don't need extra usergroups.

Comments and questions are welcome.

JulianD
03-27-2002, 04:45 AM
Nice hack, very useful for me :)