vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Ban by minutes and hours too (https://vborg.vbsupport.ru/showthread.php?t=105211)

IrPr 01-25-2006 11:33 PM

for banning under 1Hour must set Restore Temporarily Banned Users CRONJOB( Scheduled Tasks ) to run every minute or run immediatly

Telegon80 01-26-2006 01:07 AM

what is it if i put it to run *

calorie 01-27-2006 03:34 PM

* means run every [insert time frame here]

In the mod you can change:
Code:

                        'm_1'  => "1 $vbphrase[minute]",
                        'm_5'  => "5 $vbphrase[minutes]",
                        'm_10'  => "10 $vbphrase[minutes]",

To the following:
Code:

                        'm_15'  => "15 $vbphrase[minutes]",
So that 15 minutes is the minimum ban time, and then edit the 'Restore Temporarily Banned Users' scheduled task so that Minute is set to 0 15 30 45 instead of * - - - and then the task will run every 15 minutes instead of every minute.

EdQ 04-14-2006 08:27 PM

Thanks!

Telegon80 04-15-2006 02:52 AM

im having problems with this again. my minute bans are staying banned for days..... suxx

Lewis1234 07-16-2006 12:58 PM

Wow thanks, just what i needed.

mike2902 07-01-2009 02:12 PM

Would this work with 3.8.2? Any thoughts?


All times are GMT. The time now is 02:07 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.00981 seconds
  • Memory Usage 1,723KB
  • 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
  • (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
  • (7)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