[WordPress] 外掛分享: Easy Gravatars

首頁外掛目錄 › Easy Gravatars
200+
安裝啟用
★★★★★
5/5 分(1 則評價)
5908 天前
最後更新
問題解決
WordPress 2.0.4+ v1.3 上架:2007-11-15

內容簡介

這款外掛可讓您在您的佈景主題中,自動為評論者添加 Gravatar 圖像,如果您的佈景主題不支援 Gravatars 的話。

根據 Gravatar.com 網站的說法,Gravatar 是「全球認識的頭像」,或是「一個頭像圖像,在每個啟用了 Gravatar 的網誌中跟隨您,當您在該站點發表評論時,會顯示在您的名字旁邊」。您可以在 Gravatar 服務器註冊並上傳圖像,並將其用作您的頭像圖像,該 Gravatar 圖像是根據您的電子郵件地址生成的,因此它是唯一的。

此外掛將會為發表評論的人顯示 Gravatars,您不需要修改任何的佈景主題檔案,只需啟用外掛,它就會自動將 Gravatars 添加到評論範本中。

鳴謝

基於 Matt Mullenweg 的程式碼片斷:
http://photomatt.net/2007/10/20/gravatar-enabled/
http://pastebin.ca/743979

感謝 David Potter 指出 Gravatar 在使用 MD5 前會將電子郵件地址規範化為小寫:
http://dpotter.net/Technical/index.php/2007/10/22/integrating-gravatar-support/

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Easy Gravatars」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon