BuddyDev

Search

[Resolved] Disable Activation prevents "Forgot Password" Email

  • Participant
    Level: Initiated
    Posts: 6
    Blake Brysha on #26914

    Hi,

    I was previously using the free BP Disable Activation Reloaded plug-in to skip over the activation step in registration process. The issue was that it was:

    1. Preventing a new user email from being sent AND
    2. More important – preventing my password retrieval email from being sent

    I decided to purchase your “Auto Activate..” plug-in thinking it would resolve the issue—because updates are much more current—but am experiencing the same issue: https://hive80dotcom.staging.wpengine.com/

    Please offer a solution as soon as possible or give me a refund for my purchase.

    Thanks.

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on #26915

    Hi,
    Welcome to BuddyDev forums.

    1. Can you please tell me what exactly you want to achieve. That will help me assist you better. I am sorry, I am not sure from the above.

    We do prevent sending mail for forgotten password but it is only when user account is created. If you are trying to reset password for existing account, It does not prevent the mail.

    Since the user already saves password while registering with BuddyPress, so the forgot password email on account creation was a nuisance.

    Also, we have a 100% refund policy. Let me assist you with your issue. If not, let me know and I will issue the refund.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Blake Brysha on #26916

    Hi Brajesh,

    Thank you for the prompt reply. I see that I was wrong in that forgot password does work for existing accounts — I was testing with a new account, so it makes sense that it wasn’t working.

    Even though it’s not an activation email, I’d still like to send new users a welcome email with some info on how to use the site. These are the settings I have in place currently:

    Under Buddypress Emails > Situation: Recipient has registered for an account.

    …but this email doesn’t seem to be firing when plug-in is enabled. It works when it is not.

    Any ideas to keep auto activation and still send new users a welcome email? Please let me know.

    Thank you, in advance.

    Blake

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on #26917

    Hi Blake,
    Thank you.

    I am glad that worked as expected.

    Since BuddyPress sends a validation email on account creation(user registration), we had that disabled by using this code

    
    add_filter( 'bp_core_signup_send_activation_key', '__return_false', 110 ); // 5 args,no need to send the clear text password when blog is activated
    
    

    You can either enable it by putting this code in theme’s functions.php

    
    
    add_filter( 'bp_core_signup_send_activation_key', '__return_true', 111 ); 
    

    Or I can put an update by tomorrow with a settings panel that will allow you to select it there.

    Please let me know which suits you.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Blake Brysha on #26920

    Thank you so much, Brajesh.

    I’ll try the functions.php addition and get back if I have any trouble.

    Great support! Really appreciate your help.

  • Participant
    Level: Initiated
    Posts: 6
    Blake Brysha on #26921

    Hi Brajesh,

    I added the following line to my child theme’s functions.php file:

    add_filter( ‘bp_core_signup_send_activation_key’, ‘__return_true’, 111 );

    …it doesn’t seem to be working, unfortunately (still not getting new registration email). Is the above line all I need to add, or is there more to it? Sorry, I’m a bit of a noob when it comes to functions.php.

    Please let me know.

    Thanks

    • This reply was modified 5 years, 7 months ago by Blake Brysha.
  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on #26923

    Hi Blake,
    I am sorry for the inconvenience.

    Please allow me to check and get back to you in next 30 – 45 mins.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on #26930

    Hi Blake,

    Thank you for the patience. It seems the above code may not work from theme’s functions.php.

    Please use FTP and navigate to wp-content/plugins directory.

    Do you have a file named bp-custom.php there? If yes, Please append the code from my previous message

    
    
    add_filter( 'bp_core_signup_send_activation_key', '__return_true', 111 );
    
    

    If you do not have this file, Please create a file there and name it bp-custom.php and put the contents from following page

    https://pastebin.com/raw/j0WCitnA

    The only difference is that the new file contains the beginign php tag.

    This approach works as I tested before replying.

    PS:- Make sure to change the email subject as it is ” Your username and password” which is confusing.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Blake Brysha on #26931

    That fixed it!

    Thank you so much, Brajesh!

    I appreciate all of your help today.

    BB

  • Keymaster
    (BuddyDev Team)
    Posts: 25058
    Brajesh Singh on #26935

    Thank you Blake.
    I am glad I was able to help.

    Best regards
    Brajesh

The topic ‘ [Resolved] Disable Activation prevents "Forgot Password" Email’ is closed to new replies.

This topic is: resolved