vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Only want to moderate (approve) new threads (https://vborg.vbsupport.ru/showthread.php?t=12463)

glenv 03-27-2001 06:03 PM

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.

03-27-2001 10:21 PM

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 ...

03-27-2001 11:28 PM

Could you be very specific.....I really appreciate your help

03-27-2001 11:59 PM

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*

03-28-2001 12:19 AM

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.

03-28-2001 12:24 AM

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.

Sarge 04-17-2001 10:09 AM

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'");
}
}

Wayne Luke 04-17-2001 01:53 PM

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:

  $visible=!$foruminfo[moderatenew]; 

replace with:
PHP Code:

// make all replies visible WL 18-Mar-2001
  
$visible=1;
// End Mod 


Sarge 04-17-2001 04:29 PM

Works like a charm!
Thanks guy!

DaBuzz 05-22-2001 07:14 PM

Quote:

Originally posted by wluke
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:

  $visible=!$foruminfo[moderatenew]; 

replace with:
PHP Code:

// make all replies visible WL 18-Mar-2001
  
$visible=1;
// End Mod 


wluke,

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
  • Page Generation 0.00971 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete