|
#1
|
|||
|
|||
|
gravatars vs favatars
I've been reading about gravatars and favatars:
http://www.noscope.com/journal/2004/12/favatars Anybody using them? I added some code to functions.php to support them in really, really basic form: Code:
if($comment_url != "") {
$comment_url = "http://$comment_url"; // i'm running for president...
$comment_url = str_replace("http://http://","http://",$comment_url); // you see?
$comment_name = "<a href='$comment_url' title='$lang_visit_homepage'>$comment_name</a>";
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($comment_email)."&amp;size=24";
$urlParts = parse_url($comment_url);
$fav_url = $urlParts['scheme'].'://'.$urlParts['host'].'/favicon.ico';
}
Just wanted to toss that out there.
__________________
http://asiftosay.com |
|
#2
|
||||
|
||||
|
lol...new to me, pretty neat concept, i have no use for it...but thanks for chuckin it up here
__________________
i should say more clever stuff |
|
#3
|
||||
|
||||
|
funky. i'm using the favicon option at my blog now!
great idea! cheers
__________________
Affordable Website Design in North Wales |
|
#4
|
||||
|
||||
|
My Gravatar
I have a gravatar account, but mine doesn't show up on your site derevaun. Oh, it took me a while to find your previous link. You might want to make it a little more prominent.
|
|
#5
|
|||
|
|||
|
I think I set it to favatars only and stopped before figuring out how to make it do either one or the other. I switched it to gravatars and it works!
I've been puzzling over what to do with the previous link. I wanted to try something other than clicking the image, and ran out of room at the top. A redesign is iin order, but I should probably do something in the meantime. Thanks for bringing it up!
__________________
http://asiftosay.com |
|
#6
|
||||
|
||||
|
The previous and next links would be fine in the same line where you have "...Today All 91 A month Whichever Bad cameras See also." Maybe in place of some of those. :-)
Could you post the updated code that you used? |
|
#7
|
|||
|
|||
|
I got this to work on my site with the gravatars, but it only works if the author enters his/her url in... I tried commenting out the favatar stuff but it still didn't work. I don't see what could be affecting it
|
|
#8
|
|||
|
|||
|
nevermind i figured it out. the code should be like this:
Code:
if($comment_url != "") {
$comment_url = "http://$comment_url"; // i'm running for president...
$comment_url = str_replace("http://http://","http://",$comment_url); // you see?
$comment_name = "<a href='$comment_url' title='$lang_visit_homepage'>$comment_name</a>";
}
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".md5($comment_email)."&amp;size=24";
$urlParts = parse_url($comment_url);
$fav_url = $urlParts['scheme'].'://'.$urlParts['host'].'/favicon.ico';
|
|
#9
|
|||
|
|||
|
what the heck are you talking about?
or am I too old to know about that? |
|
#10
|
|||
|
|||
|
umm... im not sure what you mean. you're asking what gravatars are??
example: http://kristin.pishdadi.com/index.php?showimage=10 www.gravatar.com global recognized avatars, you sign up and your gravatar is pulled on websites you post comments on by your email address. |
| Post Reply |
| Thread Tools | |
|
|