vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   allow mods to ... (https://vborg.vbsupport.ru/showthread.php?t=34429)

trainer 01-24-2002 03:00 AM

i have setup a user group called suspend. this group is limited to only a suspend forum where they can explain their action if they want back into the rest of the forums. didn't want to ban someone when maybe a warning is needed. long story but it suits my site

i want to let the mods be able to move a member into the suspend category. since they can ban someone with a single click in the mod control panel i figured someone would be able to just modify the ban portion of the /forums/mod/user.php to allow the mods to move that person to the suspend user group.

i figured there might be a few people that would be interested in a hack like this. shouldn't be very hard, actually just have to edit the ban user code a little and add a link in the /forums/mod/index.php to point to the suspend portion. well the idea is there i hope someone can go with it

thanks

okrogius 01-24-2002 10:49 AM

If you don't need te actual ban gorup you can change it's permissions...

Otherwise jsut look in the mod cp for a fiel. Search for something like begin ban. JUst copy over the whole code but change the usergroup name from Banned By Moderators to suspended. Then adda link in indedx.php in mod folder.

JWB 01-24-2002 11:57 AM

This would also be a good idea for a contributing members hack.. You could easily transfer members to the usergroup that contains special abilities... :up:


All times are GMT. The time now is 11:59 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.01249 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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