[Bb-trac] Re: [bbPress] #860: Changing the size of Gravatars from Admin section

bbPress bb-trac at lists.bbpress.org
Mon Sep 22 12:04:11 GMT 2008


#860: Changing the size of Gravatars from Admin section
----------------------------+-----------------------------------------------
 Reporter:  bloggsbe        |        Owner:         
     Type:  enhancement     |       Status:  closed 
 Priority:  normal          |    Milestone:         
Component:  Administration  |      Version:  0.9.0.1
 Severity:  normal          |   Resolution:  wontfix
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by sambauers):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  1.0-beta & XML-RPC =>

Comment:

 Definitely a theme issue. Especially since the gravatars have different
 sizes in different contexts.

 It can also be easily overriden using the 'bb_get_avatar' filter in a
 plugin like so:

 {{{

 function my_bb_get_avatar($avatar, $id_or_email, $size, $default) {
     if ($size != 40)
         return bb_get_avatar($id_or_email, 40, $default);

     return $avatar;
 }

 add_filter('bb_get_avatar', 'my_bb_get_avatar', 10, 4);

 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/860#comment:5>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list