Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'activation email'

Viewing 25 results - 551 through 575 (of 1,893 total)
  • Author
    Search Results
  • #245243
    William
    Participant

    No @henrywright. At this point, the user has just clicked on the activation link in email.

    @shanebp suggested this function. It’s working but I can’t get it to return an id that I can store in a GLOBAL variable so that I can use it somewhere else on activation page with this hook:

    
    bp_after_activate_content

    Here’s the function that @shanebp suggested.

    function william_bp_core_activated_user(  $user_id, $key, $user ) {
         // do something with $user_id
         // there is no return for add_action, only add_filter
    };
    add_action( 'bp_core_activated_user', 'william_bp_core_activated_user', 10, 3 );
    alexeykrol
    Participant

    I organized testing of this function.

    1. System sends emails
    2. New users got this emails in their mail box
    3. Then they press activation links and go on home page, not activation page.
    4. Then they try to enter login/pass and system tells them – Ops, error! your account didn’t activate, please see you inbox.
    5. I can see they have “registered” status, but not “activated” and i need to activate them by hands.

    Therefore there is something wrong while users try to confirm their address in activation email.

    Henry Wright
    Moderator

    Check the activation emails aren’t going into user’s spam folders.

    William
    Participant

    Thanks @modemlooper. This is doable but will the account remain deactivated as usual? The user might justchoose to ignore the second email with activation link since they can already login. What do you say? I’d like to sort of force a user to fill the second form and I don’t want them logging in if they haven’t filled the second form.

    modemlooper
    Moderator

    hook into the filter bp_core_signup_send_activation_key and send a different email message linking them to the form you want them to fill out. On your form submission you can then do the activation link

    		/**
    		 * Filters if BuddyPress should send an activation key for a new signup.
    		 *
    		 * @since BuddyPress (1.2.3)
    		 *
    		 * @param bool   $value          Whether or not to send the activation key.
    		 * @param int    $user_id        User ID to send activation key to.
    		 * @param string $user_email     User email to send activation key to.
    		 * @param string $activation_key Activation key to be sent.
    		 * @param array  $usermeta       Miscellaneous metadata about the user (blog-specific
    		 *                               signup data, xprofile data, etc).
    		 */
    		if ( apply_filters( 'bp_core_signup_send_activation_key', true, $user_id, $user_email, $activation_key, $usermeta ) ) {
    			bp_core_signup_send_validation_email( $user_id, $user_email, $activation_key );
    		}
    
    William
    Participant

    I’m developing a custom BuddyPress/WordPress Plugin. Here’s how a user would normally register.

    1) A user registers as usual on registration page
    2) His/Her account is deactivated till he/she clicks on activation link in his/her email
    3) He/She is sent an activation link through the email he/she registered with
    4) He/She activates his account by clicking on the link

    I’d like to modify step 4 above so that even if the user clicks on the activation link, his/her account remains deactivated till he/she fills another form on the site for example, a custom survey form. Once this form is filled successfuly, the user can now be activated.

    I’ll be programming the custom form myself so that it works the way I want it to, with wordpress/Buddypress actions/filters.

    So my question is: How can you modify the WordPress/Buddypress activation Process so that the account remains deactivated till the user fill my custom form?

    Here’s the main action that I intend to use and it fires as soon as the user clicks the buddypress account activation link in their email:

    bp_core_signup_user

    I’ll appreciate if someone can point in the right direction on modifying the Buddypress/Wordpress activation process.

    Please help. This is where I’m stuck.

    I’m using:

    Buddypress: 2.3.3
    Wordpress: 4.3.1

    Henry Wright
    Moderator

    That information never arrived at the email.

    Just a thought, check your spam folder as sometimes activation emails end up there.

    I attempted another registration with different credentials and email and this time nothing happened.

    This might be a problem with your theme. Try activating TwentyFifteen and complete the registration form again. Also deactivate any plugins you’ve installed, just to be sure none of those are causing the problem.

    Giske_Business
    Participant

    Hello buddy press people. So I installed buddy and bbpress, and had a few different tests to try out the tegistration process. Sometimes registration emails aren’t sent, sometimes they are, but it always asks for an activation code when it does send. If the user skips this they can login normally, but sometimes I need to approve them manually.

    This issue slows down registration process and is off putting for first Time users. I’m happy to get any traffic for such a new site, and I really can’t afford to have a lackluster registration process that slows the user down.

    I’ve seen this topic come up in forums from years ago, and still couldn’t find a fix.

    Help me please!

    shadow_boi
    Participant

    Hi,

    i am using latest version of wordpress with buddypress and theme my login, all are in chinese locale.

    the issue was, when a user registers at my site, activation email wasnt being sent. after some digging, i found out that the email title is all garbage character (seems like chinese chars are not properly handled), so my email is consider spam and not sent.

    SMTP error from remote mail server after end of data:
    550 High probability of spam

    Subject: =?UTF-8?B?W2hvdyB0byB2YW5dIOa/gOa0u+aCqOeahOW4kOaItw==?=
    Message-ID: <764b42eca94b21df3d2691685ffc4642@mysite.com>
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.10 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit

    感谢您的注册!完成您帐号的激活,请点击下面的链接:

    http://mysite.com/activate/8ff52832cde4d7d22080bd3488666f82/

    as you can see, the subject field is not properly populated.

    so my question is:
    1) how to update the buddypress activation subject? If i really want to use chinese, how should i properly encode it? If it cant be done, how to change it to all english?

    2) i would more prefer the second way. right now buddypress somehow overwrites theme my login activation email functionality. how can i use the theme my login activation functionality instead of the buddypress one? With theme my login, i can easily manage email text.

    thanks in advanced!

    #244054
    Ingram_AV_98
    Participant

    Cool, awesome, wicked.
    As with everything BuddyPress over the last four months I figured it out myself.

    If anybody cares or is intrigued, I pulled out the “signup_id” from the wp_signups table and created a link with that, of the form:

    <?php
    	//== Setup variable for use in the activation email body.
    	$user = get_userdata( $user_id );
    
    	//== Get the signup_id for a user
    	global $wpdb;
    	$signup_id = $wpdb->get_var( "SELECT signup_id FROM wp_signups WHERE user_login = '" . $user->user_login . "' LIMIT 1" );
    
    	$user_path = "users.php?page=bp-signups&signup_id=" . $signup_id . "&action=activate";
    	$activate_user = admin_url( $user_path );
    ?>

    This link is a part of the filter for the activation email body, whilst the email itself was also filtered to be sent to the site admin instead of the user.

    If anybody is interested I’m happy to share the full solution which involved filtering the activation email recipient, email subject and email body, whilst giving the admin a link to activate the user and then sending a confirmation email to the user once they’ve been authorised.

    prateekvarma
    Participant

    Wordpress version 4.3
    Buddypress Version 2.3.3
    Website : http://viajesdespegar.com/pvarma/wordpress

    Issue : When a user finishes the registration process, and an email activation link is sent – the link gives an error “Invalid activation key.” on clicking/pasting on browser/entering the key manually.

    No plugins used, the only plugin is Buddypress. The standard Twenty Fifteen theme used.

    It’s a fresh install on WordPress and Buddypress, i am just trying to see how Buddypress is. I have been going through the forum to find answers, but most of the topics are closed by calling it an “old issue”, and the old threads did not solve my issue either.

    Any help is highly appreciated.
    Thanks!

    #243994

    In reply to: Activation Key

    Henry Wright
    Moderator

    The activation key is emailed to each new member in the form on a link after they register on your site. Does that help?

    #243993
    Ingram_AV_98
    Participant

    Hi all,

    Thanks for any help in adavnce on this, I’ve been going round in circles for a few days now. I’m working on a localhost at the moment for testing, and both WordPress and BuddyPress are up to date (WP 4.3, I can’t quite remember the BP version).

    I want to have a manual activation process managed by the admin account, as its a private site.
    I’ve successfully forwarded the users activation email to the site admin email, and changed the subject and email message but the activation link doesn’f work for the admin account when logged in.

    To be clear, the activation url works for the test account it’s designed for or if the admin is logged out, but when the Admin user is logged-in the link just goes to the home page.

    I need the site admin to be able to click the link in the activation email but I can’t figure out what format the link needs to be in to work for a logged in admin.

    As an Admin is able to click the activation link in the dashboard, there must be a link that will work from an email, but I can’t find where this would be generated.

    Does anybody know how I could generate a link that admin can use from emails to activate a users account?

    Thanks to anyone that can shed some light on this.

    #243179
    djsteveb
    Participant

    first test with default 2014 or 2015 theme – and all other plugins disabled except bp – does it work then? If not…

    previous forum posts maybe helpful –
    (let us know what you find works!)

    With a new bp setup I usually check these things first if email are not seeming to send or go through ->https://buddypress.org/support/topic/activation-e-mail-failing-to-send/#post-241079 (From a recent similar thread)

    Better to check the basics before digging into whether it’s a email header config on the server, php settings limiting functionality – need for wp to send as smtp plugin – something just with gmail blackhole filtering –

    so many different things can affect wp sending, bp sending, your web serving sending email as php, or an email service accepting something that was sent, much less put in the actual inbox instead of junk mail / promotions box or whatever…

    =-=- also from danbp about 8 months ago:
    When encountering a registration problem, first thing to do is to test your install without any plugins and one of WP’s Twenty default theme. Ensure that your site send correctly emails. Before activating any plugin, your base WP install must work.

    Once WP is OK – you can install BuddyPress and check your permalinks. Pretty permalinks must be activated to get the plugin working correctly.

    This point is important, especially if you have redirection issues after BP is activated.

    Second point to check is your theme installation.

    Proceeding like this will help you to isolate easely the culprit. If:
    – WP install: OK
    – BP install: OK
    – theme activation: problem

    So you know here the problem comes from.

    While testing your install, you can activate wp_debug (set to TRUE) in the wp-config file. This can give you a lot of information about conflict and/or errors.

    Just keep in mind that these information have 2 levels of importance: notice and warning.
    While notice are generally harmless, warnings should be taken seriously in account and solved.

    If WP is the problem, see first the wordPress support
    If it’s BuddyPress, see the BP support
    If it’s the theme, see the theme support
    If it’s any other plugin, see first the plugin support.

    boriskamp1991
    Participant

    Hi

    I have a serious issue which Im very surprised by.
    A user emailed me today with this:

    Trying to signup. Followed all directions. Won’t let me log-in. Asking for activation key???? Received your e-mail. Please respond. Thank you.. Jim

    It appears the user gets a wrong activation key error after following the link in the email. I’ve checked on various other topics here that describe the same problem and have not been able to find a solution.
    I’ve not been able to recreate this with a test account
    Im using WP 4.2.4 with a custom theme.

    Whats causing this? I really need this solved asap as it breaks my activation process

    Thanks!

    #242917
    blogook
    Participant

    Hi,

    Weird thing is going on.

    If a new user registered him/her self, the user is allowed to login before clicking on the activation link the activation email. And when this happens, the user is totally invisible. I cannot see that user in the newest members and anywhere else.

    How do I prevent login before the user clicked on activation link in the email?

    Shaktimaan
    Participant

    Wordpress version is 4.2.2
    Buddypress Version 2.3.2.1
    bbpress Version 2.5.7
    my website http://atheistzone.com/
    I am using buddy premium theme.

    I am facing email related issue. I noticed it on Sunday when i sent mass emails from my old site and asked members to check out new site.

    I noticed about 30 emails in pending columns. Activation emails were sent sometimes but most of the times were not sent.

    Today i noticed another issue that is also related to email. Emails are sent but reaching about 10 to 45 minutes late in users’ account. I am also receiving notifications of new activity late.

    Both activation emails and notifications of new replies are affected by this issue. Notifications of comments on blog posts are also reaching about 10 to 45 late in my email account. I am not using any email related plugin.

    I have tested gmail as well as yahoo email account. Same problem. Email reaches late.

    I have contacted my web host, HostGator twice via chat but he said it is not a server issue and blames software.

    #241825
    Randy Hicks
    Participant

    Found it. This action fires when the user clicks the activate link from the activation-email.

    
    do_action( 'bp_core_activated_user', $user_id, $key, $user );
    
    #241823
    Randy Hicks
    Participant

    Further investigation shows that the following added to functions.php will run if the “activate” button is clicked from the wp-admin by an existing admin. It will not run from the activate link in the user activation-email.

    I must be looking for a different action.

    The goal is to login the user and redirect them after they have clicked the activate link from the activation-email.

    
    add_action( 'bp_core_signup_after_activate', 'bp_autologin_on_activation', 1 );
    function bp_autologin_on_activation( $signup_ids ) {
    	print_r($signup_ids); die('bp_autologin_on_activation');
    }
    
    Randy Hicks
    Participant

    I’ve been trying to hook into this action, but I can’t seem to. I’ve been digging into the bp code using phpxref to try and follow any possible paths, but I think I’m missing something obvious.

    My assumption is that this action should file when a new user clicks the activation link from the activation email.

    I tired the following get a simple print_r.

    
    add_action( 'bp_core_signup_after_activate', 'bp_autologin_on_activation', 1 );
    function bp_autologin_on_activation( $signup_ids ) {
    	print_r($signup_ids); die('bp_autologin_on_activation');
    }
    

    class-bp-signup.php line 696
    do_action( ‘bp_core_signup_after_activate’, $signup_ids, $result );

    #241400
    nnc24
    Participant

    Hi,
    In what folder of buddypress plugin can I find the php file for Activation mail?
    I like to only edit the email text but I cant find the file.

    #241123
    nnc24
    Participant

    Hi danbp, thanks for your reply.
    But this is not exactly the same problem that I am having.
    I did read both topics but they are not really helpful for me, I still don’t know what to do now to fix this problem.

    I get the activation email but when I click on that link, nothing really happens. It redirects me to my homepage. So I dont even get a message if the activation failed or succeeded.

    Can someone please help me with a clear explanation what I need to do to fix this.
    THANKS

    #241114
    nnc24
    Participant

    I hope you can help me I got an big error with my BP new user activating email.

    1. When register on my website, you have to fill in a form. CHECK
    Page: http://www.everybodychallenge.nl/my-ebc/login-aanmelden/

    2. Check your email to activate your account message page. CHECK

    3. Email received by user. CHECK

    4. Activate by email url. FAIL FAIL FAIL
    I got this mail: Thanks for registering! To complete the activation of your account please click the following link: http://www.everybodychallenge.nl/my-ebc/activeer-account/a8fc00a0677dc8851997a3d1e676159e/
    BUT NOW: when clicking on that link, nothing really happens. You get a redirect to the homepage and the account is not been activated.
    I see the this new user in my WP dashboard at Pending users (1). So now I have to manually activate all new users, i dont want that.

    Please can anyone help me fix this?

Viewing 25 results - 551 through 575 (of 1,893 total)
Skip to toolbar