Specify role for each invite
drm - September 29, 2009 - 00:34
| Project: | Invite |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have a system where different roles have different registration forms (hook_user, not profile) and I need to be able to specify which role - presumably in the link in the invitation that goes out. I suppose it would need to be interpreted by the user hook function, since I'm not aware that Drupal has a built-in way to specify roles prior to registration.

#1
It would be very useful for some roles, sending invitations to be able to choose the role that receive an invitation. And on the basis of this choice form letter invitation.
For example:
Users with the role "teacher", may invite a "teachers" or "students", etc.