PDA

View Full Version : Moderate New Threads but not Replies


Ben Johnson
07-16-2002, 05:12 PM
I would really like to see this hack. Does anyone know how to do this?
I made a tutorials forum on my site and I want to moderate new threads. But I dont want to moderate replies.

Can anyone help. I will be willing to pay $ for someone that can write this hack or help me out.

Ben Johnson
07-17-2002, 02:27 AM
bump

Logician
07-17-2002, 08:22 AM
save your bucks to something worth paying, here you go: ;)

edit newthread.php, find:

$visible=iif($foruminfo[moderatenew],0,1);

After that add:


if ($foruminfo[forumid]==X)
{
$visible=0;
}

(REplace X with forumid you want moderation)
Enjoy..

amykhar
07-17-2002, 01:19 PM
If you don't want to moderate replies in ANY forum, there is an easier way that means you won't have to edit every time you add a new forum that you want to moderate threads in.

In newreply.php

Find:

$visible=!$foruminfo[moderatenew];


Change to


$visible = 1;


Been running it this way on my board for months.

skrazydogz
02-10-2008, 10:08 AM
I dont find the line in reply.php $visible=!$foruminfo[moderatenew];

Marco van Herwaarden
02-10-2008, 10:10 AM
I would be surprised if 6 year old information (probably for vB 2) would still work on your current version.