############################################### 
##   Hack Title:   Auto Delete Users
##   Hack Version: 1.10
##   Author:       Nivisec (support@nivisec.com)
##                 http://www.nivisec.com
##   Description:  This hack will search for
##                 users who are in-active,
##                 have 0 posts, and/or
##                 do not visit very much, and
##                 delete them.  The Admin can
##                 define the number of days
##                 before deletion happens and
##                 disable/enable each type.
##
##   Compatibility:   2.0.4, php4
## 
##   Installation Level: Easy
##   Installation Time:  2 minutes
## 
##   Author Notes:
##      This is a semi-dangerous hack in the fact
##      deletion of items cannot be un-done.  Please,
##      please, please back up your phpBB database
##      before installing and running this.  You never
##      know what could go wrong, so just be safe
##      until you know it's working for you.
## 
##   Support:      http://www.phpbbhacks.com/forums 
##   Copyright:    2003 Auto Delete Users - Billy Sauls
## 
############################################### 
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads. 
##   Please visit http://www.phpbbhacks.com/forums for support. 
############################################### 
## 
############################################### 
##   This hack is released under the GPL License. 
##   This hack can be freely used, but not distributed, without permission. 
##   Intellectual Property is retained by the hack author(s) listed above. 
###############################################
##   Consider enabling the up to date version
##   check, which alerts you on your control panel
##   page if you are up to date!  It's very easy to
##   enable, read goodies/version_checker/readme.txt
##   for more info.
s###############################################
##   For updating from a prior version, check
##   goodies/updating/ directory for more info.
###############################################
# 
#-----[ UPLOAD ]------------------------------------------ 
#   If you are having trouble understanding this section, read
#   the goodies/understanding_upload.txt file.
#
nivisec_install.php to /
admin/*.* to admin/
templates/subSilver/admin/*.* to templates/subSilver/admin/
language/lang_english/*.* to language/lang_english/
includes/*.* to includes/

# 
#-----[ RUN ]------------------------------------------ 
# 
nivisec_install.php

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/page_tail.php

# 
#-----[ FIND ]------------------------------------------ 
#
$template->pparse('overall_footer');

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
include($phpbb_root_path . 'includes/functions_admin_auto_delete_users.' . $phpEx);
auto_delete_users();

# 
#-----[ SAVE & CLOSE ALL FILES ]-------------------------- 
# 
#End 
