I'm a Drupal / CMS newbie, so please consider the source of this post when responding. I want to have a user registration that has field types that are CCK like with the ability to have default values and some of the fields be required so that registration is not completed until the required fields have been filled in.
Using the standard fields available in the Core Profile module does not provide any validation of the fields I want (phone for example), default values (City or State for example - this is a local website).
I have played with the Content Profile module, but haven't been able to make the required fields be filled in before registration is complete. Also using the Content Profile creates another problem, because if the user changes their login name (using this to name the node) it is now disconnected from the user.
I have found Drupal to be both exciting because of the structure and features it provides automatically and frustrating because I am finding things such as this that I feel should be simple and something most people would want are very difficult.
Any advice would be appreciated.
Thanks,
Ron
Comments
It sounds to me like you
It sounds to me like you probably will have most success with Content Profile, even though so far this has frustrated you.
I'm not sure what kind of completion you are looking for in user registration - you can make Content Profile fields required, and then simply activate users yourself.
Content Profile fields are not associated with user name, but with user uid - so it doesn't matter if they change their user name.
I agree with jmcoder, Content
I agree with jmcoder, Content Profile is the way to go. Note that Content Profile ships with a small additional module, "Content Profile User Registration", that takes care of integration with the Drupal installation process. Make sure to enable it!
Thank you for the quick
Thank you for the quick responses! I will continue with the Content Profile Module and try to make it work.
Ron
I must be missing something.
I must be missing something. I still can't force the new user to fill out required fields on his profile. I have ' Use this content type as a content profile for users' checked, so it does give the option to create a profile. If the user goes to edit the profile (I currently only have one field, which is required), he can't save it unless the field is filled in. But I haven't been able to find a way to force this field to be exposed and filled out as part of the registration process. I current allow users to create a new account and an email is sent to them with a link and temporary password. When they log in with this, the only thing that is exposed to them is their username, email address and password fields.
Any help would be appreciated.
Thanks,
Ron
- Make sure that the Content
- Make sure that the Content Profile User Registration module is enabled
- Go to /admin/content/node-type/[type]/profile where [type] is the name of your profile content type. (you can also get there by editing the content type and clicking the "Content Profile" tab)
- You should see a fieldset called "User Registration"
- Check the box that says "Use on Registration"
That should do it!
It is checked. Profile is
It is checked. Profile is available to the user and even though I have a required field in it, the user is not forced to go into his profile. Once they go into their profile they can't save it unless they fill out the required field.
Customize how this content profile shows up on the user registration page.
x Use on Registration
Use this content type on the user registration page
I'm wondering what you
I'm wondering what you expect, and if you have the right expectations of Content Profile User Registration (CPUR).
You write "the user is not forced to go into his profile". What CPUR does, is to present additional form fields on the user registration form, so on yoursite.com/user/register. It will not force users that have already registered to go into their profile. (Is that what you're actually looking for?)
You also write "Once they go into their profile they can't save it unless they fill out the required field". I don't see a problem here; isn't that exactly what a required field is supposed to do?
I'm an idiot
I appreciate the responses you have been giving a new idiot user. I had a permissions problem! I gave authenticated users permission to edit the cck fields, but not anonymous users. That is why they were not showing up for them during registration. Its working now.
All I was trying to do is ensure that new users were required to fill out certain fields when they get an account. I can do that now that I got my out of my butt.
Thank you for you support. Sooner or later I get Drupal figured out.
Ron
gotcha!
Don't worry about it, there's no need to call yourself names :-)
Every new Drupal user has these 'gotcha' moments once in a while. That's ok, it means that you're learning and making progress. In fact, I feel stupid now for not asking you if you have the Content Permissions module enabled...
Let me ask you one last question: Do you really need the per-field permissions that the Content Permissions module provides? If you do, that's fine. However I have seen a couple of beginning Drupal users who enabled every single module in the CCK package, simply because they didn't know which modules to choose. As you have experienced now, enabling modules that you don't need may cause you more harm than good. Enable what you need, but choose carefully.
Happy Drupalling!