Reset to “Pending”
-
We need the option to reset a “denied” user to pending…
Unfortunately, the admin of our little neighborhood association denies a user registration request because we haven’t heard back from the user with the information we need to verify their residency in in our neighborhood. The new user claims never to have received the email with the verification instructions.So, we need a way (perhaps by adding a 2nd button for “Pending” after the “Approved” button in the “Denied Users” list?) to set a Denied status back to Pending which we assume would trigger an action to resend the pending email message here (from “new_user_approve.php”):
>>
? ? ? } else {
? ? ? ? ? ? // User Registeration welcome email
? ? ? ? ? ? $disable = apply_filters('nua_disable_welcome_email',false, $user_id);
? ? ? ? ? ? if(false===$disable) {
? ? ? ? ? ? ? ? $message = nua_default_registeration_welcome_email();
? ? ? ? ? ? ? ? $message = apply_filters( 'new_user_approve_welcome_user_message', $message, $user_email );
? ? ? ? ? ? ? ? $subject = sprintf( __( 'Your registration is pending for approval - [%s]', 'new-user-approve' ), get_option( 'blogname' ) );
? ? ? ? ? ? ? ? $subject = apply_filters( 'new_user_approve_welcome_user_subject', $subject );
? ? ? ? ? ? ? ? wp_mail(
? ? ? ? ? ? ? ? $user_email,
? ? ? ? ? ? ? ? $subject,
? ? ? ? ? ? ? ? $message,
? ? ? ? ? ? ? ? $this->email_message_headers()
? ? ? ? ? ? ? );
? ? ? ? ? ? }
? ? ? ? }
<<
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.