vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   SuperMods can Unban from ModCP! (https://vborg.vbsupport.ru/showthread.php?t=48814)

N9ne 02-10-2003 10:00 PM

SuperMods can Unban from ModCP!
 
NOTE: Download the attached file and open in txt editor to see instructions!
---------------------------------------------------------------------
Supermods can unban users: by N9ne on 11th Feb 2003, Copyright 2003
---------------------------------------------------------------------
Files to modify:
mod/user.php
---------------------------------------------------------------------
For: 2.2.x
---------------------------------------------------------------------
Description: This hack will add a link next to "View User" in the modCP
after searching for a member. The link will read "Unban" and will only show
if the user is banned. If the user isn't banned, the link will not show.
---------------------------------------------------------------------
Modification: You probably have a usergroup created from the AdminCP
in which you put banned users as an admin. You can modify this hack so
supermods can unban users in that group too. You may even have more
than 2 usergroups for banned users, this hack is fully customizable, just
request any customizations you would like in the support thread at vb.org.

The instructions in this file will only show you how to make it so supermods
can unban users who were banned from the modCP.
--------------------------------------------------------------------

N9ne 02-11-2003 09:22 PM

screen 1.

N9ne 02-11-2003 09:22 PM

screen 2.

N9ne 02-11-2003 09:22 PM

screen 3.

N9ne 02-11-2003 09:34 PM

Note: In screenshot 1, you see Stealth Ban and Parse Error Ban, they're part of other hacks ;). Parse error ban is something I made from my Blank page ban hack ;).

Ignore them, I forgot to take them out of the screen shot ;).

JHSoundZ 02-12-2003 01:01 AM

Wow since DrShark didn't reply to this thread like he always does, I thought I would. Nice work, I may install it...

init

Darth Cow 02-12-2003 02:55 AM

Nifty :). I created a hack like this for my own forum, actually, since it didn't make sense super mods could ban but not unban if there were a mistake. But I was too lazy to realize it :D.

Xenon 02-12-2003 04:48 PM

nice work n9ne :)

ok with my mods can edit users this is possible also (indirekt) so i don't need it, but nice :)

N9ne 02-12-2003 04:55 PM

Quote:

Originally posted by Xenon
nice work n9ne :)

ok with my mods can edit users this is possible also (indirekt) so i don't need it, but nice :)

Oops, didn't know you could do that. But I think in your hack, they can just change the usergroup? This will only display an unban link if the user is banned by mods, and the smods can only unban those who were banned by smods :).

Xenon 02-12-2003 05:21 PM

that's why i said indirect ;)

just move users out of banned group is like unbanning ^^


All times are GMT. The time now is 08:25 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.01079 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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