Buddypress Friends

buddypress-friends

This plugin adds a widget to Buddypress that displays the friends for the current user that is logged in. They are displayed as Avatar images or as a list of your friends. You can easily resize the avatar images and control how many of your friends display in the widget. This plugin will be expanding to include a lot more features including sorting friends in different manners.

Download Buddypress Friends

Plugin Groups

Contribute to plugin development or simply participate by joining the group.

Instructions:

  1. Install the plugin
  2. Drag an instance of the widget into the desired sidebar
  3. Type in a title for your widget
  4. Select the maximum number of friend to be shown in the list
  5. Select a width and a height for the avatar images, a trial and error approach can be used to get them to fit the way you want
  6. If you want to just display a list of links with no image check the 'Display as List' checkbox

Here is the sidebar widget in action:
Buddypress friends screenshot

Here is the backend of the widget:
Buddypress friends widget


23 Responses to “Buddypress Friends”

  1. Joeh says:

    Hi, can you tell me is there a limit to the amount of avatars the plugin will display. I can't get it to show more than 20 friends.

  2. Adam J Nowak says:

    I will check into this as soon as I get home. I did not limit the number of friends in the plugin so it is probably a buddypress default limitation. I will email you as soon as I check into that.

    Thanks for the input!!

  3. Prashant says:

    Hi,
    Thanks for your Buddypress Friends plugin.It works great.
    I just wanted to make a feature request.It would be great if it shows the friends who are currently online below the friends avatars and it is only visible for the logged in user profile.
    Also it would be great to add a View All button so that it takes to the current users friend page.

    Thanks,
    Prashant

  4. Adam J Nowak says:

    Great Ideas! I will be working on the plugin over the weekend and will be adding some new features. I will see what I can come up with.

  5. Bowe says:

    Great plugin Adam!

    The feature requests from Prashant would be really nice indeed!

  6. Adam J Nowak says:

    I am going to plugin land this weekend and will see what I can do about the feature requests. I have two other plugins I am trying to release this weekend but will try. One of them is the 'Buddypress Sidebar' plugin that allows you to have a different sidebar for each page, like activity, members, etc. You can even just name a sidebar MyCoolPage and then create a page called MyCoolPage and the sidebar will automatically show up there.

    Thanks for the complements

  7. Anindya Ray says:

    I'm testing on localhost :
    using:
    WP - 3.0.1
    BP- 1.2.5.2

    When not selecting current member mode , the friend list is showed properply for the current logged in user , so the friend list is working correctly
    but when selecting current member mode , the friend list is displaying all user of the community, for the current logged in user, whereas friend list of other members as displayed correctly when visiting other member's profile, hence for me friend list is not working correctly when selecting current member mode.

    I don't know , can this problem occur as I'm testing it on localhost ?

  8. Adam J Nowak says:

    I have not done any testing on a local machine, and I don't think it would make a difference. I just want to clarify what it going on.

    By default buddypress friends shows all the site friends when you are not looking at someones profile. You can control this by entering a user name in the: 'Username - Default Friends' field, then only those friends will be shown in this situation.

    Please give me more details if you think something is broken.

  9. Darin says:

    This is a great plug-in...some unexpected settings though. I was having the same issue and came here to report it, however, from your last comment it seems this is the default behavior. If I type 'My Friends' as the widget title, I am expecting this list to display the logged in user's friends. Showing all members is redundant since this is displayed using the BP Members widget, it is also confusing as one would expect to see their friend's only. From a membership point of view: typing a users name in the Widget Title field displays a particular member's friends and is not something another member should see when logged in. It seems the only options are: all member's friends or a single member's friends. I think the current member mode is great for viewing a member's friends when on their profile. Is there a way to change the default friend's list to display that for the logged in member only? Nice work! Thanks!

  10. Darin says:

    Correction to last comment. I see typing user does show the logged in user's friends, however, when Current Member mode is selected it shows all members anyway. This is as Anindya Ray said above. Also, Is there a way to have the Widget title display 'My Friend's' for each member (when I type 'user') as when I am logged in I do not need it to display my own name...

  11. Adam J Nowak says:

    If you have current member mode turned off then the widget will display the friends of the current logged in user.

    You got me thinking about how I programmed the current user mode. Might consider having that display logged in users instead of site users.

  12. Adam J Nowak says:

    The widget title has no effect on the functionality so for now you should just make the title My Friends and leave current member mode off. Over the weekend I may add another option so that you can choose to see logged in user friends or all friends when in current memeber mode.

  13. Darin says:

    Hey Adam,

    Thanks again for the plugin and for your quick reply. It would be really great to show the logged in user's friends on most pages and current member's friends when viewing their profile. That is exactly what I was looking for and it would make this plugin even better than it is now. I think many would appreciate this option. If only I knew how to do this myself, I am kind of new to PHP. I give developers like you much respect and credit...without you our websites would just be ordinary. Do you have a PayPal donation link anywhere? Thanks again. Darin

  14. Drew says:

    Is there any Template code to add in the Sidebar for this Widget. Actually I wanted to display this widget only for logged in members.

    If there is any way of performing that then let me know....

  15. Adam J Nowak says:

    At present there is no way for the plugin to handle this. There may be other plugins that take care of this independently. If you are desperate for this functionality I can write the code to create this functionality at a reasonable rate.

  16. James says:

    Hi

    Thanks for the work on the plugin. It was working beautifully until I upgraded to Buddypress 1.5 and then disappeared - is it compatible?

    FYI I am running Buddypress v1.5, WordPress 3.2.1 and a Studiopress theme with the latest version of their Genesis Connect plugin which is v1.1

    Thanks again

    James.

  17. Adam J Nowak says:

    Thanks for the update, its a never ending battle to keep BP plugins working - I will take a look asap

  18. James says:

    Hi, I appreciate this is a free plugin, but do you have any update on this bug?

    Thanks

    James.

  19. Adam J Nowak says:

    I hardly have time to think due to my work schedule, will do the best i can

  20. Me too says:

    This would be appreciated. I'm also running BP 1.5 and the widget isn't there :(
    Cheers!

  21. Adam J Nowak says:

    1.2 is out, hopefully this gets her back up for you folks.

  22. Toni says:

    This is just the plug-in I need but it's not compatible with Buddypress 3.3.1. Bummer!

  23. Adam J Nowak says:

    This is still testing ok for me, will need to do more obviously

Leave a Reply

User Login