Sorry for the delay...I was a bit under the weather over the weekend. Anyway, I have attached a simple product for you to test.
The product has two settings, one which allows you to enable/disable it (the default value is "disabled" so you will need to enable it first.
The second setting allows you to define the custom profile fields and the usergroupids associated with the possible values from that profile field.
For example, I used a single-line text profile field, and if a new user enters one of these strings:
- Administrator
- Global Moderator
- Moderator
Then they are moved to that usergroup once registration is completed. The definition I used is:
field5|Administrator,6|Global Moderator,5|Moderator,7
Please let me know if you have any issues, and/or would like any additional features.