Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to Change Mystery Man Graphic without Overwriting Core Image File [Trac Denied]

@aces

Participant

It’s not quite the same thing but with bp version 1.5.6, I use the following in bp-custom.php:


// see: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/1-5-group-avatars-using-mystery-man-default#post-109448
function my_avatar_defaults() {
global $bp;
// change 'identicon' to anything listed here:
// http://en.gravatar.com/site/implement/images/#default-image
$bp->grav_default->group = 'identicon';
$bp->grav_default->user = 'monsterid';
}
add_action( 'bp_init', 'my_avatar_defaults' );
Skip to toolbar