Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ban via Post Details »»
Ban via Post
Version: 1.7, by FullyTested FullyTested is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.8 Rating:
Released: 11-05-2007 Last Update: 03-21-2008 Installs: 63
DB Changes Uses Plugins Template Edits
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

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:
https://vborg.vbsupport.ru/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.
.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-06-2007, 07:22 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice...Thank you. I will install soon.
Reply With Quote
  #3  
Old 11-06-2007, 07:44 AM
shadowevil shadowevil is offline
 
Join Date: Apr 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod ... Installed
Reply With Quote
  #4  
Old 11-06-2007, 08:56 AM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 11-06-2007, 12:51 PM
sola sola is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 11-06-2007, 01:23 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good one - thanks! I am going to uninstall the thread ban and install this one instead
Reply With Quote
  #7  
Old 11-06-2007, 03:17 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love you....thanks

[high]* bigcurt installs[/high]
Reply With Quote
  #8  
Old 11-06-2007, 03:34 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man this is HOT, installed.

EDIT: Just looking at the download, 6 PHP file edits is a bit much I reckon...
Reply With Quote
  #9  
Old 11-06-2007, 04:16 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the postings php info you wrote:

Quote:
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:
Quote:
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 11-06-2007, 07:26 PM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply


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


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05134 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete