WordPress plugin intelligence profile

Get Author's Comments

Get Author's Comments displays or retrieves a list of comments posted by a user.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.9
Current version1.1.0
WordPress coverageTested up to WordPress 2.9
Minimum stackWP 2.7 · PHP —
Directory statusactive
Last directory update2 Aug 200917y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Get Author's Comments version 1.1.0 as active, updated 17y ago and tested up to WordPress 2.9.

Overview

About this plugin

This plugin allows to display or retrieve comments posted by a user. In order to avoid homonyms, a user is identified by his name and email(s).

7 for the (x)HTML output.

Usage

Display all comments of a specific user in the current post

>

or, if piouPiouM wrote with two different emails:

>

Display all comments posted by a user

>

Display comments wrote by a user in the post of ID number 9

>

Note: If you used the tags ppm_author_comments or ppm_get_author_comments whithin The Loop, the parameter $postID will be replaced automatically by the numeric ID of the current post.

Lastest comments ordered by post_ID

To show the last ten piouPiouM’s comments sorted by post_ID in ascending order, the following will display their comment date and excerpt:

>

Comments with a custom comment display

>

See Comments Only With A Custom Comment Display for an example of a custom callback function.

Show the total number of comments posted by a user on the site

php get_currentuserinfo(); $comments = ppm_get_author_comments($current_user->display_name, $current_user->user_email, null, 'all=1'); printf('Hello! <a href="/author/%s/">%s</a>! ' .

'[ <a href="%s" class="logout">Log Out</a> ]<br/>' . ><h3>Parameters</h3>

all

(boolean) (optional) Retrieve all comments. Default to FALSE.

number

(integer) (optional) Number of comments to return. Default to None, returns all comments.

offset

(integer) (optional) Offset from latest comment. Default to 0.

orderby

(string) (optional) Sort posts by one of various values (separated by space), including:

  • 'comment_ID' – Sort by numeric comment ID.
  • 'content' – Sort by content.
  • 'date' – Sort by creation date. (Default)
  • 'post_ID' – Sort by post ID.
  • 'rand' – Sort in random order.
  • 'status' – Sort by status.
  • 'type' – Sort by type.

order

(string) (optional) Sort order, ascending or descending for the orderby parameter. Valid values:

  • 'ASC' – Ascending (lowest to highest).
  • 'DESC' – Descending (highest to lowest). (Default)

output

(string) (optional) How you’d like the result. Only for ppm_get_author_comments.

  • OBJECT – Returns an object. (Default)
  • ARRAY_A – Returns an associative array of field names to values.
  • ARRAY_N – Returns a numeric array of field values.
  • HTML – Returns a (x)HTML version generated by wp_list_comments.

status

(string) (optional) The comments status. Default to hold and approve. Valid values:

  • 'hold' – Unapproved.
  • 'approve' – Approved.
  • 'spam' – Spam.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • author
  • comment
  • comments
  • search
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.9
Minimum requirementsWordPress 2.7 · PHP not listed
Update activity2 Aug 200917y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.