[buddypress-trac] [BuddyPress Trac] #4676: Resend activation key link/page

buddypress-trac noreply at wordpress.org
Tue Mar 18 16:02:03 UTC 2014


#4676: Resend activation key link/page
-----------------------------------------------+-----------------------
 Reporter:  sooskriszta                        |       Owner:  r-a-y
     Type:  enhancement                        |      Status:  assigned
 Priority:  normal                             |   Milestone:  2.0
Component:  Administration                     |     Version:  1.0
 Severity:  major                              |  Resolution:
 Keywords:  ui-feedback ux-feedback has-patch  |
-----------------------------------------------+-----------------------

Comment (by imath):

 Replying to [comment:11 r-a-y]:
 > Give it a test and let me know what you think.
 >
 > '''Update:''' This only seems to apply for single-site users.  Multisite
 uses a different method.  Will have to look into that.

 Hi r-a-y,

 Just tested, it's an interesting use of the new BP_Signup class :)

 Well, since r8119, things are very similar between the two configs. For
 back compatibility reasons, we're still creating the user in single sites,
 but the Admin can choose to skip this step by defining the constant
 {{{BP_SIGNUPS_SKIP_USER_CREATION}}} to true. So i think we can first check
 in {{{wpdb->signups}}} to see if the username has not activated his
 account, then keep on using the {{{user_status}}} in case the constant is
 not defined and then evenutally display the link to receive the activation
 link.

 So i've attached a new patch 4676.02.diff as a suggestion that should work
 on all configs.

 Other than that, i may be "overthinking" the functionnality but, i thought
 : why a user wouldn't receive the activation email ?

 1. the email arrived in his spams
 2. he mistyped his email while signing up

 So my idea about this would be : if the account is not activated redirect
 ("carrying" in the request the user login) the user to a form where
 there's only an email input field.
 On submit get the user login and the email, check into the signup if the
 emails are equals and then resend the activation link
 If no email, it means the user may have mistyped while signing up or
 sending this form, so we could inform him the email wasn't the one you
 provided while registering...

 Once the email is sent, the message could be a bit more detailled like :
 "Activation email sent, please make sure to check your spams if not in you
 inbox'..

 The problem is that wp-login.php might be complex to adapt, and i'm not
 feeling like simulating a lostpassword request to get the email form ;)

 This is what i think : It's a nice feature, but there is a chance the user
 mistyped the email while registering and i can imagine him being very
 frustrated by never receiving the activation link in that case :) It would
 really be great if we could check this.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4676#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list