Lisez les derniers articles:

Aujourd’hui, je suis tombé sur  un article parlant de MyBlogLog et globalement, ils expliquent pourquoi ne pas utiliser le système et je n’ai pu que reconnaitre les mêmes raisons que celles qui ont fait que je n’utilise plus ce système.

A vrai dire, c’est une perte d’espace phénoménal et peu complètement briser votre design. De plus, les gens qui passent sur votre blog, et qui sont donc affichés, ne sont pas forcément des gens qui participent.

Dans ce même article, l’auteur suggère la création d’un plugin permettant d’afficher le top des commenteurs, ou les derniers (au choix) en affichant leurs gravatar plutot que simplement leur nom.

Donc voila le plugin, il a eu l’idée et je l’ai fait :)

Voici la liste des fonctionnalités :

  • Affiche soit les derniers commentateurs, soit le top
  • Affiche le nom des utilisateurs (ou pas, au choix)
  • Affiche un lien vers le site de l’utilisateur (ou pas, au choix)
  • Gravatar par défaut
  • Taille du Gravatar

Télécharger ZdCommentsWidget

Une fois le plugin activé, il vous suffit d’ajouter le widget dans votre barre latéralle et de le paramétrer pour qu’il se comporte comme vous le voulez. Ensuite, il ne vous reste plus qu’a modifier votre CSS pour que l’affichage vous convienne.

Ce plugin n’est pas encore disponible sur Wordpress extend, mais il le sera ce soir ou demain afin que vous puissiez profiter des mises à jour automatiques :)

Quant à la documentation, cela viendra aussi dans la foulée.



  1. redwall_hp (Reply) on Mercredi 6, 2008

    Plugin looks good. Nice to see someone act upon my idea so quickly.

  2. [...] And here’s the plugin: Gravatar Top Commenters. [...]

  3. Anthony (Reply) on Mercredi 6, 2008

    Well,

    To me, coding is not the most difficult part, but getting the idea is !

    If you have other ideas, don’t hesitate to share them ;)

  4. baron (Reply) on Mercredi 6, 2008

    hi. Thanks for plugin

    perfect.

    Regards

  5. Todor Christov (Reply) on Mercredi 6, 2008

    Great idea!

    I installed and activated the plugin, but how to make it work? I am with Wordpress 2.6 and do not see any plugin options page where I could adjust it.

    Can you please provide more info on the activation process?

    Regards from Bulgaria!

  6. Todor Christov (Reply) on Mercredi 6, 2008

    Hold on, I got it. There is a special new widget addon, which appeared in the widget section. But because the name was a bit similar to another widget (Get Recent Comments), I got confused.

    Now it works great! :-)

  7. Dieter Petereit (Reply) on Mercredi 6, 2008

    After Brian´s Latest Comments seized working from WP 2.5 upwards, I been looking for a plugin that does the same and some but couldn´t find one. Perhaps you find the idea as useful as I do. The plugin should output the latest comments in the form:

    Postname1
    commentername, commentername, commentername,…
    X comments

    Postname2
    and so on

    I find this threaded view much more transparent and not the less more interesting for readers. You can identify the most talked about posts with one look.

  8. [...] между уиджета на MyBlogLog и плъгина за WordPress Gravatar Top Commenters е, че за разлика от MyBlogLog, който не носи особена [...]

  9. [...] Gravatar Recent Comments [...]

  10. trench (Reply) on Mercredi 6, 2008

    anyway to install without widgets.

  11. 禾草唐楷 (Reply) on Mercredi 6, 2008

    in my template,i haven’t widget,then how to use it?how to quote to my pages?

  12. [...] Gravatar Recent Comments [...]

  13. Anthony (Reply) on Mercredi 6, 2008

    To activate the widget without widgetised sidebar, just include something like this :
    < ?php $ZdComWidget->widget(); ?>
    But be ware that you won’t be able to change options as they are only setup in the widget control panel.

  14. brainsolid (Reply) on Mercredi 6, 2008

    Great plugin!
    Anthony, if i want display not Default gravatar, but avatar, that was generated by WP_Texticon plugin – what i must edit in your plugin?

  15. [...] Plugin: Gravatar Top Commenters URL Original: Gravatar Top Commenters Autor: Anthony [...]

  16. Alexandre Pereira (Reply) on Mercredi 6, 2008

    TRanslated to portuguese: Download

  17. brainsolid (Reply) on Mercredi 6, 2008

    broadly speaking, i search for plugin, that can show area with ONLY gravatars, like your Flickr widget, but with avatars. Each avatar link to author’s site or page with comment. This feature will be very cool…

  18. Anthony (Reply) on Mercredi 6, 2008

    Brainsolid, if you deactivate the option that display usernames, this plugin will do what you want ;)

    Just style your css classes.

  19. brainsolid (Reply) on Mercredi 6, 2008

    But how i can show not default avatar, but avatars, generated by WP_Texticon?

  20. Anthony (Reply) on Mercredi 6, 2008

    Brainsolid,

    I’ll have to look at a solution for that because I don’t know how it is supposed to work between WP_Texticon and gravatar

  21. 禾草唐楷 (Reply) on Mercredi 6, 2008

    @Anthony thanks for your help :-)

  22. brainsolid (Reply) on Mercredi 6, 2008

    Anthony, thank you very much!

  23. [...] Gravatar Recent Comments [...]

  24. Aegiale (Reply) on Mercredi 6, 2008

    C’est moi qui l’ai mal configuré, ou le plugin n’affiche pas le lien vers l’article commenté pour chacun des commentateurs pris en compte ?

  25. Aegiale (Reply) on Mercredi 6, 2008

    Grumpf, désolée, j’ai posté trop vite; si j’ai bien compris, quand on choisit d’afficher les derniers commentateurs, le plugin n’affiche que ça : le nom des commentateurs, pas le post qui a été commenté.

  26. Anthony (Reply) on Mercredi 6, 2008

    Aegiale,

    Effectivement, le but du plugin est de mettre en avant les lecteurs et pas les posts sur lesquels ils ont répondus. Je ferais surement une option pour mettre le post plutot que la personne.

  27. xiaomo (Reply) on Mercredi 6, 2008

    some advice:
    1,exclude option should be added, if you dont want someone showed on the list, like the blog owner himself.
    2,set a time limit to the top commenter, like: the top commenter of this week/ this month.

    3,very thankful to your great plugin.
    I like it..

    ^_^

  28. Anthony (Reply) on Mercredi 6, 2008

    Xiaomo,

    Blog owner is automatically excluded. In fact any authentified user is excluded. I agree that it should be an option.

  29. Ovidiu (Reply) on Mercredi 6, 2008

    I’d love to use this plugin on wpmu not simple wordpress but the wordpress multi user edition. Here it doesn’t make sense to exclude registered/logged in users at all.
    Also I guess the gravatar size is in px, right? What is expected inside the default gravatar field? an absolute path or an url?
    Could this plugin not follow the settings of the wordpress isntallation meaning if that blog is setup to display either gravatar otherwise monsterid can’t this plugin also do that?

    Another nice option would be to add a link to the post the user commented on, something like *avatar* – *commentername* – on *postname*

  30. Anthony (Reply) on Mercredi 6, 2008

    Ovidiu, Yes gravatar size is in pixels (I would advise to use 25 or 32).

    In next release there will be an option not to exclude registered users.

    Regarding monsterid, I have to look how to use this function.

  31. Zhu (Reply) on Mercredi 6, 2008

    Thank you very much for this plugin, this is exactly what I was looking for!

  32. Zhu (Reply) on Mercredi 6, 2008

    Actually, just a small thing (people always ask for more, don’t they!): is there a CSS to modify the look of the widget? For example, margins between the link and the gravatar.

    Thanks!

  33. Anthony (Reply) on Mercredi 6, 2008

    Zhu,

    You can customize the layout via the class used by the widget which is called : zd_CommentsWidget_widget

    This would mean something like this : .zd_CommentsWidget_widget ul { your style for the global list }
    .zd_CommentsWidget_widget ul li { your style for each item in the list }

  34. [...] visitando o blog Zen-Dreams do Anthony Petitbois encontrei o plugin Gravatar Top Commenters, que além do nome e link também [...]

  35. Mishef (Reply) on Mercredi 6, 2008

    Anthony great plugin, thanks!

    I have 1 question: How to make it to show only gravatars without text (commentator name). I want Gravatars to show 5 per line and 5 in the column. Is something – http://img229.imageshack.us/img229/7213/gravatarsfy9.gif

  36. Anthony (Reply) on Mercredi 6, 2008

    Mishef,

    To do that, you have to uncheck the option Display Names.
    To have multiple columns,rows, you have to tweak your CSS so that they are corretly aligned (have a look at ul li { float:left })

  37. addiehf (Reply) on Mercredi 6, 2008

    Great plugin :D thx

  38. bbrian017 (Reply) on Mercredi 6, 2008

    Sweet mod I was considering adding it to my blogs and it seems I should have! Do you think most the comments here today are because you have this mod?

    This was a serious question because if it’s so I will 100% install this mod.

  39. Anthony (Reply) on Mercredi 6, 2008

    Brian,

    I do not have the plugin installed on my wordpress, so most comments on this post are because of the plugin, but not on my blog.

  40. bbrian017 (Reply) on Mercredi 6, 2008

    ok so the mod you have is the regular Gravatar mod?

  41. Anthony (Reply) on Mercredi 6, 2008

    bbrian, the plugin i made is a widget with gravatars, which is not included by default. I do not use it, and yes, the comments are using the regular gravatar system from WP 2.6

  42. bbrian017 (Reply) on Mercredi 6, 2008

    Alright I’m starting to catch on! I think I want the top commenters that allows the gravatar also!

    Why don’t you use your own plugin here?

  43. Anthony (Reply) on Mercredi 6, 2008

    bbrian07, only a design matter :) I don’t want to put too much information on my sidebar.

  44. [...] Gravatar Recent Comments [...]

  45. nasgorkam (Reply) on Mercredi 6, 2008

    I can’t thank you enough for the plugins, its work like magic :)

    CMIIW but the styling that works for me is
    #comments-widget ul {}
    #comments-widget ul li {}

    :D

  46. fruityoaty (Reply) on Mercredi 6, 2008

    Ditto on what the commenter above me said. To get it to appear in columns X rows (don’t display names), the CSS that worked for me is:

    #comments-widget ul {
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    }

    #comments-widget ul li {
    float:left;
    list-style-image:none !important;
    list-style-position:outside !important;
    list-style-type:none !important;
    margin:2px !important;
    }

    Hope that helps newbies (coz I’m one). :)

  47. Dustin (Reply) on Mercredi 6, 2008

    Hello,
    I was wondering if this could be altered to pull authors/blog contributors and display them in the same way.
    I would like to sort them by the person who most recently posted.

    I can pay for a plugin such as this.

    Thank you.
    Dustin

  48. [...] Gravatar Recent Comments [...]

  49. Jayson (Reply) on Mercredi 6, 2008

    How do you make it reset after a certain # of days?

  50. Anthony (Reply) on Mercredi 6, 2008

    Jayson, this is an alltime top, so you can’t define an expiration on a # of days.

  51. Raju (Reply) on Mercredi 6, 2008

    hey! that’s a real cool plugin mate, loving it!

  52. Frank (Reply) on Mercredi 6, 2008

    @fruityoaty Thanks a ton for that! This has been on my ToDo list for months and last time I checked was before you commented.

    And thanks for this plugin!

  53. Richard (Reply) on Mercredi 6, 2008

    Posted 6 August 2008 at 21:42 | Permalink
    Well,

    To me, coding is not the most difficult part, but getting the idea is !

    If you have other ideas, don’t hesitate to share them ;)

    I saw that and it made me think…

    1- So you can show last/top comments in a widget, so why not a page?
    2- Why not make comments list ajaxed, so that you could show a list of comments and expand the excerpt of any comment?
    3- make an option to show list collapsed or all excerpts expanded
    4- Make links from each comment to the post
    5- make a reply link, using WP2.7 native nested comments code

    Why do this? because now you have made a mini discussion board simply by joining together existing code from wordpress.

    BT-active discussions has almost done this, but it seems to be inactive now.

    Well you did say ‘getting the idea is’ the important part

  54. Gopal Raju (Reply) on Mercredi 6, 2008

    This is exactly what I was looking for!

    Thanks dude,
    Gopal
    http://www.productivedreams.com

  55. baka (Reply) on Mercredi 6, 2008

    Hi Anthony!
    Thank you very much fot that wonderful widget,but I have some problems regarding the display of my user gravatars which actually are not gravatars as I am using the user photo wordpress plugin. Is there a way to integrate the user photos instead of the gravatars? Any help would be greatly apreciated!

  56. Max the Micro Niche Finder (Reply) on Mercredi 6, 2008

    Hiya, i have seen your site when searching a few weeks ago and i really love the design! I just bought a new 3 character domain (cost me a packet) for a niche review blog, and i was wondering if your design is a free or paid one? I’m new to Wordpress and about to set it up, and i would really like to get something with a similar look to yours. Any ideas where i could download or buy something similar? Thanks for your help! :)

    • Anthony (Reply) on Mercredi 6, 2008

      Max, this is neither a free nor a paid design. I made this design and I made some others. I will probably change my design soon to make it much more clean.

  57. Gopal Raju (Reply) on Mercredi 6, 2008

    Is it possible to remove admin from the top commenters list?

    Gopal Raju’s last blog post..ProductiveDreams Reloaded

  58. Gopal Raju (Reply) on Mercredi 6, 2008

    BTW..please check out http://www.productivedreams.com (footer)to see the issue.
    Gopal Raju´s last blog ..10 properties that ‘were’ impossible to implement in IE6 My ComLuv Profile

    • Anthony (Reply) on Mercredi 6, 2008

      Yes, well; that was a feature request, before that, previous version was not displaying the admin. You may want to chack an older version as it’s the only change between the last two versions.

  59. Gopal Raju (Reply) on Mercredi 6, 2008

    Thanks for your reply,

    Where can I get the previous version?
    Gopal Raju´s last blog ..10 properties that ‘were’ impossible to implement in IE6 My ComLuv Profile

  60. Andreas (Reply) on Mercredi 6, 2008

    Hi!

    I found a bug, sort of. The attribute ‘border=”0″‘ is not valid for image elements in strict xhtml. Why not just remove it since it can be changed in the css anyway?
    Andreas´s last blog ..Uppdatering pågår! My ComLuv Profile

    • Anthony (Reply) on Mercredi 6, 2008

      Yes, That should be left to the users to decide

  61. Frank (Reply) on Mercredi 6, 2008

    I’d like to be able to switch from using this plugin as a widget, to without a widget. Is there a way to do this? And still have the options I’ve chosen in the widget?

    Title: Latest Commenters
    Display: last Commenters
    Default Gravatar:
    Gravatar Size: 30
    Display Count: 27
    Display Commenter Name: Unchecked
    Display Links: Unchecked
    Display comment, not link: Unchecked
    nofollow link: Unchecked
    Frank´s last blog ..First Three Episode Titles in “Redemption” My ComLuv Profile