My favorites | Sign in
Logo
             
Search
for
Updated Jul 03, 2009 by pkollitsch
GlxGravatar  
Implementation of gravatar for Textpattern

glx_gravatar

Outputs a gravatar in comments. Developed by Johan Nilsson and maintained by Patrick Kollitsch. More info about Gravatars at gravatar.com

Download

current version is v2009.3 updated on July 3rd, 2009

glx_gravatar

just use <txp:glx_gravatar /> where ever you need a gravatar to be displayed. If you put this tag into a comment (display) form the gravatar will be constructed using the email address given by the current comment. If you put this tag anywhere else (where glx_gravatar has no access to a comment email address) you can supply an email address by the attribute email.

Parameters to change the display of the gravatar:

Parameters for the image tag:

Parameters that change the behaviour of the Gravatar:

gho_author_email

Returns the author of the current article.

Examples

{{{<txp:glx_gravatar /> <txp:glx_gravatar size="60" default="" class="gravatar" />}}}

used in the form comments it will show the gravatar of the current commentator

<txp:glx_gravatar email="address@example.com" />

shows the gravatar for address@example.com.

<txp:glx_gravatar email='<txp:gho_author_email/>'/>

Shows the gravatar for the author of the current article.

History

2009-07-03 2009.3

2009-04-27 2009.2

2009-04-23 2009.1

2008-06-15 v.2008.1

2007-06-22 v.2007.1

Legend:


Hosted by Google Code