Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
New Thread on User Banning by BOP5 Details »»
New Thread on User Banning by BOP5
Version: 1.3, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.8.x Rating:
Released: 01-12-2011 Last Update: 10-16-2011 Installs: 57
Uses Plugins
Re-useable Code Translations  
No support by the author.

The purpose of this mod is to create a new thread in a forum you specify whenever any user is banned.

NEW In Version 1.3 - More REPLACEMNTS available in post body. {USERNAMEL} and {BANNEDBYL} are now links to the profiles of the user who was banned and the user who banned them, respectfully. In addition {USERID} and {BANNEDBYID} have been added in case you have any use for them.

Also as of version 1.3 this version no longer works on VB 4.x. Please see the VB 4.x thread for a different version.

NEW In Version 1.2 - Set a minimum post count for a user before a "new thread" is created on their banning- this way you don't bother making threads for spammers with just a handful of posts.

The title and message posted is easily customized, as is the username of the thread starter.

This has been tested on vBulletin 3.8.6 and it should work on all versions of 3.8.x. It may work on earlier versions too. See this thread for a VB4 version: https://vborg.vbsupport.ru/showthread.php?t=257041

Read the info txt file in the .zip for full instructions.

See the screenshots for more details.

Please "Mark as Installed" if you use this.

Added Russian Language phrases file by xorex. :up:

Download Now

File Type: zip New Thread on User Banning by BOP5.zip (5.4 KB, 366 views)
File Type: xml product-newthreadonbanbop5vb4-Russian by xorex.xml (4.9 KB, 73 views)

Screenshots

File Type: jpg banthread_vb3.jpg (123.3 KB, 0 views)
File Type: jpg banthreadforum_vb3.jpg (153.5 KB, 0 views)
File Type: jpg banthread_settings.jpg (387.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #42  
Old 10-13-2011, 04:04 AM
cstreater cstreater is offline
 
Join Date: May 2010
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
It works no matter how the user is banned. It is called on the hook every time a usergroup is changed. Shouldn't matter how.
This is true accept for one scenario, and that's when the member is banned using One Touch Ban & Clean. For some reason it will not create a thread, and I'm a little stumped as to why.
Reply With Quote
  #43  
Old 10-13-2011, 12:03 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is One Touch Ban & Clean a mod? It does work if you use the built in "Delete as Spam" function and choose to ban the user at the same time.
Reply With Quote
  #44  
Old 10-13-2011, 10:00 PM
cstreater cstreater is offline
 
Join Date: May 2010
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for not being clear, Joe.

Yes, it's this mod. With 4 million members on our site the OTB&C mod makes this task quite a bit faster for us because it deletes PM's and a bunch of other things as well. Sadly, the coder passed away in a diving accident.
Reply With Quote
  #45  
Old 10-14-2011, 03:23 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see it now. It looks like the "One Step" mod does the query to ban itself rather than calling the existing vBulletin banning code- as a result the hook my mod uses is never called so my code never runs...

Offhand I don't see a simple fix unfortunately.
Reply With Quote
  #46  
Old 10-14-2011, 06:15 PM
cstreater cstreater is offline
 
Join Date: May 2010
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I see it now. It looks like the "One Step" mod does the query to ban itself rather than calling the existing vBulletin banning code- as a result the hook my mod uses is never called so my code never runs...

Offhand I don't see a simple fix unfortunately.
Sounds good and thanks for looking at it. I'll just need to train the mods to do a points based auto-ban infraction and then the OTB&C. Even though it's a 2-step process it's still a lot faster than the alternative.
Reply With Quote
  #47  
Old 10-17-2011, 12:18 AM
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BirdOPrey5

Thanks you for this mod ! installed

russian translation file (UTF-8) attached

&

It is possible to add two options in the future?

1. Reply to the same topic if the user is unbanned

2. Choice of the ban specific usergroups
Attached Files
File Type: xml newthreadonbanbop5_Russian (RU).xml (4.9 KB, 6 views)
Reply With Quote
Благодарность от:
BirdOPrey5
  #48  
Old 10-17-2011, 10:22 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xorex View Post
BirdOPrey5

Thanks you for this mod ! installed

russian translation file (UTF-8) attached

&

It is possible to add two options in the future?

1. Reply to the same topic if the user is unbanned

2. Choice of the ban specific usergroups
Thanks, I will try. Can you explain #2 more?
Reply With Quote
  #49  
Old 10-17-2011, 05:57 PM
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Thanks, I will try. Can you explain #2 more?
Default banned usergroup ID 8 but several forums have more similar banned usergroups like this (Read only, Full ban, and other specific groups) or different ID for default banned usergroup. It requires one extra option which you must specify the ID of banned usergroups.
Reply With Quote
  #50  
Old 10-17-2011, 07:24 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I can do that... it will be in the next update.
Reply With Quote
Благодарность от:
xorex
  #51  
Old 10-31-2011, 05:23 PM
cstreater cstreater is offline
 
Join Date: May 2010
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if this is of interest to anybody, but this is how I've configured ours:

Code:
A member of the ___________ Forums has been banned.

Banned Member: {USERNAMEL}

Moderator: {BANNEDBYL}

Reason given: {REASON}

Date the ban will be lifted: {LIFTDATE}

Banned Member Post History.
Any ideas on how to list/add details for infraction history without going into the Admin panel or the profile infractions tab? I'm going to play with it today, and see if I can figure it out.

Attachment 134173

BTW - here are the details I would like to add. I do not mind sharing this screenshot. Everyone should be on the lookout for anyone coming from the bugmenot domain. Shared logins = bad.
Reply With Quote
Благодарность от:
BirdOPrey5
Reply

Thread Tools

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 02:45 AM.


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.08961 seconds
  • Memory Usage 2,354KB
  • Queries Executed 28 (?)
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
  • (1)bbcode_code
  • (4)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete