Categories

Admin Commenters Comments Count

Author: Scott Reilly
Version: 1.9.2
First released: 2009-06-15
Last update: 2019-12-08
Compatibility: WP 4.6 – 5.3.3
Download: [ zip ]
Description:

Displays a count of each commenter's total number of comments (linked to those comments) next to their name on any admin page.

Extended Description

Next to all appearances of each commenter’s name in the admin, this plugin shows a comments bubble identical to the one shown for posts in the admin listing of posts. The comments bubble shows the number of approved comments for that person and potentially a red superscript circle indicating the number of pending comments for the person (assuming they have any). The comment counts are linked to listings of comments associated solely with that particular commenter.

By default in WordPress, it is not possible to tell via a single glance whether a particular commenter has commented before or how many times the’ve commented.

This plugin adds this handy capability to the WordPress admin pages that allows you to:

  • Quickly identify a first-time commenter
  • Quickly identify unfamiliar commenters that have in fact commented before
  • Quickly see how many total comments a particular commenter has made, and how many comments are pending
  • Easily navigate to a listing of all approved comments and all moderated comments by a commenter, in order to see what post and when they last commented (or first commented), get a feel for the nature of their comments, or find something they’ve said in the past

Specifically, the linked comment count appears next to commenters in:

  • The “Comments” listing of comments (including comment search results)
  • The “Comments for ‘POST_TITLE’” listing of post-specific comments
  • The “Discussion” box of the “Edit Post” page for a post with comments
  • The “Recent Comments” admin dashboard widget
  • The “Users” listing of users (as the column “Comments”)

Commenters are identified by the email address they provided when commenting. If your site does not require that commenters submit their email address when commenting, this plugin will use the commenter’s name as the identifier, though since this is a publicly viewable piece of data it’s possible that multiple people could be posting under the same “name”, so this method has the potential to be not as accurate.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Find out more at the plugin’s WordPress Plugin Repository page.

Screenshots

Click to see full-size image.

  1. A screenshot of the 'Comments' admin page with the comment count appearing next to the commenter's name. The most recent comment is from someone who has one approved commented on the site. The second comment is from someone who hasn't commented on the site before and has one comment in moderation. The third comment is from someone who has commented 12 times before and has 3 additional comments in moderation.

    A screenshot of the ‘Comments’ admin page with the comment count appearing next to the commenter’s name. The most recent comment is from someone who has one approved commented on the site. The second comment is from someone who hasn’t commented on the site before and has one comment in moderation. The third comment is from someone who has commented 12 times before and has 3 additional comments in moderation.

  2. A screenshot of the 'Comments on POST TITLE' admin page with the comment count appearing next to the commenter's name.

    A screenshot of the ‘Comments on POST TITLE’ admin page with the comment count appearing next to the commenter’s name.

  3. A screenshot of the 'Activity' admin dashboard widget with the comment count appearing next to the commenter's name.

    A screenshot of the ‘Activity’ admin dashboard widget with the comment count appearing next to the commenter’s name.

  4. A screenshot of the 'Comments' metabox on the 'Edit Post' admin page with the comment count appearing next to the commenter's name.

    A screenshot of the ‘Comments’ metabox on the ‘Edit Post’ admin page with the comment count appearing next to the commenter’s name.

  5. A screenshot of the 'Comments' column added to the admin users listing.

    A screenshot of the ‘Comments’ column added to the admin users listing.

Installation

  1. Install via the built-in WordPress plugin installer. Or download and unzip admin-commenters-comments-count.zip inside the plugins directory for your site (typically wp-content/plugins/)
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress

Frequently Asked Questions

Q. Why would I want to see a count of how many comments someone made?
A. There are many reasons, some of which might include:

  • Quickly identify a first-time commenter
  • Quickly identify unfamiliar commenters that have in fact commented before
  • Quickly see how many total comments a particular commenter has made, and how many comments are pending
  • Easily navigate to a listing of all approved comments and all moderated comments by a commenter, in order to see what post and when they last commented (or first commented), get a feel for the nature of their comments, or find something they’ve said in the past

Q. How does the plugin know about all of the comments someone made to the site?
A. Commenters are identified by the email address they provided when making a comment. If commenters are allowed to omit providing an email address, then their name is used to identify them (though this is potentially less accurate).

Q. Why does it report someone as having less comments than I know they’ve actually made?
A. Since commenters are identified by the email address they provided when making a comment, if they supply an alternative email address for a comment, the plugin treats that email address as a separate person.

Q. How do I hide (or show) the “Comments” column in the listing of the admin Users page?
A. Click the “Screen Options” link in the upper-right of the page. It will slide down a form. Click (or unclick) the checkbox for “Comments” to show (or hide) the column.

Q. Does this plugin include unit tests?
A. Yes.

Release Log

1.9.2 (2019-12-07)

  • Fix: Correct typo in GitHub URL
  • Unit test:
    • Change: Update unit test install script and bootstrap to use latest WP unit test repo
    • Change: Update expected frontend output to include additional “ugc” (user generated content) value now included for rel="nofollow" attribute of commenter links
  • Change: Note compatibility through WP 5.3+
  • Change: Update copyright date (2020)

1.9.1 (2019-04-05)

  • Change: Initialize plugin on plugins_loaded action instead of on load
  • Change: Merge do_init() into init()
  • New: Add CHANGELOG.md file and move all but most recent changelog entries into it
  • Change: Unit tests: Specify hook priority when testing via has_filter()
  • Change: Note compatibility through WP 5.1+
  • Change: Update copyright date (2019)
  • Change: Update License URI to be HTTPS
  • Change: Split paragraph in README.md’s “Support” section into two

1.9 (2017-11-06)

  • Bugfix: Explicitly set comment count font color to avoid style conflict with Akismet that resulted in gray text on dark gray background
  • Bugfix: Disable Akismet’s version of the functionality since it is duplicative and interferes with author section layout
  • Change: Omit unnecessary wp_register_style() and instead provide all arguments to wp_enqueue_style()
  • Harden: Use ‘esc_like()` on the pingback/trackback URL prior to use in queries
  • Bugfix: Use proper existing variable when searching for other pingbacks/trackbacks
  • Change: Omit unnecessary appending of ‘%’ to author_url value in call to get_comments_count()
  • New: Add README.md
  • Change: Add GitHub link to readme
  • Change: Note compatibility through WP 4.9+
  • Change: Update copyright date (2018)
  • Change: Minor whitespace tweaks in unit test bootstrap

Copyright & Disclaimer

Copyright © 2009-2020 by Scott Reilly (aka coffee2code)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Discussion / Support

Have any questions, comments, or suggestions? Please provide them via the plugin’s WordPress.org support forum. I’ll do my best to reply in a timely fashion and help as best I can.

Unfortunately, I cannot provide guaranteed support, nor do I provide support via any other means.

Was this plugin useful useful to you? Consider giving it a rating. If you’re inclined to give it a poor rating, please first post to the support forum to give me a chance to address or explain the situation.

2 replies on “Admin Commenters Comments Count”

[…] Admin Commenters Comments Count •   Admin Expert Mode •   Admin Per Page Limits •   Admin Post Navigation •   Admin Trim Interface •   Allow Multiple Accounts •   array_partition •   Author Image(s) •   Auto-hyperlink URLs •   Blog Time •   Category Image(s) •   Commenter Emails •   Configure SMTP •   Custom Admin Post Listing •   Custom Fields For Anything •   Custom Post Limits •   Customizable Comment Listings •   Customizable Post Listings •   Disable Directory Listings •   Disable Search •   Dynamic Text Replace •   Easy Post-to-Post Links •   Expandable Dashboard Recent Comments •   Extra Sentence Space •   Get Custom Field Values •   Get Upcoming or Past Posts •   Get User Custom Field Values •   Hide Broken Shortcodes •   Hide/Cut Post Text •   HTML Special Characters Helper •   If File Exists •   Inject Query Posts •   Last Logins •   Linkify Authors •   Linkify Categories •   Linkify Post IDs •   Linkify Tags •   List More Custom Field Names •   Loop Post Navigation Links •   Never Moderate Registered Users •   No Update Nag •   Obfuscate E-mail •   Omit Passworded Posts From Search •   One Click Close Comments •   Parentless Categories •   Peer Categories •   Preserve Code Formatting •   Random File •   Restrict Usernames •   Reveal Template •   Safe Function Call •   Show Pending Comments Count •   Silent Publish •   Single Category Permalink •   Stealth Publish •   Stealth Update •   Text Hover •   Text Replace •   wpuntexturize […]

Leave a Reply

Your email address will not be published.