29 thoughts on “Post Avatar 1.2.4”

  1. So glad to see you’ve upgraded this for v2.5!

    I’m having just a little trouble: I’ve applied the call to the function within the Loop on my posts on my current template, and have disabled the “Show avatar in post?” option, but I don’t see avatars getting applied automatically to my posts.

    If I go in and edit each post’s avatar setting manually though, then the avatars appear.

    What I’m trying to do is enable the plug-in to automatically assign avatars on hundreds of posts in a multi-author blog, by scanning and then matching avatar images in wp-content/avatars/ to the author name in each post. Can you please confirm that the plug-in can be used for mass avatars assignments in this way, and if so, let me know what I might be doing wrong?

    Thanks so much!

  2. Very cool, this is almost working. I’m just finding that the posts’ ALT text is appearing, so the images aren’t being found correctly, because of naming conventions.

    My avatars are named like this:
    firstname-lastname.jpg

    but the authors’ display names are like this:

    Firstname Lastname

  3. Hi there! I love the plugin, and just upgraded to 2.4. (I didn’t realize, before, that it wasn’t in the WP plugin directory and therefore doesn’t tell me when there’s a new version.)

    I’ve been getting an error for a while now, every time I save or publish a post. I was hoping that the new version might fix it, but there’s been no change. The avatar assigned to the post shows up, then:
    Warning: Cannot modify header information – headers already sent by (output started at /homepages/20/d162322745/htdocs/technomom/wp-content/plugins/post-avatar/gkl-postavatar.php:68) in /homepages/20/d162322745/htdocs/technomom/wp-includes/pluggable.php on line 689

    I’m running WP 2.5 on an Apache server. Any suggestions?

    Thanks!
    Cyn

  4. Hey there. Having a small problem. Am using both current versions of WordPress and your avatar plugin. However, I did something somewhere – not sure what – and now my postavatars are no longer showing up inline with my posts. If you go to my site, you can see they’re sitting on their own line. What can I do to fix this?

    (one thing I did do was customize the file to “no border” around the avatar.)

  5. Wonderful plugin!

    I’ve got one HUGE question…

    Is there anyway to set a default avatar for posts that haven’t been assigned an avatar?

    Thanks!

  6. Hi, I just updated to wordpress 2.6 and this great plugin doesnt seem to work :( It works find using the template thing and having it coded onto save archive.php. My problem is that on my website I use both.

    There is no option on the write post to add a thumbnail in 2.6 it seems. Any ideas why?

  7. thanks for your superb plug-in! it’s exactly what i was searching for :)

    still a question thou: is it possible to assign a certain avatar to a user’s old posts?
    i have about 135 old posts written from before installing your plugin. while 135 may seem not much comparing to some blogs, it’s definitly too much to edit each of them.

    thanks again!
    fukiburi

  8. Hi, I uploaded everything, and activated the plug in. But I cannot find the “Post Avatar” page anywhere. I looked in Manage, and in Settings, but it does not show up in my admin panel. Is this because I use wordpress 2.6? What is the problem?

  9. Whenever I post an update on my site, I get the following error message:

    Warning: Cannot modify header information – headers already sent by (output started at /home/tblwrest/public_html/wp-content/plugins/post-avatar/gkl-postavatar.php:68) in /home/tblwrest/public_html/wp-includes/pluggable.php on line 390

    I’ve checked gkl-postavatar.php at line 68 for extra white space and I don’t see any problems.

    Help?

  10. Works perfectly in WordPress 2.7 Beta 1. I have a small problem though. Displaying the post avatar in my homepage doesn’t really look nice with my theme. How can I set it up so that the avatar is displayed ONLY in the individual post page? Please help.

  11. Thanks for fixing my previous issue Vix! How can I automatically put the post avatar inside ‘a’ tags such that clicking on it would automatically take the user to that author’s archives? Thanks in advance :)

  12. Thanks for this plugin – which I am using for something completely different than avatars. :)

    However, I want to use this on PAGES aswell as POSTS. Is this possible somehow?

  13. I’m having an issue. I don’t see any avatars listed in the post avatar section. It just says ‘no avatar selected’ with nothing else in the dropdown menu. I followed the instructions and put the images in the folder that I told post avatar to look at. Do they need to be specific image types or specific sizes in order to work properly?

  14. Hey,

    Great plugin. I’ve been using it quite some time now. I was wondering if a next update could contain a function to set a link in the admin section. I’d like to be able to click on the avatar to open a page (e.g. photo album :))

    Thanks! Keep up the great stuff…

  15. Thx a lot for the code snippet, Vix!
    I just saw your answer now and it’s the perfect solution for me :D

  16. Hey there! I just wanted to thank you for this plugin. After a while I got it working exactly how I wanted to.
    I wanted it to appear aligned to the right in the same space as the author and title.
    You can see an image of how it is set here http://thebeerblog.net/images/avatar_scrshot.jpg

    To do this I added it into the div class for from the single page and then added that div class to my index.
    It’s ALMOST perfect, there is a tad bit too much space above but im sure I’ll get that fixed soon.
    Thanks again!

  17. I see the problem that you’re having and no you can’t use the post
    avatar plugin for mass avatar assignments. The post avatar plugin is
    intended to let you choose a particular image for each post.

    But the effect you’re trying to achieve can be done quite easily.
    For example you have the following users:

    vix
    nancy
    chris

    and inside your wp-content/avatars you have images named after each
    author like this:

    vix.jpg
    nancy.jpg
    chris.jpg

    You can have a code like within The Loop:

    <?php
    $post_author = get_the_author_login();
    if($post_author != "") {
    $image_url = get_option('siteurl') . '/wp-content/avatars/' .
    $post_author . '.jpg';
    echo '<div class="author_avatar"><img src="'.$image_url.'" alt="'.
    get_the_title().'" border="0" /></div>';
    }
    ?>

    What it does is to get the author’s login name (vix) and then create
    the html display to show the image. So if I make a post the html will
    look like

    <div class=”author_avatar”><img
    src=”http://mysite.com/wp-content/avatars/vix.jpg” alt=”My Post Title”
    border=”0″ /></div>

  18. I am having the same issue with the avatar on it’s own line instead of the text wrapping around it…I’ll be watching for a response to your question =o) I did NOT change the border so it is likely unrelated to that! =o)

  19. I had this same problem and just figured it out! Go to Settings and select Post Avatar. In the Customize HTML/CSS section enter the following into the HTML fields:

    Box 1:

    < div style="float:left; margin-right:10px;" >
    (remove the spaces at the beginning and the end of that code.)

    Box 2:
    < /div >
    (again remove those spaces.)

    This should get the text to wrap around your avatar perfectly. You can adjust the margin pixels to whatever width you need.

    Hope that helps!

  20. In your theme folder, open the functions.php. Before the closing ?> add the following statements:

    remove_filter(‘the_content’, ‘gkl_postavatar_filter’, 99);
    add_filter(‘the_excerpt’, ‘gkl_postavatar_filter’, 99);

Comments are closed.