Gravatar Signup Encouragement

July 11, 2012

Gravatar Signup Encouragement Plugin

Shows a message with link to Gravatar's signup page to commenters and/or users without gravatar.

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.

Installation

  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

Screenshots

  1. Settings form with all expanded options

    Settings form with all expanded options

  2. Message shown to unregistered commenter on default theme with default settings

    Message shown to unregistered commenter on default theme with default settings

  3. Message shown to registered commenter on default theme with default settings

    Message shown to registered commenter on default theme with default settings

  4. Message shown in a dialog to unregistered commenter on default theme with default settings after posted comment

    Message shown in a dialog to unregistered commenter on default theme with default settings after posted comment

  5. Message shown in a dialog to registered commenter on default theme with default settings after posted comment

    Message shown in a dialog to registered commenter on default theme with default settings after posted comment

  6. Message shown in admin bar

    Message shown in admin bar

  7. Message shown in administration notices

    Message shown in administration notices

  8. Message shown on a profile page with option to show below ?Profile? header

  9. Message shown on a registration page with default settings

    Message shown on a registration page with default settings

  10. Message shown on a registration page (multisite) with default theme and default settings

    Message shown on a registration page (multisite) with default theme and default settings

  11. Message shown in a bbPress reply form of a Twenty Eleven theme in line with avatar

    Message shown in a bbPress reply form of a Twenty Eleven theme in line with avatar

FAQ

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.

Changelog

Details

  • Version: 3.1
  • Active installations: 80
  • WordPress Version: 2.8
  • Tested up to: 3.4.2

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars