-
☆ A M B ☆
- 24,524 Posts
Do you have the users automatically placed in their group on registration? Or are they all registered into one group?
Thanks sottwell.
I have the users automatically registered in their group so what can i do?
-
☆ A M B ☆
- 24,524 Posts
I'm not sure that I understand exactly what it is you want to do. Do you want users to be able to change their group assignments?
Hello Sottwell,
Let me explain more in details..
1) Currently I have one Register form as Coach Registration.
2) There are 12 Team member details with email id inside Coach registration Form.
3) Any coach will be register through coach registration form with Team member details.
4) Whenever Coach registered successfully from coach registration form, One auto password will send automatically to given coach email address and he/she can login in site.
5)My requirement is that Password must be also sent to all the team member during coach registration and (he/she) Team member can also login in our site with login details.
- It means One registration form with multiple register user in One registration form.
-
☆ A M B ☆
- 24,524 Posts
That's what I described. The coach fills out his details, as well as the details of the team members. The normal processing of the Register snippet registers the coach from the fields for his details, sending him his login information.
A post-processor now loops through the sets of fields for the team members, using runSnippet to run the Register snippet to register each team member in turn. Since it's using runSnippet, each one would get his details as usual.
http://rtfm.modx.com/revolution/2.x/developing-in-modx/other-development-resources/class-reference/modx/modx.runsnippet
Alternately, you could have a more complex post-processor to use the API to register each member in turn, sending them the email as they are registered.
https://forums.modx.com/thread/31469/creating-a-new-web-user-with-the-api
http://rtfm.modx.com/revolution/2.x/developing-in-modx/advanced-development/modx-services/modmail
I have same problem !
Sottwell Please give any example if possible. May be it would be helpful to us.
Arkalp.com
Hello sottwell,
I have tried to solve this issue using your above comment but i can't find the proper solution.
Please help me for solution.