Issues when removing username and password fields
-
Hello. I host a web site for a small charity and I don’t have the luxury of paying for code. Your free plugin allows us to raise funds in ways that we would otherwise not be able to do, so a big thank you for providing the plugin free of charge.
I use Paid Memberships Pro and Register Helper Add On to create registration forms for events. There is no member content on the web site and so I don’t require the username and password fields. I used the ‘pmpro_skip_account_fields’ filter to remove these fields and wanted to share some observations with you.
– The validation requires that username and password are completed by the user, even if these fields are not displayed. I used the filter ‘pmpro_required_user_fields’ to modify the required fields but ideally the validation should behave differently if ‘pmpro_skip_account_fields’ is true.
– I also need to allow an email address to be used in two or more registrations (a parent registers on behalf of two of more children) and I used the filter ‘pmpro_checkout_oldemail’. WordPress rejects the second user account creation. I was able to overcome this using other filters you provide, however before I did this the WordPress error message caused Paid Memberships Pro to display the message “Your payment was accepted, but there was an error ….” even though the payment had not been accepted (I use PayPal Standard).
– The filter ‘pmpro_checkout_oldemail’ does not do what I think it was intended to do now that WordPress requires unique email addresses in user accounts. I used ‘pmpro_checkout_new_user_array’ and ‘pmpro_setup_new_user’ to bypass the WordPress validation during user account creation.
These are minor issues for a minority use case and may not even be worth changing.
once again, many thanks for the plugins and the great documentation on the web
regards
Dean
- The topic ‘Issues when removing username and password fields’ is closed to new replies.