This function bp_get_user_has_avatar()
calls bp_core_fetch_avatar
with this argument 'no_grav' => true
so you could write your own function to see if a user is not using the default avatar:
function lurie_avatar_check( $user_id ) {
$retval = false;
if ( bp_core_fetch_avatar( array( 'item_id' => $user_id, 'no_grav' => false, 'html' => false ) ) != bp_core_avatar_default( 'local' ) )
$retval = true;
return $retval;
}
Related Posts:
- How to override Member’s Avatars in BuddyPress [closed]
- How to get larger version of author avatar
- Changing default Buddypress avatar affects all site avatars (because gravatar)
- How to remove unused avatar uploads in buddypress [closed]
- Cannot get local avatars to show [closed]
- How do you remove the buddypress group avatar from the activity stream post? [closed]
- How to update avatar in buddypress programmatically? [closed]
- How to get a buddypress user profile link and a certain user profile field for the current post author?
- Removing Gravatar.com support for WordPress and Simple Local Avatars
- How to Modify/Change a Buddypress/WordPress Account Activation Process
- Integrating Buddypress, Wootumblog and WPMU Sitewide tags
- BuddyPress: Allow only one email domain to register
- Ability to set character limit in BuddyPress?
- Add BuddyPress Profile Menu Item [closed]
- BuddyPress: Adding a new tab in groups
- How to display random users with avatars
- BuddyPress: hook to add new profile fields and groups
- wp_editor on front end – JavaScripts not included
- Syncing BuddyPress and WordPress profile fields [closed]
- Custom user avatar in the WordPress users listing
- Buddypress Full documentation [closed]
- What problems can BuddyPress make? [closed]
- How to force buddypress users to complete profile after registration? [closed]
- how to get current user name by user_id in buddypress?
- What’s the easiest way to change the default landing page for BuddyPress groups?
- Upload gravatar in WP profile?
- How to check if gravatar of user is the default’s one?
- Setting different width and height for gravatar
- Use local image for default avatar
- Wrong gravatar showing up?
- Buddypress send email notification only if user is not logged in [closed]
- Rename Buddypress Profile Tab
- Delete all user attachments
- How to re-enable admin bar with Buddypress active? (BP bar removed) [closed]
- Alternative default avatar generator?
- Login redirect to certain bp profile page
- How to ensure buddypress custome profile field is unique
- How to get gravatar url alone
- Replace default avatar
- Show buddypress notification in the frontend [closed]
- Buddypress and WordPress on different subdomains with the same database?
- BuddyPress Xprofile check if user can view field [closed]
- How to reply to Buddypress notifications? [closed]
- Posting Photos and Other Attachments in a BuddyPress Forum?
- Listing all users by their avatars in wordpress
- BuddyPress: How to get info of users filtered by some x-profile data? [closed]
- How to replace any occurence of Gravatars with a local placeholder image?
- How to check if the current page is a “personal activity”-page in buddypress? [closed]
- How to output nothing instead of default avatar?
- get the avatar url instead of an html img tag when using get_avatar?
- Buddypress get member meta info for specific user ID [closed]
- Redirect after registration in BuddyPress [closed]
- Remove tabs from buddypress groups and members pages [closed]
- changing the signup button url in WPMU/Buddypress
- Buddypress profile pictures sync across WordPress Multisite Network
- Make Profile link, link to the BuddyPress profile instead of the WordPress dashboard? [closed]
- How to Change BuddyPress Mystery Man Graphic without Overwriting Core Image File [closed]
- I’m trying to Add a new Buddypress menu tab and it is not showing up [closed]
- Exclude User from Activity Stream in BuddyPress?
- How to run scripts when a new blog is created in Buddypress?
- Showing the user’s username in registration email or activation page with BuddyPress [closed]
- Display four buddypress activies [closed]
- Buddypress Fake (non-bot) Users [closed]
- Assign a random avatar to every user?
- Replace comment avatars and links at the same time
- Conditional based on the User Role of the Current Profile the user is viewing – BuddyPress [closed]
- BuddyPress | How to merge the “setting” & “profile” pages into one page? [closed]
- cubepoints/buddypress show new rank on activity? [closed]
- Upload files into buddypress profiles [closed]
- BuddyPress: What is the use of is_default_option field in wp_bp_xprofile_fields table? [closed]
- How do I find the bbpress forum ID for a forum in a buddypress group?
- get_avatar() default image not working as of wp 3.5 [closed]
- How to get Viewing profile ID in buddypress? [closed]
- Is it possible to have a network of BuddyPress sites, a-la WordPress MU, with single-sign-on? [closed]
- delete a photo tag in rtmedia [closed]
- How to make a Discussion Group ”Sticky” in BuddyPress [closed]
- Can’t Find BBPress data in Database
- Buddypress register.php user redirect [closed]
- How to get user id which is done by buddypress [closed]
- BuddyBoss (BuddyPress / bbPress) moderation filters not doing anything
- How to add a count in a custom tab in a Buddypress group
- Use Gravatar as fallback image if no local image is not found
- Table ‘wp_signups’ doesn’t exist [closed]
- Show activities of defined BuddyPress groups [closed]
- How to edit buddypress templates? [closed]
- Is there a plugin or something that allows you to use BuddyPress without having to create a BuddyPress-ready theme?
- How to change avatar of the comment author using comment ID?
- Add an extra field to BuddyPress activity form
- Buddypress – adding custom post to members
- BuddyPress – Get a List of Defined xProfile fields [closed]
- How to create a theme specific translation of buddypress? [closed]
- get_avatar won’t show uploaded avatar, only default gravatar
- Force users to display default Gravatars
- Remove post content from buddypress activity [closed]
- BuddyPress Toolbar
- Buddypress Registartion template [closed]
- Does BuddyPress Have An Action Hook for remove_user? [closed]
- how to remove mandatory required fields in buddypress registration [closed]
- Can you use the buddypress profile system without installing the whole of buddypress? [closed]
- How to auto-accept a friend-request in buddypress based on user meta