BuddyDev

BuddyPress Members With Uploaded Avatars Widget

The BuddyPress  Members with Uploaded Avatars Widget allows you to showcase the list of members who have uploaded their avatar recently/changed their photo.

It is a very simple plugin and my special thanks to Igor for the idea.

It works on two very basic principles

  • We record when a member uploads a new avatar
  • We remove the flag when the user deletes his/her avatar

Features:-

  • Show members who have profile photo uploaded
  • Order the list randomly, alphabetically, by last active or popularity, recently joined
  • Exclude specific users by id.
  • Include users without avatars too
  • Include users from certain member types
  • Exclude users from certain member types
  • For listing users, you can use default theme style(using members-loop.php) or the plugin style.

The plugin allows you to filter member list by recently active, randomness, popularity, alphabetically or by Joining date. You can further specify the no. of Users to be listed and their avatar size to be used. If you are using images below 50px size, I recommend choosing thumbnail in the type select box, else use full.

Here are a couple of Screenshots

And here is the output for me on my local server.

Please do note that the plugin will only be able to track the photo changes after it is activated. It won’t track that for the users who uploaded images before this plugin was activated.

Github repo: https://github.com/sbrajesh/bp-members-with-uploaded-avatar-widget

Release History

  • Version: 1.0.6

    Tuesday, 05 March, 2019
    • Tested With: BuddyPress 4.2
    • Compatible With: BuddyPress 2.5+

    Fix a database query when there are no members with uploaded avatar.

  • Version: 1.0.5

    Wednesday, 18 October, 2017
    • Tested With: BuddyPress 2.9.1
    • Compatible With: BuddyPress 2.5+

    Add option to exclude users, exclude by member types, include by member types.

  • Version: 1.0.4

    Sunday, 15 October, 2017
    • Tested With: BuddyPress 2.9.1
    • Compatible With: BuddyPress 2.5+

    Refactored and added option to use default theme members loop for listing members.

  • Version: 1.0.3

    Friday, 08 January, 2016
    • Tested With: BuddyPress 2.4.3
    • Compatible With: BuddyPress 2.0+

    Updated the code and added two filter to filter user ids

  • Version: 1.0.2

    Thursday, 27 June, 2013
    • Tested With: BuddyPress 1.7.2
    • Compatible With: BuddyPress1.6+

    Updated for BuddyPress 1.7+

  • Version: 1.0.1

    Saturday, 15 December, 2012
    • Tested With: BuddyPress 1.6.2
    • Compatible With: BuddyPress 1.5+

    Fix the wpdb::prepare warning
    include option to show the members who don't have the avatars uploaded

  • Version: 1.0

    Monday, 18 June, 2012
    • Tested With: BuddyPress 1.5.6
    • Compatible With: BuddyPress 1.5.x

    ## Initial release ##

Subscribe