內容簡介
此外掛可讓使用者新增本地 (私人) 頭像,如果您的使用者不想使用全域頭像、不熟悉 Gravatar 設定或只是想為您的部落格使用私人頭像,或任何其他原因,這個外掛就能夠幫到您。從 WordPress 2.5 開始,這個外掛讓您能夠管理本地和全域頭像。除此之外,您還能夠使用 Twitter 頭像!從 v9.0 開始,此外掛需要 PHP 版本 5.1.3 或更高版本。
最新版本的這個外掛新增了使用者上傳本地頭像的功能,這是大家嚷嚷最多的功能。此外,還新增了一個新功能,就是讓使用者使用他們的 Twitter 頭像。頭像的使用順序是:本地頭像、Twitter 頭像、全域頭像。換句話說,如果您為一個使用者定義了本地頭像,就會使用該頭像,如果沒有定義本地頭像,而使用者有業已設定的 Twitter 帳號,此外掛就會試著使用該頭像。最後,如果沒有定義本地和 Twitter 頭像,或者在 Twitter 上沒有找到符合使用者的頭像,就會產生一個獨特的全域頭像 (Gravatar)。
下面是此外掛的本地頭像功能列表:
讓您的使用者有全域或本地頭像
讓您的使用者使用 Twitter 頭像
允許頭像在文章中出現,而且會遵循安全原則,不會洩漏電子郵件地址
能夠詳細控制對那些沒有全域或本地頭像的使用者要使用的預設頭像。選擇自訂圖片、空白的「神秘」圖像、空白、Wavatar、Monster ID 或 Identicon 中的一種
針對 SnapShots (www.snap.com) 在頭像周圍加上代碼,以支援您的網站
允許使用者上傳本地頭像
您可能也會對這個外掛的姐妹讚揚意見功能外掛 Comments with Avatars 感興趣。
此外掛現在還有一個新的側邊欄小工具擴展,讓使用者能夠從側邊欄管理他們的頭像,而不必使用 WordPress 的個人資料管理頁面。它提供與個人資料頁面相同的功能。此新功能為一些不太熟悉 WordPress 管理界面的使用者提供了更多支持。可以在此處獲取擴展。
如果你覺得有用,請考慮捐款以幫助開發。
非常感謝您使用此外掛,其中許多功能都是根據使用者的要求而添加的。請在您的部落格上展示您使用此外掛的資訊,或啟用選項頁面上的作者標記選項。如果您有任何意見或建議,請與我聯繫。如果您認為此外掛有價值,請考慮捐款。
外掛標籤
開發者團隊
原文外掛簡介
Adds local (private) avatars for your users. Maybe your users don’t want a global avatar, aren’t IT savvy enough to set a Gravatar up, simply want a private avatar for your blog, or any other reason too… Well, from WordPress 2.5 onwards, you can manage local and global avatars with this plugin. Plus you can use your Twitter avatar too!
From v9.0 Avatars requires PHP version 5.1.3 or greater.
The plug-in now delivers the much requested feature of allowing users to upload their own local avatar. And, the latest new feature allows your users to use their Twitter avatar. The order of precedence is; Local, Twitter, then Global. In other words; if you define a Local avatar for a user, that will be used, if there is no Local avatar defined and a Twitter ID is given for a user, the plugin will try to use that avatar. Lastly, where no Local avatar is defined and no Twitter ID is given (or Twitter doesn’t return a match), a unique Global avatar (Gravatar) will be generated.
The local avatar feature list:
Have global or local avatars for your users.
Use Twitter avatars for your users.
Allow avatars to be included in posts. This is achieved securely; e-mail addresses are not exposed.
Detailed control over the default avatar to use for those users who do not have a global or local avatar. Allows a choice of a custom image, ‘mystery’ blank image, blank, Wavatar, Monster ID, or Identicon.
Wraps avatars in code to support SnapShots (www.snap.com), should your site use these.
Permits users to upload their own local avatars.
You may also be interested in the sister Comments with Avatars plugin.
Plus there is now a new sidebar widget extension to the plug-in that provides a feature allowing users to manage their avatar from the sidebar without having to use WordPress’ profile administration page. It provides the same capability as the profile page. This new feature provides yet more support for users who may not, for example, be savvy enough to use the WordPress administration interface. Get the extension here.
Donations are welcome and help keep development going.
Thanks
A lot of hard work has gone in to this plug-in, much of it at the request of people who use it, and I hope it is useful to you too! Please consider these things…
Please recognise your use of the plug-in on your blog. Maybe post an article (with a link back to http://www.sterling-adventures.co.uk/blog/) to say how you’ve integrated the plug-in into your site? Or simply make sure the Author Credit option is enabled on the options page.
Remember that a lot of the features of the plug-in are a direct result of people asking for them. So, please get in contact and let me know what you think.
If you do find value in using the plug-in, please consider a donation at http://www.sterling-adventures.co.uk/blog/2008/03/01/avatars-plugin/ Size isn’t important, it’s the thought that counts!
Enjoy!
Internationalisation
Avatars provides support for language translations. Ensure WPLANG is set in your wp-config file.
To help with the available translations create a .po translation and compile a .mo file. If you would like this to be included in the general distribution please send these files back via the feedback link. I can’t accept any credit for these languages files, nor can I guarantee they are correct.
Available translations, from the English default, are:
Persian (WPLANG = fa_IR). Thanks to Mustafa Sufi.
Russian (WPLANG = ru_RU). Thanks to Levati.
French (WPLANG = fr_FR). Thanks to Adrien Schvalberg.
Spanish (WPLANG = es_ES). Thanks to Naceira – http://www.naceira.com/
Ukrainian (WPLANG = uk_UK). Thanks to Vadim Nekhai, website: http://onix.name/portfolio/
Portuguese Brazil (WPLANG = pt_BR). Thanks to Steff.
Japanese (WPLANG = pt_ja). Thanks to Kazuhiko Maeda.
Czech (WPLANG = cs_CZ). Thanks to Dominik Chrástecký.
