Skip to:
Content

BuddyPress.org

Opened 4 years ago

Last modified 3 years ago

#6925 new defect (bug)

BuddyPress creates /uploads/buddypress/ and doesn't use it.

Reported by: DJPaul Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Media Keywords:
Cc:

Description (last modified by DJPaul)

When uploading a user avatar, BuddyPress creates /uploads/buddypress/ which BuddyPress doesn't use.

Tested on multisite, network-activated.

Change History (6)

#1 @DJPaul
4 years ago

  • Description modified (diff)

#2 @henry.wright
4 years ago

This happens on a single install too.

#3 @slaFFik
4 years ago

Cover images are uploaded there.

So avatars: /uploads/avatars/[ID]
Cover images: /uploads/buddypress/members/[ID]/cover-image

IMO it's better to have avatars moved to /uploads/buddypress/members/[ID]/avatar.

@DJPaul What do you think?

Last edited 4 years ago by slaFFik (previous) (diff)

#4 @henry.wright
4 years ago

IMO it's better to have avatars moved to /uploads/buddypress/members/[ID]/avatar.

Moving the avatars directory would be problematic for existing installations. You'd either need to check both the old and new location for files or bulk move everything.

#5 @imath
4 years ago

@DJPaul It's not a bug, it's used by the cover image feature :)

And i agree with @slaFFik avatars should ideally follow the same folder organization
See https://buddypress.trac.wordpress.org/ticket/6570#comment:33 in the "The new BP_Attachment_Cover_Image class & the Cover Image UI" section 2nd paragraph :)

I haven't touched the avatar folder organization to avoid an upgrade routine in 2.4.

#6 @DJPaul
3 years ago

  • Component changed from API - Avatars to Media
Note: See TracTickets for help on using tickets.