Skip to:
Content
Pages
Categories
Search
Top
Bottom

username appearing twice on registration sign up form

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

  • jaciando1
    Participant

    @jaciando1

    sorry – I didn’t clarify with the last problem – how do I fix this? which one should I remove and how do I correctly do this please. I would prefer my user to choose their own pass word straight away. thanks again


    @mercime
    Participant

    @mercime

    username appearing twice on registration form


    @jaciando1
    Change the “User Name” profile field name in the “Profile Details” box -> go to admin menu
    Users > Profile Fields and click on the “edit” button under that profile field name.

    I also appear to have two different register forms???

    You can add the following to your theme’s functions.php page:

    /* If BuddyPress is active */
    if ( class_exists('BuddyPress') ) {
    	add_action('init','mme_redirect_register');
    	function mme_redirect_register(){
    		global $pagenow;
    		if( 'wp-login.php?action=register' == $pagenow ) {
    			wp_redirect('http://buddypress.dev/join-us');
    			exit();
    		}
    	}
    }

    Change http://buddypress.dev/join-us to your site’s register page.


    jaciando1
    Participant

    @jaciando1

    hi there @mercime thank you so much for your response. I’m not having much luck with either of those – this is the code I pasted into my child theme functions.php

    if ( class_exists(‘BuddyPress’) ) {
    add_action(‘init’,’mme_redirect_register’);
    function mme_redirect_register(){
    global $pagenow;
    if( ‘wp-login.php?action=register’ == $pagenow ) {
    wp_redirect(‘http://members.caravancamping.club/register/’);
    exit();
    }
    }
    }

    but it still redirects to: http://members.caravancamping.club/wp-login.php?action=register

    ??

    also with the second username – I’ve still got exactly the same problems – only just with a different field name?? how to I delete one of these entirely please?
    http://members.caravancamping.club/register/

    thanks again

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘username appearing twice on registration sign up form’ is closed to new replies.
Skip to toolbar