This topic has 5 replies, 4 voices, and was last updated 11 years by SQadmin.

  • Author
  • #4105
     gideon1210
    Participant

    How do you change the name on the profile page so the username is in place of the persons real name on the part above the picture box not the bit in the basic field

    #4149
     SQadmin
    Keymaster

    Hi,
    You need to change sweetdate/members/single/member-header.php
    Instead of bp_displayed_user_fullname() put 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
    #4245
     adam
    Participant

    Hi @sqadmin – I have a similar question. Instead of the username or fullname, how would I display two profile fields that users complete upon registration? For example, each of my members consist of two people. On my registration page, I have 2 First Name fields. How would I display First Name & First Name (ie Adam & Jamie)? I would like to do this in the Member Directory as well. I am just not sure how to properly call this with a function (how do I know what the field ID is for each field?) and I assume I would need to include an echo to display the “&” but not sure how. Thanks for your help!

    #4280
     SQadmin
    Keymaster

    Hi
    If you want to show specific profile fields you can use this php function without the need of knowing anything else but the profile field name:
    bp_member_profile_data( ‘field=the field name’ );

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

    This is not working.
    On frontpage if you go to topmembers and press the profile (still the name and not username) then you get an error on the proilepage

    You need to change sweetdate/members/single/member-header.php
    Instead of bp_displayed_user_fullname() put bp_displayed_user_username()

    #4382
     SQadmin
    Keymaster

    if you get an error you probably add it wrong. Not giving more details doesn’t help

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 6 posts - 1 through 6 (of 6 total)

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

Log in with your credentials

Forgot your details?