Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: group avatar problem


Gianfranco
Participant

@gian-ava

Go to Settings -> Miscellaneous Settings


Set “Store uploads in this folder” to “wp-content/uploads”.


Set “Full URL path to files” to the REAL FULL PATH of your uploads.


Then change bp-core-avatars.php line 389:

Replace

:
if ( !$path = get_option( ‘upload_path’ ) )


$path = WP_CONTENT_DIR . ‘/uploads’;


With:


if ( !$path = get_option( ‘upload_path’ ) )


$path = WP_CONTENT_DIR . ‘/uploads’;
else
$path = ABSPATH . $path;

It fixes the problem.

Since this is a modification in one core file, you need to do that everytime you upgrade BP. Don’t foget!

Unless it gets fixed in the future.

Skip to toolbar