Subscribe to RSS Feed

Posts Tagged ‘wordpress’

How to set your avatar on your Wordpress blog

Aug 16th, 2009 by Kenji

This entry is to note for myself. It’s a little complicated for me to set my avatar image on my wordpress blog. When I used former version of wordpress(maybe 2.3 ) there was an avatar-related option on wordpress preference page, I think. However, I couldn’t find any option regarding avatar on wordpress 2.8 preference page.

To set your avatar on your wordpress(2.8),

  • Sign in Gravatar
  • Set your avatar image and your email addresses there
  • That’s it
  • They link up your email addresses with your avatar image. Once you finish the process, your avatar will be displayed on not only your wordpress blog but also any pages which accept Gravatar.

    Strangely, I couldn’t remember that I’ve already signed in Gravatar, completely…, but I’ve done. When did I sign in it…. :S

    Continue Reading »
    1 Comment

    WP to Twitterでの文字化けに対応

    Aug 6th, 2009 by Kenji

    Wordpressの記事投稿をTwitterでつぶやく為のプラグインは沢山あります。ただ、どれを使っても日本語が文字化けしちゃってたんですよね。コードいじるのが面倒だったので、「プラグインの問題なんだ。同じ機能の別のプラグインを試してみよう」と逃げていたのですが、問題ないのが見つからなかったので直接プラグインを編集しました。

    このブログったら、EUC-JPなんですよ。UTF-8にしておけばいいのに、随分昔にEUC-JPで作ったまま移行するときとかも色々面倒で結局EUC-JPのままなんです。恐らくUTF-8で運用している人にはこの文字化け問題は発生してないんじゃないかな。Wordpressのプラグインの中にはマルチバイトを想定していなかったり、UTF-8しか想定されていなかったりするものも数多くあるようで、試したTwitter用プラグインは全てアウトだった訳です。

    人気度と機能でWP to Twitterを選びました。文字化けへの対応はいたって簡単。wp-to-twitter.phpのjd_doTwitterAPIPostファンクション内にある
    $twit = urldecode($twit);

    っていうURLデコードしてる行の下に
    $twit = mb_convert_encoding($twit, “UTF-8″);

    と追加しました。以上。同じく面倒くさがりな方で文字化けに悩んでいる人が、プラグインを色々試すよりも1行足した方が手っ取り早いやと気づく為の記事になればいいかなと。

    Continue Reading »
    0 Comments

    How to add Google Friend Connect social bar

    Aug 3rd, 2009 by Kenji

    I just added google friend connect social bar to all the pages in kenjioh.com. You can find it on the bottom of the pages. The most entries I’m blogging here are kind of personal, so there would be very few people becoming a member of this site using GFC…. but if no one become a member of this site I might feel sad :p
    Maybe I should make my entries meaningful. I will try.

    Well, in this entry. I’m going to explain what I did to add GFC social bar.

  • go to GFC page
  • do as they say. it’s easy. 1st step is to set up a new site.
  • follow them
  • after setup your site, choose “social bar” on the left menu
  • follow them and get the code
  • in my case (Wordpress), I use theme editor and insert the code into the footer.php just before </body>tag.
  • If you use GFC, you can add powerful social function to your site. However, as I mentioned, no one joining your site might make you feel sad… like me :P

    please PLEEEEAAAAAAASE BECOM A MEMBER OF KENJIOH.COM. might mean nothing other than my pleasure,tho.  lol

    Continue Reading »
    1 Comment

     

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930