developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
#993 closed new feature (fixed)
Plugin Gravatar
Reported by: | foxmask | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | Jelix 1.2 beta |
Component: | jelix:plugins:tpl | Version: | |
Severity: | minor | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Voici un nouveau plugin de type tpl html permettant d'afficher un gravatar.
Pour info : un gravatar est un avatar hébergé sur gravatar.com et un avatar est lié à un courriel.
Attachments (2)
Change History (16)
Changed 11 years ago by foxmask
comment:1 Changed 11 years ago by foxmask
utilisation :
pour afficher le gravatar de "foo"
{gravatar 'foo@bar.com'}
si l'utilisateur n'a pas de gravatar ; alors il aura le gravatar par defaut sauf si "default" est renseigne comme suit :
{gravatar 'foo@bar.com', array('default'=>'http://domain.com/my/default/gravatar.png')}
on peut aussi retoucher la taille du gravatar avec l'option size
{gravatar 'foo@bar.com', array('default'=>'http://domain.com/my/default/gravatar.png','size'=>180)}
comment:2 Changed 11 years ago by foxmask
- review set to review?
comment:3 Changed 11 years ago by laurentj
- Milestone changed from Jelix 1.1.4 to Jelix 1.2
- Priority changed from normal to low
- Severity changed from normal to minor
comment:4 Changed 11 years ago by laurentj
- review changed from review? to review+
ok, mais même remarque que pout le #1019 : il faut aussi modifier le fichier manifest pour le build et le fichier CREDITS
comment:5 Changed 11 years ago by foxmask
c'est noté
comment:6 Changed 11 years ago by foxmask
- Resolution set to fixed
- Status changed from new to closed
comment:7 Changed 11 years ago by laurentj
- Documentation needed set
comment:8 Changed 11 years ago by foxmask
- Documentation needed unset
comment:9 Changed 11 years ago by foxmask
comment:10 Changed 11 years ago by catsoup
- Resolution fixed deleted
- review changed from review+ to review?
- Status changed from closed to reopened
- Type changed from new feature to enhancement
Hello, il y a un petit soucis, si on a activé les E_NOTICE, on en a une a cause du param "username" qui n'a aucune valeur par défaut. Mais je propose carrément de le virer, rapport à l'accessibilité, voir pourquoi ici => http://openweb.eu.org/articles/accessibilite_images
comment:11 Changed 11 years ago by laurentj
Je pense tout de même que l'image d'un gravatar apporte une information plutôt significative, et donc on devrait avoir un alt rempli. non ?
comment:12 Changed 11 years ago by foxmask
ou tout au moins dans le alt avoir "gravatar de toto" / "john doe's gravatar" qui serait plus complet ?
comment:13 Changed 11 years ago by laurentj
- Resolution set to fixed
- review review? deleted
- Status changed from reopened to closed
comment:14 Changed 11 years ago by laurentj
- Type changed from enhancement to new feature
le code du plugin Gravatar