vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Auto-PM to Staff when a User is Banned (https://vborg.vbsupport.ru/showthread.php?t=118919)

juan71287 09-06-2006 04:21 PM

Alan.... I see that it check every 10 seconds? Am i correct? If I am... Can that be changed to let see... To check ever 1 houre or every day? If so, please tell me what to change in the XML.. Thankx.

Kriminal 09-11-2006 05:17 PM

Quote:

Originally Posted by juan71287
Alan.... I see that it check every 10 seconds? Am i correct? If I am... Can that be changed to let see... To check ever 1 houre or every day? If so, please tell me what to change in the XML.. Thankx.

I think you can change (in the XML)
Code:

AND bandate > " . (TIMENOW - 10) . "
by

Code:

AND bandate > " . (TIMENOW - 3600) . "
to check every 1 hour (60 second x 60 minutes = 3600)

juan71287 09-11-2006 06:36 PM

Hey thankx man :) I knew it was there but I didnt know what to put cause I am "A DUMB"

Thanxk again.

Kriminal 09-11-2006 08:04 PM

No problem, but this only will check an hour ago for banned members; so if the query is executed two times in an hour you will receive 2 PMs for the same banned member.
The script is executed by userdata_postsave hook; and I don't know the exact circunstances where it occurs.

Snake 09-17-2006 12:43 PM

Thank you, thank you!

rezapci 09-17-2006 04:00 PM

aswesome, thank you <Hug>

coRtALoS 09-28-2006 03:51 PM

I have staff besides the default groups, is it possible to send the message to them as well?

eNtitY~ 12-15-2006 01:58 AM

Installed, thanks.


All times are GMT. The time now is 01:56 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.01510 seconds
  • Memory Usage 1,727KB
  • 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)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
  • (8)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