Integrate with Node Profile

eggthing - February 5, 2008 - 17:11
Project:Auto Assign Role
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:cyberswat
Status:won't fix
Description

The now deprecated rolesignup module used to integrate with Node profile and enabled the creating of alternate profiles for each role. Could this module do the same thing too?

#1

cyberswat - February 12, 2008 - 16:29
Category:feature request» support request
Assigned to:Anonymous» cyberswat
Status:active» closed

The short answer is yes, it should do the same. The long answer is that the only thing this module does is assign roles at user creation time and provide an interface for how that happens. It's written so that any module that is using core Drupal will work correctly. Another module should be able to edit the sign up process with any number of additions and this module will still perform it's task well.

#2

kabojnk - February 14, 2008 - 02:12

Where can we download the old Role Signup module? I can't get the node profiles to work on registration pages without it displaying all node profile content stuff, despite what role the user chooses.

#3

Marcin Pajdzik - March 11, 2008 - 03:10

You should be able to do that with the Auto Assign Role module. Presuming that you have already set up the roles, go to the access control settings (/admin/user/access) to restrict the use to the desired user roles. A user of a given role should be able to create a type of node created for the specific role only.

Say, you have two roles on your site – primary role and secondary role. You create two content types with CCK – primary and secondary - and set them to use as profiles. Go to the access control settings and allow users with the primary role to create and edit own primary content and users with the secondary role to create and edit own secondary content. Now, you should not be presented with all the CCK forms for various roles on registration, but you should be able to choose a role.

#4

ahoria - May 14, 2008 - 12:05
Status:closed» active

I am not entirely sure that I see your point.

During registration, the user only has the anonymous role, so the profile shown during this step cannot differentiate by role, simply because no role is selected yet.

Role Signup did this differently, there it was possible to integrate with different types of profiles for each role.

Correct me if this is not a valid request.

#5

Marcin Pajdzik - May 20, 2008 - 14:28

I use the Auto Assign Role module to enable my users to choose their role. On the registration page when the user has to input their username, password and email address, they are also presented with radio buttons to choose a role. After submitting this form, an account assigned to the chosen role is created.

The user is not presented with their node profile on registration, instead I automatically create an empty node profile for him/her on registration and then redirect them to their node profile when they first login. It can be done with either workflow-ng module or hook_user.

#6

iaminawe - August 14, 2008 - 09:03

I also think that the way Role signup did it by enabling the relevant cck nodeprofile on the user registration page dependent on what role was selected is a much more straightforward way.

I have hit a dead end with the role signup stuff though as the module has been deprecated and so I cannot post issues or seek support... it says that this module does most of what rolesignup did but in actual fact its quite different and does not replicate the most useful features of rolesignup.

I followed the process posted http://mybesinformatik.com/content/custom-role-dependent-user-profiles and you can see in the comments at the bottom what the main differences are that are between rolesignup and autoassign role.

The site in question is http://cutlass.websitewelcome.com/~iamasa/ and you can see by the way the signup is structured as to why it has to use rolesignup. There is an annoying bug with the membership choice being stuck on the first option a user clicks that I think has something to do with a sticky session variable and any help with this (or suggestions) would be greatly appreciated.

Is there any chance that some of these previous features could be built into autoassignrole as optional to enable achieving the same thing that Rolesignup used to?

Thanks
Gregg

#7

cyberswat - August 24, 2008 - 07:09
Status:active» won't fix

The module assigns roles to new users. It does everything role signup did plus some.

 
 

Drupal is a registered trademark of Dries Buytaert.