New book on WordPress Theme Development: WordPress Themes In Depth
2006
Yearly Archive

Install Windows 98SE and Windows XP Pro on Sony Vaio PCG-F430

Recently, I had the opportunity to completely reformat the 5.58GB hard drive on my trusty Sony Vaio PCG-F430 laptop. During the process of reformatting, I decided to install both Windows 98 Second Edition and Windows XP Professional on a partitioned C drive. Additionally, I needed to establish a wireless connection to the local network. The entire process consumed around five hours and required plenty of research, analysis, and patience. Upon completion, the project proved quite beneficial, as I now enjoy the benefit of a Win-98(SE)/Win-XP(SP2) dual-boot, wirelessly networked laptop. This article outlines the entire process and will benefit anyone attempting […] Read more »

The Song of the Sibyl

An eternal king will come Dressed in our mortal flesh: He will come from heaven certainly To pass judgement on the century. Before judgement is passed A great sign will show itself: The sun will lose its shine The earth will tremble with fear. After will come mighty thunder A sign of great wrath: In an infernal confusion Lightning and cries will resound. A great fire will come down from heaven In a stink of sulphur And the earth will burn furiously And great terror will afflict people. After will come the terrible signal Of a great earthquake As rocks […] Read more »

Automatic Language Translation Methods

As you may have noticed, Perishable Press recently added automatic language translation to each of our articles. The free, automatic translations are available as a series of image links (via corresponding country flag icons) next to each article’s individual post view. We have found that providing this free service is important as many of our visitors come from countries other than the United States, and therefore may be unable to read our articles as presented in the English language. Although there are several excellent translation services currently available, our research has determined that Google’s free translation service exceeds our expectations […] Read more »

Chunks 101: Introduction to Chunkology

We are continually on the prowl for fresh chunks — whether it’s business or pleasure, day or night, scanning the immediate environment for tasty visual gems is a constant delight. Perhaps you find yourself lulling over tacky magazines at the dentist’s office, when suddenly — out of the corner of your eye — you notice it: a small triangular decal attached to the side of the waiting-room television warning people about something with an absolutely ridiculous icon to reinforce its message. Unlike the typical media fodder enslaving the likes of "People" and "Time", the TV warning chunk shows true character […] Read more »

Wild Bill Recommends: Top-Shelf Linkage

“Generative artifacts, graffiti archaeology, and interactive chaos, anyone?” — Wild Bill recommends these highly addictive, interactive websites for your personal entertainment, enjoyment, and enrichment: Gallery of Computation This site peeled my hat back. I am completely enamoured and will most likely spend vast amounts of time exploring the endless creative potential opened up through this remarkable online experience. The Gallery of Computation takes computer-generated graphical artifacts and algorithmic image processing to a distant universe. Infinite thanks to Jared Tarbell for sharing his inspiring world with us. Graffiti Archaeology Here is another fascinating website at which one could spend countless hours […] Read more »

Feed Tester

Ignore this post.. [Edit] Note to WP 2.0.5 users: Everything was working fine on this site before upgrading to WP 2.0.5. After upgrading, apparently, our feeds stopped validating* and the BDP RSS Aggregator plugin refused to update our own feeds. After several hours investigating the situation, we determined that the Live Comment Preview plugin was interfering with our feeds validating, while the upgraded WordPress (2.0.5) was responsible for problems with the BDP plugin. Here is a copy of our recent comment posted at the BDP plugin website: Comment by m0n on Wednesday 6 December 2006 at 4:28 am I was […] Read more »

Auto-Focus Form Elements with JavaScript

After digging through the WordPress source code, I stumbled upon this very useful JavaScript method for auto-focusing form elements upon page load. Here is the JavaScript code (place within the document head): <script type=”text/javascript”> function formfocus() { document.getElementById(‘element’).focus(); } window.onload = formfocus; </script> …and corresponding (X)HTML markup (abbreviated for clarity): <form> <input id=”element” /> <input /> <input /> </form> In this example, the first form element (identified by id=”element”) will be automatically focused when the document loads, thus facilitating the process of entering data in the form. This technique would serve users well on login pages (wink, wink;), or anywhere […] Read more »

Roll your own Apache Rewrite Log

Roll your own Apache Rewrite log! Rocking your own rewrite log is super-helpful for testing .htaccess rewrite rules, WordPress permalinks, etc. For more information, check the source. Rewrite log via http.conf Twist one up via the Apache configuration file by placing this code at the foot of your http.conf (remember to edit the path): # Roll your own Rewrite log # Log details via scale of 1 to 9 # 1 = few details, 5 = enough details, 9 = too much detail RewriteEngine On RewriteLog “/absolute/path/to/your/wwwroot/public_html/rewrite.log” RewriteLogLevel 5 via htaccess ..doesn’t work. Example Here is an example indicating the […] Read more »

Launch Multiple Programs with One Click

Speed up your workflow by launching your favorite programs in one click using batch (.bat) files: Create a folder and add shortcuts to your favorite programs. Rename the shortcuts so that each consists of a single word. Create a text file and change the name to something.bat. Right-click on the .bat ("batch") file and select "Edit". Emulate the following template according to your specific programs. rem comments should begin with rem rem note: this file launches all of my favorite apps! rem note: replace the names below with your own.. @echo off start %SystemRoot%\system32\cmd.exe start firefox http://google.com/ start dreamweaver start […] Read more »

Time Test

This post exists entirely for the sake of tweaking time functionality in Apache, PHP, SQL, and WordPress.. Immediate findings: Date/time limit into the past for WordPress: December 13, 1901 @ 15:45 WordPress will display December 13, 1901 @ 15:45 properly for all functions except wp_get_archives All dates prior to 12/13/1901 in MySQL will display as December 31, 1969 @ 19:00 in the WP Admin > Post Timestamp panel SQL timestamps of 0000-00-00 00:00:00 display as 0 via $wpdb->get_col(“SELECT DISTINCT YEAR SQL timestamps of 0000-00-00 00:00:00 display link as the current year when permalinks are enabled An SQL timestamp of 1000-00-00 […] Read more »

Perishable Press Triple Loop for WordPress

Two of the themes developed by Perishable Press, Apathy and Information, depend on three WordPress loops to operate as intended. For each of these themes, the three loops consist of two "side" loops and one main loop. The side loops each display posts from one specific category, while the main loop displays posts from every category not specified in the side loops. There are many different multi-loop configurations currently available for WordPress users. Needless to say, despite a wide variety of available loop setups, implementing a customized multiple loop frequently requires a great deal of time of energy. Certain loop […] Read more »

WordPress on Crack: Tips for Faster Post Publishing

Apparently, article posting is painfully slow on 2-ish versions of WordPress. Indeed, we finally got tired of waiting several minutes every time we published, saved, or edited a post. After a bit of research, reading through countless complaints and suggested remedies, several key methods began to emerge. And, after taking the time to implement them, we have definitely enjoyed an substantial decrease in time required to publish, save, or edit posts. Please note that everyone’s site is configured differently. These are the tricks that helped us to speed up publishing, but they may not have the same effect for everyone. […] Read more »

Block Spam by Denying Access to No-Referrer Requests

What we have here is an excellent method for preventing a great deal of blog spam. With a few strategic lines placed in your htaccess file, you can prevent spambots from dropping spam bombs by denying access to all requests that do not originate from your domain. How does it work? Well, when a legitimate user (i.e., not a robot, etc.) decides to leave a comment on your blog, they have (hopefully) read the article for which they wish to leave a comment, and have subsequently loaded your blog’s comment template (e.g., comments.php), which is most likely located within the […] Read more »

Add RSS Feed Link Icons to WordPress Category Listings

This brief tutorial explains two methods for adding RSS feed link icons to category listings. Let’s say that you have a list of category links, where each link targets a specific category view. Now let’s say that, next to each category link, you would like to provide a icon that links to that particular category’s syndicated feed. So, rather than cluttering up your page with two sets of category links — one for category views and another for category feeds — consolidate links and simplify your site by providing both sets of links in a logical, streamlined format. Method One: […] Read more »

Counterfeit Slifer Yu-Gi-Oh Card

Recently, my son traded three common Yu-Gi-Oh cards for the coveted Slifer god card. He was very excited, thinking he worked the deal of a lifetime. Indeed, Slifer cards sell for around $35.00 apiece, depending on the dealer. Nonetheless, trading three worthless cards for a Slifer god card seemed like a phenomenal deal.. What we discovered next nearly dropped us to the floor — the Slifer card was a counterfeit! Within moments of checking it out, Mom immediately recognized the unusual coloring, odd syntax, and heavy gloss on the card. Upon closer examination, many errors were discovered — spelling mistakes, […] Read more »

Latest Tweets Plugin update! User Submitted Posts now w/ better performance, custom form templates and 14 new action/filter hooks: bit.ly/1CBVbPL