Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add "unban" link in ModCP on Banned Users Details »
Add "unban" link in ModCP on Banned Users
Mod Version: 1.00, by Christine (Member) Christine is offline
Developer Last Online: May 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 7
Released: 28 Mar 2004 Last Update: Never Downloads: 6
Not Supported  

When a user search is done in the ModCP, it shows Ban as an option beside the username.

What this hack does, is look at the usergroup when displaying the table, and if the user is in usergroupid 8 (the default banned group) it displays "unban" so that it is clear that the user is banned. This 'unban' link takes them to the unbannng function in banning.php and unbans the user.

VERY simple to install.

If you have multiple banned groups, you can change that "8" to an IN (8,x) format.

Enjoy!
Please note: I have the 'Mods change usergroup' hack installed, so the screenies are showing that link as well -- that is not default vB, but the rest is!

Screenies are of before and after:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenie.jpg
Views:	81
Size:	19.5 KB
ID:	17647   Click image for larger version

Name:	after.jpg
Views:	96
Size:	48.3 KB
ID:	17648  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 29 Mar 2004, 03:43
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Do you need to add this phrase, too?

$vbphrase['unban_user']
Reply With Quote
  #3  
Old 29 Mar 2004, 12:05
Christine's Avatar
Christine Christine is offline
 
Join Date: Nov 2001
Real name: Christine. Really.
Sorry - thought that was in there. Reuploading file.

Thanks!

__________________
L'chaim
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 17:14.

Layout Options | Width: Wide Color: