Tips and Tricks HQ Support Portal › Forums › WP eMember › Manually approving a user after registration. › Reply To: Manually approving a user after registration.
Hi. I’m having the opposite issue from the original poster. When a member completes registration or an existing member purchases a new membership level on top of their current one, they are being set to inactive and I have to go in and change them to active before they can log in.
I have the “Manually Approve Member Registration” setting un-checked, but still the account is inactive until I change it
I found this in your documentation, which makes it sound like this is the default behavior:
‘If you want to manually approve the member after they register then check this option. A member’s account will be “Pending” after registration and the member will not be able to log in until you manually set the status to “Active”.
So, I don’t understand why I need to go in and change from “Inactive” to “Active”‘
However, I found the following in this thread, saying that it should be the opposite and would require a change to the code to have a user set to “Inactive”
‘Open the “eStore_misc_functions.php” file of the eStore plugin and search for the following:
$account_state = ‘active’;
Once you find it change it to the following:
$account_state = ‘inactive’;’
Can you tell me what I need to do to prevent user accounts being automatically changed to “Inactive”?
Thanks for your help!