Hello. I am pulling my hair out at this point trying to find a solution for this.

I have a need for people to sign up either as a student or an affiliated staff member. I would like each of these registrations on a separate page. for example, I would like to have a page with an explaination of our affiliated staff program with a link to register. same for students.

I have content_profile and autoassignrole modules installed but still cannot seem to grasp how to create the forms.

I am still new to Drupal, and I am currently working to move my site from an existing DNN site to drupal, simply for the ease.

Any help would be greatly appreciated.

Comments

WorldFallz’s picture

Just create different content_profile content types for the different roles and setup autoassignrole to use them as desired.

jzimmerman4048’s picture

So I actually figured it all out, it wasn't too difficult. However, I am getting errors now and need some assistance.

I created my Roles first. Then I created the content_profile type. I created the Auto Assignment for the role with a path and all. When I go back to the content profile, and click on the Content Profile tab, I get this warning: warning: Invalid argument supplied for foreach() in /var/www/clients/client0/web5/web/includes/form.inc on line 1206..
I see the role selection box, but when I check it and save changes, the check disappears. Am I doing something out of order, or is this a module issue?

If I go to the path that I setup, I get a registration form, but then get warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/clients/client0/web5/web/sites/all/modules/autoassignrole/autoassignrole.module on line 461.

Thanks again for the help.

jamesmcd’s picture

I am also getting the same errors thrown up twice when clicking the tab on the registration page:

warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/mysite/public_html/sites/all/modules/autoassignrole/autoassignrole.module on line 461.

warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/mysite/public_html/sites/all/modules/autoassignrole/autoassignrole.module on line 461.

Have you found a work around for this?

Many thanks

weizrd’s picture