Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ban via Post Details »
Ban via Post
Mod Version: 1.7, by FullyTested (Member) FullyTested is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.6.8 Rating: (7 votes - 4.71 average) Installs: 63
Released: 06 Nov 2007 Last Update: 22 Mar 2008 Downloads: 660
Not Supported DB Changes Uses Plugins Template Edits Code Changes Additional Files Re-usable Code Translations  

Ban via Post
by FullyTested

This mod allows your moderators to do the following:
  1. Ban a user from the site and/or a thread via the username drop down menu in a post (as well as the admin/mod cp).
    All moderators with banning/unbanning permissions for the forum can use this feature.
    This opens a page which allows you to select a ban period, whether or not to allow the user to view the thread (for thread bans), and provide a text message which the user will see when trying to enter the site or view / reply to the thread.
  2. Once you ban the user you are returned to the same post from which you banned the user.
    You will now notice a small icon besides the ip icon.
    Clicking on that will open a page that will display the current ban information and in the case of a thread ban, also a list of other threads from which this user is banned.
    You will also have the option to edit or lift the ban from here.
    You may now also unban the user from the username drop down menu.
  3. From the admin cp vbulletin settings you can set whether you wish to have a Private Message sent to the user whenever they are banned/unbanned from a thread.
  4. You may also view, edit, or lift bans from the admin/mod control panel. Just click on the ‘view banned users’ or 'view banned from thread users' link. If you turned on the feature to moderate permanent bans, this is where you will see a list of bans awaiting approval. You may approve, reject (lift), or edit (modify) moderated bans.

Available Options:
  • Limit bans to only Thread, only Site, or both Thread and Site bans via the postbit
    Banning permissions are set on a per moderator basis.
  • Send PM to User:
    You may choose whether you wish to send a private message to the user whenever they are thread banned/unbanned
  • Moderate Permanent Bans:
    Whether to moderate (approve, edit, reject) permanent site and/or thread bans.
    If this feature is turned on, all permanent site and/or thread bans are entered into a moderation queue requiring admin attention within 7 days of ban date. If no action is taken (approve, edit, reject), the ban reverts to a 7 day ban.
    You may also provide an email address to be used for notification that a permanent ban awaits approval.

For those of you who are only interested in Thread Bans, please see this mod:
http://www.vbulletin.org/forum/showthread.php?t=158445

To Intall:
Please see the 'readme' text file for installation instructions.
Installing this mod will take you approximatly 20 minutes, however, I do believe you will find it to be well worth the time and effort.


Revisions:

version 1.7
New 'includes/cron/remove_managed_bans.php'.
All you need to do is FTP this file to your server.
.

Download Now

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

Screenshots

Click image for larger version

Name:	sample1.gif
Views:	716
Size:	19.5 KB
ID:	72035   Click image for larger version

Name:	sample2.gif
Views:	378
Size:	52.1 KB
ID:	72036   Click image for larger version

Name:	sample3.gif
Views:	410
Size:	62.2 KB
ID:	72037   Click image for larger version

Name:	sample4.gif
Views:	601
Size:	100.7 KB
ID:	72038  

Click image for larger version

Name:	sample5.gif
Views:	385
Size:	54.9 KB
ID:	72039   Click image for larger version

Name:	sample6.gif
Views:	306
Size:	59.4 KB
ID:	72040   Click image for larger version

Name:	sample7.gif
Views:	276
Size:	8.3 KB
ID:	72041   Click image for larger version

Name:	sample8.gif
Views:	348
Size:	44.4 KB
ID:	72042  

Click image for larger version

Name:	sample9.gif
Views:	440
Size:	59.0 KB
ID:	72043  

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 06 Nov 2007, 08:22
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Real name: Jeremy
Nice...Thank you. I will install soon.
__________________
Global Gamers
My Modifications
Reply With Quote
  #3  
Old 06 Nov 2007, 08:44
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Great Mod ... Installed
Reply With Quote
  #4  
Old 06 Nov 2007, 09:56
thompson thompson is offline
 
Join Date: Jul 2007
Real name: Thomas
will install it. is there a germany language file ?

is there a chance to combine the mod so, that moderators can ban:

1. from a forum
2. from a thread
3. from a post
4. from complete forum

the perfekt ban system.
Reply With Quote
  #5  
Old 06 Nov 2007, 13:51
sola sola is offline
 
Join Date: Jan 2003
Aha! Now, this is what I have been waiting for. Mods need this more than the Admin. Thanks a lot.
Reply With Quote
  #6  
Old 06 Nov 2007, 14:23
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
good one - thanks! I am going to uninstall the thread ban and install this one instead
Reply With Quote
  #7  
Old 06 Nov 2007, 16:17
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Real name: Curtis C.
I love you....thanks

/me installs
__________________
My first vB template additions: Add User Color Legend - Add eBay profile to postbit
Curtis C.- Owner and Operator of KeyHunt
Important Linkage: Buy vB - vB Styles
Just wanna ask a vB related question contact me.
Reply With Quote
  #8  
Old 06 Nov 2007, 16:34
djdonx's Avatar
djdonx djdonx is offline
 
Join Date: May 2007
Man this is HOT, installed.

EDIT: Just looking at the download, 6 PHP file edits is a bit much I reckon...

Last edited by djdonx; 06 Nov 2007 at 16:51.
Reply With Quote
  #9  
Old 06 Nov 2007, 17:16
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
in the postings php info you wrote:

3). FIND (~ line 85)

case 'mergethread': $navbits[''] = $vbphrase['merge_threads']; break;
}

REPLACE with

// start code 'ban via post'
case 'banuserthread': $navbits[''] = $vbphrase['bvp_banthread']; break;
case 'liftbanthread': $navbits[''] = $vbphrase['bvp_liftthread']; break;
case 'banthreadinfo': $navbits[''] = $vbphrase['bvp_banthreadinfo']; break;
case 'banusersite': $navbits[''] = $vbphrase['ban_from_site']; break;
case 'liftbansite': $navbits[''] = $vbphrase['bvp_liftsite']; break;
case 'bansiteinfo': $navbits[''] = $vbphrase['bvp_bansiteinfo']; break;
// end code 'ban via post'
}
did you really mean to say replace with? or did you forget to add the:
case 'mergethread': $navbits[''] = $vbphrase['merge_threads']; break;
???

shouldn't it really say:
FIND (~ line 85)

case 'mergethread': $navbits[''] = $vbphrase['merge_threads']; break;
}

REPLACE with

case 'mergethread': $navbits[''] = $vbphrase['merge_threads']; break;
// start code 'ban via post'
case 'banuserthread': $navbits[''] = $vbphrase['bvp_banthread']; break;
case 'liftbanthread': $navbits[''] = $vbphrase['bvp_liftthread']; break;
case 'banthreadinfo': $navbits[''] = $vbphrase['bvp_banthreadinfo']; break;
case 'banusersite': $navbits[''] = $vbphrase['ban_from_site']; break;
case 'liftbansite': $navbits[''] = $vbphrase['bvp_liftsite']; break;
case 'bansiteinfo': $navbits[''] = $vbphrase['bvp_bansiteinfo']; break;
// end code 'ban via post'
}
???
Reply With Quote
  #10  
Old 06 Nov 2007, 20:26
FullyTested FullyTested is offline
 
Join Date: Aug 2007
yoyoyoyo,
Thanks for pointing out this mistake.
Version 1.1 now has the correct instructions.

No need to re-import the product.
Simply re-do instruction #3 in postings.rtf
Reply With Quote
  #11  
Old 06 Nov 2007, 21:03
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Thanks a lot
Reply With Quote
  #12  
Old 07 Nov 2007, 07:58
elrafei elrafei is offline
 
Join Date: Jan 2005
Thanks a lot
Reply With Quote
  #13  
Old 07 Nov 2007, 10:42
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
there is also a mistake in the modcp/banning.php instructions.

you said:
4). FIND (~ line 339)

$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
'threadid' => TYPE_INT
));

REPLACE with


// start code 'ban via post'
// added 'threadid' => TYPE_INT,
// end code 'ban via post'

$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
'threadid' => TYPE_INT
));
and it should say:

4). FIND (~ line 339)

$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
));

REPLACE with

// start code 'ban via post'
// added 'threadid' => TYPE_INT,
$vbulletin->input->clean_array_gpc('r', array(
'userid' => TYPE_INT,
'period' => TYPE_STR,
'threadid' => TYPE_INT
));
// end code 'ban via post'

Last edited by yoyoyoyo; 07 Nov 2007 at 11:57.
Reply With Quote
  #14  
Old 07 Nov 2007, 18:48
FullyTested FullyTested is offline
 
Join Date: Aug 2007
yoyoyoyo,

Once again you are correct.
Reply With Quote
  #15  
Old 07 Nov 2007, 22:21
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
are there usergroup permissions? I want admins and supermods to be able to ban from site and thread, but moderators to only be able to ban from thread.

Here is a TMS (template modification system) XML file, for those that have TMS installed.
Attached Files
File Type: xml templateedits-bvp_by_fullytested.xml (4.8 KB, 14 views)

Last edited by yoyoyoyo; 07 Nov 2007 at 22:34.
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


New To Site? Need Help?

All times are GMT. The time now is 12:00.

Layout Options | Width: Wide Color: