Skip to:
Content
Pages
Categories
Search
Top
Bottom

Username and Name

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Are you using a custom theme? Have you added any required fields via the “BuddyPress > Profile Fields Setup” in WPMU’s backend?

    By default, WPMU with BuddyPress installed is setup to do exactly what you are asking–have one “Username” field and one “Name” field on the signup page.

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    Yes.

    But I want only Username or only Name.

    Or why not Username and Name is same.

    Thank you

    Avatar of rickgoz2009
    rickgoz2009
    Participant

    @rickgoz2009

    I use this theme http://testbp.org/register

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    The username field is a mandatory WPMU field. It is used by WPMU as the “user_login” field of the wp_users table. It is the necessary piece of datum that is used when a user logs in.

    BuddyPress has its own mandatory registration field that by default is called “Full Name”. Look in the BuddyPress submenu group in WPMU’s backend. Go to “BuddyPress > General Settings > Full Name field name”.

    You can change the “Full Name” field name to display whatever you want but you cannot remove that field from the registration page nor edit it to be something other than a single textbox field–at least not without hacking the core. Look under the “Basic” field grouping in “BuddyPress > Profile Field Setup” to see what I mean.

    In fact, for testbp.org, Andy did change the outputted name of that field to simply read “Name”.

    It is this BuddyPress field that is used to display the user’s name. If fact, this field can be edited by the user when they visit their profile and navigate “Profile > Edit Profile”. On the other hand, the username field, which is a WPMU field, cannot be edited.

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    Yes.

    But I want only Username or only Name.

    Or why not Username and Name is same.

    Thank you

    I still want to figure out a way to autogenerate the username from the name; full name with spaces stripped, all lower case.

    I know it’s doable with simple PHP code, that I may have used before somewhere – have to dig through my older sites. But where/how could I insert that into the registration process? Would that have to be a plugin? Any pointers appreciated.

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

You must be logged in to reply to this topic.