WordPress.org

Ready to get started?Download WordPress

Forums

BP Show Friends
[resolved] Show only member's friends (4 posts)

  1. jackie.taferner
    Member
    Posted 2 years ago #

    For some reason, it always shows "My Friends", even if I'm on another member's page. I want it to always show the member's friends only. Is that possible?

    http://wordpress.org/extend/plugins/bp-show-friends/

  2. imath
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jackie,

    Thank you so much for your feedback. I havent noticed this behavior. Actually, i didnt pay attention that since BP 1.5, the function bp_is_member() was deprecated and replaced by bp_is_user(). (shame on me!!!!)

    So it looks like you're using BuddyPress v1.5+ because in previous version (1.2.10) it still works.

    What's interesting is that BuddyPress 1.5 is calling bp_is_user() if bp_is_member() is called, but instead of returning true or false, it returns NULL ????

    Anyway, i'll need to make an upgrade of the widget to correct this behavior. Meanwhile, if you want the plugin to work, you can simply replace all bp_is_member() occurences by bp_is_user() in bp-show-friends.php.

    Bye

  3. jackie.taferner
    Member
    Posted 2 years ago #

    I decided to custom-code a solution, but thanks anyhow!

  4. imath
    Member
    Plugin Author

    Posted 2 years ago #

    You're welcome. Just added version 1.1.2 to the repo to correct the bug..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic