#2451 closed defect (bug) (fixed)
BP_ENABLE_MULTIBLOG Avatars Missing
Reported by: | windhamdavid | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | |
Cc: | PeterAnselmo |
Description
with BP_ENABLE_MULTIBLOG set, subdomain and subdirectory avatars go missing.
replicated with localhost and remote ~ 1.2.4.1 with 2.9.2 and 3.0
http://gzet.net/people
http://dev.gzet.net/people
Change History (6)
#2
@
14 years ago
the 1.2 branch is working fine and I noted the upcoming merge ~ http://trac.buddypress.org/ticket/2469
#3
@
14 years ago
I diff'd the branch and 1.2.5 tag and didn't see any difference in the way bp_core_avatar_url is being handled. I'm not sure of what is merging from the 1.2 branch and trunk or the best way to patch this, but $upload_dirbaseurl? doesn't seem to respond and this simple filter works for 1.2.5 and 3.0 avatars in multiblog mode - http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/custom-avatars-arent-shown-on-single-blogs-in-wpmu/?topic_page=2&num=15#post-59329
#4
@
14 years ago
- Cc PeterAnselmo added
I can confirm this.
The problem is in bp_core_avatar_upload_path() and bp_core_avatar_url().
if you're using a sub blog, it returns "wp-content/blogs.dir/1/files"
if you're using the main blog, it returns "wp-content/uploads"
Can you try the 1.2 branch and report back?