Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbpress profile integrates with bp


ozpoker
Participant

@ozpoker

Can I please ask someone to point me in the right direction with this.

I have implemeted a theme and can get the bbpress profile avatar next to each users post using this code :

<?php if ( $avatar = bb_get_avatar( $user->ID ) ) : ?>
<div id="useravatar"><?php echo $avatar; ?></div>
<?php unset($avatar); endif; ?>

But I can’t get the oci_user_avatar() tag in there without errors. probably I should be putting somewhere else so it qwrites directly in to the “bb_avatar”, but I got no idea.

Anyone want to help an idiot?

Skip to toolbar