By Kuldip Gohil on
How To Create Diffent Types of Profile Whenver New User Register
I have to Create Two Types of profile
Like
1)Student
2)Teacher
There is Different Field for The student and Diffenret for the Teacher then what i have to do experts please guide
Comments
Install these modules and start building
http://drupal.org/project/rolesignup
http://drupal.org/project/nodeprofile
http://drupal.org/project/nodefamily
http://drupal.org/project/cck
Add two roles (Student, Teacher)
For rolesignup:
Allow to register for Student or Teacher
You have to do it first, and as you go along you will find your ways
For excellent tutorials, go to http://bryght.com
Please See what i have done
Hi
Thanks For The Reply,
Installed all module Rolesignup, Node profile, Node Familiy, CCK
-----Creare Two Registration Form for Teacher and Student Using CCK
-----Mark Both Content Type as Node Profile
-----Create Two Role Student And Teacher
-----Configure Rolesignup
-----Two Roles is Display at the createion of new account
-----But Only same Registration Form is displayed at the time of selecting of any role From student & teacher
Now I only want different Registration form at the time of selection role is student then only student registration form displayed , and at the time of selecting teacher teacher profile is displayed
So Please Help me ...
I am in Right Way???
Access control
Set student to only able to create `student profile' and so on
You can set NodeProfile to not display upon user registration, instead, only after a user confirms the registration by following the link to his email
Set to maximum 1 per user per role
Maximum population:
Maximum number of nodes of this content type per user. Enter 0 for no limit.
*To limit each to only 1
*Displays a link in user profile to `create a student profile' for user with student role, and if already exists and limited to 1, will display `edit ...'
Click on `NodeProfile' tab
http://yourdomain.com/admin/content/types/customstudentprofile/nodeprofile
You will see:
Roles allowed to see this node profile during user registration:
[list of all roles other than authenticated user]
If the Show this node profile during user registration option has been enabled, you may select what roles will see it. If no role is selected, all users will see this node profile. Note that this feature relies on the Role Signup module.
You can also use
http://drupal.org/project/login_destination so that the user lands on his profile after confirming account
http://muflihun.com/user/register
Well, at least , my method is like that
Thanks. I will try this method
Thank you very much for giving reply
i want exactly like this http://muflihun.com/user/register
i see two roles at registration but now want only two different node type in registration form.
i will try above method.
Thanks
Kuldip
Having some troubles
I went about doing this the way that was described, but only one node is showing up. I have two roles basic, premium. For example i choose premium role, it still shows basic role profile fields, and it says you are registering for the basic role. any ideas of what i could be doing wrong?
select role to visible your node profile
Hi
you can select role to show your profile at registration time. suppose select prepimum role in "premium_node_type"
Kuldip Gohil
Thanks for the reply
I specified which roles can see each node at registration but it looks like the page is not refreshing properly. When i change the account type from premium to basic it, the text still reads "Signing up for Premium account" but when i go through the steps it signs this person up as a basic member. so pro grammatically the role id is correct but the display is not, any ideas?
i have also that problem
i also face that problem.... i have setup all the things from the start. my problem is solved after taking new fresh drupal.
Kuldip Gohil
Thanks
I'll try this out hopefully it works. Thanks for all the help once again.
thankx
Hi to all this is good