Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Avatar Upload Issues


madmadmaxx
Participant

@madmadmaxx

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:

Code:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;

With:

Code:
if ( !$path = get_option( ‘upload_path’ ) )
$path = WP_CONTENT_DIR . ‘/uploads’;
else
$path = ABSPATH . $path;

It fixes the problem.

Skip to toolbar