I have site use cms wordpress and site user aMember Pro ver4. I setup the same video http://www.amember.com/p/video/#wp Now, on site wordpress. I write function: Code: <?php $url = 'http://YOURDOMAIN.COM/amember/api/users';. $fields = array( '_key' => 'SECRETKEY', '_format' => 'xml', 'login' => 'user0001', 'pass' => 'user0001', 'email' => 'user0001@yahoo.com', 'name_f' => 'Mr', 'name_l' => 'user0001', ); $fields_string = http_build_query($fields); //open connection $ch = curl_init(); //set the url, number of POST vars, POST data curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_POST,count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string); //execute post $result = curl_exec($ch); //close connection curl_close($ch); User add to success aMember. But user haven't worpdress. If I login into aMember site. I update user 'user0001'. affter user update. This user add to wordpress. Please, help me! Thanks
You are trying to add user, but this user doesn't have an access. Check this user in amember, he have "pending" status, so should not have an access to content or integration. You should add access for this user as well.