hello
I found maybe a solution for allow me to do what I want. I discovered a component called "AddUser" who allow to add/create new users from frontend when already logged-in. It allow also to fill all users data asked in the Adduser registration form in both Joomla and CB table using SQL.
extensions.joomla.org/extensions/clients-a-communities/user-management/13753
I tested this stuff and it work well. The problem now is I would like run some CB Triggers usually fired during the normal CB registration step. This for let me use the addon Auto-Action (for send welcome message and more) and also for place new user inside the default Cbsubs plan. I need of course to fire the default Cbsubs plan (exactly like if the registration was done from default CB registration form) and not only to place the user in the plan without any action.
If I'm not wrong this can be done using your API. I read your docs here:
www.allmysocials.com/index.php?option=com_flexicontent&view=items&id=231:include-api-externally
AND
www.allmysocials.com/index.php?option=com_flexicontent&view=items&id=228:event-triggers
And I see more less what I necessary to do. I will see a little bit by myself and ask developers of AddUser or hire a freelancer for help me. The AddUser component is made for be customized and all code related to registration form is located inside one file. I suppose is necessary to include all necessary API code in this file.
I see for example the code who allow to subscribe to the default Cbsubs plan (the one present inside CB registration form) is:
Code:
<input type="hidden" name="cbpplanE[0][selected][]" id="cbpplan1" value="1" />
I suppose I must insert this code in the AddSUser form...
However have you some suggestion/advice ??
thank