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)

BirdOPrey5 06-26-2011 04:52 PM

If you have a question I'll do my best to answer it.

Marios858 09-11-2011 07:55 PM

Excellent Modification , thanks a lot.

Nirjonadda 09-01-2012 01:56 PM

You can add option thread Auto Close?

NTT 09-01-2012 03:03 PM

great idea, but I want to only create one thread and the next user banning will be comment in the topic, how to edit?

Nirjonadda 09-01-2012 04:16 PM

Yes also add option banned member Thread ID !

NTT 09-01-2012 04:30 PM

Quote:

Originally Posted by Nirjonadda (Post 2361765)
Yes also add option banned member Thread ID !

This mod has selected Thread ID?

BirdOPrey5 09-02-2012 01:27 PM

Quote:

Originally Posted by Nirjonadda (Post 2361738)
You can add option thread Auto Close?

I can on a future update but that may be a while.

For now you can edit the XML file.

Find the line:

Code:

$banthread->set('showsignature', $vbulletin->options['bop5onban_sig']);
And add below it:

Code:

$open = 0;
$banthread->set('open', $open);


And all threads will be closed. (Re-import the product of course, allow overwrite = yes)

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?

Maybe in a future version, just not possible as it is now coded.

Quote:

Originally Posted by Nirjonadda (Post 2361765)
Yes also add option banned member Thread ID !

I don't understand... You want to make posts instead of threads in a specific thread? If so same answer as above.

wilford brimley 09-02-2012 05:47 PM

wrong mod my bad.

Mark_Zuckerberg 09-29-2012 08:41 PM

It gives me an error while i click ban user the error is this

Quote:

Fatal error: Class 'VBSIGNATURES' not found in /home/admincp/public_html/dbtech/vbsignatures/hooks/threadfpdata_postsave.php on line 5
altough i have selected no to Show Signature? in New Thread on Banning by BOP5 options any help?

BirdOPrey5 09-30-2012 04:41 PM

it appears to be an incompatibility with dbTech's vbsignatures mod.

I would suggest disabling my mod- I do not have dbtech's mod installed anywhere to test and frankly do not see having time anytime soon to figure out what the conflict is.

Sorry.

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:

eTiKeT? 02-20-2014 07:27 PM

1 Attachment(s)
Nice idea, thank you
________________________________

I've added the patch Turkish

Barcham 02-20-2014 08:26 PM

Quote:

Originally Posted by g33k4u (Post 2155636)
Can you make all posts be added to one single thread ? ( specified previously by admin ) instead of making a new thread each time

This way, the thread can be seen in public, and members will know why members are being banned, and they will make sure to avoid that

I love the idea of your mod, but I won't install it as it will be some kinda a spamming mod ( by staff ) in huge forums that got like 15-20 members banned each day

Please update me on this

Thanks

Any news of an update for this? If it would create only one thread with each banning or suspension being added to the thread I can see it being very useful and I'd install it in an instant. One thread per ban is just too much to deal with.

cihadehli 03-15-2014 09:53 PM

Quote:

Originally Posted by eTiKeT? (Post 2482745)
Nice idea, thank you
________________________________

I've added the patch Turkish

thank you eTİKeT hocam.. :)

furnival 03-25-2019 01:20 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2440722)
Yours is the first report I ever had of a flaw with this system.

Hi Birdofprey5, thank you for this fantastic mod. It has stopped working for me on VB 4.2.5. I get a message that a new thread cannot be created, after I ban a user in /admincp/. Any ideas how to fix this please?

BirdOPrey5 03-26-2019 01:12 AM

Quote:

Originally Posted by furnival (Post 2598864)
Hi Birdofprey5, thank you for this fantastic mod. It has stopped working for me on VB 4.2.5. I get a message that a new thread cannot be created, after I ban a user in /admincp/. Any ideas how to fix this please?

Did anything change between the time it last worked and the time you noticed it stopped working? VB Version? PHP version? Server change? Added or removed new forums or administrators?

Without much to go on or the exact error message I would suggest you verify the user who makes the post still have permission to post in the forum selected for the post to be made in, and that that forum is open to new posts.

furnival 03-26-2019 01:15 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2598876)
Did anything change between the time it last worked and the time you noticed it stopped working? VB Version? PHP version? Server change? Added or removed new forums or administrators?

Thank you for your reply! I really appreciate it.

No changes to users. The admin user is the one doing the banning and no permissions have changed so I don't think it is related to permissions. Nothing shows up in the PHP error logs.

I did upgrade to PHP 7.1 and moved servers around the time this plugin stopped working, so those might be the factors. I am on VB 4.2.5. Not sure how to resolve this. I get a message when I try to ban a user, in white text at the top of the admincp screen, "Error creating new thread!". Any ideas where to look to find the source of the error, please?


All times are GMT. The time now is 02:12 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.01254 seconds
  • Memory Usage 1,777KB
  • 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
  • (2)bbcode_code_printable
  • (13)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
  • (26)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