We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Plugin: EEGravatar

Development and Programming

Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

Hey, I’m here to be a pain again!

Is there anyway to expand this to the individual member profiles? They’ll have an email contact for sure, would be loverly…. 😉

hides

       
Les Jenkins's avatar
Les Jenkins
44 posts
20 years ago
Les Jenkins's avatar Les Jenkins

Dunno. I just tried it and it kinda works. The plugin did generate data, but it doesn’t appear to have read in the email address from between the tag pair so the encoded ID didn’t pull down the avatar. In short, it doesn’t seem to process data for that template quite the same way. There may be a work around, but I’ll have to ponder on it a bit.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
20 years ago
Lisa Wess's avatar Lisa Wess

No worries, worth a shot at asking though. Thank you. =)

       
Les Jenkins's avatar
Les Jenkins
44 posts
20 years ago
Les Jenkins's avatar Les Jenkins

Incidentally, for those of you who are beta testing 1.1, I’ve modified the Gravatar plugin so it works as a single tag rather than as a pair. The email just becomes another parameter to pass.

If any beta testers want it for your site, just let me know and I’ll email you a copy. I’ll release the modified version to the public once 1.1 goes live. I’m also working on enabling a caching feature using code developed by Chris Ruzin.

       
Les Jenkins's avatar
Les Jenkins
44 posts
20 years ago
Les Jenkins's avatar Les Jenkins

Now that ExpressionEngine 1.1 is available, I’ve released EE Gravatar 1.2. The only change in this new version is it’s now a single tag instead of a tag pair. This makes for slightly tidier template code, but there’s no reason to upgrade if you’re happy with the previous version.

       
misu's avatar
misu
30 posts
18 years ago
misu's avatar misu

gravatar is online again: http://site.gravatar.com/

is the plugin working with the new version?

       
katili's avatar
katili
31 posts
18 years ago
katili's avatar katili

misu, I have it installed on my site and everything is still working exactly the same, so it looks good! 😊

       
misu's avatar
misu
30 posts
18 years ago
misu's avatar misu

@ katili: thxs for the info 😊

       
bushtit's avatar
bushtit
3 posts
18 years ago
bushtit's avatar bushtit

dont know if this plugin is still being actively developed, but it would be nice to enhance it to check for mybloglog.com avatars if no gravatar is present for the user. MBL is becoming more and more widely used, and a lot of people have lost faith in gravatar due to all the recent outages and instability. Hopefully it’s all resolved now, but who knows.

       
eviluncledave's avatar
eviluncledave
77 posts
15 years ago
eviluncledave's avatar eviluncledave

I’d like to suggest a change to the EEGravatar plugin. It works great as-is, except when the users/guests use uppercase letters in their e-mail address. To ensure that the gravatar shows, no matter what they enter, one small change is needed in line 36:

$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($email);</code></pre>

would be:

<pre><code>$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".md5(strtolower($email));
       
Philip Zaengle's avatar
Philip Zaengle
293 posts
15 years ago
Philip Zaengle's avatar Philip Zaengle

I pushed the new ExpressionEngine 2.0 version of eeGravatar out on github.

       
misu's avatar
misu
30 posts
15 years ago
misu's avatar misu

Philip, the read me is empty

       
Philip Zaengle's avatar
Philip Zaengle
293 posts
15 years ago
Philip Zaengle's avatar Philip Zaengle

Misu, thanks! I removed the file as it’s not needed. All the docs are viewable from plugin page on the EE admin, take a look and let me know if you have any questions!

       
code72's avatar
code72
104 posts
15 years ago
code72's avatar code72

Unless I’m making a stupid mistake somewhere, it seems that in EE2.0 {email} variable returns the entry author’s email even within the exp:comment:entries loop and not the comment author’s email address. Because of that this plugin is not working for me. My code is below:

{exp:comment:entries sort="asc"}
    <div class="comment clearfix">
        {exp:gravatar email=
        <cite>{url_as_author} says...</cite>
        <blockquote>{comment}</blockquote>
        Posted on {comment_date format="%F %j, %Y @ %g:%i%a"}
    </div>
{/exp:comment:entries}

Has anyone got this working with the comment author’s email address in EE2.0?

       
code72's avatar
code72
104 posts
15 years ago
code72's avatar code72

I realize the email variable is not showing up in the post above, I’m not sure why, but it is in there between quotes and curly brackets.

       
1 2 3 4

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.