Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'activation email'

Viewing 25 results - 226 through 250 (of 1,427 total)
  • Author
    Search Results
  • #276875
    sitesfromash
    Participant

    Hi. I would love if someone could help me with a few concerns I have regarding emails in relation to BuddyPress Version 3.2.0.

    First, I want to disable email notifications and am wondering if there is code I should put into the functions.php of a child theme or if unchecking the situation in an email template on BuddyPress will be sufficient in not having notifications sent due to such sitauations as mentions and replies.

    Also, I want to disable activation emails and allow my users to be auto-approved. Can anyone tell me the best way to accomplish this?

    I appreciate any assistance that you may be able to provide me.

    #276845
    r-a-y
    Keymaster

    There were some changes in BuddyPress 3.0 to the activation process.

    You’re most likely using a custom theme or you have overriden the activation template.

    View the second point in this thread to fix this:

    BuddyPress 3.1.0 is now available!

    About the email, we updated the email to add the activation code. To see this update, you can reinstall the emails and that should allow your users to copy the activation code. View the first point in the above thread to find out how to do that.

    #276838
    aggelos1986
    Participant

    Good morning!

    Recently, we have been having issues with some members registering via Buddypress. It emails them the activation link but when they click it it takes them to a page that asks for the activation code which is just contained after the /activate/ section of the URL.

    Is there a way to have the code be generated in the email for them to copy or better yet, just let the activation url activate it and not ask for a code afterwards?

    heikesworld
    Participant

    Hello,

    I like the look of the BuddyPress email template and would like to apply it also to the emails that get sent by WordPress in plain text (activation email, register email, password reset). Is that possible?
    I know I can use a plugin (WP Better Emails, Email Templates) to make all emails the same design, problem here is that it doesn’t have the footer “unsubscribe” link, how can I add it?
    Thank you.

    #276381

    Hi guys,

    I’m building a new BuddyPress plugin, and I want to use my own internal email system instead of the BP_Email system. My question is, is there a function, filter, or something else that I can use to disable ALL BuddyPress Emails? (This includes Activation, Notifications, etc.)

    Also, are there any action hooks that I can use to send my own emails instead? For example, after a user gets a new Friend Request, pass in the required token data and send my own email.

    Many thanks, and keep up the excellent work guys!

    #276323
    felice13
    Participant

    Hello,
    I need to disable the sending of the activation email of Buddypress and send the activation link through an external service for tracking new users.
    I found the bp_core_signup_send_activation_key filter and the bp_get_current_activation_key () functions in the passed topic, are they still valid?
    Thank you

    dbatable
    Participant

    Hi,

    so I am new to Buddypress and it seems that all my Activation emails send when a user registers are sent from “WordPress” and not using my site’s name. So the user sees he/she has received an email from WordPress and not the actual sites name. Where can I change these settings?

    I have the latest Buddypress and WordPress activated

    Thanks in advance 🙂

    #275707

    Topic: Activation email

    in group forum Installing BuddyPress
    Frances888
    Participant

    After clicking the activation link in the email, it links to an “OOOPPPS! Something went wrong” page.
    Right now I have to activate users manually. Is there a fix for this? Thank you.

    BP 3.1.0

    Janet
    Participant

    Hi. I recently created a site using BuddyPress and when I added users via the WordPress admin, it sent them an activation email and it all worked well. However, I’ve just set up a new site and when I try to do the same thing, it’s adding them as a standard WordPress user, (the email it sends to the new user is:
    Username: user
    To set your password, visit the following address:…

    Whereas in my other (correct) installation site it sends an email saying:
    Hi,
    You’ve been invited to join ………etc…..
    Please click the following link to activate your user account:
    ………
    Both are running WordPress 4.9.7, and BuddyPress 3.1.0. Both sites have all the relevant plugins, both have BuddyPress installed etc, so I don’t understand why it’s not creating the new users as ‘BuddyPress users’ in the 2nd site. The only difference I can tell between the sites is that one is a MultiSite and the other is standalone. Both sites are running on the same server/url (seperate subdomains)
    Happy to provide more info if needed, but I’m hoping it’s a simple option that I haven’t selected somewhere?! Thanks!!

    #275442
    jakdaniel5
    Participant

    So I’ve been plagued by this from users who either try and use their activation email again, or some that double click on the link. They all end up on the classic ‘Invalid activation key’ page.

    Looking at the buddypress code I think there is a bug (feature?) that means that once an activation code is used once, it will never be able to be used again. This is despite there being code further on in this process to check this scenario and return an error of ‘The user is already active’. This code NEVER RUNS, because of the way the key is looked up in the database.

    The SQL that is generated to find the key looks something like this:

    SELECT * FROM wp_signups WHERE active = 0 AND activation_key = 'aIR3Zc1z7h2YAtAxcEND65EUL3UV8Vw5' ORDER BY signup_id DESC LIMIT 0, 1

    so once an account is activated (active=1), the key can never be looked up again. Hence the error my users were getting.

    It’s quite easy to reinstate the old behaviour, so that the code will detect an already activated account:

    //filter the query that checks for activation keys to fix an annoying bug
    //that activation keys cannot be used more than once
    //so that we actually get a 'already_active' error message 
    if(! function_exists('my_filter_get_signups')) {
        function my_filter_get_signups($sql_text,$sql_array,$caller_args,$args) {
            if(!empty($caller_args['activation_key'])) {
                $sql_array['where']=str_replace('active = 0','1 = 1',$sql_array['where']);
                $sql_text = implode(' ', $sql_array);
            }
            return $sql_text;
        }
        add_filter('bp_members_signups_paged_query','my_filter_get_signups',10,4);
    }

    You could then catch that error and take the user say to the login screen or wherever you want:

    //redirect to my login screen with error message if account already activated
    if(! function_exists('my_core_activate_account')) {
        function my_core_activate_account($user) {
            if(! empty($user->errors)) {
                if(isset($user->errors['already_active'])) {
                    bp_core_add_message( $user->get_error_message(), 'error' );
                    bp_core_redirect( ... );
                }
            }
            return $user;
        }
        add_filter('bp_core_activate_account','my_core_activate_account',10);
    }

    Hope this helps someone.

    #275379
    website001
    Participant

    Hello Friends

    Can anyone help me with some code that I can put into
    functions php that would stop outgoing notifications emails
    to users, With out stopping activation emails or welcomes.

    I don’t mean user settings to “no” by default. I need to stop
    them completely. I don’t believe in sending out locust swarms
    of emails. There are a few new ones created by a plugin, so the
    code needs to be a generic block of all notifications emails.
    But a additional piece of code that wound selectivly on and off
    the normal BP note emails would be awesome.
    Thanks for anybodys help ! !

    buddypress 2.8.2 WordPress 4.7.5

    #275349
    r-a-y
    Keymaster

    What I’m asking is, is a user suppose to get a separate email with the activation code that they copy paste into?

    When a user completes registration, the user should get an activation email which looks like this:

    Thanks for registering!
    
    To complete the activation of your account, go to the following link: example.com/activate/XXX/

    XXX is the activation key. When the user clicks on this link, the activation page should show a form with the activation key already populated. The user has to submit the form to activate their account.

    For those with custom themes, that activation key might not be automatically populated into the form. This has caused a few support forum threads like this one to pop up.

    The fix for custom themes is noted here:

    BuddyPress 3.1.0 is now available!

    If you are not using a custom BuddyPress theme, then you can also try changing your theme to a WordPress default one to see if your problem still exists.

    #275341
    mbfit
    Participant

    What I’m asking is, is a user suppose to get a separate email with the activation code that they copy paste into? What is this version update info/procedure? Just would like all info on this as it seems pretty clear I will have to hire someone to fix it.

    #275288
    r-a-y
    Keymaster

    In v3.0.0, we changed the activation procedure because security clients can scan and follow links in emails, causing the user’s account to be activated unintentionally. To address this issue, account activation now requires the user to do a form submission.

    We’re looking to improve the activation email content to make this clear in v3.2.0.

    If you want to avoid the activation process entirely, there used to be an auto-activation plugin, but it might be outdated. Haven’t tested it in awhile.

    #275272
    mbfit
    Participant

    What does that do btw? I’m assuming that it does not remove the activate key process? This is what I was actually looking for.
    Meaning I didn’t want an activation page and preferred the process of receiving an email to confirm profile and clicking confirmation just goes to the site and users page like before

    MrShawnTierney
    Participant

    I’m increasingly getting emails from potential customers saying they can’t activate their accounts.

    But when I look up my user list I find they are already activated.

    When I ask the customer what email client they are using, I find that 99% of the time they are using an email client that, by default, automatically previews the activation email link which happens to also activate their account before they click on the activation link.

    Then when the customer does click on the Activation Link they get an error.

    Is there anyway to change the error for the second click on an activation email link to say “Your account has already been activated”?

    Or is there anyway to force Buddypress activation emails to never allow any email client to preview the activation email link?

    Sincere thanks in advance,

    Shawn Tierney

    Wordpress version 4.9.7
    BuddyPress Version 2.9.1
    https://theautomationschool.com/

    PS – I posted this earlier in the week but it appears the post has gone missing? Not sure what happened…

    djsteveb
    Participant

    @r-a-y – thanks for the info!

    I tried deactivating most of the plugins, and then refreshing my inbox messages, and notifications.. they still showed “Conversation between Deleted User and you” and the messages are there – it’s very weird. The thumbnail of the user is still showing in the thread, and the message is there.

    Same after renaming the mu-plugins folder..

    I wonder if one of my plugins stopped info being put into the dbase – so deactivation them now at this point would make no difference in how I am seeing them?

    I am running this old network discussions plugin that was cobbled in a hurry – made to prevent user’s email and ip from showing up in comment notifications to the MU sub-blogs/aka sites – wonder if some 2014 code it affecting writes. I could post the code from that here perhaps..

    not sure if there is any way to scan for other users affected by this, so far I have found two in two days just looking at the site feed/activity thing, the weird formatting made me question what is going on (without a name there, things like thumbnail and thumbnail became friend or thumbnail thumbnail posted in a group looks weird.

    #275109
    mbfit
    Participant

    Hello, when new users go through the sign up process they are prompted an email to activate their profile. However now in the email they click the link to activate which now leads to a page “Please provide a valid activation key.” Site was never set up with any activation key process. Any help?

    #275074
    T
    Participant

    If I go to wp-content/themes/pro/buddypress/members > activate.php, the code doesn’t line up with what’s posted in github. Here’s what I have:

    <div id="buddypress">
    
    	<?php do_action( 'bp_before_activation_page' ); ?>
    
    	<div class="page" id="activate-page">
    
    		<?php do_action( 'template_notices' ); ?>
    
    		<?php do_action( 'bp_before_activate_content' ); ?>
    
    		<?php if ( bp_account_was_activated() ) : ?>
    
    			<?php if ( isset( $_GET['e'] ) ) : ?>
    				<p><?php _e( 'Your account was activated successfully! Your account details have been sent to you in a separate email.', '__x__' ); ?></p>
    			<?php else : ?>
    				<p><?php printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', '__x__' ), wp_login_url( bp_get_root_domain() ) ); ?></p>
    			<?php endif; ?>
    
    		<?php else : ?>
    
    			<form action="" method="get" class="standard-form cf man" id="activation-form">
    
    				<label for="key"><?php _e( 'Please provide a valid activation key.', '__x__' ); ?></label>
    				<input type="text" name="key" id="key" value="" />
    
    				<p class="submit">
    					<input type="submit" name="submit" value="<?php esc_attr_e( 'Activate', '__x__' ); ?>" />
    				</p>
    
    			</form>
    
    		<?php endif; ?>
    
    		<?php do_action( 'bp_after_activate_content' ); ?>
    
    	</div><!-- .page -->
    
    	<?php do_action( 'bp_after_activation_page' ); ?>
    
    </div><!-- #buddypress -->

    Are you sure I edit this in my theme? Or do I go into this instead? bp-templates/bp-legacy/buddypress/members > activate.php

    #274969
    jerrytaylorld
    Participant

    My site has S2Member and uses a custom BuddyPress registration form. The User is being created at Level 0 but no activation email is sent and the registration form doesn’t respond with anything. https://www.londondynamo.co.uk/register/

    Versions installed:
    WordPress 4.9.6 running 15zine Child theme.
    BuddyPress Version 3.1.0
    BuddyPress Xprofile Custom Field Types Version 1.0.4S
    s2Member Pro v170722

    I’m not seeing anything in my php-errors log and my email log shows other emails going out just fine.

    Suggestions on how I debug / fix this and where to look would be welcome.

    #274968
    T
    Participant

    Hey, sorry for the delay. June was a crazy month. I do need this fixed though, and would still really appreciate your help.

    Although I don’t think this has anything to do with the issue at hand, I followed this (https://buddypress.trac.wordpress.org/changeset/11766/trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php) just in case, and changed the activate.php file, but it didn’t help.

    People cannot register to the site. If you’d like to try it, you will see that it sends you the activation link via email, but then asks for a valid activation key (?!). Nothing works.

    Home

    Also, users sometimes show up as only “participants” and don’t show up under “all”. I have my general settings for New User Default Role as “subscriber” but it’s not applying it.

    Thank you so much!
    T

    #274930
    Venutius
    Moderator

    The activition email that you are sending out has the link formatted exactly the same as I would expect. On my test system when I click that link it automatically populates the input box with the activation key, on your system is does not fill the input box and it needs to be manually pasted in place. Seems to point to something different about your activate.php file. I don’t suppose you’ve made changes to this, or maybe your theme has?

    Nimesh
    Participant

    I want to Send user email with their name/username ( first Letter Capital eg. Nimesh)
    In current situation it is small.

    Welcome to nimeshdev (this is username, how to make first letter capital?) ,

    Thank you for your registration!

    To finish activating your account, go to the next link: https://e-bazar.pl/activate/jGH1jXcYZbKIGF0OWdRTezJNcxVdaNaN/ ( this link redirect me to page page with code, how could i just click the link and get the message you have succesfully activated)

    currently i am redirected to page with activation code.

    Please help to achieve these two features.

    Nimesh
    Participant

    I want to Send user email with their name/username ( first Letter Capital eg. Nimesh)

    Welcome to nimeshdev (this is username, how to make first letter capital?) ,

    Thank you for your registration!

    To finish activating your account, go to the next link: https://e-bazar.pl/activate/jGH1jXcYZbKIGF0OWdRTezJNcxVdaNaN/ ( this link redirect me to page page with code, how could i just click the link and get the message you have succesfully activated)

    currently i am redirected to page with activation code.

    Please help to achieve these two features.

    #274313
    balebond
    Participant

    Well… interesting. Not sure if I’m going crazy but after inserting that record and then one last try at Tools > Buddypress > Reinstall Emails– activation emails seems to be working now.

    Not exactly sure why it works now but just happy it’s working.

Viewing 25 results - 226 through 250 (of 1,427 total)
Skip to toolbar