The MU forums have moved to WordPress.org

buddypress friends check (1 post)

  1. easysleeper
    Member
    Posted 15 years ago #

    First, I did post this over at buddypress forums, and I've received nothing.

    Anyone here that uses buddypress please help!
    I placed a small update in query.php, within get_post function that does a check using bp-friends.php function friends_check_frienship(current_user, blog_owner)

    I have tried other measures, but the end result seems to be a fail within the BP_Friends_Friendship class.

    I am thinking this can only be failing because I need to include a resource, and I've tried several with no luck. I have used echo's to verify that I am passing valid data into the function but I continue to receive 'not_friend' when in other places within mu-plugins I get 'is_friend' using the same code.

    I have done require_once (bp-core.php) and include_once (ALL bp pages in bp-friends folder) no luck...

    anyone have a clue?

About this Topic

  • Started 15 years ago by easysleeper