MOD Description: Removes each unactivated user after a specified time (by you) automatically.
MOD Version: 0.4.0
MOD Download: Remove Unactivated Users v0.4.0 (11.7 KB)
Last Stable version: N/A
MOD Screenshot: ACP
MOD History:
2006-09-30 - Version 0.4.0
- Uses the CONFIG TABLE instead of a config file
- Removed updating GROUPS_TABLE
2006-08-30 - Version 0.3.1
- Bug fix: Email Deletion Entries text now properly checked
- Bug fix: Lang had 2 entries of 'Email Deletion Entries text'
- Checks if Email Deletion Entries is more than 0 if Email Deletion Log is enabled
2006-08-30 - Version 0.3.0
- Template and Language are no longer hard coded!
2006-08-29 - Version 0.2.0
- Updated the logging of deleted users to occur after successful database queries
- Split log file into two files: Deletion and Error log
- Added 24hr time and GMT difference when logging
- New Feature: Sending an email of the deletion log to an admin once a number of user deletions is meet (clears the deletion log once the email is sent)
- New Feature: Sending an email of the error log to an admin every time there is an error with deleting users (clears the error log once the email is sent)
2006-08-28 - Version 0.1.3
- Bug fix: changed from phpbb_users to USERS_TABLE in remove_unactivated_users.php
2006-08-28 - Version 0.1.2
- Changed writing to log file and deleting users into a function for easier readability
- Added more read/write validation checks
- die() no longer used as it would make the forum inaccessible
- Removed the need for checking whether we are in an admin directory; using $phpbb_root_path instead.
2006-08-28 - Version 0.1.1
- Updated deletion of user to include other tables which are affected when the user first registers
2006-08-27 - Version 0.1.0
- Initial Release (for phpBB 2.0.21)
MOD Notes:
Only to be used on forums with the registration type of User Activations.
This MOD checks each unactivated users' registration date then adds the time specified by you to the registration date and deletes the user if the current time is older than the registration time + time specified.
This is my first MOD, so be nice if you find a problem

I thought I might try making this mod as this post requested it and I also needed it for my forums as well.
I've used the common.php file to include a file which checks to see every unactivated user and whether they should be deleted. I chose the common.php file as it was used by just about every function on the forum. This means it might slow down the speed of forums which have lots of new user registrations every day.
alexi02.