• Resolved blegrand

    (@blegrand)


    When using this plugin, the mail sent to a newly registered user does not contain the link to configure his password.

    All i get is :

    Username : [USERNAMEISOK] Password : both

    The “both” part is puzzling, something is obviously wrong with how this email is generated.

    Other than that, the plugin looks great, I hope the author will be able to fix this.

    https://www.ads-software.com/plugins/bnfw/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi blegrand,
    Thanks for your message.

    If you look through the BNFW plugin code, you’ll find no string that matches ‘both’ or ‘USERNAMEISOK’ so i’m not sure, this problem is caused by BNFW.

    Can you confirm?

    Thanks,
    Jack

    Thread Starter blegrand

    (@blegrand)

    Hi Jack, thank you for responding so quickly.

    USERNAMEISOK is just a placeholder i used, but the real username indeed does appear in the email : it’s the expected behaviour, so it’s ok.

    The problem is : instead of having the following string (or something similair : I get mine in french) :
    “To configure your password, go to the following URL?:
    <https://www.mysite.com/wordpress/wp-login.php?action=rp&key=somekey&login=Username>&#8221;

    All I get is a weird “Password : both”

    The reason why I believe it has to do with your plugin is that the situation goes back to normal when I deactivate it, and goes wrong again when I reactivate.

    I’ve searched for “both” in wp-includes/pluggable.php but didn’t find anything suspicious. I suspect it could come from a translation string ? Like maybe a broken sprintf or something like that.

    I’ll keep on testing to try and isolate the error, will let you know if I find anything, or if I rule out your plugin being responsible.

    Anyway, i’m sorry to give you trouble, I like your plugin a lot appart from that issue, and I intend to keep using it when it’s fixed. (and of course i’ll update my rating review after that)

    Thread Starter blegrand

    (@blegrand)

    Ok so i’ve deactivated all my plugins (including yours), and emptied my theme functions.php file. I’m basically running a vanilla 4.3 WordPress.

    Registering a user in these conditions : I get the email right, with username and link to setup password.

    I then reactivate your plugin, delete the user, register again : I get the email messed up.

    Maybe you can replicate on your side ?

    Plugin Author bnfw

    (@voltronik)

    Hi blegrand,
    Hmm. Ok.

    Can you try changing any mention of the string $plaintext_pass inside the BNFW plugin with $notify and see if that fixes it for you?

    Thanks,
    Jack

    Thread Starter blegrand

    (@blegrand)

    I found 5 occurrences in overrides.php and replaced them with $notify, but that didn’t fix the issue.

    Plugin Author bnfw

    (@voltronik)

    Darn, ok.
    It seems to be an issue caused by WordPress 4.3.

    Let me investigate and i’ll try and push a fix next week. I’ve got a number of other small fixes completed as part of the same release too.

    Stay posted!
    Jack

    Thread Starter blegrand

    (@blegrand)

    Alright, i’ll be around ?? Good luck with that and thanks for the great support ??

    Plugin Author bnfw

    (@voltronik)

    This should now be fixed in 1.3.3, just released.
    Let me know if you have any more issues and please feel free to update your review ??

    Thanks,
    Jack

    Thread Starter blegrand

    (@blegrand)

    Fixed ! Awesome,thank you ??
    Will update my review right away. Thanks a lot !

    Plugin Author bnfw

    (@voltronik)

    No probs. thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problem with mail sent to newly registered users’ is closed to new replies.