Need to solve 2 Problems with BP Album+
-
I got 2 problems on Cureuphoria.com (http://cureuphoria.com) with Album+
1) The images in the activity streams, be it in the general activity or the member one, are broken.
Ex:
http://cureuphoria.com/site/activity/p/444/
http://cureuphoria.com/site/activity/p/441/
http://cureuphoria.com/site/activity/p/434/
This happens only on the activity streams.
I do have to point out to the fact that I do have WP installed in a subfolder.
To avoid the subfolder being in the URL/permalinks, I got this code in “bp-custom.php”:
// Getting rid of the subfolder in URLs/permalinks
function my_bp_override_core_domain() {
$domain = get_bloginfo('url');
return $domain;
}
add_filter('bp_core_get_root_domain','my_bp_override_core_domain');Then, because the images uploaded with Album+ would’nt work with the above code, one of the plugin author (Francesco) wrote this code for me (thanks Francesco!):
// Album+ path to images fix (due to previous filter)
function add_subfolder_to_url($url) {
return str_replace('http://cureuphoria.com/','http://cureuphoria.com/site/',$url);
}
add_filter('bp_album_get_picture_original_url','add_subfolder_to_url');
add_filter('bp_album_get_picture_middle_url','add_subfolder_to_url');
add_filter('bp_album_get_picture_thumb_url','add_subfolder_to_url');Now, I tried to delete those two codes, just to see if the uploaded images weren’t broken in the activity streams, but thy still were.
Needless to say, I need this fixed as soon as I can, because it’s just horrible to have broken images all over the place, and it doesn’t look good to users.
2) I really don’t see how to comment on a photo. All I got is “Edit picture” and “Delete picture”. That’s all.
So, anybody?
- The topic ‘Need to solve 2 Problems with BP Album+’ is closed to new replies.