It would be great to be able to set up different profiles for each role. I have made a module that will allow user to register for a role at sign up - that module and the role based profiles would helpa lot of people I would guess.
It would be great to be able to set up different profiles for each role. I have made a module that will allow user to register for a role at sign up - that module and the role based profiles would helpa lot of people I would guess.
Comments
Comment #1
fagoyeah that's a planned and already possible feature.
Just set the access permissions for your profile content type so that only the desired user roles have access - further you can create different profiles for different roles this way.
Comment #2
fagoComment #3
sym commentedI'm not sure I like the idea of setting up role based profiles with the permission system.
For my idea to work, I want the profile page to be viewable when the user registers (in the same way as the existing profile fields do, selecting what fields are shown on the register page). When a user registers they don't have a role, so role based permissions wont work!
I would like to select what profiles were tied to what roles so I could use that info on a register page for that role.
See my module in http://drupal.org/node/75130 for more of an idea.
Comment #4
fagoQuite interesting ideas, however I see a problem: If the role isn't set yet, which role's profile shall be used? ;)
Further I currently not plan to look on offering profile fields on the registration screen, as this would be quite hard with nodes.
I set this to fixed again, as per role profiles are already possible.
Comment #5
sym commentedFair enough.
I'm getting the role that will be assigned to the user from arg(3) in on the registration page: user/register/role/{rid}, so if you were to include profiles in the registration then you could do the same I guess.
I might look in to doing it myself, as I think a lot of people will want nodeprofile fields on the registration page, if they are able to select what form is loaded in the URL it would add a lot to drupal IMHO. Would you be interested in a patch if I get anywhere?
Comment #6
fagoof course, that would be great
Comment #7
(not verified) commented