Encouraging Registration

mcsolas - June 2, 2009 - 21:09

I am looking to see how hard it is to modify the drupal registration system.

I want to have a required email field but not require the users to choose a username. As well, add optional fields like phone number.

Are there any customizations that can be done to make the registration box modal?

Ideally I would like the user to try and click on a part of the site they cannot yet access, a modal dialog appears with the registration form and once input the page would navigate to the page they were clicking on.

I am looking into the premium project... but it doesn't appear to have a stable release for drupal 6. Not sure if there is any other ways people go about building sites like this.

_

WorldFallz - June 2, 2009 - 22:41

I don't believe username can be optional, but you might want to check out the http://drupal.org/project/logintoboggan module for email login.

Not sure about the modal part though there appear to be a few modal modules:

http://drupal.org/project/modules?text=modal

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Popups

grobemo - June 3, 2009 - 03:36

I'd recommend the Popups module (along with Logintoboggan and Login Destination) to do the modal dialog.

With a little bit of mucking around in the Logintoboggan code (or writing a small custom module, perhaps using hook_user), you can probably set the username to their email address automatically. I'm pretty sure you could prevent the username field from getting sent to the browser at all, and you could certainly hide it using display: none in your CSS. From their end, it's like they've never chosen a username.

_

WorldFallz - June 3, 2009 - 14:09

Clever idea!

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Thanks for the leads.

mcsolas - June 3, 2009 - 18:06

These modules look perfect.. I am downloading them all to test out.

I see there is a few things that I can do to improve the system and start from there... and the popups api just looks cool.

I may not need to hide the username... but I dont think that will matter too much.

---------------------------
www.crsurfcam.com

Working them in.

mcsolas - June 3, 2009 - 20:27

I am going over things as I enable the logintoboggan module. I read the inline setup instructions on the form and created a role "pre-authorized" and set it to be the default role on registration.

I was using a different module to do this: registration role.. but from what I am seeing.. it looks like they are going to do the same thing. I am going to remove the module and test to see how it behaves. Thanks again for pointing me in the right direction.

---------------------------
www.crsurfcam.com

Theming the user registration form

grobemo - June 3, 2009 - 21:21

While you're working on improving the user experience during registration, you might look at this tutorial on theming the user registration form, or check Google's other results for theming the registration form.

Theming the registration form.

mcsolas - June 3, 2009 - 22:45

I am looking into the tutorials. I am going through them but not quite sure how to simply add a field like "full name" to the form. I will keep looking around in there to find my answers.

I was also searching around for autogeneration of usernames.
http://drupal.org/project/generate_username

There seems to be a few others in development and in various stages of release.

I would really like to mod the form to show a First / last name field, an email and then let it autogenerate the username.

---------------------------
www.crsurfcam.com

Content Profile module?

grobemo - June 4, 2009 - 01:50

The Content Profile module might be helpful to you. If you're adding all these elements to the form, you'll need somewhere to store that data. I think Content Profile would give you a good way to do that.

Or just Profile module?

grobemo - June 4, 2009 - 02:16

Actually, now that I think about it, the simplest way add something like that is with the core Profile module. Have you tried that? (It's in the optional Core modules.)

 
 

Drupal is a registered trademark of Dries Buytaert.