Support » Plugin: BuddyPress Registration Options » Received Account Approved Email, but NO User Pending Email

  • Resolved mubiesam

    (@mubiesam)


    Hi,

    Should “User Pending Email” send to user earlier than “Account Approved Email”?

    But while testing, we have received Account Approved Email, but NO User Pending Email, any hint?

    Thanks,

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Pending status emails should go out upon the bp_core_activated_user email, so once they have clicked the link to activate the account.

    Hi Michael,

    Thanks for the quick reply.

    We use Super Socializer for Social Login, user received a post-registration email to set account password, then the “Account Approved Email”, but no “User Pending Email”.

    Is there a way we can alter the activation of “User Pending Email”

    Thanks,
    Samuel

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    This plugin? https://wordpress.org/plugins/super-socializer/

    It sounds like they may not be triggering the BuddyPress hook that we rely on. Not a bug by any means, just an incompatibility based on how users are created.

    Hi Michael,

    Yes, that’s the plugin we used.

    Understood it’s not a bug, Is there a way we can alter the activation of “User Pending Email”.

    Thank you!

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Comfortable with editing a plugin momentarily for testing?

    I’m thinking we may be able to get compatibility with this by adding this line at the end of bp-registration-options/includes/core.php

    add_action( 'the_champ_user_successfully_created', 'bp_registration_options_notify_pending_user', 10, 1 );
    

    Should look something like this:

    Screen Shot

    If you’d prefer I create a hotpatched version, I can do that as well.

    Hi Michael,

    Thank you for the code, it worked and test user received the “User Pending Email”.

    But not sure what is the cause, the user profile picture of buddypress on the top right disappeared except admin.

    I had tried to remove the line you provided, and reboot the system, but the user profile picture is still not back. Nor can find any setting in buddypress for this.

    Do you have any idea or suggestion for me to track…

    Thank you very much.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure what may be going on with that part, truth be told. Nothing from that one line of code provided for our plugin should have prevented anything else from processing.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi Michael,
    Thanks for your help, had created a topic on BuddyPress to see if someone has the idea…
    https://buddypress.org/support/topic/toolbar-disappeared-with-show-the-toolbar-for-logged-out-users-checked/

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Noted, thanks

    Hi Michael,

    Just to let you know, while trying back and forth as stated here…
    https://wordpress.org/support/topic/the-most-strange-problem-i-have-ever-met-toolbar-social-login/

    We also found that NO email at all (No User Pending Email Message, No Admin Pending Email Message, nothing) when a new user registered via G+ account.

    Any suggestion where we should look into…
    Thanks,
    Sam

    forgot to mention, above happened after your plugin is re-installed and the line was added.

    BTW, are you working with https://pluginize.com/ , what kind of product or service it is?

    Thanks

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Do not have an answer regarding any of that.

    Based on some quick tracing through our code, we only send emails, when conditions are met, on the following three hooks:

    user_register
    bp_core_activated_user
    admin_init

    First two are during registration process based on a minimum of WordPress core and BuddyPress, the third is during moderation and if the account is approved or denied.

    Any registration of users outside of the process for the first two, and like we’ve covered earlier for the pending email, wouldn’t be covered by our plugin.

    Hi Michael,

    Sorry for the misleading information we might have caused, finally we found the cause is the Woocommerce plugin which disappeared the toolbar, nothing to do with your plugin.

    Thanks very much for your help!

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Received Account Approved Email, but NO User Pending Email’ is closed to new replies.