Re: BP Album+ problem with images path with WP in subfolder
r-a-y, without success, I tried those two options in bp-custom.php:
function my_bp_album_upload_path() {
$path = ABSPATH . 'wp-content/uploads/album';
return $path;
}
add_filter('bp_album_upload_path','my_bp_album_upload_path');
and:
function my_bp_album_upload_path() {
$path = ABSPATH . 'site/wp-content/uploads/album';
return $path;
}
add_filter('bp_album_upload_path','my_bp_album_upload_path');
“site” is my subfolder.
The images sources still doesn’t have the subfolder in the path.
As I said, this is due to the previous filter:
_bp_override_core_domain() {
$domain = get_bloginfo('url');
return $domain;
}
add_filter('bp_core_get_root_domain','my_bp_override_core_domain');