Skip to:
Content
Pages
Categories
Search
Top
Bottom

Users are asked for Activation


  • mbfit
    Participant

    @mbfit

    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?

Viewing 16 replies - 1 through 16 (of 16 total)

  • Varun Dubey
    Participant

    @vapvarun

    @mbfit are you using latest BuddyPress Version. Let me know your server environment to replicate the issue.


    dawndm
    Participant

    @dawndm

    I am experiencing the same issue. I have the latest version of BuddyPress.


    mrbosman
    Participant

    @mrbosman

    Experiencing the same issue as well.

    @vapvarun, possible to share the details of my site with you in private?


    mbfit
    Participant

    @mbfit

    Thanks for response I’m using Version 3.1.0

    http://www.thelove4life.com


    r-a-y
    Keymaster

    @r-a-y

    Please read the second point in this thread:

    BuddyPress 3.1.0 is now available!


    mbfit
    Participant

    @mbfit

    Right now I have this:
    <form action=”” method=”post” class=”standard-form” id=”activation-form”>

    <label for=”key”><?php _e( ‘Activation Key:’, ‘buddypress’ ); ?></label>
    <input type=”text” name=”key” id=”key” value=”<?php echo esc_attr( bp_get_current_activation_key() ); ?>” />

    and that should be overwritten with:

    <form action=”” method=”get” class=”standard-form” id=”activation-form”>
    <form action=”” method=”post” class=”standard-form” id=”activation-form”>
    <label for=”key”><?php _e( ‘Activation Key:’, ‘buddypress’ ); ?></label>
    <input type=”text” name=”key” id=”key” value=”” />
    <input type=”text” name=”key” id=”key” value=”<?php echo esc_attr( bp_get_current_activation_key() ); ?>” />

    This is in my buddypress/bp-legacy/buddypress/members/activate.php
    I’ll assume we should put this in the child theme?


    mbfit
    Participant

    @mbfit

    The above did not work


    mbfit
    Participant

    @mbfit

    Is there a way to roll back to previous version until I can afford a developer to fix this issue?


    r-a-y
    Keymaster

    @r-a-y

    About the code that is linked:
    https://buddypress.trac.wordpress.org/changeset/11766/trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php

    If your theme contains either a /buddypress/members/activate.php or /registration/activate.php file, you replace red lines with green lines. If your theme does not have any of these files, then you don’t need to make any changes.

    If you are still running into trouble, change your theme temporarily to see if your theme is the issue.

    —-

    If you want to roll back to an older version, you can do so on the following page:
    https://wordpress.org/plugins/buddypress/advanced/

    Under “Previous Versions”, select 2.9.4 and replace the copy on your server with that one.


    mbfit
    Participant

    @mbfit

    Ah yes I made an error with the above post. I had substituted the red lines with the green lines of code in the members/activate.php


    mbfit
    Participant

    @mbfit

    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


    r-a-y
    Keymaster

    @r-a-y

    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.


    mbfit
    Participant

    @mbfit

    Well I can agree with that for security purposes then I’m ok but I’m not getting an activation key. Can that be fixed, something I’m missing?


    mbfit
    Participant

    @mbfit

    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.


    r-a-y
    Keymaster

    @r-a-y

    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.


    mbfit
    Participant

    @mbfit

    Can a mod edit or delete the post that has my site name? This thread comes up on a google search and I was not able to edit the post. It is the 5th post down.

Viewing 16 replies - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.
Skip to toolbar