2
huum unfortunatly there is no way to delete inactive users after a same time.
personally i write a little php file to delete them (im too newbi in php and MySQL so sorry for basic code) btw share with you:
<?php define("user", "database_username"); define("pass", "database_password"); define("host", "localhost"); //or change it to yours define("db", "database_name"); $cxn = mysql_connect(host ,user, pass); mysql_select_db(db); $delete_time = time() - ( 5 * 24 * 60 * 60 ); // 5 days/month * 24 hrs/day // * 60 minutes/hour * 60 seconds/min. $sql = "DELETE from `xoops_users` WHERE `last_login` = '0' AND `user_regdate` < '$delete_time'"; //This script would delete everyuser older than 5 days that has been not active. $result = mysql_query($sql, $cxn); ?>
just save it as a file like "inactive_delete.php" and run it.i run this file with chron job every day.
WARNNING: dont put this file in your ROOT because this is no secure at all.