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)

cstreater 10-13-2011 04:04 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2246048)
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. :confused:

BirdOPrey5 10-13-2011 12:03 PM

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.

cstreater 10-13-2011 10:00 PM

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.

BirdOPrey5 10-14-2011 03:23 AM

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.

cstreater 10-14-2011 06:15 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2257020)
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.

xorex 10-17-2011 12:18 AM

1 Attachment(s)
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

BirdOPrey5 10-17-2011 10:22 AM

Quote:

Originally Posted by xorex (Post 2257967)
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?

xorex 10-17-2011 05:57 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2258125)
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.

BirdOPrey5 10-17-2011 07:24 PM

Yes, I can do that... it will be in the next update.

cstreater 10-31-2011 05:23 PM

1 Attachment(s)
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.


All times are GMT. The time now is 06:30 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.05839 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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