I modified the module so that you can select the role you want from a drop down list on the user registration form. The admin can choose which method (i.e. select role before registration form, or select role on registration form) is preferred.

While I've tested this patch to make sure that it works with the new feature, I haven't tested that the old feature still works. (Though I think it should.)

CommentFileSizeAuthor
rolesignup.module3.89 KBshaisachs

Comments

cyberswat’s picture

Assigned: Unassigned » cyberswat
cyberswat’s picture

Status: Needs review » Postponed (maintainer needs more info)

If you'd like to submit this as a patch I'll take a look at it

cyberswat’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I kinda placed this functionality into the new module. It now has an admin interface to allow the public end user to select a single role or multiple rolls. It presents these as a group of radio or checkboxes, but not a select box. Take a look at the dev snapshot http://ftp.drupal.org/files/projects/autoassignrole-5.x-1.x-dev.tar.gz and let me know if this meets your needs. If it does not please file a ticket against the new project at http://drupal.org/project/issues/autoassignrole