• I need a plugin/hack that will allow me to output something like this:

    Commenter on Article

    The commenter’s name would simply be linked to the Article and the article wouldn’t be linked.

    Are there any plugins suitable to this? I’ve looked and I don’t believe I’ve found anything.

Viewing 2 replies - 1 through 2 (of 2 total)
  • There are loads (see Codex and plugin sites), but I personally like Brian’s Latest Comments. It outputs
    “Article name (#)
    Commenter, Commenter”
    Article name is linked to the article, number of comments to the beginning of comment section, and the commenter’s name to that particular comment.

    Thread Starter xtheunderdog

    (@xtheunderdog)

    So I’ve been trying to tinker with the format and it’s being a pain.
    original
    echo $prefix."".stripslashes($post->post_title). "  ".$count."
    \n<small>";
    if($usetimesince)
    $title = " title=\"Last comment was ".time_since($comment->unixdate)." ago\"";
    foreach($commenters as $commenter)
    {
    if($usetimesince)
    $title = " title=\"Posted ".time_since($commenter->unixdate)." ago\"";

    if($i++ > 0)
    echo ", ";

    echo "comment_ID."\"$title>".stripslashes($commenter->comment_author)."";
    }
    if($count > $num_comments)
    echo " [...]";
    echo "</small>".$postfix."\n";

    }
    }

    mine
    echo $prefix."".stripslashes($commenter->comment_author)" " on ($post->post_title)";
    if($usetimesince)
    $title = " title=\"Last comment was ".time_since($comment->unixdate)." ago\"";
    foreach($commenters as $commenter)
    {
    if($usetimesince)
    $title = " title=\"Posted ".time_since($commenter->unixdate)." ago\"";

    if($i++ > 0)
    echo ", ";

    }
    if($count > $num_comments)
    echo " [...]";
    echo "</small>".$postfix."\n";

    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘recent commenters’ is closed to new replies.