Forum Replies Created
-
Dear R-A-Y,
Thank you for the support, appreciate it, and sorry I did not check google myself to find out you need to create bp-custom.php in case it does not exist yet.
It seems there is a conflict with my theme after extra review of my theme builders’ team.
Once they update the theme it hopefully works with the updated wordpress and buddypress. If I need your help afterwards, I will send a new request.
Only issue left is that I don’t know why the lines of coding don’t match in my buddypress version, I never changed code in the core buddypress files.
Thanks for the support,
Bart
Dear r-a-y,
I have the latest version v.2.9.0. I did not re-install yet, since that can maybe cause problems with my setup.
I found the spot where I have to add your code, see image: http://prntscr.com/g6uoav
However, I don’t see it fix the problem unfortunately.
I also added the code you’ve provided again as your second solution under childe theme functions.php –> the code does not seem to the trick either, also not in combination with the 1 above. See image:
http://prntscr.com/g6usssI don’t know yet what you mean with: wp-content/plugins/bp-custom.php , do you mean wp-content/plugins/buddypress/bp-custom.php? Anyways, also in this location I can’t find bp-custom.php
Hopefully you can help me out now.
Best regards,
Bart
Hi,
I’m running latest buddypress version and WordPress version: 4.8.1
Dear R-a-Y,
Thank you for the quick reply.
I don’t understand the first part of your reply. If I follow the link you’ve provided, I see I have to add the following code:
https://buddypress.trac.wordpress.org/attachment/ticket/7578/7578.01.patch
I have to add this code in: wp-content/plugins/buddypress/bp-core/bp-core-avatars.php.
However, the link you’ve provided with the code that I have to place between the lines 1402 and 1403, does not match with what I see when searching for that spot in bp-core-avatars.php. See the following image to see what I mean:
The second part of your question: pasting the following code in functions.php:
// Replace BP’s avatar override filter at a higher priority:
remove_filter( ‘get_avatar_url’, ‘bp_core_get_avatar_data_url_filter’, 10 );
add_filter( ‘get_avatar_url’, ‘bp_core_get_avatar_data_url_filter’, 99, 3 );–> seems not to do the trick. I pasted the code in my child theme functions.php
The other option: pasting it in wp-content/plugins/bp-custom.php I was not able to do, because I cannot find bp-custom.php. Not in plugins, and also not in the Buddypress plugin folder. What do you mean with this or where can I find it?
Hopefully you can help me out, thanks.