Changing/removing username to email address, having user confirm email address
-
Hi, in the sign up/registration process, I’m wondering if there is a way to change the username field to be an email field, and the email field to a confirm email field (like with the password).
In the
registration/register.php
file I see the form code:<label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_username_errors' ); ?> <input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" /> <label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php do_action( 'bp_signup_email_errors' ); ?> <input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" />
I can change the label easily, but am I able to remove the username functionality completely in favor of using the email as the username?
The password/confirm password
for/name/id
fields aresignup_password/signup_password_confirm
, can I do the same for email/email confirm?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.