SMF Development > Fixed or Bogus Bugs
[4716] Remove Inactive Members bug.
emanuele:
Yes, that's something that I find annoying (though I don't use pruning, so I forget rather quickly of it... :P).
In ManageMaintenance.php:
--- Code: (find) --- $where = 'mem.last_login < {int:time_limit}';
--- End code ---
--- Code: (replace with) --- $where = 'mem.last_login < {int:time_limit} AND (mem.last_login != 0 OR mem.date_registered < {int:time_limit})';
--- End code ---
That way it should not delete the member that didn't do their first login in the last xx (30) days.
minky:
Thank you emanuele, exactly what I needed, much appreciated. 8)
Navigation
[0] Message Index
[*] Previous page
Go to full version