[buddypress-trac] [BuddyPress Trac] #5494: BP 2.0 beta - Groups Avatars - Notice appears when Avatars are turned off

buddypress-trac noreply at wordpress.org
Thu Jul 10 06:29:38 UTC 2014


#5494: BP 2.0 beta - Groups Avatars - Notice appears when Avatars are turned off
--------------------------+------------------
 Reporter:  shanebp       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  2.1
Component:  Groups        |     Version:  1.7
 Severity:  minor         |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by tw2113):

 I don't see 'avatar_thumb' in BP_Groups_Template, at least as called by
 bp_has_groups() but I've missed the obvious before.

 Nor am I, so you're not alone with that fact.

 Part of me wants to suggest removing the image tag completely, but then I
 worry about the possibility that someone has used bp_get_group_avatar
 filter, so that's more out of the question. But, then there needs to be
 some sort of default image that we can set to the `$avatar_thumb` property
 in `BP_Groups_Template`. It doesn't look like there's any sort of
 "default" image sets available other than mystery man, and that's intended
 as a user avatar, not group.

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


More information about the buddypress-trac mailing list