Skip to:
Content
Pages
Categories
Search
Top
Bottom

Do you exist this plug in?

  • @coslayer

    Participant

    i need that the profile of any person are locked for all, except for the friends, it’s possible?

    thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • @nexia

    Participant

    i’d like the same thing… ;)

    @r-a-y

    Keymaster

    You could do this by editing the profile template and adding a friends check conditional…

    Something like this:

    <?php
    global $bp;
    if (is_user_logged_in() && friends_check_friendship($bp->loggedin_user->id,$bp->displayed_user->id) ) : ?>
    SHOW PROFILE CODE IS HERE
    <?php else : ?>
    <p>You need to be friends with this member in order to view their profile</p>
    <?php endif; ?>

    @nexia

    Participant

    thanks… :)

    @coslayer

    Participant

    thanks!!!!!!!!

    @xevo

    Participant

    Wow that it would be that easy.. Thanks r-a-y!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Do you exist this plug in?’ is closed to new replies.
Skip to toolbar