Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: avatars in wordpress and bbpress


affacat
Member

@affacat

to better illustrate my issue, my current code for the profile page is:

if ( avatarupload_get_avatar(ID) ) {

avatarupload_display($user->ID);

} else {

echo bb_get_avatar( $user->ID );

}

which means if uploaded avatar exists then display it, else get gravatar.

but what i really want is:

if uploaded avatar exists then display it, else if gravatar exists then display that, but if neither exists then display the avatar upload default avatar.

Right now it displays gravatar default instead. which isn’t my first choice since avatar upload would give me control over the default image which is better for obvious reasons.

Skip to toolbar