• Resolved johndoe01

    (@johndoe01)


    Greetings.
    I have a doubt. I have enabled Emails (stock addon) and Authors (paid addon) but there is no way to enable or add a verification link to finish the process for signing up. I placed plugin User Verification but if i add the shortcode with the like the user is already set. Is there a way to implement this correctly if I’m doing it wrong or the integration works better with other plugin?

    Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    right now we do not have an integration with the User Verification plugin or anything similar so i am not sure how to setup it.

    Thread Starter johndoe01

    (@johndoe01)

    Well I have a thing to sort out (at this moment i’m asking on the User Verification support forum as well).

    As soon as i register an author appears a blank instance of the page where the form is (eg User Registration) with the Notice for Resend Verification.

    I tried to redirect into authors to another page but it doesn’t work, Despite the verification arrives to the email and the process works as intended.

    At this moment i’m trying to sort out how can i achieve that, i’ll keep you posted.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    you can try adding define( "WP_DEBUG", true ); in your wp-config.php file and try registering again, if there is some kind of fatal error after registering then it should show now.

    Thread Starter johndoe01

    (@johndoe01)

    Well as i explained earlier this is With WP_DEBUG=true
    User Form
    https://i.imgur.com/6oW4V4C.png
    After sending it
    https://i.imgur.com/czDpr54.png

    So despite debug is on i have no clue of it. I’ll let know to User Verification Forum if they have another idea with it.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    ohh ok thanks for the screenshot, it actually does not look like there is a fatal error, it seems there is a WP_Error and the registration stopped and returned a generated error only.

    Most likely this happened in wpadverts-authors/includes/class-shortcode-register.php in function init().

    The code which triggered the error is either

    
    $user_id = wp_create_user( 
        $form->get_value('user_email'), 
        $form->get_value('user_password'), 
        $form->get_value('user_email') 
    );
    

    or (less likely)

    
    $post_id = wp_insert_post( ... );
    

    My guess is the User Verification plugin is somehow changing the wp_create_user() function to disallow registering without the authorization first but you would need to check with their support.

    Thread Starter johndoe01

    (@johndoe01)

    Well I tried commenting both blocks with no result.
    However in the User verification i found out how to place the Notice I needed to set.
    https://i.imgur.com/99wif02.png

    Was not the expected result but that will work as i need.

    Plugin Author Greg Winiarski

    (@gwin)

    Ok great, thanks for the feedback, maybe someone will find it helpful in the future.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Verification Link on registration’ is closed to new replies.