這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Gravatar Signup Encouragement

描述

Plugin homepage | Plugin author | Donate

This plugin shows a message with link to signup page of Gravatar (pre-filled with e-mail address) to commenters and/or users who don’t have gravatar.

Message can be shown to:

  • unregistered commenters when they leave text input field for e-mail address
  • registered commenters to whom their registered e-mail address is checked
  • unregistered commenters after they post a comment in a dialog, to whom their entered e-mail address is checked
  • registered commenters after they post a comment in a dialog, to whom their registered e-mail address is checked
  • registered users in administration notices, to whom their registered e-mail address is checked
  • registered users in admin bar, to whom their registered e-mail address is checked
  • registered users on their profile page, to whom their registered e-mail address is checked
  • users who fill registration form when they leave text input field for e-mail address

Options are fully customizable. See FAQ for more information.

This plugin is lightweight, it adds only one field in database which is deleted if you uninstall plugin using WordPress’ built-in feature for deletion of plugins. Also it will only load jQuery file to head of your page if it wasn’t already loaded by theme or other plugin(s). Checks for gravatar are done via simple AJAX.
If you want to speed up your web site and save on bandwidth and server resources, it is recommended that you also install plugin Use Google Libraries which will load jQuery file from Google AJAX Libraries.

In order to plugin works, it needs to be on server with PHP 5 and on WordPress 2.8 or above.

安裝

  1. Upload gravatar-signup-encouragement folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can change default options on ‘Discussion Settings’ page

常見問題

Do I need to show message in all cases (comments, profile, registration)?

No, you can select where you want to show message, you can select all cases or just one.

Can I choose where on page to show message?

Yes, you can choose below which elements on page to show message. There are several elements already available to choose for all cases and you can alternatively add custom element by providing it’s id. Since this plugin uses jQuery selectors to find element, you can add even more advanced filters for selecting. Note that all selectors start with # . Also be aware that display of message may not look good with your theme.

Can I customize style of message?

Yes, you can add styles for message. Whole message is wrapped with div with ID depending on case:

  • gse_comments_message for comment form
  • gseaftercommenting for modal
  • gse_admin_notice for administration notice
  • gse_profile_message for profile page
  • gse_registration_message for registration page
  • gse_ms_signup_message for signup page on multisite
  • gse_bbpress_message for bbPress
Can I customize text of message?

Yes, you can write any message you want, even use HTML tags you want. Note that you should leave link with URL placeholder if you want to show link to Gravatar’s signup page pre-filled with user’s e-mail address.

Can I have different message for all cases?

Yes, if you use filters.

Can I translate plugin to language other than English?

Yes, this plugin is fully internationalized, you can translate all text and link to locale version of Gravatar’s site. You can find .pot file in root folder and you should place your translation intranslations folder. Please make a contact for sending your translation so that it can be included in official realease.

Currently, plugin includes following translations:

Will this plugin enable use og Gravatar’s API for managing avatars directly from WordPress installation?

No, this plugin will never add that feature since author of this plugin is against managing of account on Gravatar from remote site.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Gravatar Signup Encouragement” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Gravatar Signup Encouragement 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄