• Resolved moritz00

    (@moritz00)


    Hello,

    i need the functionality that when users have registered, they have to confirm their email address and afterwards (after the email has been verified), the user should be able to be confirmed or rejected by admins. Both for the case after the email has been confirmed and then manually accepted or rejected, separate email templates should be send to the user.

    I don’t currently see an option in this plugin, is that correct? And if it is, how do i set it?

    I have already tried to create a workaround with two user roles (one for the email confirmation and one user role, which is then reassigned as admin for manual activation), but here too the problem is that there is only one email template for an account confirmation (and not one for email activation and one for manual activation).

Viewing 2 replies - 1 through 2 (of 2 total)
  • @moritz00

    This code snippet is being used when Admin review is required
    after an User email confirmation:

    add_action( 'um_after_email_confirmation', 'um_after_email_confirmation_admin_approval', 10, 1 );
    
    function um_after_email_confirmation_admin_approval( $user_id ) {
    
        um_fetch_user( $user_id );
        UM()->user()->pending();
    }

    Install by adding the code snippet to your active theme’s functions.php file
    or use the “Code Snippets” Plugin

    https://www.ads-software.com/plugins/code-snippets/

    Plugin Support andrewshu

    (@andrewshu)

    Hi @moritz00

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘E-mail activation AND manual confirmation’ is closed to new replies.