You asked about 2 completely different usages. 1 usage you wanted a form to post to CBs registration page and have some fields auto-completed based off what they filled out in your module form, which is done through jQuery. The second usage you asked about updating a users database values, which is done through the API and not through queries.After this, you write something about GET instead of POST etc, but i got confused by reading that paragraph. Can you please explain this to me?
Why do you need a custom implementation for this? Just setup the fields on your normal CB registration form to give this exact experience and eliminate all the troubles of trying to implement a custom solution.Finally, lets assume that i have a form with 3 fields: name, e-mail and password. So, by clicking on register button, i need to execute a php script that creates new user, passes the values from name, e-mail and password to cb_name, cb_email and cb_password fields and also triggers a CB Auto Action that assigns a user to a group and a cb subs plan.
No, I don't understand why you have a part of a query at the very bottom. This is PHP, not SQL. Please see the below tutorial as it describes how to register a user through API.So the main idea of the code is something like this, correct?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The emails have to be triggered. Execute the below before the after registration trigger to send the emails.The user and the administrator do not receive confirmation/notification e-mails. If i try to register through default cb registration form, i receive the confirmation e-mails. Maybe inside the code in the 2 links above, the user registers as enabled/activated and thats why he doesn't receive confirmation e-mail?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.