mikeage.net Logo
mikeage.net/tag/whois/

mikeage.net @ ז׳ אייר תשע״ח

Posts Tagged ‘Whois’

Whois WordPress Plugin

‍‍ל׳ מרחשון תשס״ז - Tuesday, November 21st, 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 +
Recent Images

Valid XHTML 1.1!
Printer Friendly Page
 

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

Memory(TRUE): 4194304/4194304
Memory(FALSE): 2978904/2988888