Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,509
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,382
- Miscellaneous
- 9,177
-
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;`