Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Check to see if is logged in users profile.

  • @enderpal444

    Participant

    I allow users to add a bio to their profile which I add to the member-header. What I need to figure out is how to show text in place of it if the bio hasn’t been filled out and only show that to the profile’s owner. So if you’re on another members profile and they havent filled out their bio then the space would just be blank. What conditional tags do I use to do this?

    ` <?php
    $bio = bp_get_profile_field_data( ‘field=Bio’ );
    if ($bio != ”) {
    echo $bio;
    } elseif //$bio does not exist and is logged in users profile//{
    echo “

    You can add a short Bio here by going to your Profile Edit page.


    ?>`

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Check to see if is logged in users profile.’ is closed to new replies.
Skip to toolbar