This extension deletes user accounts (including posts) whose last activity was before an adjustable amount of time. Founders, inactive accounts and bots are ignored.
3 new options are added in ACP -> Board Features:
prune_users.png
Examples:
Enter 1 hour if you wish to delete user accounts who haven't been active for at least one hour.
Enter 2 days if you wish to delete user accounts who haven't been active for at least two days.
Enter 4 weeks if you wish to delete user accounts who haven't been active for at least four weeks.
Enter 6 months if you wish to delete user accounts who haven't been active for at least six months.
Enter 2 years if you wish to delete user accounts who haven't been active for at least two years.
You need to specify the time in English. Leave the field empty if no user accounts should be deleted (default value). The cron task runs once an hour.
Fairly easy to implement. Please have a look at version 1.1.0 that adds both options, and another option to specify whether to delete or retain usernames on posts.
Remember to test the extension locally or with some test data before using it on a live board!
Added after 9 minutes 41 seconds:
May be some thing for future use add a box to select a user id not to be deleted ? so if on a test board a test account would remain ?