vb.org Archive

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

letipro 10-01-2012 05:51 PM

Quote:

Originally Posted by NTT (Post 2361752)
great idea, but I want to only create one thread and the next user banning will be comment in the topic, how to edit?

i like it, please update :)

furnival 02-07-2013 10:13 PM

Installed on VB 4.2 seems to be working fine. Great mod -- thanks BOP5!

elfenny 03-08-2013 07:27 PM

Installed, thanks

Amaury 08-01-2013 04:26 PM

Think I found a bug.

If I select three threads created by one spammer, for example, it will make three threads about the same user.

Here's what I did if you want to try and reproduce it:
  • Select two or more threads by the same user and delete them as spam
  • Select Delete other posts and threads started by the affected users
  • Select Physically remove
  • Select Ban these users under Punitive Actions
  • Proceed

BirdOPrey5 08-05-2013 11:01 AM

I can't replicate this on my 4.2.1 forum. I only get 1 thread created no matter how many are selected. Do you have any other modifications running on the userdata_postsave hook? You can check in Plugin Manager in Admin CP.

Amaury 08-05-2013 06:31 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2437264)
I can't replicate this on my 4.2.1 forum. I only get 1 thread created no matter how many are selected. Do you have any other modifications running on the userdata_postsave hook? You can check in Plugin Manager in Admin CP.

So I found this happening even when it's completely different users.

For example:
  • User 1
  • User 2
  • User 3
  • User 4
  • User 5
If I deleted their spam all at once instead of individually (the only way I can prevent this from happening is by doing it individually), I would see five threads all pointing to the first user in the lineup instead of each individual user:
  • Banned User 1
  • Banned User 1
  • Banned User 1
  • Banned User 1
  • Banned User 1
(That's what I set the thread title as.)

Plugins:

BirdOPrey5 08-17-2013 12:14 PM

Ahhh... Well that error I understand why i is happening. Unfortunately I can think of no fix for it. Just the way VB determines the most recently banned user.

Amaury 08-23-2013 10:32 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2439320)
Ahhh... Well that error I understand why i is happening. Unfortunately I can think of no fix for it. Just the way VB determines the most recently banned user.

While it can't be fixed, out of curiosity, why is it happening?

BirdOPrey5 08-24-2013 01:15 PM

Well vBulletin doesn't have a hook that runs only when a user is banned. The hook this mod runs on is anytime a usergroup is changed. In order to determine if a user was actually banned the mod checks if anyone was banned in the last several seconds and if so assumes that it should make a thread about that ban. To prevent errors it only returns the oldest ban even if several happened at nearly the same time. Yours is the first report I ever had of a flaw with this system.

DemOnstar 09-17-2013 11:20 AM

Another great idea...BOP5, you are consistent....:up:


All times are GMT. The time now is 12:39 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.01149 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)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