abhashdc
Forum Replies Created
-
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @simanonok,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @planetbridge,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @f4rob,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @imran3may,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @radik19,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @mrinasz,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @jakubkudlacek,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @zeddee,
Thank you so much for taking the time to leave this wonderful review. We really appreciate it. 🙂
Good Day,
Best Regards.Hi @robbruno,
As a matter a fact we do. This setting is already enabled when you select admin approval in the settings. Are the emails not being sent even though you have set it to admin approval?
Regards
Hi @chefnelone,
Here is a way around for that. If you set the User Registration’s setting to Admin Approval. Your issue with form 1 will be solved. Now for form 2, note its form id and then go to the function.php in your active theme’s folder and paste this code:
add_action( 'user_registration_after_register_user_action', 'approve_form', 10, 3 ); function approve_form( $valid_form_data, $form_id, $user_id ) { if ( 40 == $form_id ) { $user_manager = new UR_Admin_User_Manager( $user_id ); $alert_user_email = true; // Set true to send email to user for approval. $user_manager->save_status( UR_Admin_User_Manager::APPROVED, $alert_user_email ); } }In the above code, please replace 40 with the form ID of your form 2. Now the user who gets registered through this form will be automatically approved and they will be able to login manually.
Regards
Hi @hydromanic,
That’s strange! Can you please contact us via help@wpeverest.com so that we can see what is going wrong in the site?
Regards!
Hi AndSmith,
You will also need to select the Google reCaptcha option in your form setting. After doing this you will have reCaptcha enabled on your site.
Regards
We do not have such a feature but you can achieve this by adding the following code in your theme’s function.php file.
function ur_set_user_status( $user_id ) { $user_manager = new UR_Admin_User_Manager( $user_id ); $user = get_userdata( $user_id ); $user_role = $user->roles; $to_approve_roles = array( 'customer' ); // Your user roles to be approved automatically. $alert_user_email = true; // Set true to send email to user for approval. if ( array_intersect( $to_approve_roles, $user_role ) ) { $user_manager->save_status( UR_Admin_User_Manager::APPROVED, $alert_user_email ); } } add_action( 'user_register', 'ur_set_user_status', 20 );Let me know if you have any questions.
Have a great day!
Regards