By Sunrises on
Hi,
I'm using Drupal 6.6. How can we create different registrations forms based on roles. It may possible in Drupal 5.x(please have a look at http://drupal.org/node/194747).
Thank you
Hi,
I'm using Drupal 6.6. How can we create different registrations forms based on roles. It may possible in Drupal 5.x(please have a look at http://drupal.org/node/194747).
Thank you
Comments
I have been looking for this
I have been looking for this feature for a few weeks but still waiting ..
you might be able to do this
you might be able to do this with content_profile by using different content types for profiles for different roles and enabling the collection of the node profile data on the registration form (this requires the dev version).
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
can you explain clearly
Hi WorldFallz
please explain clearly dev version means devel module or something else...
Thank you
dev version refers to the
dev version refers to the dev version of the content_profile module (as opposed to the official release). The dev version of content_profile contains a second module that enables the collection of profile data on the registration form. Enable the module, and the option appears in the content_profile options.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Doh! Still missing where to enable reg form fillout
Ok, I'm missing something very basic here.
Using the Nov 24, 2008 dev version,
I've enabled the sub-module "Content Profile User Registration",
and I still don't see any Content Profile fields on the registration form.
(Yes, I have defined some fields, eg First Name and Last Name.
Yes, in the Permissions these CCK fields are enabled to edit for anonymous users.)
Apart from enabling the dev version sub-module for user registration, is there another step?
I and several others are stumbling on this very basic point.
Help!
Do you have the content
Do you have the content permissions module enabled? If so, don't forget to give the anonymous role access to the fields you created for use on the registration form.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Still Stuck on registration display
Yes, Content Permissions module is enabled. Permissions are enabled for anonymous users to the CCK fields as I mentioned in my note.
Still stuck here.
Not sure what else to
Not sure what else to suggest-- I'm using the same version as you and it works perfectly....
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Edit the content
Edit the content type
admin/content/node-type/
in the 'content profile' fieldset ' select
'Use this content type as a content profile for users'
Save.
Edit content type again
Click the 'content profile tab'.
User 'user registration'
select the 'use on registration' checkbox.
Alan
Drupal Development and Themeing, Galway, Ireland
Drupal development and themeing, Galway, Ireland
chicken and egg ... when a
chicken and egg ...
when a new member register, drupal still doesnt know his role ...
unless the content_profile has 2 parts..part 2 is dependent on the role selected in part 1 ..
Enabling the collection of the node profile
Hi mm167
how can we enable the collection of the node profile data on the registration form?
Thank You
using the registration
using the registration (sub-module of content_profile in dev version) as answered by WorldFallz.
but ...
1. it is still in dev stage,
2. only one content as profile.
i.e. even u may have 2 types of users, say, student vs teacher, u can have only 1 content profile.
..may be...u can design 1 content profile (i.e. the form), such that teachers fill in part A, and students fill in part B ..something like that ..
may be, in the content profile, click the student box will show the part B and hide the part A, ...
......
a better way.... talk with the developer of content_profile. tell him 1 content for all types of member is NOT enough.
only one content as
Not true. Right from the project page:
It creates 1 content type named "profile" for you, but you are not limited to it. You can designate any of your existing content types as a profile type on the content type edit for in the content profile fieldset. As soon as you do that and save it, you get the "content profile" options tab on the content type edit page.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
Register Form
Hi
Yes, it is right..but
how can we get the link for content profile in register form?
Thank you
the sub-module
the sub-module "registration" inside the module "content_profile" will append the "content profile" as part of the registration form. That's the new feature in the dev version of content_profile.
the 1st time when a user login to drupal, he will be asked to fill in the registration form (the content profile).
ha ha ..may be the final
ha ha ..may be the final version have provided such feature ...
Any otherway.......
OK chilipi mm167,
but is there is any other way to add links to register form that will redirect to the different profiles based on different roles...
Thank you
Whatever
Whatever display/registration settings are available (and there are several), are located on "content profile" tab appended to every content type once you mark it as a profile type. Go there and look.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
if my understanding is
if my understanding is correct, the title of this post is ...
"Different registration forms based roles?"
Yes..
Hi
Yes it is.
After creating content profiles as nodes, I want add these nodes as links in the registration page. I thought then my task may easier...
Thank you
based on the latest dev
based on the latest dev version of content_profile on my hand, by making using of the registration sub module, u can build many profile contents as u like, disable / enable as u like, and append to the registration form (now the devil) NOT depends on role. i.e. all users will see the same registration form.
i believe, it is NOT very difficult, and is a general request from USER's point of view, a parameter should be included to fire-up the corresponding content profile.
Say, a site for Students and Teachers.
In this case, when a student registers, he/she may need to provide what he/she want to LEARN. And, this is not applicable to a new teacher member.
In general, for such web sites, 2 register links will be proved.
for example,
http://xxxxxx/register?type=teacher
http://xxxxxx/register?type=student
but i just dont find this "?type=xxx" in the content_profile. ;-(
I could not find such....
Yes you are in my way. I could not find such thing in Content profile. Let me know if you get right one.
Thank you
good point! Maybe it can be
good point! Maybe it can be handled by providing differnt links to register in the first place. Node profile can collect the data in two parts-- but not if it's going to be collected on the registration form (afaik anyway).
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
autoassignrole
I am working on this task as well. There is the autoassignrole module, which lets you allow a user to choose their role, either by checkboxes on the registration page, or by going to a specific url per role. This easily takes care of assigning a specific role. But it does not take care of displaying different fields at signup, based on the chosen role.
I think this can be done either in theming, or in a small custom module.
There is a great article and discussion about form manipulation here - http://www.lullabot.com/articles/modifying-forms-5-and-6
One thing I'm thinking of is using the URL-based approach of autoassignrole, and creating a module that detects the path and hides the unneeded fields from the registration form.
Overthinking the problem
What I would do is create a simple gateway page, use a simple javascript or even php based form that the user selects which type of profile they want, once this is done and they submit they are then redirected to the correct page, or if you want to be fancy about it and do an ajax sort of deal, that would work also. This way you could use the module that allows the various profiles and a user to choose them(setting up the right form for the right profile) and you also meet the need of getting the user to the right form to feel out.
Sometimes KISS works best.
Chris McIntosh
(812) 250-4103 | cmcintosh@wembassy.com
But how...
Hi
But how can we add JavaScript functions to the check boxes (means roles will appear as check boxes in register form,if we use auto assign role module).
The trick would be to get a
The trick would be to get a "second page" in the sign up process that users are directed to on the basis of what they choose for autoassignrole (this is how it works in the D5 setup mentioned above).
Not sure how to do this ? could logintobogin provide something along this line in terms of the redirection on sign up link if there was some way of encoding the "role" selected into the URL ?