Re: Plugin: Enhanced Registration
I am thinking to use another approach (current method is extremely stupid, just like me):
Using activate_before
usermeta. When user registering, activate_before
is set as registered
+ 72 hours (depends on current setting). User need to log in within 72 hours, or to be deleted.
No need to plug bb_check_login()
.
Also have something remove_method
for doing deletion or switching to inactive
role when user doesn’t log in before deadline. And having last_login
can allow admin to make a yearly cleaning up those accounts didn’t log in for a long time. Ask them (by emails?) to log in, or will be switch to inactive
role and send a notification mail for a response from them, then could be deleted in anytime if they don’t respond.
Just some thoughts, what do you think?