• Resolved bryanhiggs

    (@bryanhiggs)


    I wish to use Profile Builder in my website. So far, I am impressed with what I’ve seen. However, I haven’t figured out how to do something using it. Perhaps you can advise me how to implement what I want to do?

    I wish to have people register for an account, subject to admin approval. I have been using the “New User Approve” plugin, which has worked well for me. When people use the standard WordPress Register form, they just enter their desired username and email address. There are no other fields in the standard WordPress “Register for this site” form — in particular, no password fields, which is what I want. I then get an email from the website telling me that someone has registered; I either approve it, in which case the website sends an email to the user, giving them instructions on how to set their initial password and to log into the site. If I deny their request, an appropriate email gets sent, and the process stops.

    So, now I use the Profile Builder register form in a page on my website. It shows the following fields: Username, First Name, Last Name, E-mail, Confirm E-mail, Password, [Repeat Password] and “Send these credentials by email”. I am happy with all these fields, except the password fields, because I don’t want the user to specify a password until I’ve approved the account. I also would not want the “Send these credentials by email” field, as it is premature before I’ve approved the account.

    Unfortunately, the Manage Fields admin page for Profile Builder does not allow me to delete the password field. And I don’t know how to remove the “Send these credentials by email field”.

    Also, the response upon submitting a registration form is that the account was created. This is misleading, because it is not yet active, and I don’t want to confuse the user. Because of the “New User Approve” plugin, the account is created as Pending, and as yet cannot be used to log into the website.

    Can you help me figure out how to do what I need to do?

    Thanks, in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bryanhiggs

    (@bryanhiggs)

    Anyone? I hope I wasn’t too long in my explanation?

    This seems to be a common requirement. Can anyone help me figure it out?

    Thanks!

    Hi Bryan,

    Sorry for the late reply. I will answer your questions below:

    Inside Profile Builder Hobbyist and Pro we have the Admin Approval feature that you can use to approve your users after registration.

    Profile Builder is not integrated with “New User Approve” plugin because it has its own Admin Approval feature. This plugin only works on the Default WordPress Forms.

    The password field is a mandatory field but even if the user setup the password he will not be able to login if he is not approved. With some custom code we can remove the password field and generate an automatic password for the user.

    Using the Profile Builder Admin Approval feature, after registration the Admin is notified about the user registration. He will need to login and go to User -> All users -> Admin Approval. If he approves the user, the user will receive a specific email and if he doesn’t the user is notified about this. You can customize these email notifications using the Admin Email Customizer and the User Email Customizer modules available in Profile Builder Pro.

    We can hide the “Send these credentials vie email.” checkbox with some custom code. Add it inside your functions.php file or inside a custom plugin:

    /*
     * Send Credentials via Email hidden. Tags: send credentials, email
     */
    
    //add_filter('wppb_send_credentials_checkbox_logic', 'wppbc_send_credentials_hidden', 10, 2);
    function wppbc_send_credentials_hidden($requestdata, $form){
        return '';
    }

    You can test out Profile Builder Pro on our demo install.

    If you have any other questions regarding the Pro version please submit a support ticket because we are not allowed to offer support for paid plugins on these free forums.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Implement Register Subject to Approval’ is closed to new replies.