6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
25th February 2008 22:50
#
There's a additional file in the download that will allow this. You have to look through the file though for the bit of code you have to add it. It's commented out near the top. I can't unzip from here so I can't tell you.
I'm sure there's some way to hook this into the beginning of the_content. It's on my todo list.
I just saw that this is already integrated as an option to include with the post. But it shows the default avatar, even though I changed it. also, the line show_avatar email=Admin align=left avatar_size=38] is showing on my page http://investorsbuzz.com/stocks_/
I am still confused on this issue. Has this issue been resolved? None of the above makes sense to me. Is there a bug in the code? What is it that needs to be done? I am having the same problem but I still don't know what to do.
Responses (9)
Keeper of the Dark Chocolate — 25th February 2008 22:50 #
There's a additional file in the download that will allow this. You have to look through the file though for the bit of code you have to add it. It's commented out near the top. I can't unzip from here so I can't tell you.
I'm sure there's some way to hook this into the beginning of the_content. It's on my todo list.
Member — 4th September 2008 17:27 #
I'm trying to add the avatar display code to show the avatar in posts, and just keep getting the default avatar.
I put this in the post section:
<?php avatar_display_posts(get_the_author_ID(),'48',''); ?>It works fine displaying avatars in comments using
<?php if (function_exists('avatar_display_comments')){ avatar_display_comments(get_comment_author_email(),'48',''); } ?>Could it be an issue with calling the user by email vs. ID?
Member — 4th September 2008 17:43 #
got it. looks like avatar-posts.php has a bug on line 38 - it's looking for $tmp_user_id but the variable is $tmp_user_ID so it's null. easy fix.
Member — 24th May 2009 19:29 #
Is this still a valid solution? which file do I need to edit?
Member — 24th May 2009 22:32 #
I just saw that this is already integrated as an option to include with the post. But it shows the default avatar, even though I changed it. also, the line show_avatar email=Admin align=left avatar_size=38] is showing on my page http://investorsbuzz.com/stocks_/
Founder & CEO — 25th May 2009 00:05 #
Sorry, I'm confused as to what your issue is.
Re: "show_avatar email=Admin align=left avatar_size=38]"
That would imply that you haven't correctly edited the file I'm afraid.
Member — 25th May 2009 09:32 #
When I read the full post (for example post "sequenom plunges") I see a generic avatar instead of the pic I uploaded
http://investorsbuzz.com/stocks_/2009/05/09/sequenom-plunges/#more-40
the [show_avatar email=Admin align=left avatar_size=38] I see when I only look at the excerpt http://investorsbuzz.com/stocks_/
Member — 1st June 2009 18:16 #
I am still confused on this issue. Has this issue been resolved? None of the above makes sense to me. Is there a bug in the code? What is it that needs to be done? I am having the same problem but I still don't know what to do.
Erstwhile founder — 1st June 2009 19:28 #
Hi Guys,
Note that there is a User Avatar and a Blog Avatar. User Avatars are shown next to posts.
Thanks,
Andrew
Become a member