Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'activation email'

Viewing 25 results - 476 through 500 (of 1,893 total)
  • Author
    Search Results
  • balmainboy
    Participant

    Hi,

    I had setup my custom activation emails using {{recipient.name}} as a greeting at the top of the email body and in the email’s subject line, and I then added the {{recipient.username}} further in the email body to confirm the user’s username.

    Suddenly the emails are displaying the {{recipient.username}} in all outbound mail for both instances despite {{recipient.name}} being used in both the html and plain text versions of the email. This is pretty annoying as it decreases the personalisation of the email and repeats the same username – which can often be quite random or goofy names.

    Does anyone know any fixes for this?

    #255817
    pulidomate
    Participant

    Finally i have done this:

    function activation_email( $subject, $message, $user_id, $user_email, $key ) {
        $teacher = bp_get_profile_field_data('field=Teacher&user_id='.$user_id);
        $activate_url = esc_url( $activate_url );
        $message = sprintf( __( "Thanks for registering! To complete the activation of this account please click the following link:\n\n%1\$s\n\n", 'buddypress' ), $activate_url );
        $user_email = $teacher;
    
        wp_mail( $user_email, $subject, $message );
    }
    add_action( 'bp_core_sent_user_validation_email', 'activation_email', 10, 5 );
    #255647

    In reply to: Confirmation Email

    Dono12
    Participant

    Thanks for your prompt response and your help but that function did not achieve the goal I was looking for. I wanted the activation Key to come from Cymi User Extra Field. I found a solution from someone with a similar problem but it is a little too extreme for me. The result you get is a Cymi User Extra Field Key/URL, Looks like This(cimy_key=88fddcb568dcf2d6). It involved editing a core Buddypress file wp-content/plugins/buddypress/bp-core/bp-core-filters.php. Can you help with a function for my functions.php or bp-custom to achieve the same goal. If it’s not too much maybe generate the Cymi-Key in the Buddypress Email Template though not a priority. I’m fully aware that editing core files is not practical, especially being that you lose it during updates.

    https://buddypress.org/support/topic/activation-email-key-doesnt-work-i-may-have-the-fix/

    function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) {
    
    $activate_url = bp_get_activation_page() . "key=$key";
    $activate_url = esc_url($activate_url);
    $admin_email = get_site_option( 'admin_email' );
    
    if ( empty( $admin_email ) )
    $admin_email = 'support@' . $_SERVER;
    
    // Then it ends with, on line 255
    
    add_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1, 4 );
    #255638

    In reply to: Confirmation Email

    David Cavins
    Keymaster

    I’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.

    <?php 
    add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) );
    add_filter( 'bp_registration_needs_activation', '__return_false' );
    add_filter( 'bp_core_signup_send_activation_key', '__return_false' );
    
    function disable_validation_of_new_users( $user_id ) {
    
    	// Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table.
    	$user_key = get_user_meta( $user_id, 'activation_key', TRUE );
    
    	// Activate the signup
    	$awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) );
    
    	// Automatically log the user in.
    	// Thanks to Justin Klein's  wp-fb-autoconnect plugin for the basic code to login automatically
    	$user_info = get_userdata($user_id);
    	wp_set_auth_cookie($user_id);
    
    	do_action( 'wp_signon', $user_info->user_login );
    
    	bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) );
    
    	buddypress()->activation_complete = true;
    }
    lapacast
    Participant

    Hello, i am having problems, I already talk to my server and to my theme creator, and they say the problem is the plugin. I have the last version 2.6.1.1 My problemas are:
    1. When user register, he is not receiving activation/confirmation email
    2. I am not receiving orders email on my email
    3. Plugins are having a lot of updates and system is not informing me

    Clase help me, is very frustrating, I am loosing sales.

    #255632

    Topic: Confirmation Email

    in group forum Requests & Feedback
    Dono12
    Participant

    I’m using Cymi User Extra Field, when you enable email confirmation the user gets the Buddypress email template
    with the confirmation link. when the user clicks the link it takes them to the confirmation page of the site prompting them
    to login with username and password. Problem is the user name and password doesnt work. The user gets created because they
    are visible in the users list. How can I fix this problem.
    I’ve disabled the Buddypress sign up for the default WordPress using: BP CUSTOM

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-login.php?action=register'; 
     }

    and I found this code in a Buddpress Forum:

    https://buddypress.trac.wordpress.org/ticket/3443

    // Change the text on the signup page

    add_filter( 'bp_registration_needs_activation', '__return_false' );
    
    function my_disable_activation( $user, $user_email, $key, $meta = '' ) {
    	// Activate the user
    	bp_core_activate_signup( $key );
    
    	// Return false so no email sent
    	return false;
    }
    add_filter( 'wpmu_signup_user_notification', 'my_disable_activation', 10, 4 );
    
    

    I tried it with the hope that the key would be disabled and the key fired by WordPress would take over but it still didnt work.

    I really don’t care who fires the key I just want the user to be able to login after click the key in their email.

    #255479
    Nina15
    Participant

    Since v2.6.0 on WP 4.5.3 users successfully registered (yes pending activation) cannot login after activation by Super Admin (on multisite install) or Site Admin (on main site install). ERROR: The password you entered for the username <username> is incorrect.
    Users self-activated via email link can login without any problems. This seems to be a bug with admin activation that needs to be addressed.
    The database row for wp_users seems to be all correct including the password in hash format.
    Can any of the gurus please confirm my findings?

    #255209
    rezza72
    Participant

    hi
    i use buddyPress .
    After a user is registered ، dont sent him an email activation .
    please help .
    tnx

    #255152
    thehappycouponer
    Participant

    We are experiencing this same issue. All auto emails are sending except new user activation email. I’ve checked to make sure this email is enabled and it is, but it’s still not sending. Please advise. We’re losing out on new customers.

    #255141
    econowill
    Participant

    i experienced exactly same issue with writer.
    only activation mail not work, others do. password change, etc…

    try to this
    admin panel – setup – buddypress
    setup is including permal link menu. i dont know exactly what it in english.

    and click restore email setup. and i solved.
    good luck!

    maganiza
    Participant

    Hi Guys

    I have been having this problem for a week now. I even posted the problem on this forum but never got a single response. I also checked the other posts but those old 2015 solutions are not working for me.

    My problem is I have a site with latest wordpress and buddypress, when new users register they are not receiving the activation emails. Nothing in the inbox and nothing in the spam/junk folders. I actually have to activate in my user admin panel/list manually. Within the users list I can see a reflection which shows that the activation mail has been sent.

    All hell broke loose last week but before that the site has been sending activation email with wordpress@mydomain.co.za without any issues. I have tried wp-mail-smtp, mail smtp but nothing works. I can send test mails successfully with all these plugins.

    I have tried the hosting company but they are saying the mail hosting server is fine. They are saying there is a problem with either wordpress or buddypress. The email log is below. Please help

    2016-06-20 18:57:46 1bF2WA-000MOp-3X <= noreply@mydomain.co.za H=chs9.ampledns.com (wingrow.co.za) [197.189.252.226]:48386 I=[197.189.252.226]:587 P=esmtpsa X=TLSv1:ECDHE-RSA-AES256-SHA:256 CV=no A=dovecot_login:noreply@mydomain.co.za S=739 id=1263c7ca6911ab6e37dff8bf0ff1ca41@mydomain.co.za T=”[WinGrow] New User Registration” from noreply@mydomain.co.za for admin@mydomain.co.za
    2016-06-20 18:57:46 1bF2WA-000MOp-3X => admin admin@mydomain.co.za F=noreply@mydomain.co.za R=virtual_user T=virtual_userdelivery S=856

    yahya92
    Participant

    Hello there,
    I wanted to make my users able to register through their phone number without having to type their email too, after long thinking I had this idea.
    I changed the email input type to text and tested if the typed in text is an email so the user is registering through email, else if it is phone number then add @mail.com to it, I also got the activation key from datbase and sent it to users by sms.
    my problem is that the sent activation key is too long to be typed, I tried to alter the activation key in database when user is registering but when the user enters the updated activation key, the activation page is just refreshed and the code field is emptied.
    any ideas? I want to make the activation key just 6 characters long

    #254811

    In reply to: email activation.

    emlehh
    Participant

    Okey, so i have disabled the plugin that stopped the automatic activation emails, installed and activated the plugin you suggested. Now what? I seriously can’t find a setting for the activation email. I know i found it easily before disabling it.

    #254799

    In reply to: email activation.

    emlehh
    Participant

    Where do i find the option to change activation email sender?

    Thanks, 🙂 Will try that.

    #254779

    Topic: email activation.

    in forum Showcase
    emlehh
    Participant

    I disabled the email activation for new members, because I couldn’t get it to work. Now my site is running smoothly but I have a problem with people creating fake account to spam forums.

    I can’t seem to find how to re-activate the email activation (newbie). How may I solve this problem?

    #254742
    maganiza
    Participant

    Hi guys

    This has been posted before but the solutions within those posts are not working for me. For the past week all was well until yesterday. I have tried these plugins, wp better emails, smtp mailer, mail smtp but nothing works, the test emails are going through though.

    Please help, starting to lose hope.

    Masoud
    Participant

    hi.
    i was wondering if it is possible to let the users, set their data on some special field only once.
    let’s say email for example.

    1) in the buddypress registration form they set a valid email.
    2) get activation email , and enter to profile
    3) change their email (and activate the second email)
    4) they want to change their email again. but they cannot because they reached edit limitaion
    this is what i meant by that…
    setting a rule somehow (which i dont know how) for users to change a field only a limited times, for exapmle only 2 times! not more than 2 times.

    tnx for answer.

    pierjeant
    Participant

    I am new to BP I have version BP 2.5.3 and WP 4.5.2. I love PB registration form that is simple and redirect new member to the email for activation. simple and efficient. I have a question regarding the registration form
    How can I move the ” complete signup” button to the left (under confirme Paswword). I have members saying it is hard to see way to the right on large screens.(or making it with an orange background?)
    I am not a programmer so I do not know PHP (but I know how to copy paste !!!!! 🙂
    If you can also mention the path for the file and also how to may be place it in my child subtheme’s folder so it does not get erased at the next update….(new to wordpress too, even at 72 there is still some learning todo!> Thanks!

    jasonegli
    Participant

    I’m having trouble with getting emails to send when BuddyPress is enabled. If I disable the plugin I get registration emails, but when it is enabled I get a message on the screen saying the message was successfully sent, but the email never goes through.

    I have tried installing Postman SMTP as described in this post: https://buddypress.org/support/topic/register-activation-emails-not-being-send-smtp-configuration-not-set/#post-252037

    Even with Postman STMP installed, registration messages still don’t come through. They also don’t show up in the Postman logs. However, my test messages in Postman are delivered with no trouble, and password resets, etc, show up in Postman logs and are delivered successfully.

    This is running on Windows Server 2012 using XAMPP
    Wordpress: 4.5.2
    BuddyPress: 2.5.3
    Theme: Alliance

    Any help is much appreciated.

    #253992

    In reply to: Membership Codes

    danbp
    Participant

    @maganiza,

    it’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?

    1) generate a 6 digit code and show it on the register page
    2) asign that code to the user
    3) show the code on his profile

    1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php

    function bpfr_digit_generator() {
    $num = mt_rand ( 0, 0xffffff ); 
    $output = sprintf ( "%06x" , $num );
     
    	echo '<strong>Your personnal code: '. $output .'</strong>';
    
    }
    add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );

    2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.

    3) as the user entered the code in a xprofile field, you get automagically this field on his profile.

    I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.

    A bit raw, but at least you have a start point how to do that.

    Here also another method, you may use if you don’t want the user to copy/paste the code.

    #253963
    maganiza
    Participant

    Hi guys thank you for such a great plugin.

    Is it possible for this plugin to assign unique 4-10 digit codes to users upon registration? I want each and every new registered user to automatically receive a unique code within the registration activation email. This code should also appear in their profile.

    Regards

    #253939
    Earl_D
    Participant

    I am running the lest version of Buddypress and WordPress on a VPS server NOT running multisite. Tiny framework is the theme I am using. However the first thing I did to trouble shoot was try to replicate problem without any plugin and using 2012 theme (which tiny frame is based on) and 2016 theme. The issues remained the same with but those thems and th social me theme.

    I will try to check the MYSQL question as I am familiar with that having done MYSQL database programming. However I have narrowed done the problem to something related to the extended profile fields component. Through trial and error and some research I surfaced the correlation which one other person seems to have referred as well. If extended profile fields are turned OFF the registration is completed and the activation email sent. If it is on the registration process is not completed. I tested this extensively turning on and off and it followed that pattern. I currently have the component turned off and users are able to register. When I turned on again I was unable to complete a registration.

    It may be unrelated but no registration spam protection plugins will work now either I have tried several with recaptcha and without and in every case the registration process short circuits.

    Thanks for any help in advance. I would like to get the extended field working again.
    EarlD

    cahara
    Participant

    Hey all,

    Been digging for a solution but can’t seem to find one. My site has 2 registration forms (Form A and Form B) on separate pages that are working great. When users signup to Form B a hidden field called subscriber_type is populated. Otherwise Form A and B are identical. Once the forms are submitted a user should only be auto-activated and logged-in if this subscriber_type field is populated.

    So far users filling out Form B are activated (and don’t get the activation email) and are logged in. But users filling out Form A aren’t getting their activation emails either even though they should. Looks like no users are getting any activation emails, regardless of the form they fill.

    Is there any way to make sending of the activation emails conditional?

    What I’ve tried so far:

    
    // Auto-activate users from Form B (This works)
    function auto_activate_user( $user_id ) {
    
        $subscriber_type = $_POST['subscriber_type'];
        if ($subscriber_type || $subscriber_type === 'current_subscriber'){
            global $wpdb;
    
            //Hook if you want to do something before the activation
            do_action('bp_disable_activation_before_activation');
    
            $activation_key = get_user_meta($user_id, 'activation_key', true);
            $activate = apply_filters('bp_core_activate_account', bp_core_activate_signup($activation_key));
            BP_Signup::validate($activation_key);
            $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );
    
            //Add note on Activity Stream
            if ( function_exists( 'bp_activity_add' ) ) {
                $userlink = bp_core_get_userlink( $user_id );
    
                bp_activity_add( array(
                    'user_id' => $user_id,
                    'action' => apply_filters( 'bp_core_activity_registered_member', sprintf( __( '%s became a registered member', 'buddypress' ), $userlink ), $user_id ),
                    'component' => 'profile',
                    'type' => 'new_member'
                ) );
    
            }
            //Send email to admin
            wp_new_user_notification( $user_id );
            // Remove the activation key meta
            delete_user_meta( $user_id, 'activation_key' );
            // Delete the total member cache
            wp_cache_delete( 'bp_total_member_count', 'bp' );
    
            //Hook if you want to do something before the login
            do_action('bp_disable_activation_before_login');
    
            //Automatically log the user in	.
            $user_info = get_userdata($user_id);
            wp_set_auth_cookie($user_id);
    
            do_action('wp_signon', $user_info->user_login);
    
            //Hook if you want to do something after the login
            do_action('bp_disable_activation_after_login');
    
        }
    }
    
    // Fix validation on Form B (This works)
    function fix_signup_form_validation_text() {
        $subscriber_type = $_POST['subscriber_type'];
        if ($subscriber_type || $subscriber_type === 'current_subscriber'){
            return false;
        }
    }
    
    // Disable autivation email only for Form B (This doesn't work)
    function disable_activation_email() {
        $subscriber_type = $_POST['subscriber_type'];
        if ($subscriber_type || $subscriber_type === 'current_subscriber'){
            return false;
        }
    }
    
    add_action( 'bp_core_signup_user', 'auto_activate_user');
    add_filter( 'bp_registration_needs_activation', 'fix_signup_form_validation_text');
    add_filter( 'bp_core_signup_send_activation_key', 'disable_activation_email');
    
    #253881
    Paul Wong-Gibbs
    Keymaster

    Did anything else update at the same time? Anything?

    2.5.3 contained changes to email implementation, and a security fix regarding user activation. The latter is most likely cause.

    What theme are you using? Do you have a custom registration template (did you make one)? What other plugins do you have running? Are you on multisite or regular WordPress?

    Can you think of any other useful information regarding any customisations around user or site registration?

Viewing 25 results - 476 through 500 (of 1,893 total)
Skip to toolbar