a:38:{s:2:"id";s:24:"4d556cb4b2b083396d000d8a";s:7:"package";s:24:"4d556cb3b2b083396d000d85";s:12:"display_name";s:15:"gravatar-2.1-pl";s:4:"name";s:8:"Gravatar";s:7:"version";s:3:"2.1";s:13:"version_major";s:1:"2";s:13:"version_minor";s:1:"1";s:13:"version_patch";s:1:"0";s:7:"release";s:2:"pl";s:8:"vrelease";s:2:"pl";s:14:"vrelease_index";s:1:"0";s:6:"author";s:5:"yoleg";s:11:"description";s:934:"<p>Globally recognized avatars - snippet and custom output filter.</p>
<p>Changelog:<br />2.1: Fixed SSL urls and added support for generating profile links. <br />2.0: Added SSL support, specific options, and detailed Gravatar class.</p>
<p>Example Snippet Usage:<br />&#91;&#91;!Gravatar? &amp;email=`youremail@domain.com` &amp;size=`50` &amp;rating=`r` &amp;default=`wavatar`&#93;&#93;<br />&#91;&#91;!Gravatar? &amp;email=`youremail@domain.com` &amp;profile=`true`&#93;&#93;
&#91;&#91;!Gravatar? &amp;email=`youremail@domain.com` &amp;profile=`json` &amp;secure=`1` &amp;extraParams=`{"callback":"alert"}`&#93;&#93;</p>
<p>Example Output Filter Usage<br />&#91;&#91;+email:Gravatar=`40`&#93;&#93;    &lt;!--&nbsp;&nbsp;(option value is numeric)&nbsp;generates image with size 40 --&gt;<br />&#91;&#91;+email:Gravatar=`json`&#93;&#93;    &lt;!--&nbsp;&nbsp;(option value is non-numeric)&nbsp;generates image with size 40 --&gt;</p>";s:12:"instructions";s:3011:"--------------------
Snippet: Gravatar
Description: Globally recognized avatars
--------------------
Version: 2
Author: Oleg Pryadko &lt;oleg@websitezen.com&gt;
Since: Jan 16, 2011
License: Public domain (except possibly class file, which is based on http://www.talkphp.com/script-giveaway/1905-gravatar-wrapper-class.html)
Changelog&nbsp;
2.1: fixed SSL url, added profile support
2.0: added SSL, class files
History:
Version 1
Since: May 22th, 2010
Author: lossendae &lt;lossendae@gmail.com&gt;
License: Public domain
----------------------------------------------
Usage:
----------------------------------------------
To load Gravatar image URL with a snippet call use:
&#91;&#91;!Gravatar? &amp;email=`youremail` &amp;size=`yoursize` &amp;rating=`yourrating` &amp;default=`defaultavatar`&#93;&#93;
To load a profile URL with a snippet call use:
&#91;&#91;!Gravatar? &amp;profile=`1`&#93;&#93;
----------------------------------------------
The options available are:
----------------------------------------------
&amp;email: 		the email adress of the user.
&amp;size: 			the size of the returned image (between 0 &amp; 512).
&amp;rating: 		the rating of the image. Most of the time users only have the default one. Can be: g, G, pg, PG, r, R, x, or X
&amp;default: 		The defaut avatar - can be an url or one the following choices: identicon, monster, wavatar, retro, mystery (monsterid and mm also ok)
&amp;secure: 		Whether to use HTTPS or not. Set to `0` or `false` to use HTTP, or set to true to use HTTPS. Otherwise, the snippet will automatically use HTTPS if the page that the snippet is on is accessed under HTTPS.
&amp;extraParams: 	&#91;NEW&#93; JSON array of options to append to the URL. Please see the gravatar docs &nbsp;at http://en.gravatar.com/site/implement/ for the currently available options. Example: {"s":120,"option":"value"}
&amp;profile &#91;NEW&#93;: &#91;NEW&#93; Instead of generating a URL to an image, generates a URL to the profile. See gravatar docs for examples on the different formats. Possible values:
	0 or empty 		(default - link to profile image.)
	1 or true		(default profile URL/ VCF/ VCard)
	json 			(JSON format)
	xml 			(XML format)
	php 			(PHP format)
	qr 				(QR format)
----------------------------------------------
Gravatar is output filter ready for email and&nbsp;
size or filetype parameters.
----------------------------------------------
For example, with Quip you can do it like that:
&#91;&#91;!Gravatar? &amp;email=`&#91;&#91;+email&#93;&#93;`&#93;&#93;
or with a specified size :
&#91;&#91;!Gravatar? &amp;email=`&#91;&#91;+email&#93;&#93;` &amp;size=`40`&#93;&#93;
or by using output filter directly on the placeholder:
&#91;&#91;+email:Gravatar&#93;&#93;
or with a specified size :
&#91;&#91;+email:Gravatar=`40`&#93;&#93;
&#91;NEW&#93; You can also use a non-numeric output filter value to generate the profile (same as specifying &amp;profile parameter):
&#91;&#91;+email:Gravatar=`true`&#93;&#93; or &#91;&#91;+email:Gravatar=`json`&#93;&#93;";s:9:"changelog";s:0:"";s:9:"createdon";s:24:"2011-01-20T00:37:19+0000";s:9:"createdby";s:5:"yoleg";s:8:"editedon";s:24:"2021-08-05T02:14:41+0000";s:10:"releasedon";s:24:"2011-01-21T08:03:04+0000";s:9:"downloads";s:4:"2798";s:8:"approved";s:4:"true";s:7:"audited";s:5:"false";s:8:"featured";s:5:"false";s:10:"deprecated";s:5:"false";s:7:"license";s:13:"Public Domain";s:7:"smf_url";s:47:"http://modxcms.com/forums/index.php?topic=60127";s:10:"repository";s:24:"4d4c3fa6b2b0830da9000001";s:8:"supports";s:1:"2";s:8:"location";s:60:"http://modx.com/extras/download/?id=4d556cb4b2b083396d000d8b";s:9:"signature";s:15:"gravatar-2.1-pl";s:11:"supports_db";s:5:"mysql";s:16:"minimum_supports";s:1:"2";s:9:"breaks_at";s:8:"10000000";s:10:"screenshot";s:0:"";s:4:"file";a:7:{s:2:"id";s:24:"4d556cb4b2b083396d000d8b";s:7:"version";s:24:"4d556cb4b2b083396d000d8a";s:8:"filename";s:29:"gravatar-2.1-pl.transport.zip";s:9:"downloads";s:4:"2405";s:6:"lastip";s:14:"216.244.66.247";s:9:"transport";s:4:"true";s:8:"location";s:60:"http://modx.com/extras/download/?id=4d556cb4b2b083396d000d8b";}s:17:"package-signature";s:15:"gravatar-2.1-pl";s:10:"categories";s:15:"personalization";s:4:"tags";s:0:"";}