Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,020
- How-to & Troubleshooting
- 129,627
- Creating & Extending
- 25,792
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,791
- Showcase
- 3,316
- Ideas
- 1,386
- 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;`