Rule One: don’t lose money. Rule Two: don’t forget Rule One.

July 7th, 2008

HTTP Error Wordpress 2.5 Image Upload on Hostgator

So after you sign up for a Hostgator account and use the code ‘JURY’ to get your first month for a penny, you go install the latest version of Wordpress and find that you have an issue with the image upload feature.  Here’s how you fix that.

Open your favorite FTP client and download the .htaccess file in your www/ folder.  Open that in your favorite text editor (don’t have one - try Crimson Editor) and add the following to the very bottom of the file.

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

That should be the solution if you have an HTTP errror with Wordpress 2.5 on Hostgator. Now enjoy the awesomeness of multiple image file uploads!

July 7th, 2008

Installing Wordpress MU on Hostgator

Here are the steps to install Wordpress MU on a Hostgator account.

First, go get yourself an account at Hostgator.  Use code “jury” and get your first month for a penny.  Go.

Now go download Wordpress MU.

Follow steps 1 - 5 of this tutorial.

Step 6: Configure your wildcard DNS.

Here’s where you are stuck with a standard hosting package w/ Hostgator.

Go to tickets.hostgator.com and submit a ticket - get creative or paste the following (using ruleoneblog.com as an example - obviously change to yours):

Subject: Wildcard DNS

Please add a wildcard DNS entry for ruleoneblog.com

Domain: *.ruleoneblog.com

TTL: 14400

Record: A

*.ruleoneblog.com should be added to httpd.conf as a ServerAlias

I’m installing Wordpress MU.

The following link shows the necessary DNS entry and the addition to httpd.conf with Step 6.
http://www.blogopreneur.com/2006/11/06/installing-wordpress-mu-on-a-cpanelwhm-server/

Thanks!

Hostgator will update the ticket asking for a confirmation (either paypal confirmation number or four digits of you credit card) since you’re making domain changes.  Fire it back to them and as soon as the ticket comes up in their rotation (roughly an hour has been my experience) you’ll be hosting a multiblog site.

The last time that I set up Wordpress MU on a Hostgator account, I fired off the ticket before I even started the Wordpress MU installation - that way when I did steps 1 - 5 of the tutorial, I was live right out the shoot.

July 7th, 2008

phpBay: enlarge clickable zone

Lots of people talking about phpBay sites lately. If you use the “column” view in the latest version of phpBay Pro, you might find the following code snippet helpful. This should make the entire table cell displaying an aution item clickable (even better in my opinion than just the image/title).

The idea is that there is a color change when the cursor enters the region - that should signify an event change, but it doesn’t as it’s currently coded - unless you keep moving to the clickable links (title or title/image) w/in the cell. This snippet makes the whole cell clickable via javascript. If your visitor has a script blocker, then the image and title become links and there is no color change.

Upload the file below via FTP to your hosting provider in the wp-content/plugins/phpBay/templates/ folder (assuming you have the phpBay Pro zip file still - if not, back up your file first by saving it locally or renaming it on your web host - but, seriously, where’s your zip file?).

File: template.column.results.html (right click, save as)

July 7th, 2008

Page Peel

This is so 2006 - but it might be effective for your site. It’s a FREE plugin for Wordpress that creates a page peel (magic corner, etc.).

Here’s a photoshop template that makes designing for the peel easier. I prefer the peel in the right corner, but to each their own.

File: peeltemplate.zip