On my site, I had to turn off email based authentication per the client's request. The only big problem I can see right now with doing this is the creation of blank user accounts.
They show up on the potential students list as " , , " meaning that their firstname, lastname, and payment type are blank.
Would it be possible to insert a block of code to check to see if the firstname field is blank and delete that record from the DB?
Using 1.6.3+
Sam
Sam,
If you turn off email-based authentication, users create accounts as guests that are confirmed automatically. What you probably need to do is ask them to complete their profile which shows first/last name fields empty.
You could change the text on the login page to say invite users to update their profiles. I don't know which files to edit to do that. The only case where a text box is provided for admin to enter own text for the login page is when he chooses manual account only.
Juvenal
If you turn off email-based authentication, users create accounts as guests that are confirmed automatically. What you probably need to do is ask them to complete their profile which shows first/last name fields empty.
You could change the text on the login page to say invite users to update their profiles. I don't know which files to edit to do that. The only case where a text box is provided for admin to enter own text for the login page is when he chooses manual account only.
Juvenal
Yes, I know. The only problem is when a user would mistype their username, the system starts a new, empty account. When the user gets to the profile page, they don't bother filling in the information. So, I'm left with several empty user records.
Instead of me having to go in every so often and removing them from the DB manually, I'd like to automate this into cron that runs in the wee small hours of the morning.
Sam
Instead of me having to go in every so often and removing them from the DB manually, I'd like to automate this into cron that runs in the wee small hours of the morning.
Sam
This is a standard feature as of 1.6. See MDL-3309 for details. If it does not get triggered for you for some reason, some small tweak should get it working.
Ahhh, I didn't have deleteunconfirmed set.
Thanks.
Sam
Thanks.
Sam
Any idea on how to make this a daily ordeal?
Sam
You mean to delete them without a delay? Just reduce the threshold for deleteunconfirmed. I am using 5 days which means there is always a few people without complete signon.