hello
I would like allow only some specific users to register new others users from front-end and to auto-login immediately after registration. For do that my registration form contain only:
- First Name
- Last name
- Email
- CB Database Lookup field (this field is used for allow only my specific users to register new user)
Then inside Configuration I set the option "Autogenerate Password" to Yes and for make the immediate Auto-Login I implemented this solution:
www.joomlapolis.com/forum/153-professional-member-support/185909-solved-automatic-login-after-registration#185947
The configuration is also set for not require any user confirmation or admin approval.
All work fine except the fact the new registered user do not receive his standard welcome email who must contain his generated password. This seem to happen because I use the Auto-Login trick.
So I don't know here how to do for send only once the generated password. I tried to see if this is possible using Auto-Action Private Message but no trigger AfterFirstUserLogin is proposed. Even if this trigger was available, I don't know if the message could be sent always because I use the Auto-Login trick.
Any clue please ?
thank