Using Gravatar Without Plugin by Connor Wilson

Wordpress November 6th, 2008

Connor Wilson has published nice post. He wrote about how to make gravatar without plugin and I’ll share for you. First, add this script to your comments page.

1
2
3
4
5
6
7
<?
$email = ""; //email that user use in gravatar
$default = ""; // link to your default avatar or if user doesn't have gravatar
$size = 40; // size in pixels squared
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=
  ". md5($email) . "&default=" . urlencode($default) . "&size=" . $size;
?>

Then call it gravatar on tag <img src”"> like this:

1
<img src="<?=$grav_url ?>" height="<?=$size ?>" width="<?=$size ?>" alt="User Gravatar" />

Put it on each comments. That’s all.. Easy right.. hehe.

Thx Connor. I’ll use it on my current project with Code Igniter.

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

See Inside Page’s Head Easily

Review November 5th, 2008

Wew so many feature available on Mozilla Firefox with third party applications. Yesterday I found Professor X add-ons. With this add-ons you can show inside page’s head easily without open page source. As web programmer, i’ts very useful to me to get embedded css style or js script on some pages and download it.

Read the rest of this entry »

Sphere: Related Content

Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Custom Your WordPress Login

Wordpress August 3rd, 2008

Today, I have great tutorial to create your own WordPress login. You can change default WordPress login with your own and with your logo. Lookout my login page for example. Nice right.. Now I’ll show to you, how to make it.

  1. First, You must download this Plugin
  2. Extract bm-custom-login.zip and copy it to …/wp-content/plugins/ .Make sure you keep the folder name the same.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Create a new login background using the handy template provided. You can use the file in the image-templates folder to help if you like. Save it as ‘login-bkg-tile.jpg’
  5. Upload your custom background to wp-content/plugins/bm-custom-login/images
  6. Bask in the glory of your beautiful new login screen.

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Wordpress 2.6 Released

Wordpress July 15th, 2008

Today, new version of Wordpress 2.6 released and you can download here. The WordPress team have created a video that demonstrates the new features bundled with WordPress 2.6.

Here are some of the smaller features and improvements in 2.6:

Read the rest of this entry »

Sphere: Related Content

Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

X-Ray Firefox Extention

Review July 7th, 2008

X-Ray on HumanThis is very amazing.

Why this extension called X-Ray? Because It has function like X-Ray.

What do you mean? Yeah X-Ray.. but not for human. This extension will allow you to see the tags on a page without viewing the sourcecode.

Get X-Ray 0.8.1 from addons.mozilla.org

One installed the X-Ray command is available by right-clicking as well as in the Tools menu. When applied to a page it can help you see how the document was constructed without having to go back and forth between the sourcecode and the page in your browser. Is that list made of li, dd or p elements? Is that an h3 tag or just some bolded text? X-Ray shows you what’s beneath the surface of the page.

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 2.5 out of 5)
Loading ... Loading ...

Blogroll Link Update