vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Moderators Functions - New Thread on User Banning by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=257040)

BirdOPrey5 01-12-2011 10:00 PM

New Thread on User Banning by BOP5
 
1 Attachment(s)
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:

BirdOPrey5 01-13-2011 02:30 AM

Reserved.

ITDarasgah 01-13-2011 11:21 AM

also Reserved thanks .

Badshah93 01-13-2011 11:56 AM

Installed, but have a doubt,,..

what if i have got a vbseo done in my forum, how do i determine which section is to be put as to where the thread is supposed to get created? any solutions?

Boofo 01-13-2011 01:04 PM

Joe, for the forum id option, replace this:

Code:

                        <setting varname="bop5onban_fid" displayorder="30">
                                <datatype>posint</datatype>
                                <defaultvalue>2</defaultvalue>
                        </setting>


with this:

Code:

                        <setting varname="bop5onban_fid" displayorder="30">
                                <datatype>number</datatype>
                                <optioncode>select:eval
$options = construct_forum_chooser_options(1);</optioncode>
                                <defaultvalue>0</defaultvalue>
                        </setting>


That way, you get a drop down forum listing to choose the forum from.

BirdOPrey5 01-13-2011 01:20 PM

Quote:

Originally Posted by aayushagrawal90 (Post 2148410)
Installed, but have a doubt,,..

what if i have got a vbseo done in my forum, how do i determine which section is to be put as to where the thread is supposed to get created? any solutions?

In your Admin CP -> Forum Manager click on the forum you want and your forumid will be in the very top of the table.

Quote:

Originally Posted by Boofo (Post 2148443)
Joe, for the forum id option, replace this:

Code:

                        <setting varname="bop5onban_fid" displayorder="30">
                                <datatype>posint</datatype>
                                <defaultvalue>2</defaultvalue>
                        </setting>


with this:

Code:

                        <setting varname="bop5onban_fid" displayorder="30">
                                <datatype>number</datatype>
                                <optioncode>select:eval
$options = construct_forum_chooser_options(1);</optioncode>
                                <defaultvalue>0</defaultvalue>
                        </setting>


That way, you get a drop down forum listing to choose the forum from.

Thanks Boofo! I'll try this code and update ASAP.

Boofo 01-13-2011 01:28 PM

I tried to get you in IM to give it to you there, so I wouldn't have to clutter up your thread. ;)

BirdOPrey5 01-13-2011 01:45 PM

Thanks... yeah my computer rebooter and I forgot to open AIM/AOL. Just updated to version 1.1 with the new forum selector. :up:

Boofo 01-13-2011 02:04 PM

You might want to update the readme file as it still shows version 1.0.

Brandon Sheley 01-13-2011 02:08 PM

hm, not mod but I wouldn't want to showcase the spammers
all my threads would be "user X is banned for spamming"..lol
I could see it being helpful in the reported post forum, or a moderator forum ;)


All times are GMT. The time now is 01:14 AM.

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.01094 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete