Forum Replies Created
Thank you for the quick replies! The plugin didn’t reactivate, so as soon as I reactivated everything was fine. (Feeling quite silly, hehe.)
That’s good advice, Modemlooper, I really should set up a testing site. Is the best thing to do to merely make a copy of my entire site’s directory in a subdirectory and update from that subdirectory first for testing purposes? Or should I make an entirely different dummy site in a subdirectory (different mysql database) altogether? Any input on that subject would be great!
Never mind that last question, I was able to integrate the same idea directly into my child theme’s member-header.php using
`(Score: displayed_user->id ); ?>)`
Thanks for the jump-off point!
Hi! I love the idea of this; I’ve been wanting to show a score for my members. I copy and pasted this code, but everyone’s score shows as “30,” no matter whose profile I look at.
If you have any advice it would be awesome! Thanks!
Thanks for the tip, Paul! I have nice crisp avatars now; not a blurry pixel in sight!
Strangely, calling get_avatar() still resulted in blurry pics. When I used the bp_core_fetch_avatar function, it worked perfectly.
(See image of the results side by side: https://twitter.com/#!/pangepange/status/197016926789181441/photo/1/large )
The function didn’t work as is, but when I changed item_id to “$comment->user_id”, the avatars worked on my theme.
`<?php if ( function_exists( 'bp_core_fetch_avatar' ) ) :
echo bp_core_fetch_avatar( array(
‘item_id’ => $comment->user_id,
‘type’ => ‘full’,
‘width’ => 75,
‘height’ => 75
Thanks so much for the help!
Thank you for the replies!
I’m not sure where to put the get_avatar() or the bPress avatar function though, because there’s no foreach statement on my theme to put it into. My comments.php just lists “ to output the code…
I tried to download a buddypress theme that already had the avatars working properly using a foreach, but I can’t find one with nested comments working by default.