How to force bulk registered users to enter their e-mail address
Last Post 03/30/2011 3:15 PM by Joseph Craig. 3 Replies.
Author Messages
Fvandier
Nuke Newbie
Nuke Newbie
Posts:2


--
03/30/2011 6:17 AM  
I have uploaded hundreds of users with username and password to my portal using Bulk User Manager.
For none of these users we have the e-mail address.
While doing the upload their profile status has been set to authorised.

How can I force these users to enter their e-mail address the first time they log in?
I can easily do that - and it works - for the optional profile fields like address etc, but how can I do that for the e-mail field?

We have a custom application on that portal that sends PDF reports via e-mail, but evidently without their e-mail that does not work.

Thanks in advance for a quick reply.

Kind regards,

Franky
Joseph Craig
DNN MVP
Posts:11667


--
03/30/2011 6:47 AM  
One question: How do users know their password? (I'd guess that you had the users in another system that didn't require the email address.)

Here is one way to do things, but it requires that you create a custom module:

1. Create a page to which all users are redirected on login.
2. On that page, place a custom module that looks at their email address
2a. If it is the "default" email address that you have been using, ask them to enter their email address in a small form that you provide.
2a-1. Update their email address, set their "membership" to the same status that it would be set to if you were using "verified" registration, and have the system send them the "verified" email to their actual email address.
2a-2. Tell them that they will have to login again with the verification code and log them out.
2b. If their email address isn't the default one, redirect them to the home page


Joe Craig, Patapsco Research Group
Complete DNN Support
Fvandier
Nuke Newbie
Nuke Newbie
Posts:2


--
03/30/2011 2:04 PM  
Joe,

Thank you for the reply.
Indeed we have the users from an existing community where e-mails are not used.

I was hoping there would be an option to have DNN perform like it performs for the non-mandatory information (i.e. if it is mandatory and not completed, ask for it at the first/next login).
Since I considered e-mail to be in that case I expected DNN to ask for it, but apparently it doesn't.

Writing custom modules wasn't exactly the plan I had in mind...

Kind regards,

F
Joseph Craig
DNN MVP
Posts:11667


--
03/30/2011 3:15 PM  
The real issue is that emails really are mandatory, and it is necessary to specify an email address to even create a user.

Have you managed to create users in the DotNetNuke portal from the old system without specifying an email address? I don't believe that is possible, which is why I assumed that you must have used a dummy address to create users.

I wouldn't be too put off by the notion of creating a custom module to manage the process. As I outlined, it can be very simple with a minimum of a UI and no real interaction with the DotNetNuke database, except for generic use of methods to manage users.

I would expect that a competent software developer could do something like this in less than a day. The only hangup would be that you would need someone who "sort of" knows their way around DotNetNuke. I could recommend several very good people if you want to contact me privately using the contact form at patapscorg.com.

Joe Craig, Patapsco Research Group
Complete DNN Support


---