Hi,
I need to assign a group to new users based either on the domain of their email address and some fields that are on the registration form (created using profile.module) as they register for the site. Registration is set to require admin approval. I am using Organic Groups to allow different sets of users to view different data.
Once the user has submitted their account request I want to either add check boxes on the edit user profile form (?q=user/x/edit) similar to how you assign roles/status to users (this could also be placed in a sub element tab where data collected from the extra fields during registration would be) before making the account active.
I have been thinking about hacking the code but not sure where to start. Where (in code) should I look to add the check boxes to the ?q=user/x/edit form? Does anyone have any other workarounds for this problem?
Bype