vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Moderated USER in only one BOARD (https://vborg.vbsupport.ru/showthread.php?t=156570)

oldengine 08-29-2007 09:23 PM

Moderated USER in only one BOARD
 
When I need to throttle a user on one particular board in my forums, it is an all or nothing situation. I can put him in a moderated user group and deal with it on ALL of my forums or I can BAN him on one particular forum. I'm looking for some middle ground here with a simple mod...
Code:

If user number in_array (user numbers) AND forum number in_array (forum numbers) DO moderate the user.
Does any particular template deal with this? What are the variables that go into my code?

Paul M 08-29-2007 09:54 PM

Create a moderated usergroup and add them to it as a secondary user.

oldengine 08-30-2007 05:23 PM

Insanely, I have 35 forums and 15 user groups, 10,650 members and 226,500 posts. Things can easily get out of control and I need another user group about as much as I need another hack. :eek:

I guess what you are saying is to create a moderated user group just for this one situation and with the use of "Forum Permissions" flag what that user group can and cannot do on that particular forum.

Then, on edit user, additional user group flags take priority over their primary user group status and will therefore control that user in that single forum? I have already thought of a name for this group. :cool:

Yikes! :erm: He may just remain moderated on everything. Troublemakers! :mad:

oldengine 09-06-2007 02:51 PM

Problem solved by duplicating the user's usergroup and then setting "special needs" in Forum Permissions for that specific forum and usergroup.


All times are GMT. The time now is 09:12 PM.

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.01113 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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