前言介紹
- 這款 WordPress 外掛「Twitter Avatar Reloaded」是 2010-03-14 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2014-07-12,距離現在已有 3952 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.8 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
sudar |
外掛標籤
內容簡介
Twitter avatar reloaded 外掛會在留言表單中新增一個欄位,讓使用者輸入他們的 Twitter 用戶名稱,並將其與評論一同儲存,當評論被顯示時,將 Gravatar 替換為 Twitter 頭像。
此外掛程式完美無縫運作,您不需要編輯佈景主題檔案以新增評論表單中的新欄位,啟用之後會自動新增。
注意:由於 Twitter API 的更改,自外掛的 v2.0 版本開始,您需要建立 Twitter 應用程式並提供存取金鑰和令牌。請參閱安裝說明以了解如何執行此操作。
模板功能
此外掛程式提供了 7 個模板功能,您可以在主題中使用這些功能,以自訂評論作者的 Twitter ID/個人資訊的顯示方式。
get_comment_author_twitter_id($comment_id) – 取得評論作者的 Twitter ID
comment_author_twitter_id($comment_id) – 列印評論作者的 Twitter ID
get_comment_author_twitter_url($comment_id) – 取得評論作者的 Twitter 個人資訊 URL
comment_author_twitter_url($comment_id) – 列印評論作者的 Twitter 個人資訊 URL
get_comment_author_twitter_profile_image($comment_id) – 取得評論作者的 Twitter 個人資訊頭像 URL
comment_author_twitter_profile_image($comment_id) – 列印評論作者的 Twitter 個人資訊頭像 URL
get_twitter_profile_image($twitter_username) – 取得使用 Twitter ID 的使用者的 Twitter 個人資訊頭像
使用 CSS 進行樣式設定
此外掛程式預設使用 class comment-form-twitter 來表示新 Twitter 欄位。您可以為該欄位新增 CSS 或在外掛程式的設定頁面中更改 class。
開發
此外掛程式的開發在github 上進行。如果您想貢獻功能,您可以複製 github 上的專案,然後提交拉取請求給我。
如果你不熟悉 git 或 Github,請參閱這篇指南了解如何複製和發送拉取請求。
支援
如果您發現程式有 bug/問題或有功能請求,請在 github issues 中發佈。
如果您對使用方法有疑問或需要協助排除問題,請在 WordPress 論壇上張貼或在外掛程式的官方網頁中留言。
如果您喜歡此外掛程式,請在WordPress 儲存庫頁面上留下您的評價/意見回饋。
如果您覺得此外掛程式很有用,想對作者說聲謝謝,您可以透過多種方式表達感激之意,我會很感激。
檢視我發布的其他WordPress 外掛程式。
如果有其他需要,請在Twitter上與我聯繫。
致謝
此外掛程式使用 @timw開發的 wp-twitter-api。
原文外掛簡介
Twitter avatar reloaded Plugin adds a new field to the comment form to get the user’s Twitter username and stores it together with comments and using it replaces gravatar with twitter avatar when the comment is displayed.
This Plugin works seamlessly and you don’t need to edit your theme files to add the new field to the comment form. It automatically adds it when activated.
Note: Because of the changes in the way Twitter API works, from v2.0 of the plugin you need to create a twitter app and provide the access key and token. Refer to the installation instructions to find out how to do this
Template functions
This Plugin provides 7 template functions which you can use in your theme to customize the way the comment author’s twitter id/profile should be displayed.
get_comment_author_twitter_id($comment_id) – Get the Twitter id of the comment author
comment_author_twitter_id($comment_id) – Print the Twitter id of the comment author
get_comment_author_twitter_url($comment_id) – Get the Twitter profile url of the comment author
comment_author_twitter_url($comment_id) – Print the Twitter url of the comment author
get_comment_author_twitter_profile_image($comment_id) – Get the twitter profile image url of the comment author
comment_author_twitter_profile_image($comment_id) – Print the twitter profile image url of the comment author
get_twitter_profile_image($twitter_username) – Get the twitter profile image of a user using twitter id
Styling using CSS
By default the Plugin uses the class comment-form-twitter for the new twitter field. You can add CSS to that field or you can change the class in the Plugins setting page.
Development
The development of the Plugin happens over at github. If you want to contribute to the Plugin, fork the project at github and send me a pull request.
If you are not familiar with either git or Github then refer to this guide to see how fork and send pull request.
Support
If you have found a bug/issue or have a feature request, then post them in github issues
If you have a question about usage or need help to troubleshoot, then post in WordPress forums or leave a comment in Plugins’s home page
If you like the Plugin, then kindly leave a review/feedback at WordPress repo page.
If you find this Plugin useful or and wanted to say thank you, then there are ways to make me happy 🙂 and I would really appreciate if you can do one of those.
Checkout other WordPress Plugins that I have released.
If anything else, then contact me in twitter.
Credit
This plugin uses wp-twitter-api by @timwhitlock as the underlying backend to make calls to Twitter.
Translation
Hebrew (Thanks Sagive)
Dutch (Thanks Rene of WordPress WPwebshop)
Brazilian Portuguese (Thanks Marcelo of Criacao de Sites em Ribeirao Preto)
German (Thanks Jenny Beelens)
Spanish (Thanks Brian Flores of InMotion Hosting)
Bulgarian (Thanks Nikolay Nikolov of Health Blog)
Lithuanian (Thanks Vincent G)
Hindi (Thanks Love Chandel)
Serbian (Thanks Diana)
Irish (Thanks Vikas Arora)
Gujarati (Thanks Puneet)
The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
Readme Generator
This Readme file was generated using wp-readme, which generates readme files for WordPress Plugins.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Twitter Avatar Reloaded」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 | 0.2 | 0.3 | 0.5 | 0.6 | 0.7 | 0.8 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 2.0 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 2.0.1 | trunk |
延伸相關外掛(你可能也想知道)
Simple Local Avatars 》若目前使用者擁有媒體權限,此外掛會在使用者資料中增加頭像上傳欄位,並像Gravatar一樣在使用時產生所需的大小。簡單輕量化的工具。, 只需編輯使用者資料,...。
One User Avatar | User Profile Picture 》WordPress 目前只允許您使用透過 Gravatar 上傳的自訂頭像。One User Avatar 讓您使用媒體庫中上傳的任何照片作為頭像。這意味著您可以使用與文章相同的上傳...。
User Profile Picture 》使用 WordPress 標準媒體上傳工具,為用戶設置或刪除自定義個人資料圖像。, 查看文件和範例, , 使用者必須擁有上傳圖像的功能(通常是作者角色或更高)。您可...。
Simple User Avatar 》這個外掛程式簡化了WordPress使用者的生活。, 現在使用者可以從他的媒體庫中簡單地新增或刪除他們的頭像圖像。易於使用,不需要其他的功能。外掛程式可在GitH...。
Basic User Avatars 》在前端頁面和編輯個人資料畫面上添加頭像上傳欄位,讓使用者可以上傳自定義個人頭像。, WordPress 社群和會員網站使用此外掛作為輕量級解決方案提供自定義的...。
WP User Profile Avatar 》WP User Profile Avatar 是一款外掛,可讓您更改預設的 WordPress 頭像或使用者個人資料照片。您可以使用媒體庫中上傳的任何照片,或使用自訂照片 URL 作為頭...。
Avatar Manager 》WordPress頭像管理員是一款為本地保存頭像等功能的簡單易用的外掛程式。, 通過讓用戶在自己的個人資料屏幕上選擇使用Gravatar還是自託管頭像圖片,您可以增強...。
Podamibe Custom User Gravatar 》這是一個外掛程式,允許使用者在媒體庫中上傳自己的個人圖像,並顯示該圖像作為頭像,而不是根據他們註冊的電子郵件地址從 gravatar.com 抓取頭像。, 您也可...。
WP User – Custom Registration Forms, Login and User Profile 》ul>, WP使用者外掛程式可以幫助您建立前端登入和註冊表單。, 使用者登入或註冊,並希望避免使用一般的WordPress登入頁面,這個外掛程式可以新增在AJAX中平滑...。
Disable User Gravatar 》這是一個非常簡單且輕量級的外掛程式,可以將預設的頭像匿名化,並防止使用者的 Gravatar 根據其註冊的電子郵件地址自動從 gravatar.com 獲取。這在需要增加...。
Add Local Avatar 》此外掛可讓使用者新增本地 (私人) 頭像,如果您的使用者不想使用全域頭像、不熟悉 Gravatar 設定或只是想為您的部落格使用私人頭像,或任何其他原因,這個外...。
User Avatar – Reloaded 》WordPress 目前只允許透過 Gravatar 上傳自訂頭像。 WP User Avatar 可讓您使用任何上傳到您的媒體庫中的照片作為頭像,這意味著您可以使用相同的上傳工具和...。
Easy Author Avatar Image 》Easy Author Avatar Image 可以輕鬆地在您的個人資料頁面上添加作者圖像。安裝此外掛後,在您的個人資料選項卡(在使用者下方)中會出現一個名為「個人資料照...。
Avatar Privacy 》來自 Gravatar.com 的頭像很好用,但卻帶有某些隱私問題。您作為網站管理員可能已經知道這一點,但您的訪客和使用者可能不知道。 Avatar Privacy 可以通過對...。
WPAvatar 》提供替代 Gravatar 的 WP Avatar 外掛可在中國完美接替 Gravatar。使用者只要啟用,不需要進行其他操作。, , 問題與答案:, , 問題:什麼是 WP Avatar 外掛?...。