Hello, I need to create a user automatically in amember and also trigger the custom third party integration plugin to update another database table Anyone has an idea on what's the best way to do this? Regards, Chuck
When user should be created? And how you want to do this? In regards to third-party database update, this will work by default, if you have plugin that do for that database already.
I have the integration working and when I create a user in amember it creates the user in my application database. What I want to create individual users in amember from a php script and have the user appear in my application database through the intergration plugin. What is best way to do this?
Here is an example how you can create user from other php script : PHP: include "/amember/bootsrap.php";$di = Am_Di::getInstance();$user = $di->userRecord;$user->login='login';$user->password = 'pass';$user->email = 'email'$user->insert();