diff --git a/wp-content/themes/score/lib/buddypress/functions-buddypress.php b/wp-content/themes/score/lib/buddypress/functions-buddypress.php index bfa2dcb..dcaf86d 100644 --- a/wp-content/themes/score/lib/buddypress/functions-buddypress.php +++ b/wp-content/themes/score/lib/buddypress/functions-buddypress.php @@ -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' ); + + ?> \ No newline at end of file diff --git a/wp-content/themes/score/lib/images/photo_profile_blue.png b/wp-content/themes/score/lib/images/photo_profile_blue.png new file mode 100644 index 0000000..9509802 Binary files /dev/null and b/wp-content/themes/score/lib/images/photo_profile_blue.png differ diff --git a/wp-content/themes/score/lib/images/photo_profile_red.png b/wp-content/themes/score/lib/images/photo_profile_red.png new file mode 100644 index 0000000..caa7372 Binary files /dev/null and b/wp-content/themes/score/lib/images/photo_profile_red.png differ