![]() |
IS anyone up to figuring out how I can set up my v 2.0 board so I only have to approve the initial thread starting message. Once that is approved, I do not want to have to approve replies. I really need this.
Thanks in advance. |
In the forum properties you can add somethin like " New thread agreement by mod. " and the same for new message , you just put it for the new thread ...
|
Could you be very specific.....I really appreciate your help
|
In the FOrum part of admin area :
Choose Modify then edit on the forum you want to moderate then : Put Moderator Queue (Require moderator validation before new threads are displayed) to On. *cheers* |
I understand that but thank you. I am already doing that. What I want to do is leave that but I do not want to moderate / have to approve individual replies. All I want to do is approve the initial starting post of a thread.
|
If you look for the reference to $visible inside the "INSERT INTO post" query in newreply.php and replace it with "1", it should work.
|
I don't see where to change that at??
look below: } else { if ($attachmentid and !$foruminfo[moderateattach]) { $DB_site->query("UPDATE thread SET attach = attach + 1 WHERE threadid = '$threadid'"); } $DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmili e,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($ title))."','".addslashes(htmls pecialchars($postusername))."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($mess age)."','$allowsmilie','$signa ture','$ipaddress','$iconid','$visible')"); $postid=$DB_site->insert_id(); indexpost($postid,0); if ($visible) { if ($threadinfo[replycount]%10==0) { $replies=$DB_site->query_first("SELECT COUNT(*)-1 AS replies FROM post WHERE threadid='$threadid'"); $DB_site->query("UPDATE thread SET lastpost='".time()."',replycount='$replies[replies]',lastposter='".addslashes($bbuserinfo[username])."' WHERE threadid='$threadid'"); } else { $DB_site->query("UPDATE thread SET lastpost='".time()."',replycount=replycount+1,last poster='".addslashes($bbuserin fo[username])."' WHERE threadid='$threadid'"); } } |
Actually Ed... I did that and it screws up the posting time and lightbulbs on the forum home page... A better solution is:
In newreply.php find: PHP Code:
PHP Code:
|
Works like a charm!
Thanks guy! |
Quote:
Do you know if a similar hack would work to make all unregistered posts invisible (i.e. sent to the moderation queue) while registered posters messages are set to visible=1? |
All times are GMT. The time now is 11:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|