Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Avatars not working


nmpfs
Member

@nmpfs

There is a bug in build.

When u upload|change default avatar, core puts in db wrong path to your file. I found in db local path, must be from root dir of your site.

SOLUTION

May be, there is more elegant way to fix it, but temporary solution is:

in file WPdirpliginsdirbp-corebp-core-avatars.php replace this:

$newdir = path_join( ABSPATH, $path );
$newdir .= '/avatars/' . $user_id . '/';

with this:

$newdir = $path. '/avatars/' . $user_id . '/';

Skip to toolbar