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)
-   -   Administrative and Maintenance Tools - Daily Short Term Banning by BOP5 (Ban users during part of the day or night) (https://vborg.vbsupport.ru/showthread.php?t=298126)

Bounce 05-31-2013 01:52 PM

BoP you are AWESOME :D

Thanks for giving me what i needed, bloody drunks :eek: lol

Matriosh 10-21-2013 01:30 PM

And there is no similar fashion to vbulletin 3.8.X????

QBart2011 04-11-2014 03:20 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2422195)
I can confirm that does indeed (at least mostly) work- Another unintended feature!

Create a usergroup called "Moderated Users" based off "Registered Users" - change all "Moderation" options to NO (there are a bunch, forum, photos, visitor messages, etc...) and save the Moderated Users group.

Then in this mod choose the "Ban Group" in settings to be "Moderated Users" - rather than being banned between certain hours the users will simply be moderated. :up:

I will have to do some more extensive testing to be sure... Curious how it would affect Tapatalk/ForumRunner and Error Messages (which are set to say Banned by the mod) but probably could work out any kinks in a future version.

Hey BOP was this ever confirmed as a Moderation instead of Temp Ban ?

As I have posted before I would much rather Moderate than Temp Ban any poster.

Just curious as I see no other posts..

BirdOPrey5 04-11-2014 09:06 AM

Well, yes and no.

Yes it works if the user has no secondary (additional) usergroups.

Since the way VB permissions work anyone who has a YES in a secondary group will override a NO in a primary group, even if they are moved to moderated users their secondary groups would possibly override their forced moderation depending how you have the groups set up.

QBart2011 04-11-2014 03:01 PM

Thanks

Bounce 11-17-2014 10:42 PM

Hi,

This has stopped working and ive no idea why.

Only recent upgrade was patching VB to 4.2.2 Patch Level 2

Any ideas BoP

BirdOPrey5 11-18-2014 11:58 AM

What version of PHP are you running?

Bounce 11-19-2014 09:35 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2523289)
What version of PHP are you running?

5.3.17

I think its a usergroup problem as it works when banning an admin but not other users who also have additional usergroups.

BirdOPrey5 11-20-2014 10:53 AM

Quote:

Originally Posted by Bounce (Post 2523451)
5.3.17

I think its a usergroup problem as it works when banning an admin but not other users who also have additional usergroups.

Are you moving the user to the banned usergroup or are you moving them to some other usergroup? The banned usergroup overrides all other usergroups and will always ban the user.

If you're moving them to some other group though, such as to moderate their posts rather than ban them, then you have to deal with the fact other usergroups can override it.

I can probably add a line to fix this, as it wasn't the original intent of the mod I never thought about it before- let me know if you think that is the issue.

Bounce 11-26-2014 04:37 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2523481)
Are you moving the user to the banned usergroup or are you moving them to some other usergroup? The banned usergroup overrides all other usergroups and will always ban the user.

If you're moving them to some other group though, such as to moderate their posts rather than ban them, then you have to deal with the fact other usergroups can override it.

I can probably add a line to fix this, as it wasn't the original intent of the mod I never thought about it before- let me know if you think that is the issue.

Hi, sorry for the delay,

The user in question is in a registered usergroup plus additional VIP and Subscriber.

Im moving to the banned usergroup.

I did a test on myself - Admin usergroup only and it worked.

So it it because the user is in more than 1 usergroup?

Since then the user has been binned completely so hes not an issue now but would still like it to work for the future if required, most other users on the list are just in the one usergroup so assuming they get binned at their times!


All times are GMT. The time now is 02:16 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.01459 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
  • (4)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