mikeage.net Logo
mikeage.net/2006/11/21/

mikeage.net @ כ"ב תמוז תשס"ח

Archive for א' כסלו תשס"ז - November 21, 2006

Whois Wordpress Plugin

א' כסלו תשס"ז - November 21, 2006

Yes, yet another WordPress plugin!

This one allows you to add additional "whois" servers to the listing shown in the comment display screen. It's also quite useful (as in my case) if you have a web gateway to search through logs, which I use to help block spammers.

The plugin comes with default entries to add APNIC, whois.ws, and LAPNIC searches, in addition to the default ARIN search. Simply add a path that can perform a whois query with the IP appended via the configuration screen to add a new query.

In order for the list to appear at all, you have to modify a few WP files (since I can't add a filter / action for this). Edit the files:

  • wp-admin/edit-comments.php
  • wp-admin/moderation.php
  • wp-content/plugins/akismet/akismet.php (only if you use the akismet plugin)

and add <?php if (function_exists('print_whois')) { print_whois(get_comment_author_IP()); } ?> right after the existing printing of comment_author_IP().

You can download Whois from the whois plugin section of the Software section.

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
New Images
Visitors
Clustermap
Blogroll

Valid XHTML 1.1!
Printer Friendly Page
 

Last Modified: September 04, 2006 @ 09:11 CST