Forums

Automatic group assignments based on email

Mando 21 Mar, 2014
Hi,

I wondering if there is a way to do what this extensión do with Chronoforms:

http://extensions.joomla.org/extensions/access-a-security/site-access/login-restriction/16287

Basically, I want a domain restriction and group assignments based on users emails.

I can make the domain restriction combining a text field and a drowdown list with email's domains, right?

But the "Joomla Registration" event, just allows me to chose only a group, and I want to classify the users in groups by their emails.

Regards,
Santiago.
GreyHead 23 Mar, 2014
Hi Santiago,

Once you have added a new user with the Joomla! Registration action you can change their User Group using PHP in a accustom Code action later in the event. I'm pretty certain that the code to do that is in the forums here.

Bob
This topic is locked and no more replies can be posted.