Tarea #1051 -> Cambiar la imagen cuando el usuario no pone ninguna foto

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@150 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-29 11:34:03 +00:00
parent 32f177cff0
commit 33b49248b7
3 changed files with 6 additions and 0 deletions

View File

@ -709,4 +709,10 @@ function bp_datebox_field ($html, $type, $day, $month, $year, $default_select )
}
add_filter( 'bp_get_the_profile_field_datebox', 'bp_datebox_field', 10, 6 );
function gp_bp_add_default_avatar( $url ) {
return get_stylesheet_directory_uri() .'/lib/images/photo_profile_blue.png';
}
add_filter( 'bp_core_mysteryman_src', 'gp_bp_add_default_avatar' );
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB