@andij
14 years, 6 months ago
I just had this missing avatar issue after upgrading to 1.2.4 from 1.2.3. My BP site is a standalone installation and not a subblog of WPMU.
I resolved this by creating a bp-custom.php file in /public_html/wp-content/plugins/ and adding the following:
define( ‘BP_AVATAR_URL’, ‘http://prorc.co.uk/wp-content/uploads’ );
This thread helped me solve this issue nice and quickly, thanks : )
This worked a treat for me!
If you need to find your “Full URL path to files” you can find your DOCUMENT_ROOT by using phpinfo(); and adding “wp-content/uploads” to the end.
e.g: Store uploads in this folder “wp-content/uploads” Full URL path to files “/home/ACCOUNT/public_html/wp-content/uploads”
How can I create a phpinfo.php page? Try this link: http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F
Be aware that copying the code directly from @gian-ava will copy the wrong type of single quotes as @shaista points out above.
To check that your image is being uploaded take a look in /public_html/wp-content/uploads/group-avatars on your server