Skip to:
Content
Pages
Categories
Search
Top
Bottom

Public activity, but only friends can comment.

  • @tangpage

    Participant

    i change this line (entry.php)

    <?php if ( bp_activity_can_comment() ) : ?>

    to:

    <?php if ( is_user_logged_in() && bp_activity_can_comment()&&friends_check_friendship(bp_get_activity_user_id(),bp_loggedin_user_id())) : ?>

    and then,only my friends can post comments, but i can’t post comment to myself… ;(

    cuz, i want to post activity to have anyone see it, but only friend could comment. i just want the sidewide comment to be friendly…

    anyone could help?

  • The topic ‘Public activity, but only friends can comment.’ is closed to new replies.
Skip to toolbar