Zen-Dreams

Zen-Dreams.com

New wordpress plugin: Gravatar top commenters

  • Français

Today, I just passed by an article talking about MyBlogLog and basically, they are giving some reasons I totally agree with for not using the system.

In fact I used to use that service, but it’s a complete waste of space on your website, and most of the people displayed in there are not leaving comments anyway.

In this article, the author suggest the use of a plugin displaying top commenters or last commenters not only using their names, but also via gravatar service.

So, here is the plugin, he got the idea and I made it :)

Here is the list of features :

  • Display whether Last commenters or top commenters
  • Display user name (or not, via options)
  • Display link to user’s website (or not, via options)
  • Default gravatar
  • Gravatar size

Download ZdCommentsWidget

Once you installed the plugin, just add it to your sidebar and choose your options. A tutorial and Documentation will be written in the next days.

It’s not yet available through Wordpress extend, but it will be published today or tommorow. So you’ll be able to get automatic updates :)

By Anthony

43 Comments

  1. Posted 6 August 2008 at 18:49 | Permalink

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

  2. 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 ;)

  3. Posted 7 August 2008 at 20:06 | Permalink

    hi. Thanks for plugin

    perfect.

    Regards

  4. Posted 8 August 2008 at 21:35 | Permalink

    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!

  5. Posted 8 August 2008 at 21:42 | Permalink

    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! :-)

  6. Posted 8 August 2008 at 22:03 | Permalink

    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.

  7. Posted 9 August 2008 at 5:32 | Permalink

    anyway to install without widgets.

  8. Posted 9 August 2008 at 6:35 | Permalink

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

  9. Posted 11 August 2008 at 10:01 | Permalink

    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.

  10. Posted 11 August 2008 at 16:00 | Permalink

    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?

  11. Posted 12 August 2008 at 18:04 | Permalink

    TRanslated to portuguese: Download

  12. Posted 12 August 2008 at 20:48 | Permalink

    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…

  13. Posted 12 August 2008 at 21:12 | Permalink

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

    Just style your css classes.

  14. Posted 12 August 2008 at 21:18 | Permalink

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

  15. Posted 13 August 2008 at 9:23 | Permalink

    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

  16. Posted 14 August 2008 at 18:20 | Permalink

    @Anthony thanks for your help :-)

  17. Posted 14 August 2008 at 19:32 | Permalink

    Anthony, thank you very much!

  18. Aegiale
    Posted 22 August 2008 at 13:39 | Permalink

    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 ?

  19. Aegiale
    Posted 22 August 2008 at 13:44 | Permalink

    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é.

  20. Posted 22 August 2008 at 17:34 | Permalink

    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.

  21. Posted 29 August 2008 at 2:58 | Permalink

    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..

    ^_^

  22. Posted 29 August 2008 at 9:31 | Permalink

    Xiaomo,

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

  23. Ovidiu
    Posted 2 September 2008 at 22:19 | Permalink

    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*

  24. Posted 3 September 2008 at 10:47 | Permalink

    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.

  25. Posted 10 September 2008 at 4:42 | Permalink

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

  26. Posted 10 September 2008 at 4:58 | Permalink

    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!

  27. Posted 10 September 2008 at 9:46 | Permalink

    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 }

  28. Posted 22 September 2008 at 19:56 | Permalink

    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

  29. Posted 22 September 2008 at 20:01 | Permalink

    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 })

  30. Posted 27 September 2008 at 21:07 | Permalink

    Great plugin :D thx

  31. Posted 3 October 2008 at 19:37 | Permalink

    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.

  32. Posted 3 October 2008 at 20:51 | Permalink

    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.

  33. Posted 3 October 2008 at 23:30 | Permalink

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

  34. Posted 4 October 2008 at 9:43 | Permalink

    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

  35. Posted 6 October 2008 at 17:35 | Permalink

    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?

  36. Posted 6 October 2008 at 22:11 | Permalink

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

  37. nasgorkam
    Posted 15 October 2008 at 19:23 | Permalink

    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

  38. Posted 16 October 2008 at 18:30 | Permalink

    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). :)

  39. Dustin
    Posted 22 October 2008 at 9:16 | Permalink

    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

  40. Posted 12 November 2008 at 5:59 | Permalink

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

  41. Posted 12 November 2008 at 9:22 | Permalink

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

  42. Posted 1 December 2008 at 19:04 | Permalink

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

  43. Posted 3 January 2009 at 22:27 | Permalink

    @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!

13 Trackbacks

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

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

  3. [...] Gravatar Recent Comments [...]

  4. By WordPress插件集锦 8/8 | 韶华白首 on 9 August 2008 at 10:12

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

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

  6. [...] Gravatar Recent Comments [...]

  7. [...] 10. Gravatar Recent Comments [...]

  8. [...] Gravatar Recent Comments [...]

  9. [...] 插件说明 | 插件下载地址 [...]

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

  11. [...] Gravatar Recent Comments [...]

  12. By 10 New Useful WordPress Plugins | WP Passion on 14 October 2008 at 12:00

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

  13. By 10 New Useful WordPress Plugins | HellBoy on 3 November 2008 at 10:20

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

Post a Comment

Your email is never shared. Required fields are marked *

*
*