mikeage.net Logo
mikeage.net/tag/wordpress/page/2/

mikeage.net @ ב׳ תמוז תשע״ז

Posts Tagged ‘Wordpress’

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.

Hebrew Date v1.0.1

‍‍י״ד מרחשון תשס״ז - Sunday, November 5th, 2006

Based on an idea I "borrowed" from Jacob Fresco, I've added the ability to insert the current Hebrew Date (with sunset correction!) anywhere in a theme.

Simply add <?php if (function_exists('hebrewDateCurrent')) { hebrewDateCurrent();} ?> to a theme.

The code can be downloaded Hebrew Dates release page under the Software section.

The code needs some major cleanup, but not today...

Hebrew Date 1.0.0 Released

‍‍י״ב מרחשון תשס״ז - Thursday, November 2nd, 2006

As you may have seen earlier, I'd picked up development of the Hebrew Date plugin from KosherJava. Today, I'm officially releasing version 1.0.0. Much of the logic is rewritten, but most of the credit goes to KosherJava!

To install, download the plugin (from here),activate, and enjoy!

There are lots of fun config options under the options tab. Specifically, in order to use the sunset correction (evening dates will have the correct Hebrew date), you need to provide a latitude and longitude.

Please note that this code has only been tested on WP 2.0+. It may work on 1.5, but I'm not sure.

Even more changes to Hebrew Dates!

‍‍א׳ מרחשון תשס״ז - Monday, October 23rd, 2006

Latest changes:

  • Lots of code cleanup.
  • Easier to add languages (I'd like to add an academic spelling as well)
  • Support for full names (Marcheshvan, Menachem Av)
  • XHTML 1.1 compliant! (span rtl)

Screenshot of the current configuration page:
Configuration Page

More Hebrew Dates Updates

‍‍א׳ מרחשון תשס״ז - Monday, October 23rd, 2006

I've added a few more things to the Hebrew Dates plugin patches I mentioned earlier.
(more…)

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

Valid XHTML 1.1!
Printer Friendly Page
 

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

Memory(TRUE): 2097152/2097152
Memory(FALSE): 1811744/1821288