Title: Easy Gravatars
Author: Dougal Campbell
Published: <strong>16 Tháng 11, 2007</strong>
Last modified: 14 Tháng 1, 2010

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/easygravatars.svg)

# Easy Gravatars

 Bởi [Dougal Campbell](https://profiles.wordpress.org/dougal/)

[Tải về](https://downloads.wordpress.org/plugin/easygravatars.1.3.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/easygravatars/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/easygravatars/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/easygravatars/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/easygravatars/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/easygravatars/)

## Mô tả

This plugin allows you to automatically add Gravatars for commenters to your
 theme,
if your theme does not already support them.

According to the Gravatar.com website, Gravatars are Globally Recognized
 Avatars,
or an “avatar image that follows you from weblog to weblog appearing beside your
name when you comment on gravatar enabled sites.” You register with the Gravatar
server, and upload an image which you will use as your avatar. The gravatar image
is keyed to your email address, so that it is unique to you.

This plugin will display gravatars for the people who comment on your posts.
 You
do not need to modify any of your template files — just activate the plugin, and
it will add gravatars to your comments template automatically.

### Credits

Based on a code snippet from Matt Mullenweg:
 http://photomatt.net/2007/10/20/gravatar-
enabled/ http://pastebin.ca/743979

Props to David Potter for pointing out that Gravatar normalizes email
 addresses
to lowercase before hashing with MD5: http://dpotter.net/Technical/index.php/2007/
10/22/integrating-gravatar-support/

## Cài đặt

Copy the easygravatars folder and its contents to your wp-content/plugins
 directory,
then activate the plugin.

The plugin will add a new Easy Gravatars section under the Options menu.
 There,
you can configure the size and maximum rating of the gravatars that you wish to 
display. You can also set the location of a default image to display for users who
have no gravatar (the default is a 1px transparent gif), you can tweak the CSS for
the wrapper around the image, and you can select to attach the gravatar to either
the comment author link, or the text of the comment.

By default, the gravatar is floated to the right of the comment author’s
 name, 
which should work well with most templates.

## Hỏi đáp

  I have a Gravatar, but it doesn’t appear

The Gravatar service allows you to register multiple email addresses. Make
 sure
that the email address you use in your WordPress comments matches an email address
registered on the Gravatar server.

Also, check the rating of your gravatar versus the maximum allowed rating in
 the
Easy Gravatar options. If your gravatar is rated ‘R’, but you set the maximum Easy
Gravatar rating to ‘PG’, the image will be blocked.

  Some people see Gravatars, but others don’t

In some cases, there have been reports that Internet Explorer 6.0 does not
 display
gravatars properly. This is probably due to CSS bugs in IE6. I will try to isolate
this as time allows, but the best advice is for users to upgrade to IE7 (for security
and better standards support), or to use another browser, like Firefox or Opera.

  My comment author links disappear

You may have another plugin which is conflicting with Easy Gravatars. In
 particular,
Joost de Valk’s Google Analytics plugin version 1.3 also tried to modify the comment
author link. Upgrade to version 1.4 or higher of his plugin, or select the “Comment
Text” API hook in Easy Gravatar’s Advanced Options.

  Gravatars appear, but…

The placement of the Gravatars within your comments template is controlled
 by the`
Span style` and `API hook` options. The gravatar is rendered as an image tag within
a span, which is prepended to either the comment author information or the text 
of the comment, depending on the hook selected.

The default options should work fine with most WordPress templates, but
 there’s
always the chance that a template with a complex layout might have a conflict. If
simply changing the API hook selection doesn’t give a result which is to your liking,
you will need to modify the CSS in the span style.

Sorry, but help with CSS styling is beyond the scope of this document.

  Doesn’t WordPress 2.5 have Gravatars built-in? Why do I need Easy Gravatars?

Yes, WordPress 2.5 added native support for Gravatars. However, older themes
 don’t
support them. If you are using a theme which doesn’t already support adding Gravatars,
you either need to modify the templates yourself, or use Easy Gravatars to add them
automatically for you.

## Đánh giá

![](https://secure.gravatar.com/avatar/00facead8ac15f5002df090d6d32502cbe60dfd57c5a4762874edcc1dd7fe655?
s=60&d=retro&r=g)

### 󠀁[nice](https://wordpress.org/support/topic/nice-1507/)󠁿

 [akherati](https://profiles.wordpress.org/akherati/) 3 Tháng 9, 2016

very nice plugin

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/easygravatars/reviews/)

## Người đóng góp & Lập trình viên

“Easy Gravatars” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Dougal Campbell ](https://profiles.wordpress.org/dougal/)

[Dịch “Easy Gravatars” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/easygravatars)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/easygravatars/), check out
[SVN repository](https://plugins.svn.wordpress.org/easygravatars/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/easygravatars/) qua 
[RSS](https://plugins.trac.wordpress.org/log/easygravatars/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.3 2010-01-14

 * Tested compatibility up to WordPress 3.0-a

#### 1.2 2008-03-06

 * When running under WordPress 2.5, use the built-in Gravatar image functions.

#### 1.1 2007-11-16

 * Gravatar images now link to comment author’s URL, if provided.
 * Gravatar code now prepended to text instead of appended.
 * Code reorganized. Functions for filters and hooks are now near the actions
    that
   actually call them.
 * Added stylesheet for options page and improved layout. Split options into
    ‘General’
   and ‘Advanced’.
 * New advanced option for selecting either ‘Comment Author Link’ or ‘Comment
    Text’
   API hook.

#### 1.0

 * Initial release.

## Meta

 *  Phiên bản **1.3**
 *  Cập nhật lần cuối **16 năm trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 2.0.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.0.5**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/easygravatars/)
 * Thẻ
 * [avatar](https://vi.wordpress.org/plugins/tags/avatar/)[avatars](https://vi.wordpress.org/plugins/tags/avatars/)
   [comments](https://vi.wordpress.org/plugins/tags/comments/)[gravatar](https://vi.wordpress.org/plugins/tags/gravatar/)
   [Gravatars](https://vi.wordpress.org/plugins/tags/gravatars/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/easygravatars/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/easygravatars/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/easygravatars/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/easygravatars/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/easygravatars/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/easygravatars/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/easygravatars/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/easygravatars/reviews/)

## Những người đóng góp

 *   [ Dougal Campbell ](https://profiles.wordpress.org/dougal/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/easygravatars/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://dougal.gunters.org/donate)