This topic has 8 replies, 4 voices, and was last updated 11 years by aztlanla.

  • Author
  • #6040
     JohnDoe
    Participant

    I don’t wanan see any real names across my site, i used the

    /* Display Username in Directory */
    function my_member_username() {
    global $members_template;

    return $members_template->member->user_login;
    }
    add_filter(‘bp_member_name’,’my_member_username’);

    Code for members directory, now i’m wondering how to do this for profile too.

    #6093
     SQadmin
    Keymaster

    have you tried this? http://wordpress.org/plugins/buddypress-usernames-only/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #6096
     JohnDoe
    Participant

    Yes, but that only worjks on the members directory page, not on profile.

    #6123
     SQadmin
    Keymaster

    Then you have to edit wp-content/themes/sweetdate/members/single/member-header.php and change bp_displayed_user_fullname with bp_displayed_user_username

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #6175
     JohnDoe
    Participant

    Will it still ask for the full name on registering then?

    #6234
     SQadmin
    Keymaster

    Well, it will ask it yes. Maybe edit registration/register.php and make it a input hidden type instead of text and set the value to a space or something

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #6368
     cajoejoe
    Participant

    let me know if you solved it,,, i can use the solution. Wanted just user name displayed rather the entire “real name”

    #6377
     JohnDoe
    Participant

    hmm this still shows the full name , in the about me section.

    #6395
     aztlanla
    Participant

    Go to Users | Profile Fields | and edit the name field. Call it Nickname. Then add a new field and call it Name and make it required and field type text box. Set Default visibility Admins Only. Then adjust Per-Member Visibility to your liking. That should let you hide the Name.

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?