100 Big One Theme Pack BuddyPress Avatar

hello all,

So I uploaded the 100 Big Ones Theme Pack on to my BP+WPMU site at ndcom.com, and it works, but when someone comments on a post, their avatar doesn’t appear. Just a number of the comment. So if it’s the first comment, it will display, “1,” if second comment, then it will display, “2,” so on and so forth.

I installed the “Avatar” plugin, and the avatars show up in the comment loop, but this plugin messes up the avatars that would have shown up in the dashboard in the “recent comments” section on the lower left.

When I use a theme that’s not part of the 100 Big Ones, like the themes, “Journalist” or “P2” or “Prologue” or basically any other theme I download of wordpress.org, the avatars show up in the comment loop.

Is there something uniquely different in the 100 Big Ones theme pack that I have to change to enable it to function like a theme, I would enable similar to Journalist, P2, Prologue, or any other theme I upload on a one-theme-at-a-time basis?

Thanks,

Ninh

  • Andrew
    • Champion of Loops

    Hiya,

    The theme pack themes use our avatars plugin. Since BuddyPress has a built in avatars solution it causes a bit of a problem. So basically you’ll need to go through the themes in the theme pack and switch out the avatar code in the comment loop for the code used in the themes that are working for you.

    Thanks,

    Andrew

  • Andrew
    • Champion of Loops

    I completely forgot about that. The theme pack themes use the “avatar_display_comments” function in avatar-comments.php. You should be able to just upload avatar-comments.php and edit the function to pass on the correct details to the BP avatars function.

    Thanks,

    Andrew

  • zipnguyen
    • Flash Drive

    Andrew,

    I’m looking at two comment.php files. One of them is part of BP’s and the other is part of a given theme. There isn’t an avatar-comment.php file that I can see, so I assume that you’re is referring to comment.php files

    I’m looking at the comment.php files for three themes:

    1. BuddyPress

    2. the default theme of the 100 Big Ones theme pack (edublogs default template theme).

    3. the default theme that came installed to BP+WPMU, I believe it’s kubrik with the “blue” header.

    the kubrik theme allows for avatars to show up in the comment-roll. So I’m looking that this theme’s comment.php file and the edublog default template’s comment.php you now see at ndcom.com/ninhnguyen

    So where do I start to “call” the correct avatars? I’m looking at kubrik and edublog default theme comment.php files and then comparing it to BP’s comment.php file – and still don’t know where to start.

    The main difference I see is that the comment.php file in the edublog default theme is that “avatar_display_comments” and in the BP’s comment.php file it’s “bp_avatar_display_comments” I changed that and it didn’t work OR do I change the whole line whereby:

    edublog default template reads: <?php if (function_exists(‘avatar_display_comments’:wink:){ avatar_display_comments(get_comment_author_email(),’48’,”:wink:; } ?>

    and, the BP’s comment.php file reads: <?php bp_comment_author_avatar() ?>

    Please advise. Thanks,

    Ninh

  • zipnguyen
    • Flash Drive

    whoops, nevermind – I was missing an “s” I had it at <?php bp_comments_author_avatar() ?> when it was supposed to be <?php bp_comment_author_avatar() ?> it supposed to be the word “comment” not “comments”

    WORKS NOW. Thanks for the direction!!!