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]
- 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
- Add BuddyPress Profile Menu Item [closed]
- How to display random users with avatars
- wp_editor on front end – JavaScripts not included
- how to get current user name by user_id in buddypress?
- Setting different width and height for gravatar
- Delete all user attachments
- Login redirect to certain bp profile page
- Listing all users by their avatars in wordpress
- BuddyPress: How to get info of users filtered by some x-profile data? [closed]
- How to check if the current page is a “personal activity”-page in buddypress? [closed]
- Buddypress get member meta info for specific user ID [closed]
- How to Change BuddyPress Mystery Man Graphic without Overwriting Core Image File [closed]
- Exclude User from Activity Stream in BuddyPress?
- How to run scripts when a new blog is created in Buddypress?
- Display four buddypress activies [closed]
- Buddypress Fake (non-bot) Users [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]
- Is it possible to have a network of BuddyPress sites, a-la WordPress MU, with single-sign-on? [closed]
- Use Gravatar as fallback image if no local image is not found
- Is there a plugin or something that allows you to use BuddyPress without having to create a BuddyPress-ready theme?
- BuddyPress – Get a List of Defined xProfile fields [closed]
- Buddypress Registartion template [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
- Best practices for securing a Buddypress installation?
- After Upgrade to Buddypress 1.2.6 from 1.2.5.2 , admin bar area displayed incorrectly for guest-visitors
- switch_to_blog( ) content disappears after load
- Buddypress bp_has_members function custom search with meta query [closed]
- Buddypress, BBPress – deqeue bp, bbp css and get group member count
- buddypress activity social share
- Wrong path when adding custom tab in BuddyPress [closed]
- Remove hovercard for only certian gravatars
- Buddypress export Profile Fields [closed]
- New Post Notifications for Users – BUDDYPRESS
- BuddyPress: Conditionally filter directory based on Xprofile Field [closed]
- Change the “Default Avatar” admin option via functions.php
- Will multiple BuddyPress groups slow down a site? [closed]
- How to set the default avatar of buddypress avatar [closed]
- Buddypress update user avatar image via REST
- Showing content to specific BuddyPress Member Types
- Save buddypress xprofile data to author meta
- How to get the group_id from the “groups_join_group” action in buddypress [closed]
- Truncate latest activity in buddypress
- Conditional tags to differentiate between profiles and activity with buddypress [closed]
- Custom Field Repeating When Using foreach
- How to add an error or notification to an activity?
- Buddypress Welcome Email [closed]
- How do I pull avatar from post using BuddyPress? [closed]
- how to make all buddypress users status “recently active”? [closed]
- WordPress Super Admin menu not enabled
- SQL Query members by profile fields Buddypress [closed]
- Customize Activity Stream – Buddypress [closed]
- WordPress/Buddypress theme has suddenly stopped working [closed]
- BuddyPress user bio in profile [closed]
- bbpress plug-ins and buddypress [closed]
- How to split out BuddyPress notifications drop down items to their own top level? [closed]
- BuddyPress – User Login instead of Full Name [closed]
- Displaying the errors from my BuddyPress script
- BP Profile Search with limited range
- validation email signup form buddypress
- Gender based user avatar
- adding xprofile for this user
- How to customize BuddyPress Notification triggers?
- Limit the total space in every user
- how can i add the repeater field in buddy press user edit profile
- Upload buddy press profile picture from custom page template
- How to add “create page” option for users in buddypress like facebook?
- how to create buddypress shortcodes?
- Buddypress user registration validation not working with custom select query
- Causing my WordPress functions to execute twice
- New accounts daily at WP Multi-User site under development, Analytics reports no traffic. What gives?
- Strange issues on sign up form
- How to get custom field from BuddyPress Extended Profile
- is it possible to add_action via template.php rather than function.php for this specific buddypress hook?
- Buddypress – Custom Name For Logged In User’s Messages In Message Thread
- Missing “Registration” page with BuddyPress [closed]
- WordPress shows admin’s avatar after editing a comment
- Show custom default avatar instead of gravatar
- Some ways to debug code
- Adding custom HTML to each profile group tab [closed]
- Subsite theme mystery man replacement with Buddypress on main site [closed]
- Broken Gravatar images in comments
- Is it possible to allow BP Group Admins to Set which Menu Tab they would like to have as their Default landing page? [closed]
- BuddyPress – Message’s Send To auto-fill functionality not working
- Force buddypress groups to be private [closed]
- Convert User’s Avatar/Gravatar to a jpg or png on the Fly
- Remove user from group after X days buddypress