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
  #42  
Old 11-16-2007, 03:49 AM
zippokid zippokid is offline
 
Join Date: Mar 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
If the last bitfield in group moderatorpermissions has the value 4194304 (which is the default before any other hacks may have been installed), then the new threadban bitfields should have 8388608 (which is 4194304 * 2) and 16777216 (which is 8388608 * 2)
thanks, i figured it out eventually but im stunned by the quick response heh

PS having problems where the postbit buttons just lead to a white screen but i may have made a mistake in the edits

going to try installing on a fresh install just to check
Reply With Quote
  #43  
Old 11-18-2007, 02:22 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like it cannot find the templates.
Try re-importing the product with 'allow overwrite' selected.
Reply With Quote
  #44  
Old 11-20-2007, 03:44 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.6
Revert to original 'includes/cron/remove_managed_bans.php' as 1.5 unbanned users it shouldn't have.

Has anyone else encountered the problem MrD has?
Reply With Quote
  #45  
Old 11-20-2007, 10:33 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice, but a very complex install process ....

I'd screw something up for sure ...

Does anyone know of a simpler version (and install) that adds banning capability for mods to the main forum pages?

Thanks ..

Regards,
Badger
Reply With Quote
  #46  
Old 11-21-2007, 03:59 PM
DoSe DoSe is offline
 
Join Date: Feb 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i like the idea on banning people from threads but ive had requests from members for the thread starter to be able to ban people from his thread.. like if there is no admins or mods on the person who started the thread can ban an annoying person or spammer or something from viewing his post.. is this possible? is there a mod like this anywhere?
Reply With Quote
  #47  
Old 11-24-2007, 01:18 AM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DoSe View Post
i like the idea on banning people from threads but ive had requests from members for the thread starter to be able to ban people from his thread.. like if there is no admins or mods on the person who started the thread can ban an annoying person or spammer or something from viewing his post.. is this possible? is there a mod like this anywhere?
I like this idea too
Reply With Quote
  #48  
Old 12-04-2007, 08:50 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
Version 1.6
Revert to original 'includes/cron/remove_managed_bans.php' as 1.5 unbanned users it shouldn't have.

Has anyone else encountered the problem MrD has?
Yes i am again im using the latest VB

Invalid SQL:

SELECT user.*,
userban.usergroupid AS banusergroupid, userban.displaygroupid AS bandisplaygroupid, userban.customtitle AS bancustomtitle, userban.usertitle AS banusertitle
FROM userban AS userban
LEFT JOIN userban_manage AS userban_manage ON(userban_manage.userid = userban.userid)
INNER JOIN user AS user USING(userid)
WHERE userban.bandate < 1195852530;

MySQL Error : Column 'userid' in from clause is ambiguous
Error Number : 1052
Date : Friday, November 30th 2007 @ 09:15:30 PM

have had to temp disable it
Reply With Quote
  #49  
Old 12-07-2007, 01:18 PM
Julrou Julrou is offline
 
Join Date: Jul 2007
Location: France
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot for this hack.

I've been waiting for such a hack for a long time... And the hack "Ban User From a Thread" is no longer updated...


Thank you very much. :up::up:


Jul
Reply With Quote
  #50  
Old 12-09-2007, 08:26 AM
A0007's Avatar
A0007 A0007 is offline
 
Join Date: Oct 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks !!
Reply With Quote
  #51  
Old 12-13-2007, 04:19 PM
aspen1018 aspen1018 is offline
 
Join Date: May 2007
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error when I try to import the .xml file

Fatal error: Could not parse /home/content/v/s/p/vspotadmin/html/forums/includes/xml/bitfield_vbulletin.xml in /includes/class_bitfield_builder.php on line 121

Help Please

Thanks
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 10:55 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.04987 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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