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.

BirdOPrey5 10-31-2011 09:43 PM

Infraction info is stored separately then the banning and user info, there is no easy way to pull that info with this mod.

cstreater 11-02-2011 11:58 PM

Yeah that was sort of what I determined as well. Thanks for your input :)

cstreater 11-25-2011 06:41 PM

Just a heads up - we discovered a bug where banning multiple members using vBulletin's delete posts as Spam feature triggers multiple threads, but does so under a single username. For example in the following picture banning all 4 members at once would have created 4 duplicate threads, but the same name would have been shown for each member being banned, vs. each of the member names -- as demonstrated in the second image:

http://www.corystreater.com/screenca...11-29-39-1.png

http://www.corystreater.com/screenca...11-28-14-1.png

Note the username shown in the second pic is not shown in the first pic. This is due to the fact that I had to snap two different screenshots to illustrate the point.

On a board of our size, it's sometimes necessary to use the delete as spam because it can ban multiple members at once, and because of the added functionality it offers of deleting all posts and threads from the affected members.

------------------

On an unrelated note -- cookie stuffing is back. Be on the lookout for broken images in a post. When a newer member has a small number of posts, you might find that there is weird link wrapped in [img] tags. The browser tries to resolve the link and in the process downloads a file from the site (usually a gif or php) stuffed with cookies containing affiliate ID's. The nasty part is that these cookies are downloaded onto the members computer, and unless they are deleted -- every purchase made on the site with the affiliate ID in the cookie is credited toward the person who planted it there. Most are Amazon and Ebay links. Very shady and morally wrong. That's more of a tip, but I thought I'd mention it since I was on the topic of Spam. Also, note that Firefox does not display broken images, which makes it kind of tricky to spot them. Most of the time you can edit the gif file in a text editor for further proof.

Simon Lloyd 09-20-2012 09:16 AM

Hi Joe, i've changed the vb phrase "Never" for my forums, is it possible to replace it in your mod?, what i mean is if the ban lift time is "never" then display a custom message or actually "Never"

Simon Lloyd 09-20-2012 09:19 AM

Doh!, should look more closely, never mind, i've done it :)

Chris8 06-18-2013 01:17 PM

Nice mod.
Would it be possible to implement thread prefix into this somehow?

chefy 03-24-2014 04:09 AM

How do I make this work only for permanent bans? Also is there any easy way to include the registration date and postcount of the banned member in the thread title and/or body?

chefy 04-10-2014 12:30 AM

Quote:

Originally Posted by cstreater (Post 2271898)
Just a heads up - we discovered a bug where banning multiple members using vBulletin's delete posts as Spam feature triggers multiple threads, but does so under a single username.

I can confirm this bug. When banning multiple members through the delete posts as spam function (be it in forumdisplay.php or showthread.php) the number of ban threads is correct but they are all duplicated. Could you please fix this?

BirdOPrey5 04-12-2014 03:39 PM

Please don't report posts asking for bug fixes, that isn't what the report post system is there for.

I am sorry but I have no plans on fixing this issue. I've used the mod for years without running into the bug so it just isn't a pressing issue.


All times are GMT. The time now is 02:52 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.01320 seconds
  • Memory Usage 1,767KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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