Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to change avatar image size from bpthump to bpfull when viewing a topic

@craftcore

Member

Oh my goodness, this was driving me CRAZY! I figured out a solution that I hope will help you budddypress + bbress users out too!

Go to loop-single-reply.php in the bbpress theme files.

Find the line:

<?php bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>

This seems to be what is generating the avatar by default, so I commented it out and used the following code instead:

<?php // bbp_reply_author_link( array( 'sep' => '<br />' ) ); ?>

<?php

$replyauthor = bbp_get_reply_author_id();

if ( function_exists( 'bp_core_fetch_avatar' ) ) :
echo bp_core_fetch_avatar( array(
'item_id' => $replyauthor,
'type' => 'full',
'width' => 100,
'height' => 100
));
endif;

?>

My forums are happy and unfuzzy now. Hope it works for you too!

:3

Skip to toolbar