Did not receive username and password after signing up as Super Admn

I was testing the process for signing up a new site while logged in as the Super Admin.

The site was created fine (by New Blog Templates), but the sign-up form said a username and password would be mailed to the email provided during registration.

I did not receive the username or password.

Thanks for your help.

Here's my site: http://wordsandwriters.com

I will grant access.

Joe.

  • Michael Bissett

    Hey @joejacobson, Michael here! :slight_smile:

    I've tried to reproduce this over on my own test site, and so far, I'm receiving the signup email successfully (though as I'm doing it with an active account, only the username is given, the password is stated as "(your current password)", seeing as I've already set one).

    Have you tried using an SMTP plugin on your site yet? If not, then you can give one of these a try:

    https://wordpress.org/plugins/postman-smtp/
    https://wordpress.org/plugins/easy-wp-smtp/

    If that doesn't get this working though, then could you please enable Support Access to your site? I'm not seeing that it's active presently.

    Thanks! :slight_smile:

    Kind Regards,
    Michael

  • Michael Bissett

    Hey @joejacobson, thanks for your patience here! :slight_smile:

    The cause of this was due to the Remove Email Verification plugin, I've gone ahead and disabled it on your network, as it wouldn't be needed with your configuration (since a user has to pay in order to create a site on your network, thus circumventing the normal verification process).

    I was able to successfully a pair of sites, and receive the email with the login details, can you confirm that it's working over on your end now?

    Please advise,
    Michael

  • Michael Bissett

    Hey @joejacobson,

    Okay, from the way this was put earlier:

    I was testing the process for signing up a new site while logged in as the Super Admin.

    I thought you were referring to signing up on the front end, rather than the back end. That said, I've tried doing a test signup like this (on the back end) over on my own test site (as the Support Access has expired for your site), and I'm still seeing the confirmation email come through for me.

    I'd like to have another look at things, could you please re-enable Support Access to your site?

    Thanks! :slight_smile:

    Kind Regards,
    Michael

  • Michael Bissett

    Hey @joejacobson, no problem! :slight_smile:

    From the back end, I didn't get the email with username and password.

    I just tried doing a test registration from the backend on your site now, and I saw the email providing the username & login details... hmm.

    This might be a real silly question (good to get those out of the way though), but have you checked your spam box? I'm curious to know if whether that email ended up there, instead of your inbox.

    In light of this, please confirm that I don't need the "Remove Email Verification" plugin.

    Nope, you're not going to need that in this case. :slight_smile:

    Kind Regards,
    Michael

  • joejacobson

    Hi Michael,

    I am receiving the emails now! However, I seem to be receiving 2 emails (simultaneously) as shown below. Is this a mis-configuration somewhere?

    First email:

    Username: test159

    To set your password, visit the following address:

    <http://wordsandwriters.com/wp-login.php?action=rp&key=xxxxxxxxxxxxxxxxxxxxx&login=test159>

    http://wordsandwriters.com/wp-login.php

    -----------------------------------------------------------------------------------

    Second email:

    Dear User,

    Your new Words and Writers site has been successfully set up at:
    http://test159.wordsandwriters.com/

    You can log in to the administrator account with the following information:
    Username: test159
    Password: xxxxxxxxxxxx
    Log in here: http://test159.wordsandwriters.com/wp-login.php

  • Michael Bissett

    Hey @joejacobson,

    Nope, in this case, WordPress is sending us two emails, one for the main site, and the other for the subsite created on your network. They changed to that password setup link for the main site email a while back, it used to be offering the same login details as you'd see in the 2nd email.

    In this case though, we can remove that first email entirely (due to the nature of your configuration) by inserting the following as a mu-plugin:

    <?php
    
    if ( !function_exists('wp_new_user_notification') ) {
    
    	function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' ) {
    	}
    }

    To do this, go to your /wp-content/ folder via FTP, and find the folder called "mu-plugins". If there is no folder with that name, then you'll want to create one. Then, create a file inside that folder, and give the file any name you like and paste the code in there.

    You don't need to activate that plugin, as it will be always be automatically activated. Please be sure that there's a PHP start tag at the beginning, like what I've got in the code above:

    <?php

    Could you try that please, and see if that helps? :slight_smile:

    Kind Regards,
    Michael