Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar of last topic starter.

  • On my homepage i show the forums and behind that the last topics and last replies.

    This shows the Avatar of the last person active on a topic (replies):

    <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 32, 'type' => 'avatar' ) ); ?>

    Very cool, and works.

    But now i would also like to call for the authors (topic starter) avatar of the last topic on a forum.

    So i tried this but nope :(

    <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_topic_author_id(), 'size' => 32, 'type' => 'avatar' ) ); ?>

    It gives me random avatars from everybody. :(

  • You must be logged in to reply to this topic.
Skip to toolbar