WordPress Top Commentators Widget v.1.4

If you have issues with the latest update (v.1.4), keep those feedback coming; please add them in the comments section below. I am currently working on the fix as of this moment.

The latest version is up at WP.org’s plugin repository. As mentioned in the README file:

  1. Added the Award option which will display image or icon of a medal/badge once a commentator reaches a certain number of comments determined by blog owner.
  2. Modified the form to allow default values to be entered automatically when initialized (i.e. widget’s Save button is pressed).
  3. Added support for setting default Gravatars to 404, Mystery Man, Identicons, MonsterIDs or Wavatars.
  4. Repaired the query statement for filtering e-mails.


Thanks to Konsti for the award/gaming suggestion. For now it only takes into account a single range. Hopefully in the future the widget can scan based on how active a commentator is, then award these users based on different levels of comments contributed.

Change number 2 is mainly for those who’ve complained that the top commentators wasn’t showing even after the widget is installed. Remember to go to the Widgets option, add the TCW in, and click the Save button to initialize its values. The widget won’t display anything if you do not press the Save button and get those default values entered into your WordPress options database.

A year ago, user iferg requested that the TCW supports other default Gravatars like Identicons, MonsterIDs and Wavatars. I finally had a chance to read up on this, and added that option into this widget.

Last, but not least, user ostin654 contributed a fix to the e-mail filtering bug, so I really appreciate that!

If you would like me to keep updating this WordPress plugin, I would like to ask just one thing from you – if you have a bug and/or a fix to report, or if you have modified the codes in any way that would benefit the TCW users, please share it with us. I’ll be sure to credit you and add those modifications in the next update. This would be the best way to continue making Top Commentators Widget useful and fun to use.

Please skip the rest of my post below; these are just notes to self so that I’ll remember how to update the TCW repo next time.

For new projects (Updated for version 1.7 on 17/12/2012)

  1. Create a new folder in your computer.
  2. Download and install TortoiseSVN.
  3. Right-click on the new folder and select SVN Checkout.
  4. Set the SVN repository URL and click OK.

To edit code

Change the stuff under the Trunk folder within the new folder you created.

To update code

Right-click on the new folder or the Trunk folder itself, and select SVN Commit to check the files in. Add in the message “Version #.#” in the message section.

To tag code

  1. Create a new folder within the Tags folder, naming it with the same version number as your current HEAD/trunk.
  2. Copy all files in Trunk and paste it in the Tags folder with the version number.
  3. Right-click on the Tags folder and select SVN Commit.
  4. Add in the message “Tagging version #.#” in the message section for housekeeping purposes.

Comments are closed.