Title: Avatar Tooltip
Author: axenso
Published: <strong>8 Ιουνίου  2012</strong>
Last modified: 26 Μαρτίου  2013

---

Αναζήτηση πρόσθετων

![](https://ps.w.org/avatar-tooltip/assets/banner-772x250.jpg?rev=554757)

Αυτό το πρόσθετο **δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress**.
Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας
με τις πιο πρόσφατες εκδόσεις του WordPress.

![](https://s.w.org/plugins/geopattern-icon/avatar-tooltip_769175.svg)

# Avatar Tooltip

 Από [axenso](https://profiles.wordpress.org/axenso/)

[Λήψη](https://downloads.wordpress.org/plugin/avatar-tooltip.1.0.2.zip)

 * [Λεπτομέρειες](https://el.wordpress.org/plugins/avatar-tooltip/#description)
 * [Κριτικές](https://el.wordpress.org/plugins/avatar-tooltip/#reviews)
 *  [Εγκατάσταση](https://el.wordpress.org/plugins/avatar-tooltip/#installation)
 * [Ανάπτυξη](https://el.wordpress.org/plugins/avatar-tooltip/#developers)

 [Υποστήριξη](https://wordpress.org/support/plugin/avatar-tooltip/)

## Περιγραφή

You can enable a tooltip that shows info about user/author when you rollover/click
on related avatar.

**Let’s speak clearly: if you are loooking for a plugin that enables the standard
Gravatar hovercards, this is not the plugin right for you. Please look for another
one.**

When you rollover/click on an avatar (e.g. of a comment author), a tooltip popups
and shows:

 * some additional links if the author is a **registered user**: e.g. to user post
   archive, to user external website, to user blog (if multisite)
 * some info from **Gravatar** if author is registered to that service: e.g. location,“
   about me” description, websites, other account pages (facebook, twitter….)

In plugin settings you can set up the javascript and css main options.

The plugin comes with some filter hooks, so you can customise the tooltip content
at all.

The plugin uses [qTip plugin for jQuery](http://craigsworks.com/projects/qtip2/).

## Στιγμιότυπα

 * [[
 * Tooltip of a user registered to blog and registered to Gravatar
 * [[
 * Tooltip of a user not registered to blog but registered to Gravatar
 * [[
 * Tooltip of a user registered to blog but not registered to Gravatar

## Εγκατάσταση

#### INSTALLATION

 1. Upload plugin directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the `Plugins` menu in WordPress

#### SETUP

 1. Go to `Settings > Avatar Tooltip` to set up options
 2. Edit `axe-avatar-tooltip.css` to customise tooltip styles

## Συχνές Ερωτήσεις

  Why does a tooltip show “No more info available”?

Because the avatar owner is registered neither to the blog nor to Gravatar.

  I think some existing gravatars are missing or not shown…

We suggest that first of all you read the [Gravatar FAQ](https://el.wordpress.org/plugins/avatar-tooltip/gravatar.com/site/faq/?output_format=md).

  I can see that the plugin files (css, javascript) are properly loaded in my theme,
but tooltips are not shown yet… What’s wrong?

Probably the default jQuery selector (`#main ...`) is not good for your theme.
 
Look inside your theme html code and search for a class/id of your main content 
div: e.g. `#content` or something similar. Then, go in `Settings > Avatar Tooltip`
and set up the new selector. This parent class is useful to avoid that the toolip
is shown on undesired avatars (e.g. top Toolbar).

  Can I customise the tooltip aspect?

In `Settings > Avatar Tooltip` you can set up main options (main css theme, position).

Then, you can edit `axe-avatar-tooltip.css` in plugin folder. A tip: copy this file
to your theme directory and edit it there. Useful to prevent the loss of styles 
when you upgrade the plugin.

  I don’t care about Gravatar profile data. Can the tooltip show local user info?

You can use the sample available at [this link](http://www.eventualo.net/blog/2013/01/avatar-tooltip-plugin-how-to-show-only-user-bio-and-social-links/):
the tooltips will show the user bio (description), a link to user recent posts, 
the links to social network profiles (as filled in profile by user). Everything 
taken locallly from blog, nothing from Gravatar profile.

  Can I customise the tooltip content text?

You have some available filter hooks to manage the tooltip text.

The following sample adds ugly debug info at the bottom of tooltip:

    ```
    function my_avatar_tooltip_content_after( $text, $user, $md5email, $grav_name, $grav_profile ) {
        if ( is_object($user) ) {
            $text .= '<br />USERDATA:<br /><pre style="color:#000">'. print_r( $user, true ) .'</pre>';
        }
        if ( is_array($grav_profile) ) {
            $text .= '<br />GRAVATAR PROFILE:<br /><pre style="color:#000">'. print_r( $grav_profile, true . '</pre>');
        }   
        return $text;
    }
    add_filter('axe_avatar_tooltip_content_after', 'my_avatar_tooltip_content_after', 10, 5);
    ```

The following sample replaces the account list (facebook, twitter…) with a link 
to Gravatar full profile:

    ```
    function my_avatar_tooltip_content_gravatar_accounts( $text, $md5email, $grav_profile ) {
        if ( isset( $grav_profile['profileUrl'] ) ) {
            return '<a href="'. esc_url($grav_profile['profileUrl']) .'" title="'. esc_attr( __('view complete profile on Gravatar', AXE_AT_PLUGIN_DIR) ) .'" target="_blank" rel="nofollow">' . __('view complete profile on Gravatar', AXE_AT_PLUGIN_DIR) .'</a>';
        } else {
            return $text;
        }
    }
    add_filter('axe_avatar_tooltip_content_gravatar_accounts', 'my_avatar_tooltip_content_gravatar_accounts', 10, 3);
    ```

You can look for more hooks inside plugin code.

If you are brave, the function that returns the tooltip text is pluggable and you
can replace it at all:

 1. create a php file in `mu-plugins` folder (if the folder does not exists, simply
    create it)
 2. add a new function called `axe_at_tooltip_content` (look for the orginal function
    inside plugin code to see how it works)
 3. from that moment, the plugin will load your custom function

## Κριτικές

![](https://secure.gravatar.com/avatar/9c1d3a0a896c7ebf2a5cc0c250737de06bfc91ea9c4a680990a57cf71825d3c6?
s=60&d=retro&r=g)

### 󠀁[nothing](https://wordpress.org/support/topic/nothing-5/)󠁿

 [Den999](https://profiles.wordpress.org/den999/) 7 Φεβρουαρίου 2017

nothing happens

 [ Ανάγνωση 1 κριτικής ](https://wordpress.org/support/plugin/avatar-tooltip/reviews/)

## Συνεισφέροντες & Προγραμματιστές

“Avatar Tooltip” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει 
στη δημιουργία του.

Συντελεστές

 *   [ axenso ](https://profiles.wordpress.org/axenso/)

[Μεταφράστε το “Avatar Tooltip” στην γλώσσα σας.](https://translate.wordpress.org/projects/wp-plugins/avatar-tooltip)

### Ενδιαφέρεστε για την ανάπτυξη;

[Περιηγηθείτε στον κώδικα](https://plugins.trac.wordpress.org/browser/avatar-tooltip/),
ανατρέξτε στο [αποθετήριο SVN](https://plugins.svn.wordpress.org/avatar-tooltip/)
ή εγγραφείτε στο [αρχείο καταγραφής αλλαγών ανάπτυξης](https://plugins.trac.wordpress.org/log/avatar-tooltip/)
μέσω [RSS](https://plugins.trac.wordpress.org/log/avatar-tooltip/?limit=100&mode=stop_on_copy&format=rss).

## Σύνοψη αλλαγών

#### 1.0.2

 * Updated: for a better integration with other plugins the get_avatar filter priority
   was increased to be sure that the [rel] attribute is added after other filters

#### 1.0.1

 * Fixed: bug about not showing tooltip content for not-logged user

#### 1.0

 * Initial release

## Μεταστοιχεία

 *  Version **1.0.2**
 *  Τελευταία ενημέρωση: **πριν από 13 έτη**
 *  Ενεργές εγκαταστάσεις: **10+**
 *  Έκδοση WordPress: ** 3.0 ή νεότερη **
 *  Δοκιμασμένο μέχρι: **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/avatar-tooltip/)
 * Ετικέτες:
 * [avatar](https://el.wordpress.org/plugins/tags/avatar/)[gravatar](https://el.wordpress.org/plugins/tags/gravatar/)
   [tooltip](https://el.wordpress.org/plugins/tags/tooltip/)
 *  [Σύνθετη Προβολή](https://el.wordpress.org/plugins/avatar-tooltip/advanced/)

## Αξιολογήσεις

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/avatar-tooltip/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/avatar-tooltip/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/avatar-tooltip/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/avatar-tooltip/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/avatar-tooltip/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/avatar-tooltip/reviews/#new-post)

[Δείτε όλες τις κριτικές](https://wordpress.org/support/plugin/avatar-tooltip/reviews/)

## Συντελεστές

 *   [ axenso ](https://profiles.wordpress.org/axenso/)

## Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

 [Φόρουμ υποστήριξης](https://wordpress.org/support/plugin/avatar-tooltip/)

## Δωρεά

Θα θέλατε να υποστηρίξετε την προαγωγή αυτού του πρόσθετου;

 [ Κάντε δωρεά σε αυτό το πρόσθετο ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FSEGV7H8YNVLQ)