Standing Tall

あれとかこれとか

Standing Tall header image 2
2007年7月7日

新しいサイト”わーどぷれすっ!”をオープンしました。

今後はWordPress関連の話題は全部このサイトに投稿していきます。プラグイン一覧もこの新サイトに移しましたので、ドウゾよろしくお願いします。

WPのプラグイン:WP_MonsterID

2007年 2月 10日 · コメント4個 | とらっくばっくURL

説明:モンスターアバターを自動生成して、各コメント投稿者に設定

デモ:作者のページ拙ブログのコメント欄

WP ver.:2.0.x - 未検証、2.1 - オッケー

ダウンロード:WP_MonsterID :: Dammit Jim!

導入:

  1. monsteridフォルダごとプラグインフォルダに入れて有効化
  2. 使用しているテーマのcomments.php を開く(wp-content/themes/[使用中のテーマ名]/内にあるはず)
  3. foreach ($comments as $comment)もしくは似たような箇所を探す
  4. このループ内に<p class="comment-author"><p class="comment-metadata">などのコメント投稿者名やメタデータを表示するためのコードがあるはず
  5. 上記コードのすぐ上に次のコードを挿入する
    <?php if (function_exists("monsterid_build_monster")) {echo monsterid_build_monster($comment->comment_author_email,$comment->comment_author); } ?>

設定:

  • デフォルトではメールアドレスで各コメント投稿者を区別しているが、これをIPアドレスで区別するには挿入するコードで comment_author_email の代わりに comment_author_IPを入れる
  • テーマのstyle.cssimg.monsterid を追加して体裁を整える
    例:
    img.monsterid{
    float:left;
    margin-right: 10px;
    margin-bottom: 5px;
    }
  • 管理画面>設定>MonsterIDの設定
    MonsterID Size - アバターの表示サイズ
    Background Colors - 背景色の設定(RGBにそれぞれ0-0を入れると背景が透明になる)
    Set Options - 設定を保存
    Clear Cache - アバター画像のキャッシュを削除

スクリーンショット:

MonsterID

この他の「コメント」関連のプラグイン:

カテゴリー: WP プラグイン · WordPress

コメント/トラックバック4個 ↓

  • ScottS-M MonsterID Icon

    1 ScottS-M // 2007年 2月 9日 @ 10:59 PM

    邦訳をありがとうございます。日本人の読み手をここに差し向けます。モンスターをよろしくやって。

    悪い日本語を失礼します。久しぶりです。

  • WP_MonsterID :: Dammit Jim! MonsterID Icon

    2 WP_MonsterID :: Dammit Jim! // 2007年 2月 9日 @ 11:00 PM

    [...] Tai has translated the installation instruction to Japanese. [...]

  • たい MonsterID Icon

    3 たい // 2007年 2月 11日 @ 5:35 PM

    スコットさん、

    こちらこそ、楽しいプラグインをありがとうございます。
    便利なプラグインはたくさんありますが、楽しい気分にさせてくれるプラグインはそうそうありません。 :eek:

    Thank you for the amusing plugin!

  • WP_MonsterID :: Dammit Jim! MonsterID Icon

    4 WP_MonsterID :: Dammit Jim! // 2007年 7月 30日 @ 1:25 PM

    [...] has translated the installation instructions to Japanese, 5lineas translated them to Spanish, and Dennys has installation tips in [...]

コメントをドウゾ!

お名前、メール、ウェブサイトの入力は必須ではありません
次のタグを使用することができます:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>