- This topic has 2 replies, 2 voices, and was last updated 10 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Manually approve members added via the API
Tagged: Custom Form, emember api
I am adding members using the API from a custom form. I have the setting “Manually Approve Member Registration” checked, however, when a member is added via the API their status is “Active”. Since the manually approve setting is on, should the status not be “Inactive” or “Pending”?
The way the club is using the system, they want the members to fill out the application first, then after the application is okayed, pay via PayPal or check. Once the payment is received, the admin should go in and approve the new member after which they can log in and use the site.
You can change it to “inactive” or “pending” ( notice all lower-case letter. remember its case-sensitive) by modifying line number 104 in api/create.php file.
We will update the API to set the status according to the manual approval settings.
Great, thanks very much.
John