Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'activation email'

Viewing 25 results - 251 through 275 (of 1,239 total)
  • Author
    Search Results
  • #271046

    In reply to: email verification

    David Cavins
    Keymaster

    If you are asking about bbPress, try the bbPress forum.

    If you’re asking about removing the BuddyPress email verification step for new accounts, there are several plugins that do that:

    BP Disable Activation Reloaded

    BuddyPress Auto Activate Auto Login

    #271043
    David Cavins
    Keymaster

    There is an issue with hotmail/outlook rejecting activation emails (See the fix here: https://buddypress.trac.wordpress.org/changeset/11862).

    Otherwise, the best way to customize your emails is explained here: https://codex.buddypress.org/emails/

    #270874
    David Cavins
    Keymaster

    Hi, it looks like there is a potential issue with the unsubscribe header (at least causing unexpected behavior from Outlook.com ):

    BuddyPress New User Activation Emails & Resends not working

    Sounds like your address should be https, and there are ways to improve your server’s setup to handle mail:

    8 Best Practices To Improve Your Email Deliverability

    #270873
    David Cavins
    Keymaster

    Hi, it looks like the issue is unexpected behavior from Outlook.com:

    BuddyPress New User Activation Emails & Resends not working

    Ending up in spam is not surprising. Email is complicated, and you can check the web for guides about improving email deliverability from your server. Here’s one:

    8 Best Practices To Improve Your Email Deliverability

    #270798
    webmasterfreya
    Participant

    Same problem here. Commented out the If statement and presto the activation emails arrive at Microsoft email services. Hopefully this will be fixed asap.
    Thank you jcrr!

    #270778
    beingtopper
    Participant

    Can anyone Tell the method without any plugin . i have the same problem it was working fine on my first domain having 6000+ active suers on https://www.beingtopper.com but i transferred my all content and redirected the old domain to new domain https://beingtopper.net . now no one can register on Beingtopper.net
    When a person registers on my website using registration form a message appears saying that an activation link has been sent to the email address you provided, but user receives no email.

    Please tell me to solve this.
    is there any problem in wp_mail or do I need to config something in my hosting file manager?

    #270689

    In reply to: Problem with hotmail

    JC
    Participant

    It works now for me.

    I have just registered a Hotmail account and a Gmail account. Both works.

    There some things you can try:

    – Go to dashboard -> settings -> buddypress -> pages and change the activation page associated to buddypress, now it’s “Activar” (I think you are Spanish, I’m from Málaga), You can create another page called “Nuevo usuario” and then associate this new page to BuddyPress.

    – Restore the emails (Dashboard -> tools -> BuddyPress)

    It should work now for you too once you are not adding the Unsubscribe header anymore.

    #270682

    In reply to: Problem with hotmail

    Hello,

    Thank you very much for your response, I have deleted that code as you said and then I have sent the activation email to a hotmail account, but the result remains the same, the mail does not arrive.

    I have WP Mail SMTP installed, the email is authenticated.

    regards

    #270680

    In reply to: Problem with hotmail

    JC
    Participant

    Outllook.com are blocking the emails because of this:

    if ( ! empty( $tokens['unsubscribe'] ) && $tokens['unsubscribe'] !== site_url( 'wp-login.php' ) ) {
    	$user = get_user_by( 'email', $tokens['recipient.email'] );
    
    	$headers['List-Unsubscribe'] = sprintf(
    		'<%s>',
    		esc_url_raw( bp_email_get_unsubscribe_link( array(
    			'user_id'           => $user->ID,
    			'notification_type' => $email->get( 'type' ),
    		) ) )
    	);
    }

    If yoy remove this if statement activation mails are sent. This code is located at buddypress/bp-core/bp-core.filters

    It’s a new commit, that’s why it worked in previous versions.

    To sum up, if you are using BuddyPress 2.9.3, users with Microsoft accounts will not receive the activation email.

    #270679
    JC
    Participant

    First sorry for my spelling in the above messages.

    Outllook.com are blocking the emails because of this:

    if ( ! empty( $tokens['unsubscribe'] ) && $tokens['unsubscribe'] !== site_url( 'wp-login.php' ) ) {
    	$user = get_user_by( 'email', $tokens['recipient.email'] );
    
    	$headers['List-Unsubscribe'] = sprintf(
    		'<%s>',
    		esc_url_raw( bp_email_get_unsubscribe_link( array(
    			'user_id'           => $user->ID,
    			'notification_type' => $email->get( 'type' ),
    		) ) )
    	);
    }

    If yoy remove this if statement mails activation mails are sent. This code ir located ad buddypress/bp-core/bp-core.filters

    It’s a new commit, that’s why it worked in previous versions.

    To sum up, if you are using BuddyPress 2.9.3, users with Microsoft accounts will not receive the activation email.

    I hope this get fixed in the next version.

    #270649
    JC
    Participant

    Still not working, only when sending from BuddyPress to Hotmail, it DO works when sending from WordPress:

    1) Contacted Microsoft support, IP not blocked and everything is correct.
    2) Changed activation e-amil template: removed activation related words. I have sent emails with “test” subject and body and only are delivered to gmail, yahoo, etc NOT Hotmail accounts
    3) Sent from another IP, same issue.
    4) Changed “from” using the “bp_email” action.
    5) Done all the steps above again from a clean WP installation with only BuddyPress activated.

    It must be a BuddyPress issue. There are a few topics related, something is happening when sending to Outlook.com and no one seems to support.

    Venutius
    Moderator

    They get the activation email before the admin has activated their account, they can actviate but then they will get the message that they need to wait for approval.

    Venutius
    Moderator

    The users get this message when they have yet to activate their account, it’s a basic feature of BuddyPress – each new user gets sent an activation email.

    If you got to your wp-content/plugins/buddypress directory you will find the US translation of BuddyPress – buddypress-en_US,po, make a local copy of this and load it into PoEdit, you can then create your own translation, changing the words how you link, just search for the phrase you want to change.

    #270384
    JC
    Participant

    Same here and I have tried everything. Users are nor receiving the activation email, I can’t resend them, they can only register if I activate manually.

    Latest versions of WP and BuddyPress, restored emails, no plugins conflicts, not sending via SMTP either…

    There are a lot of people with this issue, not only Shawn and me. This used to work, suddenly failed and no idea what to do to solve it.

    Please help, if someone finds out what’s happening please let us know!

    #270336
    Paul Wong-Gibbs
    Keymaster

    Hi Shawn. Short of debugging the outgoing mailbox on your server to verify that the email is actually sent, and then monitoring that inbox for any bounce notifications, no, I don’t have any answers. I think I recall seeing Microsoft’s email services blocking the user registration email because it thinks it’s spam (or a bad link).

    You could try, as a test, totally replacing all the words and links (using the BP email editor) in the registration email, and seeing if that gets delivered. I suspect it’s being blocked because of the activation link.

    neo323neo323
    Participant

    Hi guys! I have this problem and i spent all the morning read online but nothing seems work so i wish someone around here with a nice heart would help me to find a solution for this. I am building a forum using Buddypress and BBpress everything seems work smooth but when it comes to register a new user of the forum the activation mail it’s not sent. I tried to send again from Users->All Users and then send again the activation link but it dosen’t work. I also tried to send a test mail with WP Mail SMTP choosing PHP Default caption and the mail it’s sent and in general all the other mail about wordpress like update and comments to my posts(before i don’t have a forum) are always sent. I also tried Tools->Buddypress->Reinstall email(delete and restore defaults) but nothing changed. Seems it’s a problem only with Buddypress… anyone had this problem and found a solution?
    Wordpress verions 4.9.2
    Buddypress version 2.9.2
    Theme Sydney

    #269641

    In reply to: New user welcome email

    jebus
    Participant

    Just to clarify, when I reinstall emails I’m assuming the number of emails sent for pending users should be reset to 1, correct? That’s not happening for the test account I used to send several activation emails to, which makes me thing the reinstall function is not working.

    zeddenit
    Participant

    Hi Boone Gorges,

    Any assistance in helping me figure this one out would be appreciate. I am using the Invite Anyone plugin on a Members only website. Email invitations go out successfully to yahoo gmail ymail account and they also get the Activation link successfully. however with Hotmail outlook or live accounts they get the invite link no problem when they follow that and Register they don’t get the activation link and we have to process the activation manually.

    running Buddy Press on My own server ubuntu 16.04 and virtualmin for control panel

    #269412
    bcanr2d2
    Participant

    I am using WP Mail SMTP to get the mail to send without issues. But it seems to affect this particular email only, I am getting everything else as far as I am aware.

    Here are my current active plugins – There is quite a long list.
    I do use Autoptimize, so not sure if it’s affecting anything.
    One of note, is Social Login, which when logging directs to their site, and redirects back to my site to log the user in via their social network, this is where it falls over and does not send this one email. It manages to send other emails related to the login, but it now gives me an idea to look into the code that sends this social email sign up notification.

    (BuddyDev) BP Auto Login on Activation (1.0.3)
    Advanced Custom Fields (4.4.11)
    Allow Multiple Accounts (3.0.4)
    Autoptimize (2.2.2)
    BP Profile Message UX Free (1.5)
    BP xProfile Location (1.2)
    BP XProfile WordPress User Sync (0.6.4)
    BuddyDev Username Availability Checker (1.1.1)
    BuddyExtender (1.0.1)
    BuddyPress (2.7.4)
    BuddyPress Member Type Generator (1.0.3)
    BuddyPress Security Check (2.1.2)
    BuddyPress Simple Terms And Conditions (1.3)
    BuddyPress Xprofile Custom Fields Type (2.6.3)
    BuddyPress Xprofile Member Type Field (1.0.4)
    BuddyPress XProfile Validate with RegEx (0.1.2)
    Cherry Parallax Plugin (1.1.0)
    Cherry Plugin (1.2.8.1)
    Child Theme Configurator (2.1.2)
    Conditional Profile Fields for BuddyPress (1.1.9)
    Contact Form 7 (4.6)
    Contact Form 7 – Dynamic Text Extension (2.0.1)
    Contact Form 7 Conditional Fields (1.0)
    Contact Form 7 Get and Show Parameter from URL (0.9.7)
    Contact Form 7 Honeypot (1.10)
    Contact Form 7 Modules: Hidden Fields (2.0)
    Contact Form 7 Shortcode Enabler (1.1)
    Custom Hooks (1.0)
    Custom Post Template By Templatic (1.0)
    Custom Post Type UI (1.4.3)
    Disable Comments (1.6)
    Display Posts Shortcode (2.7.0)
    FacetWP (2.7.4)
    FacetWP – Map (1.0.5)
    Flamingo (1.5)
    GeoIP Detection (2.7.0)
    GEO my WP (2.7)
    Google Analytics Dashboard for WP (4.9.6.2)
    List Plugins (1.4.4)
    Meta Slider (3.4)
    Optimize Database after Deleting Revisions (4.2.1)
    Page-list (5.1)
    PHP Compatibility Checker (1.4.0)
    Popup Maker (1.4.20)
    Shortcodes in Menus (3.2)
    Social Login (5.2)
    Stream (3.2.0)
    String Locator (2.2.0)
    Sucuri Security – Auditing, Malware Scanner and Hardening (1.8.3)
    SuitePlugins – Advanced XProfile Fields for BuddyPress (1.0.3)
    Theme Check (20160523.1)
    Visual Builder for Contact Form 7 (2.0)
    WPFront User Role Editor (2.13)
    WP Mail SMTP (0.11.1)
    WP Private Content Plus (1.13.1)
    WP Smush (2.6.1)
    Yoast SEO (4.3)

    bcanr2d2
    Participant

    I currently have an issue with trying to get a custom email to send once a user activates.

    When a user does a traditional signup/activation, the email gets sent without any issues.
    But when I use plugin to do sign ups via social media, this email does not get sent, and I get the following error when I capture the results of the failed email message.

    object(WP_Error)#6355 (2) { ["errors"]=> array(1) { ["missing_email"]=> array(1) { [0]=> string(12) "bp_get_email" } } ["error_data"]=> array(1) { ["missing_email"]=> array(2) { [0]=> string(24) "member_activated_account" [1]=> array(6) { ["no_found_rows"]=> bool(true) ["numberposts"]=> int(1) ["post_status"]=> string(7) "publish" ["post_type"]=> string(8) "bp-email" ["suppress_filters"]=> bool(false) ["tax_query"]=> array(1) { [0]=> array(3) { ["field"]=> string(4) "slug" ["taxonomy"]=> string(13) "bp-email-type" ["terms"]=> string(24) "member_activated_account" } } } } } }

    My code for the custom email creation, and the code to call it is as follows:

    function welcome_email_message() {
     
        // Do not create if it already exists and is not in the trash
        $post_exists = post_exists( '[{{{site.name}}}] Welcome to {{{site.name}}}' );
     
        if ( $post_exists != 0 && get_post_status( $post_exists ) == 'publish' )
           return;
      
        // Create post object
        $my_post = array(
          'post_title'    => __( '[{{{site.name}}}] Welcome to {{{site.name}}}', 'buddypress' ),
          'post_content'  => __( 'Hi {{recipient.name}}, welcome  to {{site.name}}! Thankyou for signing up and helping us grow our community.
    
    {{site.name}} is a community run service which connects families with the right babysitter or nanny for them.
    
    Your new account is all set up and ready to go, you can login with the following information:
    
    Username: <strong>{{recipient.username}}</strong>
    This link will take you to our log in page:
    <a href="https://bbs4you.com/login/?login=newuser">Login</a>
    
    We need you to log in and fill in the details of your profile in order to make the most of our site.
    
    Please let us know if you have any issues using the site via the contact us page:
    <a href="https://bbs4you.com/contact-us/">Contact Us</a>
    
    The {{site.name}} Team', 'buddypress' ),  // HTML email content.
          'post_excerpt'  => __( 'Hi {{recipient.firstname}}, welcome  to {{site.name}}! Thankyou for signing up and helping us grow our community.
    
    {{site.name}} is a community run service which connects families with the right babysitter or nanny for them.
    
    Your new account is all set up and ready to go, you can login with the following information:
    
    Username: {{recipient.username}}
    
    This link will take you to our log in page:
    
    Login
    We need you to log in and fill in the details of your profile in order to make the most of our site. Please let us know if you have any issues using the site via the contact us page:
    Contact Us
    The {{site.name}} Team.', 'buddypress' ), // Plain text email content. 'post_status' => 'publish', 'post_type' => bp_get_email_post_type() // this is the post type for emails ); // Insert the email post into the database $post_id = wp_insert_post( $my_post ); if ( $post_id ) { // add our email to the taxonomy term 'post_received_comment' // Email is a custom post type, therefore use wp_set_object_terms $tt_ids = wp_set_object_terms( $post_id, 'member_activated_account', bp_get_email_tax_type() ); foreach ( $tt_ids as $tt_id ) { $term = get_term_by( 'term_taxonomy_id', (int) $tt_id, bp_get_email_tax_type() ); wp_update_term( (int) $term->term_id, bp_get_email_tax_type(), array( 'description' => 'A member activates their account', ) ); } } } add_action( 'bp_core_install_emails', 'welcome_email_message' ); function new_member_welcome_email( $user_id, $key = false, $user = false ) { if ( $user_id) { // get the user data $user = get_userdata( $user_id ); // add tokens to parse in email $args = array( 'tokens' => array( 'site.name' => get_bloginfo( 'name' ), 'recipient.firstname' => ucfirst($user->first_name), 'recipient.username' => $user->user_login, ), ); // send args and user ID to receive email bp_send_email( 'member_activated_account', $user_id, $args ); } } add_action( 'bp_core_activated_user','new_member_welcome_email', 99, 2 );

    Why it works for a normal activation, and not with a OneAll social login account creation seems to confuse me, as the user_id is set and coming through from this point.

    #269253
    Boone Gorges
    Keymaster

    Hi @plumbingsuperstore – Oof, sorry to hear about the problems, but glad your hosting provider had a way to roll back.

    BuddyPress doesn’t touch user credentials, so it’s highly unlikely that BuddyPress itself would be the cause of your admin creds not working after BP was installed. I’m guessing that either there’s some user error here, or there’s another plugin interfering with the process. To reiterate, logging into WP should be exactly the same before or after the activation of BP.

    Regarding the 404 error when activating your account: When you install BuddyPress, it should create pages called Register and Activate. It sounds like this worked for Register (since you were able to register a new account), but didn’t for Activate. If you try this again, take careful note of the URLs you see in your browser when registering, the URL that appears in the activation email, and the URL you see in the browser after clicking the activation link. There could be a clue here.

    One final tip: You can stay logged in as an admin in your browser and still test as another user. Open a private browsing window: Firefox https://support.mozilla.org/en-US/kb/private-browsing-use-firefox-without-history, Chrome https://support.google.com/chrome/answer/95464?co=GENIE.Platform%3DDesktop&hl=en, Safari https://www.macworld.com/article/1133941/software-web/safariprivate.html

    #269181
    Boone Gorges
    Keymaster

    Hi @aubreyw – The email should show up immediately. If it’s not, the places you should check are:

    1. Is any email being sent from your server? For example, do BP emails (like private message notifications) show up? How about other WP notifications, like a password reset?

    2. Check your spam folders (which it sounds like you’ve already done)

    It’s possible to manually trigger the activation of a changed email address, but it sounds like the more fundamental problem here is that emails aren’t working properly, so it seems better to try to address that problem first.

    #267664
    dhsllc
    Participant

    It would still be great to know the answer to the original inquiry in case it helps others.

    I did find an alternate solution to completely bypass the activate.php page by using this plugin: (BuddyDev) BP Auto Login on Activation (https://buddydev.com/plugins/bp-autologin-on-activation/) By Brajesh Singh(BuddyDev.com).

    When a user gets their activation email and clicks on the activation link, the user is redirected to their profile page. A message is displayed above the profile navigation indicating the account has been activated.

    #267577
    rwhitegym
    Participant

    Hey,

    That seems like a good solution, I tried installing it though and now it seems like the activation emails aren’t being sent. Just wondering if this is a known bug or if there’s anything you recommend trying to fix it?

    Thanks again

    #267092

    In reply to: Invalid Activation Key

    kcscience
    Participant

    I am having the same problem with my web site, and I have figured out why the problem happens, and why the problem is intermittent…

    Here is the problem: a user registers for a BuddyPress account, receives the activation email, follows the link in the activation email, and gets the “Invalid activation key” error. Yet, their account really *is* activated, and they can log in and use their account. A different user does exactly the same thing, and everything works great for them – they get the “Account Successfully Activated” page.

    *Some* users have this problem, most don’t. The ones that do? They seem to have “Blue Coat K-9 Web Protection” software installed on their computers. This is software that is generally installed by parents to keep children from viewing inappropriate content on the internet. When the user follows the “activation” link, K-9 (running on the user’s computer) sends the URL to Blue Coat’s servers, which hit the URL (causing the account activation to succeed). Blue Coat’s servers analyse the “account activation succeeded” response, decides that web page is “kid friendly”, and then tells the user’s computer that that URL is “safe”. The user’s browser is then allowed to hit the URL, but, since that BuddyPress account has already been activated (by Blue Coat’s servers), the user sees the “Invalid activation key” error message, because we tried to activate the BuddyPress account twice.

    Assuming that Blue Coat’s K-9 software is not the only “internet safety” software that acts in this way, it might be a good idea to change the BuddyPress “account activation” system to display an “activation succeeded” message when a user (or their “internet safety” software) tries to activate a BuddyPress account more than once.

    Here are more details, in case if anybody is interested…

    I instrumented my site’s “index.php” and my site’s “public_html\wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\activate.php” with code that logs tons of stuff, including the IP address of the user. This led to the following discovery…

    When a non-K-9 user follows the “activation” link, “index.php” gets hit (from their computer’s IP address), which invokes the fore-mentioned “activate.php”, which activates the account and emits the “activation successful” web page, and all is well. One web request happened, as demonstrated by “$_SERVER[‘UNIQUE_ID’]”.

    When a K-9 user follows the “activation” URL, however, a MUCH different situation occurs, which involves four separate web requests. The first two requests come from an IP address that is registered to Blue Coat Systems / Symantec Corporation, the makers of the K-9 Internet Protection software. The second two requests come from the user’s computer…

    * Web request #1 – Blue Coat’s computer hits “index.php” with the activation URL’s ending slash missing.

    * Web request #2 – Blue Coat’s computer hits “index.php” again, with the correct activation URL this time. This invokes lots of PHP code (on my server), which eventually results in “activate.php” running and the account activation succeeding. The reply (the “account activation succeeded” web page) is delivered to Blue Coat’s servers, who analyses it and decide that the web page is “kid friendly”, so it tells K-9 (running on the user’s computer) that it’s OK to show that page.

    * Web request #3 – The user’s computer finally hits “index.php”, in order to activate the account.

    * Web request #4 – The user’s computer hits “index.php” again, with the registration key removed from the end of the URL this time. This invokes lots of misc PHP code, which eventually results in “activate.php” running and failing this time, because the activation has already happened (back in web request #2, which Blue Coat made, in order to determine if that web page is “kid friendly” or not).

    I have no idea why the user’s computer (in #3 and #4) make two requests instead of one. However, even if it made just one, it would still show the error message, because that’s the second time the BuddyPress account was activated.

    – kcscience

Viewing 25 results - 251 through 275 (of 1,239 total)
Skip to toolbar