Edit the Profile (X-Profile) Field

I can't seem to remove the 'Full Name' mandatory field I have set up on my BuddyPress setup.

Any chance you could take a look and tell me what I'm missing? I wonder if it's because it's currently used on the profile page?

Thanks for the support.

  • Nastia

    Hello Graham

    I hope you are doing well today!

    I am afraid that this profile field is mandatory and cannot be deleted. However, this feature has been added as a feature request and it's under development right now:
    https://buddypress.trac.wordpress.org/ticket/5373?cversion=0&cnum_hist=3

    I am quoting the developer's last reply here:

    Add this into your CSS ...
    #register-page p { display: none;}
    #profile-edit-form .field_1 { display: none;}
    #signup_form .field_1 { display: none;}
    The register section is a sweet add on that removes the standard registration join up text as many spammers search for that phrase. The rest hides the name field from view on the registration page and the update page.
    Next add this Java script ....
    <script>
    document.getElementById("signup_username").onchange = function() {myFunction()};
    function myFunction() {
    var x = document.getElementById("signup_username");
    document.getElementById("field_1") .value = x.value
    }
    </script>
    .... this takes the username and populates the name field. So even though the user cant see the name field it gets updated with whatever they put in the username field.
    Ideally you need to find a way to add it to just your registration field.

    Reading through the topic, I found that you can use the following plugin that will replace the "Name" required field with Full Name and Last name fields:
    https://wordpress.org/plugins/bp-xprofile-wp-user-sync/

    I hope this helps!

    Cheers,
    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.