Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Comment Analysis

Omschrijving

Contains functions to show comment count, pingback count, trackback count, top commentors, most recent comments, and more.

Installatie

  1. Download the appropriate version
  2. Make sure the file is called comment_analysis.php
  3. Put it into your /wp-content/plugins/ directory.
  4. Activate the plugin from your WordPress admin “Plugins” page.
  5. Make use of the functions in your template (see examples below).

FAQ

What functions are available?

This plugin is now widgetized, so you can use the widget, or use these functions:

ca_comment_count()
Show total count of comments for your blog, excluding pingbacks and trackbacks.

ca_pingback_count()
Show total count of pingbacks for your blog.

ca_trackback_count()
Show total count of trackbacks for your blog.

ca_spam_count()
Show total count of comments marked as spam. (Version 2.1 only)

ca_comment_last ($format=.)
Show date of last comment. The optional parameter allows you to format the date using standard date formatting.

ca_pingback_last ($format=.)
Show date of last pingback. The optional parameter allows you to format the date using standard date formatting.

ca_trackback_last ($format=.)
Show date of last trackback. The optional parameter allows you to format the date using standard date formatting.

ca_commentor_latest ($count=10, $exclude=” $before=’

  • ‘, $after=’
  • ‘)
    Shows latest $count commentors, with links to their websites if provided. $exclude is a comma separated list of commentors not to include in the list. $before and $after define the tags which will be output at the start and end of each line.

    ca_commentor_most ($count=10, $exclude=”, $before=’

  • ‘, $after=’
  • ‘, $before_count='(‘, $after_count=’)’)
    Show the top $count commentors, with links. $exclude is a comma separated list of commentors not to include in the list. $before and $after define the tags which will be output at the start and end of each line.

    ca_comment_latest ($count=10, $length=60, $before=’

  • ‘, $after=’
  • ‘, $linktext=’Go’)
    Shows the first $length chars of the latest $count comments. $before and $after define the tags which will be output at the start and end of each line.

    ca_comment_latest_posts ($count=10, $show_count=’yes’, $before=’

  • ‘, $after=’
  • ‘, $before_count='(‘, $after_count=’)’)
    Show the latest $count posts with comments (with a count of comments if $show_count is not no. $before and $after define the tags which will be output at the start and end of each line.

    ca_comment_most($count=10, $show_count=’yes’, $before=’

  • ‘, $after=’
  • ‘, $before_count='(‘, $after_count=’)’, $exclude=”, $hours=0)
    Show the top $count commented posts (with a count of comments if $show_count is not no. $before and $after define the tags which will be output at the start and end of each line.
    $exclude can exclude certain posts, it should contain a comma separated list of post IDs.
    If $hours is not zero, only comments in the last $hours hours will be looked at.

    ca_author_most ($count=10, $exclude=”, $before=’

  • ‘, $after=’
  • ‘, $before_count='(‘, $after_count=’)’)
    Show the top $count authors on your blog (with a count of posts written). I realise this isn.t comment related, but someone asked for it and I was too lazy to write a new plugin for it.

    Bijdragers & ontwikkelaars

    “Comment Analysis” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

    Bijdragers

    Vertaal “Comment Analysis” naar jouw taal.

    Interesse in ontwikkeling?

    Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.