Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress avatar vs BuddyPress avatar

  • Avatar of leromt
    leromt
    Participant

    @leromt

    I have WordPress (2.4.1), bbPress (2.4.1) and BuddyPress (1.8.1) installed. The avatar that users upload with BuddyPress are appearing just fine, however, it seems that bbPress is using the “default” avatar when it is used next to the users’ names within the list of Forums and Topics.

    When I try changing this line from /topics/template.php

    
      $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
    

    to this

    
      $author_avatar = bbp_topic_author_avatar(5, 40);
    

    I get the following error:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /Users/leromt/Sites/caldol/wordpress/wp-includes/cache.php on line 113

    Bascially, I want to display the same avatar within bbPress that is showing within BuddyPress.

    Any idea as to what is happening?

You must be logged in to reply to this topic.