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:
parent
32f177cff0
commit
33b49248b7
@ -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 );
|
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' );
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
BIN
wp-content/themes/score/lib/images/photo_profile_blue.png
Normal file
BIN
wp-content/themes/score/lib/images/photo_profile_blue.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
BIN
wp-content/themes/score/lib/images/photo_profile_red.png
Normal file
BIN
wp-content/themes/score/lib/images/photo_profile_red.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.6 KiB |
Loading…
Reference in New Issue
Block a user