Custom Avatars For Comments

This plugin was initially written for a client and he agreed to open-source it. Thanks, John! Your visitors will be able to choose from the avatars you upload to your website for each and every comment they make. This can make leaving a comment on your blog more fun and more interesting for the visitors. See the comment form at the bottom for an example.

Downloads are available at wordpress.org.

The beautiful avatars on this page were created by Deleket.

WordPress plugin demos are disabled as I don't use WordPress on this site any more.

Published on March 31, 2010 at 11:21 p.m. by Nicolas and tagged custom avatars, WordPress, WordPress comments, WordPress plugin. You can follow the discussion with the comment feed for this post. Feeling generous? Donate!

239 comments

  1. avatar
    wrote this comment on

    This is a comment with a custom avatar from the list above the comment form. Nice, isn't it.

    Reply to this comment
    1. avatar
      wrote this comment on

      Haha. I just noticed this old comment. The old custom avatars in the comments are gone because I moved the wordpress install to a new server and didn't export all meta data. See lower on this page for comments with custom avatars.

      Reply to this comment
    2. avatar
      wrote this comment on

      This is another comment, this time showing my gravatar. Gravatars can be disabled if you like.

      Reply to this comment
    3. avatar
      wrote this comment on
      Hi, great work Nicolas. there is Any php code or tag to change the avatars position in comments form?
      Reply to this comment
      1. avatar
        wrote this comment on
        That's more of a CSS issue
        Reply to this comment
  2. avatar
    wrote this comment on

    Saw this on WP.org today! Cheers!

    Reply to this comment
    1. avatar
      wrote this comment on

      :-D

      Reply to this comment
      1. avatar
        wrote this comment on
        can change the avatar? nice
        Reply to this comment
  3. avatar
    wrote this comment on

    Testing the cool stuff...

    Reply to this comment
    1. avatar
      wrote this comment on

      I see

      Reply to this comment
  4. avatar
    wrote this comment on

    As I understand, everybody can choose the same avatar or change. So maybe it's more like a "mood" presentation, no ?

    Reply to this comment
    1. avatar
      wrote this comment on

      Well, I guess you could say that. Depends on the avatars you have of course. If you used some product images for example that wouldn't be too moody.

      Reply to this comment
    2. avatar
      wrote this comment on
      where i can choose them??
      Reply to this comment
      1. avatar
        wrote this comment on
        Did you install the plugin?
        Reply to this comment
  5. avatar
    wrote this comment on

    Nice work! Is there any way to have the plugin automatically pick an avatar for new commenters. (like monster.ids from gravatar) I am afraid my commenters won't know to manually choose one.

    Reply to this comment
    1. avatar
      wrote this comment on

      Actually, do you mean something like select one randomly? That would be very easy to add.

      With some additional coding it could even be persistent, so that the plugin remembers a user's avatar and automatically selects it on the next visit.

      Reply to this comment
      1. avatar
        wrote this comment on

        Yes I would love for it to choose them at random - so everyone doesn't default to the same avatar. That would be excellent!. And if it could remember that would be nice too!

        Reply to this comment
        1. avatar
          wrote this comment on

          The random thing I'll add soon. Remembering the avatar will take some time though. I like both ideas. :-)

          Reply to this comment
          1. avatar
            wrote this comment on

            Oh btw, random selection is included now. Won't work with caching plugins though, that would be too much coding right now.

            Reply to this comment
    2. avatar
      wrote this comment on

      Sure, you can add a default.png avatar and set the checkbox to use that as default. That will override gravatars.

      Or, you can set a checkbox to always select the first avatar from the list automatically. I'm not sure how the files are sorted though atm, I guess I should look into that code.

      Reply to this comment
  6. avatar
    wrote this comment on

    hi

    Reply to this comment
  7. avatar
    wrote this comment on

    Nice, I think I'm going to use it on my blog. Cheers!

    Reply to this comment
  8. avatar
    wrote this comment on

    Wow. I really like it. Planning to post about it on my blog. Keep up the good work.

    Reply to this comment
    1. avatar
      wrote this comment on

      Great! Looking forward to reading your post.

      Reply to this comment
  9. avatar
    wrote this comment on

    ola parabés pelos avatares, náo consegui colocar no meu site.
    Mas estou tentando...

    Reply to this comment
    1. avatar
      wrote this comment on

      Fascinating.. do you speak english? If the avatars don't work on your site see the Install section of the readme.txt.

      Reply to this comment
  10. avatar
    wrote this comment on

    I can't get this to work. (just updated the plugin and uploaded the folder and the pictures.)
    I can't remove the tick in the last two settings in the backend page for the plugin.
    Any help would be appreciated.

    Reply to this comment
    1. avatar
      wrote this comment on

      If what I wrote above doesn't work try the dev release that will be available in 15 minutes here: http://downloads.wordpress.org/plugin/custom-avatars-for-comments.zip

      It has a new checkbox at the bottom to reset the form. Please do tell me if any of the steps fixes your problem.

      Reply to this comment
    2. avatar
      wrote this comment on

      Hm, very sorry about this. I had this problem while developing the release but thought it was gone.
      Please try to deactivate the plugin, then delete it (through the plugin admin page). Then reinstall. That will erase all your settings. I kind of suspect the config upgrade code to be broken, I'll test this right now.

      Reply to this comment
  11. avatar
    wrote this comment on

    Wow, fast answer. I'll test it out and let you know.

    I have a little feeling that the template I'm using (http://arrastheme.com)might be broken a few places. It uses some kinda special widget code, that rewrites a widget.php page when installing and using widgets.

    It is after all a free wannabe-premiumpaid theme. So it's gotta have some flaws - the searchbox sidewidget has to be at the buttom for instance. But that's just some unclosed divs somewhere I think.

    Reply to this comment
    1. avatar
      wrote this comment on

      Oh almost forgot! The 2.0.0 version doesn't make the commentsavatar folder in the wp-content by itself, I had to make it manually.

      Reply to this comment
      1. avatar
        wrote this comment on

        Yes, the earlier versions didn't either. I'm not sure if I should do it because users need to upload their own avatars anyway. Maybe some day if I have some nice default avatars, with the right license.

        Reply to this comment
        1. avatar
          wrote this comment on

          I think you have a good selection right here, maybe try and ask the people who made them if you can get use them for your plugin?

          Reply to this comment
          1. avatar
            wrote this comment on

            Well, maybe I'll add download links. I'd have to write a lot of code to install them through the plugin...

            Reply to this comment
  12. avatar
    wrote this comment on

    All right, I tried both of your problem solving solutions, still wont work (apart from the link to the plugin at the bottom of the page).

    I also tried to change the theme to the default one to know if it was something with my theme, but it wont work in the default either.

    I have added pictures to the commentsavatar folder, they are 100x100px, could that make a problem?

    Reply to this comment
    1. avatar
      wrote this comment on

      That shouldn't be a problem at all. If you don't mind send me a login though my contact page and I'll look into it.

      Reply to this comment
      1. avatar
        wrote this comment on

        Sorry for not responding right away! :( You can't recreate the issue? the only other plugin I have is sexybookmarks (newest version) and akismet.

        Reply to this comment
        1. avatar
          wrote this comment on

          No. As I said, I had it during development, don't even remeber why. I'm running this plugin on two domains atm and can't reproduce the problem. :-(

          Did you install the dev version and use the reset form option?

          Reply to this comment
  13. avatar
    wrote this comment on

    Yes, I did deactivate it and removed it, then installed it again, didn't helped, then download it from the link you provided, and then re-installed it with that. Still got the same issue.

    Reply to this comment
    1. avatar
      wrote this comment on

      Well, I have no idea what to do without an account to check.

      Reply to this comment
      1. avatar
        wrote this comment on

        You need to get in the backend of the wordpress to check it?

        Reply to this comment
        1. avatar
          wrote this comment on

          I can't think of another way. Just use my contact form and we can discuss this on skype/aol/etc.

          Reply to this comment
  14. avatar
    wrote this comment on

    i like that widget, well done!

    Reply to this comment
    1. avatar
      wrote this comment on

      Thank you!

      Reply to this comment
  15. avatar
    wrote this comment on

    Great plugin! Also, I was wondering if there was a way for the admin to have access to different plugins such as admin.png or something along those lines? Just something to differentiate from regular users and the admin team. Thanks. Great work.

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Torrey, yes, such a feature is relatively easy to add. The admins can still use the gravatars though, even with the plugin active. But I'll keep it in mind for a future release.

      Reply to this comment
  16. avatar
    wrote this comment on

    Muy buen plugin

    Reply to this comment
  17. avatar
    wrote this comment on

    I am having some trouble getting the "Pick An Avatar" Option. I have added the title for the selection, and a few avatar images in the folder. But still, the "Pick an Avatar" option is not showing up. What do I have to do?

    Do I have to add a line of code somewhere? Or do I have to re-name the avatar files to something specific?

    Thank You

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Bhavya, did you check the FAQ? Yes, it's possible to add the select field by hand to your theme. Or maybe you checked the box on the settings page to hide the avatar field. Or your theme wasn't coded properly.

      Reply to this comment
  18. avatar
    wrote this comment on

    hi - i'm just building this blog - i've installed this very nice plugin - thank you!
    1 issue: in the select list, beside each avatar is the text "custom avatar" - I can't find a way to eliminate that - would like list to display as it does on your page - images only. Thanks!

    Reply to this comment
  19. avatar
    wrote this comment on

    I just discovered that the text "custom" avatar seems to be a placeholder for an image.
    it seems that this can also be selcted and will be displayed as "custom avatar" as if it were an image... hmmm, not sure.
    take a look: http://thekeystothezoo.com

    Reply to this comment
  20. avatar
    wrote this comment on

    i solved the problem with the 'custom avatar' issue - discovered that if uploaded files were not checked in, then the list of avatars included both .LCK files and those not locked.
    (this does affect Dreamweaver users who have enabled checkin/out)

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Deb, that's right, the plugin doesn't check if files in the avatar directory are images or not, and tries to display them all.

      Reply to this comment
  21. avatar
    wrote this comment on

    i cant get it to work on mine

    Reply to this comment
    1. avatar
      wrote this comment on

      I hope this http://wordpress.org/extend/plugins/custom-avatars-for-comments/faq/ can help.

      Reply to this comment
  22. avatar
    wrote this comment on

    Very nice!!!
    I'm going to give this a try :)

    Reply to this comment
  23. avatar
    wrote this comment on

    Hi Nicolas. Really love your work here!
    I gave it a go but unfortunately the avatars don't seem to display at the comments section after having submitted a comment. (everything works great until that part)I'm sure it's a coding issue on my theme, just that I'm unsure of where to tweak or how.

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Adrian, thanks! The plugin assumes that the theme uses gravatars. There's some documentation about them on this site: http://codex.wordpress.org/Using_Gravatars

      I guess you wrote a custom comments loop? You could have a look at what the default theme does, the plugin works with it. Something like <code>echo get_avatar($comment, 64);</code> should work.

      Reply to this comment
  24. avatar
    wrote this comment on

    Hello, avatar in admin page are not the same one as I picked in comment page. My English is not good sorry.

    Reply to this comment
    1. avatar
      wrote this comment on

      That's right, the custom avatars don't appear in the admin. I thought that was a good thing, but maybe I'll add an option so that they are used in the dashboard as well.

      Reply to this comment
  25. avatar
    wrote this comment on

    Tank's a lot for this plugin. Really pretty

    Is possible to change that? Ummhhh???

    Reply to this comment
    1. avatar
      wrote this comment on

      huh?

      Reply to this comment
  26. avatar
    wrote this comment on

    Nice! This really works :)

    Reply to this comment
  27. avatar
    wrote this comment on

    I need some help installing this plugin. It's activated, but the page displays this error: "no wp-content/commentavatars/ directory exists. Please create it and upload some avatars".

    now what do I do?

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Lauren. You need to find avatars you want to use and upload them to your FTP server. Create the directory the error mentions and put your avatars in there.

      Reply to this comment
  28. avatar
    wrote this comment on

    Can you give us a little more detail on where to put the directory for Lauren's comment "wp-content/commentavatars/". Everytime I try creating this it tells me I can use the / at the end.

    Reply to this comment
    1. avatar
      wrote this comment on

      The location can change from server to server. The wp-content directory is usually in your WordPress root directory.

      If your ftp client doesn't like the trailing slash just try to omit it, it's not needed.

      Reply to this comment
  29. avatar
    wrote this comment on

    Thanks for answering. Could it be called a subdirectory in wp-content? Or a folder? These might be stupid questions but, to me, the only stupid questions are the ones not asked.

    Reply to this comment
    1. avatar
      wrote this comment on

      Yes, wp-content/commentavatars/ is a subdirectory of wp-content/.

      And yes, sometimes directories are called folders.

      Maybe I should include one or two avatars with the plugin, but I'd need to find some where the license allows to redistribute them. And not everybody would use the shipped avatars anyway.

      Right now you have to create the directory and upload images when you install the plugin. Maybe I'll find a solution to avoid that.

      Reply to this comment
  30. avatar
    wrote this comment on

    Hey there! Great plugin.. I just have one question. I installed everything, created a couple of avaters and uploaded them. Now when i want to place a response to a post i do see the avatars, are able to click them but when i post anything it doesn't show the avater. Any idea whats the problem here? Am i missing code in my comments.php file?

    Thanks in advanced,
    Dave

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Dave. Your theme or some other plugin could interfere with my plugin. Can you do a quick test with the default theme? If it still doesn't work then, can you paste a list of plugins you use?

      Reply to this comment
      1. avatar
        wrote this comment on

        Hi Nicolas,

        Thanks for the fast response! I tried it with the default theme. I do get the avatars below the comment field but when i post a reponse i still don't see an avater anywhere near the response.

        Any thoughts?

        Thanks,
        Dave

        Reply to this comment
        1. avatar
          wrote this comment on

          Can you post a link to your blog?

          Reply to this comment
          1. avatar
            wrote this comment on

            http://lekkere dash jongens.nl/portal

            Reply to this comment
            1. avatar
              wrote this comment on

              I see that you theme doesn't use any avatars. The plugin can't add avatars to themes, it lust modifies which ones are displayed. So you will need a theme that uses avatars.

              Btw, removed the link for obvious reasons ;-)

              Reply to this comment
              1. avatar
                wrote this comment on

                lol, i understand. Thanks 4 the open mind ;-).
                Thanks for all your help, guess i'm gonna be working on another design ;-).

                Thanks,
                Dave

                Reply to this comment
        2. avatar
          wrote this comment on

          Whoops.. forgot to paste the plugings..

          Contact Form 7
          Favicons
          Google Analyticator
          Random Image Block
          Real Statistics
          ShareThis
          Smilies Themer Toolbar
          Sociable
          WordPress Tweeter
          WP Gallery

          Regards,
          Dave

          Reply to this comment
  31. avatar
    wrote this comment on

    Oh my, I just see that I lost all custom avatar info in this post when I recently moved my blog to a new WordPress install.......

    Reply to this comment
  32. avatar
    wrote this comment on

    Hey there!
    Great plugin..
    Thanxx a lot
    I have tried it on my site http://ehackz.best4blog.com
    Its simply amazing
    once again thanxx..........

    Reply to this comment
    1. avatar
      wrote this comment on

      That's great! I'm glad you like the plugin!

      I just had a quick look at your site and would like to suggest that you scale down the avatars a little. They are small on your site but you link to full size images, which slows down the page loading a little.

      P.S. You made the 1000th comment :-)

      Reply to this comment
  33. avatar
    wrote this comment on

    que plugin mas chulo!!

    Reply to this comment
  34. avatar
    wrote this comment on

    I luuuuuuuuuuuuuuuv this plugin, i've already installed it on my website and i am very satsified with it.Congratz for this great job.

    Anyway i have a question: I've uploaded more than 100 avatars for my visitors to choose and it's not very beautifull to see all the avatars below the comment form :(

    Is it possible to show the avatar in a pop up form? If yes, what file should i edit? Thanks in advance for the help!

    HS/ Je suis français aussi, le monde est petit !

    Reply to this comment
    1. avatar
      wrote this comment on

      Hey Molotov, I'm not quite sure what you mean by popup. You could use a few lines of JavaScript or jQuery to make a 'css popup'.

      Or you can limit the size of the avatar fields and and use the overflow:scroll property, that won't give you a 'popup' though, just not show all avatars at once.

      Reply to this comment
      1. avatar
        wrote this comment on

        Thanks for the quick reply Nico !
        I will go on in english so everybody will take benefits of your answer.

        In fact i mean a pop up form, for example inserting a line of text below the comment form e.g "Choose an avatar" instead of having all the avatars showing up.

        When you would click on the text line it will open a pop up window showing all the avatrs.

        Of course limiting the size of the avatar fields and and use the overflow:scroll property as you suggest would be even greater than my idea but i'm a total noob at coding so i don't know how to do this, would you mind advising me on the code i should insert/alter in your files to do it?

        Reply to this comment
        1. avatar
          wrote this comment on

          You shouldn't modify the plugin but your theme's CSS file. Unfortunately I can't walk you through doing this, but here are some great resources to learn HTML and CSS:

          http://wsc.opera.com/
          http://www.htmlhelp.com/
          http://css-discuss.incutio.com/
          http://www.brainjar.com/
          http://www.htmldog.com/
          http://css.maxdesign.com.au/

          Reply to this comment
          1. avatar
            wrote this comment on

            I will give it a try then.
            Merci à toi!

            Reply to this comment
  35. avatar
    wrote this comment on

    I have installed it. Works perfectly for me. Thanks a lot.

    Reply to this comment
  36. avatar
    wrote this comment on

    Hi Nicolas, thanks for the great plugin for avatars, haven't found anything like this anywhere else! I've installed it no problem on my website but unfortunately I have come across a problem that I cannot figure out!

    You can see my site with the plugin here: http://www.finalfantasyworld.co.uk/?p=20#comments

    All the icons appear nicely and they highlight ok when you rollover them, but it doesn't seem to recognise when I click on one, so it doesn't activate. Instead it picks the default avatar when I comment which is the bottom-right image.

    And when I set the option to automatically pick a random avatar from the admin, it DOES select an avatar but then you can't choose a different one!

    I've compared my code and stylesheet to what is displayed here but can't find any differences, I would greatly appreciate any help you can give... thanks for your time!
    ~Amber

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Amber,
      hm, I can't see the form on your site because only registered users can comment. What you could try is to install firebug and activate the JavaScript console. I would guess that there is some JS problem.

      Reply to this comment
      1. avatar
        wrote this comment on

        Hi Nicolas. Thanks for the reply and the Firebug suggestion. I discovered that I was receiving a "comment_avatar_js not defined" error which was quickly solved by inserting "" into the header of my template. It seems it was not linked to the JavaScript file!

        Reply to this comment
        1. avatar
          wrote this comment on

          Sorry, I inserted this code into the header: "&lt;script src='../wp-content/plugins/custom-avatars-for-comments/js/comment_avatars.js' type='text/javascript'&gt; /script" but with the arrows on the ends.

          Reply to this comment
          1. avatar
            wrote this comment on

            You shouldn't have to do that, doesn't your theme have a <code>wp_head()</code> call?

            Reply to this comment
  37. avatar
    wrote this comment on

    Merci Nicolas,
    J'installe et je me regale ¡

    Reply to this comment
  38. avatar
    wrote this comment on

    Hi Nicolas, Great plugin idea. Not working for me though. I am using the frugal basic theme and installed the plugin and hacked the comments.php file with select(); ?&gt; The custom avatars show up and it appears you can select one yet when I post a comment the old default avatar appears? I must have to put some code in else where I suppose? It's not to clear on install instructions on what to do about adding the additional code, as far as I can tell...I must be missing something yes? Charles

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Charles, you should probably switch to the default theme just to check if the custom avatars appear there. If the avatar select is visible everything should work, no more changes necessary.

      Reply to this comment
      1. avatar
        wrote this comment on

        Thanks..Got it. Nice work.

        Reply to this comment
  39. avatar
    wrote this comment on

    Congratulations for your plugins, you do a pretty nice work aroudn here. :)

    Reply to this comment
  40. avatar
    wrote this comment on

    I LIKE your avatar feature

    Reply to this comment
  41. avatar
    wrote this comment on

    the virtual site was very cool but I have not found the download to the avatars; any help

    Reply to this comment
    1. avatar
      wrote this comment on

      I have no idea what you mean. There are two download links above.

      Reply to this comment
      1. avatar
        wrote this comment on

        okay Nicolas, this is what wp is telling me.

        No wp-content/commentavatars/ directory exists. Please create it and upload some avatars.

        So I went to cpanel opened and attempted to create file- HG system told me it was alreay there.

        So I clicked on file and they are there however, after refreashing my admin page for commentavatars the above statement is still there

        Reply to this comment
        1. avatar
          wrote this comment on

          Hi Johnny, <code>wp-content/commentavatars/</code> has to be a directory that contains avatar files, not a file. The <code>wp-content</code> directory is in your wordpress install.
          I hope that helps.

          Reply to this comment
  42. avatar
    wrote this comment on

    Hi Nicholas,

    Its a great plugin you got there. However I fail to get it working. I have activated it, created the wp-content/commentavatars/ directory and placed about 20 .jpg and .png files in there. I cannot see any avatars on the comments pages.
    jack

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Jack, please check the plugin's settings page, I think the checkbox to hide the avatars might be active by default. If not, check the http://wordpress.org/extend/plugins/custom-avatars-for-comments/faq/, it's probably that your theme is incomplete.

      Reply to this comment
      1. avatar
        wrote this comment on

        Hm, that's rather odd. Can you check the path to the img and try to access it directly? Maybe your webserver doesn't have the permissions to read the files, I'm not sure if the plugin checks for that.

        Reply to this comment
        1. avatar
          wrote this comment on

          Thank you Nicholas,

          Yes it is strange. However here's the link to one of the avatars images:
          http://www.agora-dialogue.com/wp-content/commentavatars/avat2.png
          and it is accessible. I may try and see why tomorrow if I have more time
          jack

          Reply to this comment
    2. avatar
      wrote this comment on

      If I could make myself a little clearer, I can see the avatars now, but after one is selected it doesn't appear on the comment after the comment is submitted. It just appears as a broken link.

      Reply to this comment
  43. avatar
    wrote this comment on

    this is really cool...users aint bothered to upload files.

    Reply to this comment
  44. avatar
    wrote this comment on

    I want the subscription box module in my comments, but its not working... i have placed the line of code : &amp;lt;?php show_subscription_checkbox(); ?&amp;gt;

    in the correct spot but it does not work.

    Also, the comment avatars used to have the square around them when you clicked it, but now they have a little selection button beside them. I want the squares back, how do i do that?

    Reply to this comment
    1. avatar
      wrote this comment on

      Subscription box? No idea what that is.

      As for the avatars not having the square, that's a CSS thing. I guess you disabled the built-in styles.

      Reply to this comment
  45. avatar
    wrote this comment on

    Cool plugin. Thanks.

    Reply to this comment
  46. avatar
    wrote this comment on

    Hallo,

    Very nice plugin, but i have a problem: Internet Explorer 8 does not show the avatars. It showes only the check boxes
    www.laleagane.ro/cstrike

    Thx a lot

    Reply to this comment
    1. avatar
      wrote this comment on

      That's very odd and I have absolutely no idea what's going on :-|

      Reply to this comment
  47. avatar
    wrote this comment on

    Hi -
    I manually added the code into my theme's comments.php and could see the avatars to choose, choose one, but it couldn't be seen in the comment.

    I tried what you suggested and switched to the basic wordpress theme and it worked there.

    Can you help me further? I'm not sure what to look for in my theme's files to fix this.

    Thanks, I really like the plugin.
    -W

    Reply to this comment
    1. avatar
      wrote this comment on

      Hello Wendi, the plugin will work with themes that use the <code>get_avatar()</code> function call. Your theme developer should be able to add that, if not you can contact me as well. Good luck!

      Reply to this comment
  48. avatar
    wrote this comment on

    I had to leave a comment because I wanted to try out these avatars! Thanks for this post.

    Reply to this comment
  49. avatar
    wrote this comment on

    This is very good, very valuable.

    Reply to this comment
  50. avatar
    wrote this comment on

    Wow,nice! Thank a bunch for this plugin, mister.

    Reply to this comment
  51. avatar
    wrote this comment on

    how do i enable built in styles?

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Bhavya, if they aren't enabled by default, enable them on the settings page.

      Reply to this comment
      1. avatar
        wrote this comment on
        I love this! It was exactly what I was looking for...but I can't figure out how to give a commenter the option to use their own Gravater (should they have one). I'm sure it's probably something really easy that I'm missing. Can you help? Thanks in advance!
        Reply to this comment
        1. avatar
          wrote this comment on
          That's what should happen by default if they don't pick an avatar. At least I think so.
          Reply to this comment
  52. avatar
    wrote this comment on

    installed but its not working.
    wondering why.

    Reply to this comment
    1. avatar
      wrote this comment on

      maybe FAQ helps

      Reply to this comment
  53. avatar
    wrote this comment on

    Hi, plugin works great, thanks for this.

    Is it possible to display the avatar that a user chooses when leaving comments on the homepage via a function?

    I'm showing the latest comments with avatars on my homepage with a function which uses global $wpdb;, but only gravatars and my default fallback are showing, not any of my custom avatars... is that possible?

    Thanks

    Reply to this comment
    1. avatar
      wrote this comment on

      Hm, I can only guess that your function gets the avatar directly from $wpdb and doesn't apply the get_avatar filter to it?

      $avatar = apply_filters( 'get_avatar', $avatar ) should probably do. My filter needs the current comment as global $comment as well, see <code>inc/frontend.php</code> lines 163-213.

      Reply to this comment
      1. avatar
        wrote this comment on

        Hi Nicolas,

        Thanks for getting back to me. That worked a treat - here's my function for you to see and everyone else interested:

        http://www.pastie.org/1159988

        All the best,

        osu

        Reply to this comment
  54. avatar
    wrote this comment on

    Man, I am so sorry to bother you with this as you've been asked a million times but I just can't figure this out and it's driving me nuts.

    It works perfectly but for some reason the selected avatars don't show up in the comments -- it shows a blank.gif instead. My theme is calling the get_avatar() function and it picks up gravatars and everything but these are just not showing up -- either they're overwritten by the gravatar or I get the blank.gif -- but the avatars themselves never show up in the comments. When I set a default avatar, it shows up in every comment -- including new ones where I chose a different avatar after enabling the default.png one.

    So I went back to the default theme to check it out and this happened: http://i883.photobucket.com/albums/ac40/ninathing/what-1.png

    I uh, I have no idea what's going on here. It seems the avatars are just on top of the gravatars and they're showing because the avatars are smaller, but is that supposed to happen? Ugh. I'm so sorry, I just cannot for the life of me figure this out.

    I have no other comment/avatar plugins on this site. This is what the avatar tag looks like on my site:

    Do I need to change it or something? I confus.

    My site is not currently online (I'm working on it on localhost) so I can't link you to it, I'm sorry. I can show you my comments.php though if you need to see that.

    Reply to this comment
    1. avatar
      wrote this comment on

      Oops derp bad idea posting a php tag huh. Here it is without the brackets:

      ?php echo get_avatar( $comment, 32 ); ?

      Reply to this comment
  55. avatar
    wrote this comment on

    Thanks so much!

    Reply to this comment
  56. avatar
    wrote this comment on

    I like this avatar!

    Reply to this comment
  57. avatar
    wrote this comment on

    Just checking what happens if I don't select an avatar.. Would be cool if there is a script that checks while you type your email address if you have a Gravatar and gives you the option to use this insted of the uploaded ones. Anyone??

    Okay, it does recognice my Gravatar.. what happens now when I select one here?? Does it ignore it

    it does.. would be cool to have the option, because not everyone remembers if they have a gravatar

    Reply to this comment
    1. avatar
      wrote this comment on

      Sounds like a nice idea, I'll add it to my TODO.

      Reply to this comment
  58. avatar
    wrote this comment on

    I need help "No wp-content/commentavatars/ directory exists. Please create it and upload some avatars." I did it on Transmit and I put the avatar in it and it isn't showing up.

    Reply to this comment
    1. avatar
      wrote this comment on

      Never mind I put in on the wrong site. my bad! great plugin!

      Reply to this comment
      1. avatar
        wrote this comment on

        Great!

        Reply to this comment
  59. avatar
    wrote this comment on

    Thanks so much for this! Works great.

    Reply to this comment
  60. avatar
    wrote this comment on

    Just wanted to say thanks for this plugin, it's great, and is just what I was looking for.

    Reply to this comment
    1. avatar
      wrote this comment on

      Great! :-D

      Reply to this comment
  61. avatar
    wrote this comment on

    This a very cool plug in! great work!

    Reply to this comment
  62. avatar
    wrote this comment on

    I updated to version 0.2.3 and now the avatars are displaying with radio buttons for selection instead of colored borders. Is this by design or is it bugging out on me?

    Reply to this comment
    1. avatar
      wrote this comment on

      I've reverted to 0.2.1.2 for the time being - that ones works fine for my site.

      Reply to this comment
      1. avatar
        wrote this comment on

        Argh,that's a bug. I'll just upload a new version. Thanks for reporting!

        Reply to this comment
        1. avatar
          wrote this comment on

          Works perfectly now. Thank you! :)

          Reply to this comment
  63. avatar
    wrote this comment on

    this is the nicest pluggin i have found.. just implemented on my website... thank you so much... chao

    Reply to this comment
  64. avatar
    wrote this comment on

    Hi from Paris !!!

    Thanks for this cool feature !

    Working perfectly well integrated in my personalized style !

    If you want to preview it :

    http://www.simpliweb.fr/blog/

    PS: How can I implement the rollover instead of the tick box to select the avatar (like your) ????

    I luv it

    Thanks again

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi,

      I've downloaded version 0.3, and it's actually the same problem (from my post of yesterday)

      Simpliblog

      Reply to this comment
      1. avatar
        wrote this comment on

        I added an option. You can disable jumping to deep links on the settings page. That should fix your issue.

        Reply to this comment
        1. avatar
          wrote this comment on

          Oups, the smiley is nothing to see with you :/

          Sorrrry I'm French :))

          Reply to this comment
          1. avatar
            wrote this comment on

            You have to include the CSS. It's on the settings page. If you still see the radio buttons etc it's your theme's CSS you need to update.

            Reply to this comment
        2. avatar
          wrote this comment on

          Still not working.
          (I did include the line manually in my php, might come from that ?!

          Plus The smiley at the page bottom is absolutely annoying and disgusting ! especially in safari test !!! there is a sort of process on the background, and play with my browser window... :?

          I prefer to link you in the about tis blog technical datasheet.

          Thx

          Reply to this comment
    2. avatar
      wrote this comment on

      Hi, that's just a little CSS. I think the plugin ships with CSS styles that make the avatars look like here.

      Reply to this comment
  65. avatar
    wrote this comment on

    I need help. I am having problems uploading this to my site.

    any help would be appreciated.

    Instructions I read said to enter:
    select(); ?&gt;

    it said to find this:

    but thats not telling me where to put it?

    Reply to this comment
    1. avatar
      wrote this comment on

      You shouldn't have to do this at all. When themes are coded propery the avatars will appear when you enable them on the settings page.

      Reply to this comment
  66. avatar
    wrote this comment on

    Ok,I clicked view source and copied your html coding to get this to work. Let me know how to fix it so I dont have to link to your blog please. thanks

    Reply to this comment
    1. avatar
      wrote this comment on

      I'm not sure what you mean?

      Reply to this comment
  67. avatar
    wrote this comment on

    I love this quote!

    Reply to this comment
  68. avatar
    wrote this comment on

    I'm having the same problem too. I get the erro: “no wp-content/commentavatars/ directory exists. Please create it and upload some avatars”.

    How do I create the directory the error mentions and put my avatars in there? Where do I get the avatars from?

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Lekiah, you can probably create the directory with your ftp program. If you check there is a link in this post to comments you can download, the ones I use on this site. I can't include and avatars at the moment because of licensing etc.

      Reply to this comment
  69. avatar
    wrote this comment on

    Thank you very much for writing this plugin, will implement it soon!

    Reply to this comment
  70. avatar
    wrote this comment on

    Hi Nicolas, thanks for cool plugin, but I've problem. In my blog, always it've a text "Custom avatar". You can see screenshot http://img12.imageshack.us/img12/5047/14431121.jpg. I try delete but nothing change. How can I fix i?

    Edit: Solved, just delete thumb.db :D .

    Reply to this comment
    1. avatar
      wrote this comment on

      Thanks for reporting. I guess I could exclude non-image files, or at least files that are commonly found in image archives.

      Reply to this comment
  71. avatar
    wrote this comment on

    Just wanted to say thanks for this plugin. I've added it as a recommended plugin in a gaming theme I released and included special avatars with my theme just for this plugin. It really adds to the comments on any site.

    Reply to this comment
  72. avatar
    wrote this comment on

    This looks great.

    Is adding more custom avatars managed thru wordpress plugin settings or through FTP only?

    Reply to this comment
    1. avatar
      wrote this comment on

      FTP only

      Reply to this comment
  73. avatar
    wrote this comment on

    Hello Nicolas, I love your plugin, congratulations for a great job!

    I do have an issue, though: It worked fine at first, but now it doesn't. I'll explain: the avatars appear as expected (I placed the code you provided on the readme.txt file myself) and everything seems fine.

    However, once the comment is posted, it is displayed with Gravatars or the default geometric avatars I used to have. Please help!

    You can have a look at my site.

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Juan, I'd guess that it's probably your theme doing something not following the standard wordpress API.

      Please disable or delete all plugins and switch to the default theme. The default theme in WordPress 3.x is Twenty Ten. After making these changes does the problem still occur?

      Reply to this comment
      1. avatar
        wrote this comment on

        Hi again. I'm willing to do that, but will my preferences be lost? (I've customized many php files, plus the Companion, Widgets and so on). A lot of work!

        Reply to this comment
        1. avatar
          wrote this comment on

          To be on the safe side you can make a backup of your install before trying this.

          Reply to this comment
  74. avatar
    wrote this comment on

    Use this option if you are placing the select field by hand in your theme.

    where i do it?

    Reply to this comment
    1. avatar
      wrote this comment on

      not sure what you mean

      Reply to this comment
  75. avatar
    wrote this comment on

    Hi

    I just started a site for my wife a few weeks ago with Wordpress and would like to have a custom avatar.
    I downloaded your plugin, but got this message:

    No wp-content/commentavatars/ directory exists. Please create it and upload some avatars.

    The question is: how do I create such a directory ??

    Thanks

    Gérald

    Reply to this comment
    1. avatar
      wrote this comment on

      Hi Gérald,

      you can create the directory with your FTP client. You also have to upload the avatars you'd like to use. The plugin doesn't include any.

      Reply to this comment
  76. avatar
    wrote this comment on

    Very great plugin! Is there anywhere you can hide the avatar under a drop down list or menu..I want to upload over 100 images but don't want it to take up the whole comment section...

    Reply to this comment
    1. avatar
      wrote this comment on

      Hello nino,

      sure you can do that, but the plugin doesn't support it. You'll have to do this on your own, using JavaScript or CSS.

      Reply to this comment
      1. avatar
        wrote this comment on

        Can you make tutorial on how to hide the avatars? plzzz... i want to put over 50 images :)

        Reply to this comment
        1. avatar
          wrote this comment on

          Sorry, unfortunately I don't have enough free time to do this.

          Reply to this comment
      2. avatar
        wrote this comment on

        Thank you for the reply! Do you know which file I'm suppose to edit to achieve this?

        Reply to this comment
  77. avatar
    wrote this comment on

    Hi,

    I love your plug in, but I haven't had a chance to really try it out. When I activated the plug in, I got the following error:

    "The plugin generated 269 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

    Is there a fix for this?

    Reply to this comment
    1. avatar
      wrote this comment on

      Hello,

      hmmm. Which WordPress and PHP version are you running?

      Reply to this comment
      1. avatar
        wrote this comment on

        I'm running WordPress 3.0.4 with PHP 5.2.12.

        Reply to this comment
        1. avatar
          wrote this comment on

          Oh, thanks for the update btw! I'll have a look next time I work on the code.

          Reply to this comment
  78. avatar
    wrote this comment on

    Is there a way to turn off gravatars completely?

    Reply to this comment
    1. avatar
      wrote this comment on

      Ok, I can't get it to work. Your plugin works like a charm. But those gravatars keep ticking me off, is there a simple way to show the custom avatars of profiles and such?

      Reply to this comment
    2. avatar
      wrote this comment on

      Sure, the wordpress core can use other things than gravatars.

      Reply to this comment
  79. avatar
    wrote this comment on

    hi -
    love this plugin! Thanks!
    I've changed the plugin to choose a custom avatar named default.png which is placed in the /commentavatars folder with the rest of the avatars, but what shows up are the words "default avatar" where the image of the avatar should be. Please see the comments area of my site to see the example of what i'm talking about. (name of site is after @ of my email address)

    Can't wait to really get it working.

    Edit: My bad – I had accidentally called default.png default.jpg instead – so sorry to bother you! But do check out the plugin on my site if you would like to see how I creatively employed your amazing plugin!

    Reply to this comment
  80. avatar
    wrote this comment on

    I am in LOVE with this plugin but it is just not working properly for me! I see all the images I have made when I go to leave a comment. I can select an image BUT that image is just not used when the comment is posted! If I use a default image via the plugin settings that is used for every published comment. It's like my selection is ignored and set to NO AVATAR (which I am not even using as an option). When I initially installed and activated the plugin I got an error that the plugin produced 252 (this number could be off a bit...typing this from memory) unexpected characters and if I receive header errors in feeds to deactivate the plugin or remove it. Does this have anything to do with my problems? When I remove and reinstall I do not get that error again.

    Oh and I am using WordPress 3.1 PHP 5.x, which I assume means the host keeps it up-to-date. I know, assuming is scary!!! :B

    Reply to this comment
    1. avatar
      wrote this comment on

      Hm, it looks like your site uses blogger for commments? Not sure how that works. If you can you should try with the default wordpress theme (twenty ten), if that fixes your problem. I suppose it's something with your theme.

      About the notice, I'll have to look into that. Odd, but shouldn't really matter.

      Reply to this comment
  81. avatar
    wrote this comment on

    I replaced the default image with one of Deleket, and kept your avatars in the comment area only. I'm not that good in programming.... Do you offer premium support?

    Reply to this comment
    1. avatar
      wrote this comment on

      Hello, yes, I am a freelancer and do offer support/plugin customizations. Please use my contact form if you're interested.

      Reply to this comment
  82. avatar
    wrote this comment on
    This is awesome. I love the plugin!
    Reply to this comment
  83. avatar
    wrote this comment on
    Thank you so much for this plug-in! It is just what I was looking for to add to my site!! I have a question though http://misskika.com/wpblog/archives/223#respond at the moment the last icon in each row gets bumped to the row below it while the check circle stays. Would you be able to tell me how to fix this so they only show up 5 icons to a row to eliminate that issue OR even better~ how to get them to display a bit closer to each other? Thank you so much again! ♥ ♥
    Reply to this comment
    1. avatar
      wrote this comment on
      The plugin includes some CSS styles that you can enable on the options page if I remember correctly. They should fix your problem.
      Reply to this comment
  84. avatar
    wrote this comment on
    hola felicidades por el plugin
    Reply to this comment
  85. avatar
    wrote this comment on
    The plugin includes some CSS styles
    Reply to this comment
  86. avatar
    wrote this comment on
    Thank you for the plugin. It's great.
    Reply to this comment
  87. avatar
    wrote this comment on
    hello i dont seee any avatar down comment form to use with my commects.
    Reply to this comment
    1. avatar
      wrote this comment on
      On your own site? Your theme probably isn't valid, try with the default theme.
      Reply to this comment
  88. avatar
    wrote this comment on
    hi nicolas,

    i'm using your custom avatars for comments plugin and i have 70 avatars for my theme how can i do it random for posts?

    please help me, thanks .)
    Reply to this comment
    1. avatar
      wrote this comment on
      I'm not sure what you mean? You want a random avatar for each comment? You don't really need a plugin to do this, just update the theme to show whatever you like.
      Reply to this comment
      1. avatar
        wrote this comment on
        ahh, i designed avatar with photoshop for site, and i want to inject to theme, that's right you said. but there is a one more thing. i wanna use avatars to visitors each comment. and these avatars should be random and change every posts of visitors.

        sorry for my bad english, i guess i choose right words.

        thank you for answer, and how can i do that :)
        Reply to this comment
        1. avatar
          wrote this comment on
          Hmm, I don't think I understand.
          Reply to this comment
  89. avatar
    wrote this comment on
    Testing avatar. I don't see any avatars for comments...
    Reply to this comment
    1. avatar
      wrote this comment on
      Right, this site doesn't use WordPress any more. Haven't set up a demo site yet.
      Reply to this comment
  90. avatar
    wrote this comment on
    The avatars work perfectly on my site when I leave them in the default position (below the submit comments button). However, if I try to move them to a different location on the comments form, I can choose them, but they don't actually show up with the comment once it is submitted.

    I left both sets of avatars up so you can see how one works and the other doesn't. The site is www.thefingernailfiles.com

    Thanks!
    Reply to this comment
  91. avatar
    wrote this comment on
    Is there someway to have the commenter's gravatar show up if the have one instead of the default.png? I would love the default to show up if they haven't already set up a global gravatar and they didn't choose a custom one from the list, however, I would like their global gravatar to show up as the default if they have one set up and they didn't choose a custom one from the list.
    Reply to this comment
    1. avatar
      wrote this comment on
      There is a plugin option, like "pick an avatar by default" or something on the plugin's settings page. If you change that setting the user's normal gravatar will be used in the comment list.
      Reply to this comment
  92. avatar
    wrote this comment on
    I love this plugin, but there are certain pages where I don't want it. Can I disable this plugin for individual pages or posts?
    Reply to this comment
    1. avatar
      wrote this comment on
      Hm, yes, there are several ways to do this. I'll have to give it some thought.
      Reply to this comment
  93. avatar
    wrote this comment on
    I'm an idiot. I just figured it out and then I saw that two comments above mine you had already addressed it. So sorry to bother you!
    Reply to this comment
    1. avatar
      wrote this comment on
      Oh, ok. Already replied :)
      Reply to this comment
      1. avatar
        wrote this comment on
        Hi.. This is a great plugin..
        Reply to this comment
  94. avatar
    wrote this comment on
    Hi,
    great plugin!
    how can i move the div comment-avatar-select-wrapper to the top, would to have the icone avatar first,
    to the right to " leave a comment " please, css with big margin and padding isn't beautifull..!?

    thanks for advise,sorry for bad english, i'm french.

    Jess
    Reply to this comment
    1. avatar
      wrote this comment on
      I think this is covered in the readme.txt
      Reply to this comment
  95. avatar
    wrote this comment on
    nice plugin
    Reply to this comment
  96. avatar
    wrote this comment on
    Hi,

    The plugin documentation in my WP admin says that it's possible to see a live demo on this page, but I can't see any avatar to choose from. Am I wrong or have I missed something?

    Regards,
    AGC
    Reply to this comment
    1. avatar
      wrote this comment on
      Hi, I don't use wordpress for this site any more, so unfortunately there's no demo at the moment.
      Reply to this comment
  97. avatar
    wrote this comment on
    It would be nice if you had an "upload your own Avatar" Select field on comments. Sorry if this was already mentioned can you send me a link how if it has already been requested?
    Reply to this comment
    1. avatar
      wrote this comment on
      Not that I remember, no.
      Reply to this comment
  98. avatar
    wrote this comment on
    Hello! I love this plug-in, thanks so much for making it!
    One question, How do I remove the circle check box http://cuteinkorea.com/valentines-day/#comments and make it more like this http://misskika.com/wpblog/wp-admin/edit-comments.php I'm not sure what exactly I am looking for or on what page to tweak this in the codes! I'm a bit lost on what page to edit and the CSS ones with the widget are inactive so I'm not sure where to go Thank you!
    Reply to this comment
  99. avatar
    wrote this comment on
    Is there no way to actually allow people to upload and choose an avatar when registering for my wordpress site? I cant fathom why this isn't included by default or that there isn't a plugin to easily allow it.
    Reply to this comment
    1. avatar
      wrote this comment on
      Sure, you could write a plugin to do that. I'd guess that there already is one, but have never looked for this feature in particular.
      Reply to this comment
  100. avatar
    wrote this comment on
    Hi, I'm working on a site for my family's funeral home your plugin has helped me get closer, but I'm wondering if there is a way to tweak the code to accomplish my goal.

    I want to have a series of images, (candles, flags, etc.) that a commenter can choose from to post to their comment (which I'll call a condolence) on an obituary (post) page. I was able to get the images to show up but of course when the post is submitted, the image shows as the avatar. Is there a way to make the image show up next to their name or comment, but not in the avatar portion? Commenters can login with Facebook, so if they do, their FB photo shows up as the avatar - I don't want to lose that, but need some way of showing their condolence image with their post. Hope this makes sense.

    Thank you!
    Reply to this comment
    1. avatar
      wrote this comment on
      Hmmmm, yes, this should be possible, but not without modifying the plugin.
      Reply to this comment
      1. avatar
        wrote this comment on
        Actually, I just had a quick look at the source again and for the readers who know some PHP/WordPress coding:

        - Remove the plugin's filter on get_avatar
        - use CommentAvatarsFrontend->display() to show the avatar

        As display() is intended to be used through the filter it might have to be modified slightly. That should do the trick.

        This sounds like a feature I could add but I haven't released any plugin updates to any of my plugins in a looooong time...
        Reply to this comment
  101. avatar
    wrote this comment on
    Hi Nicolas. I really like this plugin! I have a question though... Since I already have my own avatar set by Gravatar, and one other user has done the same, is it possible to use your plugin to give all the other people who have left comments, and do not have avatars or Gravatars a random avatar from my list of PNG files, but still keep the two Gravatars?
    Reply to this comment
    1. avatar
      wrote this comment on
      My plugin can't do this, no. It's certainly possible but you'd need some custom coding.
      Reply to this comment
  102. avatar
    wrote this comment on
    hi Nicolas, great useful job!
    I just have a really weird issue that i can't sort out.
    Every time that an user submit a comment his "custom avatar" replaces all the avatars on the tread. I believe that there is an issue on some loop, but my knowledge about wordpress and php in general is too poor for understanding something.

    http://www.paperinikmagazine.it/2012/11/08/intervista-doppia-archie-vs-paperinik/

    What it could be?

    Thanks in advance!!!
    Reply to this comment
    1. avatar
      wrote this comment on
      Hm, this shouldn't happen. You should probably talk to the person who wrote your theme.
      Reply to this comment

Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.