show your avatar !!

Filed Under (blogger-wordpress) by jingga on 11-08-2008

Tagged Under : , ,

A couple of moments when I moved into  this blog, there was a comment from  miss Sella asking me why her avatar wasn’t come out ( I’m sorry i just answer the question now dear). Perhaps some of you also have the same question why your avatar doesn’t come up in some other blogs, while actually your avatar has been there existed on your wordpress blog.

Here are some tips for you, hopefully this simple tips will be useful, and make blogging feels more fun hehehee……..

  • set your self into gravatar ( www.gravatar.com).
    Gravatar or Globally Recognize Avatar, and based its data by  e-mail address, so signup your active e-mail address, or any e-mail address you would like to put front.
    Prepare the image you want, the image size allowed for this is 80×80 pixels, but if your image is bigger than that, a facility is provided to edit such thing.
  • Get your ‘ Recent Viewer’ widget
    To get this widget - like the one I put in this blog^^- simply signup in mybloglog or blogcatalog.
    Those two web directory has provided widget code and tracker to be placed on your blog. By having this widget, not only your blog looks sweet, but also you can track down who comes up on your blog. And as a respect, you can visit them back

For  self-hosting template that is not gravatar ready , here are some script which can be used

First, login to wp-content>themes>your folder template

edit comment.php  ( find the bellow script)

<?php comment_text() ?>

copy and paste this green script, and put right above the red script

<div class=”gravs”><!– start gravs –>
<?php
if (get_bloginfo(’version’)>=2.5)
{ echo get_avatar( $comment->comment_author_email, $size = ‘50′, $comment->comment_author_link); }
?>

copy and paste this second green script and put it right under the red script

</div>
<br clear=”all” /><!– end gravs –>

thus the complete script will look like this :

<div class=”ctext”>
<div class=”gravs”><!– start gravs –>
<?php
if (get_bloginfo(’version’)>=2.5)
{ echo get_avatar( $comment->comment_author_email, $size = ‘50′, $comment->comment_author_link); }
?>

<?php comment_text() ?>

</div>
<br clear=”all” /><!– end gravs –>

save the script, and don’t forget to activate the easy gravatar pluggins in your blog setting first.

Happy blogging :) .

* terimakasih buat xeroiscute atas scriptnya :)

Viewed 337 times by 114 viewers

Comments:

Post a comment