UzziSoft Forum Index UzziSoft
Provider of free downloads and services - www.uzzisoft.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[BETA] Remove Unactivated Users (Automatically) 0.4.0

 
Post new topic   Reply to topic    UzziSoft Forum Index -> phpBB Mods
View previous topic :: View next topic  
Author Message
alexi02
Site Admin


Joined: 17 Aug 2004
Posts: 230
Location: Brisbane, Australia

PostPosted: Fri Sep 15, 2006 12:36 am    Post subject: [BETA] Remove Unactivated Users (Automatically) 0.4.0 Reply with quote

MOD Title: Remove Unactivated Users (Automatically)
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

phpBB Thread Link: http://www.phpbb.com/phpBB/viewtopic.php?t=434552

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 Smile. If you have an improvement that can be made then by all means post it. Also it would be nice if people could try this out and report back if it worked fine as right now I only know it works on my server.

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.
_________________

UzziSoft Administrator


Last edited by alexi02 on Sat Sep 30, 2006 2:20 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
alexi02
Site Admin


Joined: 17 Aug 2004
Posts: 230
Location: Brisbane, Australia

PostPosted: Sat Sep 30, 2006 2:17 pm    Post subject: Reply with quote

I haven't updated this Mod in a while.

2006-09-30 - Version 0.4.0
- Uses the CONFIG TABLE instead of a config file
- Removed updating GROUPS_TABLE
_________________

UzziSoft Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    UzziSoft Forum Index -> phpBB Mods All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group