GithubHelp home page GithubHelp logo

gravatar's Introduction

EXT:gravatar AvatarProvider for Gravatar support in TYPO3 backend

Since TYPO3 7.4 there is avatar support in the back-end of TYPO3 CMS. An "avatar" is an image that represents you online, a little picture that appears next to your name on various places in the back-end of the CMS.

What is Gravatar?

A Gravatar is a Globally Recognized Avatar. You upload it and create your profile just once, and then when you participate in any Gravatar-enabled site, your Gravatar image will automatically follow you there. Gravatar is a free service for site owners, developers, and users. For more info visit: https://gravatar.com.

QuickStart:

Install extension and that's it. Gravatar support is enabled for BE users with an email address set and no avatar image.

By default Gravatar is only used when a user hasn't an avatar image linked to his account an email address set. But optional the email address check can be disabled so also BE users without email address set can get a generated image provided by Gravatar.

How to use:

  1. Download and install gravatar in the extension manager Or use composer composer require minifranske/gravatar and install extension in the extension manager

  2. Optional (by default the Gravatar service is now enabled and will be used for BE users without avatar image and with email address set):

    Set a fallback behaviour through extensions configuration (see extension manager)

Features:

  • Supports all fallback options provided by Gravatar.com see https://www.gravatar.com/site/implement/images/
    • mm: (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash)
    • identicon: a geometric pattern based on an email hash
    • monsterid: a generated 'monster' with different colors, faces, etc
    • wavatar: generated faces with differing features and backgrounds
    • retro: awesome generated, 8-bit arcade-style pixelated faces
    • blank: a transparent PNG image
  • Can also be used to show generated Gravatar image for BE users without email address
  • Proxy for Gravatar images: Instead of generating images which point to Gravatars-servers, use a proxy.

This improves privacy a bit, because your users will not request the images directly from Gravatar. Note: Gravatar will still receive the hashed email addresses. This feature is disabled by default and can be enabled in extension configuration with privacy.useProxy.

Requirements:

For TYPO3 >=7.5,=<9.5 use version ^1 composer require minifranske/gravatar:^1

TYPO3 >=10 use version ^2 composer require minifranske/gravatar

gravatar's People

Contributors

frans-beech-it avatar fsaris avatar joey-bolts avatar josefglatz avatar rvock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gravatar's Issues

Feature Request: Add configuration for image-proxy

Currently the extension just outputs the URL for the gravatar image.

Some might see this as a privacy risk, because the backend-users send requests to the gravatar-servers and can be tracked.

This also does not work on some intranets, if the users do not have direct access to the internet. The webserver running TYPO3 might have some proxy configuration to connect to the internet (TYPO3_CONF_VARS[HTTP][proxy_host]).

The extension could proxy the requests to the gravatar servers. This is a bit slower, but improves privacy.

Note: This will not solve all privacy issues with gravatar. Gravatar will still get the hashed e-mail-addresses, but it will not get the referer-header or the users ip addresses (only the IP of the webserver).

Feature: Use uploaded image even if mail is set

Hey,

thanks for your extension. It works very well.

Our costumers don't want to create a gravatar profile but we have to add their mail adress in the backend, too. It would be a nice option, that even if a mail address is set, also the uploaded image could be used, if no gravatar profile was found.

Kind regards,
Marc

Uncaught TYPO3 Exception 1439317802

After installing gravatar on TYPO3 7.6 I got an exception
#1439317802: The avatar provider "gravatarProvider" defines an invalid provider. Ensure the class exists and implements the "TYPO3\CMS\Backend\Backend\Avatar\AvatarProviderInterface".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.