#2574 closed defect (bug) (fixed)
Uploaded avatars yet again not showing on multi-site blogs
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
As of WordPress 3.0.1 uploaded avatars through BuddyPress do not show on user blogs. Instead the Gravatar takes it's place, it is most likely due to some incorrect upload pathing just like the last time.
Change History (11)
#3
in reply to:
↑ 1
@
15 years ago
Replying to johnjamesjacoby:
Can anyone confirm this? I have multiple setups running 3.0.1 without issue.
Yes. I am running WP 3.0 MS + BP 1.2.5.2. The GD LIbrary is installed. I haven't been able to upload any local avatars. When I try to upload a jpg that's 100x100px, the crop tool appears. Whether I resize it or not, I'll get a confirmation message that the avatar has changed, yet my Gravatar remains.
Also, I just tried to change my avatar on buddypress.org. When I clicked on "Upload File" it took to me an "Oops! This link appears to be broken." error message at http://buddypress.org/community/members/hcleary/profile/change-avatar/
#4
follow-up:
↓ 5
@
15 years ago
- Milestone changed from 1.2.6 to 1.3
Avatars on this site are currently broken.
It sounds to me like a folder permissions issue? Can you try manually creating the necessary folders and see what happens?
I'm going to bump this to 1.3 to get it out of 1.2.6 milestone. I've tested this to the hills and cannot find any drop out in the process.
#5
in reply to:
↑ 4
@
15 years ago
Replying to johnjamesjacoby:
Avatars on this site are currently broken.
It sounds to me like a folder permissions issue? Can you try manually creating the necessary folders and see what happens?
I'm going to bump this to 1.3 to get it out of 1.2.6 milestone. I've tested this to the hills and cannot find any drop out in the process.
This will solve the problem: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/custom-avatars-arent-shown-on-single-blogs-in-wpmu/?topic_page=1&num=15
I think the ticket can be discarded in it's current form
#8
@
13 years ago
- Keywords changed from avatar, multisite, blog to avatar multisite, blog
- Resolution fixed deleted
- Severity set to normal
- Status changed from closed to reopened
not sure why but i still have same problem and this solution worked for me @ buddypress 1.5.4 / Wordpress 3.3.1:
function nfm_bp_avtar_upload_path_correct($path){ if ( bp_core_is_multisite() ){ $path = ABSPATH . get_blog_option( BP_ROOT_BLOG, 'upload_path' ); } return $path; } add_filter('bp_core_avatar_upload_path', 'nfm_bp_avtar_upload_path_correct', 1); function nfm_bp_avatar_upload_url_correct($url){ if ( bp_core_is_multisite() ){ $url = get_blog_option( BP_ROOT_BLOG, 'siteurl' ) . "/wp-content/uploads/"; } return $url; } add_filter('bp_core_avatar_url', 'nfm_bp_avatar_upload_url_correct', 1);
can you check it please?
(problem was avatars were not showing on non-root site's admin panel bar)
#9
@
13 years ago
- Keywords avatar multisite blog removed
- Milestone changed from 1.5 to 1.5.5
Confirmed. The local avatar directory is not being determined properly when on non-root sites.
Can anyone confirm this? I have multiple setups running 3.0.1 without issue.