[buddypress-trac] [BuddyPress Trac] #6004: Move Avatar local management into new Attachments component

buddypress-trac noreply at wordpress.org
Tue Nov 11 14:44:13 UTC 2014

#6004: Move Avatar local management into new Attachments component
 Reporter:  imath                   |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  2.2
Component:  Avatars                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |

Comment (by boonebgorges):

 > I believe an "Attachments" nav in the member's page would be
 interesting, i know that from there, i can find everything i shared and
 with what component.

 Ah, yes. I agree with this. But, to me, this suggests having an
 "Attachment" (or "Album" or "Media" or "Files") component, which would
 create all of the UI, nav, etc, and which would *use* the core attachment
 API to fetch and store data, but would be separate from it. That is,
 "Attachments" in this sense (the UI component) would be another specific
 implementation of "attachments" (the BP API).

 > Some users might want to completely or temporarly disable uploads, some
 others to only disable avatar uploads for members, and other to only
 disable avatar uploads for groups...

 Yes, and we can provide filters and/or options for each of these. But this
 is independent of whether "Attachments" logically belongs on Dashboard >
 Settings > BuddyPress > Components.

 >  But in backend it can be interesting to use it in order to be as close
 to WordPress backend UI.

 Yeah. When you put it this way, I think that your technique is probably a
 good one, at least as a stopgap, and only when used in the backend.
 Echoing what I said earlier, I think it would be better framed as *the BP
 avatar upload UI* (maybe `bp.avatar_uploader`) rather than a general and
 reusable `bp.media`.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6004#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list