vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Moderate ONLY Threads But Not Posts For A Usergroup (https://vborg.vbsupport.ru/showthread.php?t=82619)

edbri871 06-07-2005 07:35 AM

Moderate ONLY Threads But Not Posts For A Usergroup
 
Is there a way in Forum Permission to moderate ONLY threads but not posts for a Usergroup. I know it can be set moderate only thread and not posts in Forum Manager but that moderates ALL Usergroups other than Admin and Moderators.

The drawback is I cant find a way to allow a certain Usergroup to be able to post a Thread in a specized forum without moderation unless I allow all Usergroups to post Threads without moderationin that forum from Forum Manger. If I then use Forum Permissions to moderate those I dont want posting Threads in this section without moderation then ALL thier posts in addition to their threads are moderated as well which isnt what is wanted and creates a pileup.

Thanks.

Andreas 06-07-2005 02:45 PM

Turn off all moderation settings for this forum.

In functions_newpost.php
FIND
PHP Code:

                // ### POST NEW THREAD ###
                
if ($type == 'thread')
                { 

BELOW that ADD
PHP Code:

if ($foruminfo['forumid'] == AND is_member_of($bbuserinfoY))
{
    
$post['visible'] = 0;


X must be replaced with the forum ID, Y with the usergroup ID for which threads should go into moderation.

Revan 06-07-2005 02:50 PM

Should be
PHP Code:

is_member_of 

not
PHP Code:

is_member_o 

;)

Andreas 06-07-2005 02:52 PM

Yep, changed. Damn typos ;)

edbri871 06-07-2005 04:23 PM

Im also wondering if the reverse can be done just allowing certain Usergroups to bypass the default moderation set in Forum Manager. Just curious of course as the the above should work just fine. Thanks much and will try this later today.

oldford 07-20-2006 04:49 PM

I know this is an old thread, but this is exactly what I'm looking for. But it doesn't seem to work in 3.5 (or I can't figure out where in functions_newpost.php the added code goes)

Anyone have any ideas? Thanks!

DanielMaidment 11-11-2010 06:17 PM

ive tried finding this code string on my forum php file (functions_newpost.php) and cant find it :/

Thanks for any help given :D

i have attached the php file (as its to olong to post here) i dunno where to put that coding strand

sorry for the massive time between posts and such


All times are GMT. The time now is 06:30 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.01076 seconds
  • Memory Usage 1,722KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete