Skip to content

Category: Computers & Internet

Auto Future Post Date WordPress Plugin

Need a way to automatically schedule posts for X number of days past your current latest post?

WordPress publish box with Auto Future Date enabled

On another blog I write a handful of posts at a time and schedule them out over several days.  But I have to keep going back and forth to the post list to check dates.  This plugin adds a link to the new post page that will automatically set the date for the post you’re working on based on the last post on your site.  It’s a subtle little link.  Take a look at the screen shot to the right.  Notice where it says ‘Auto’ next to ‘Edit’. Clicking that will run an Ajax call that will get the next date.

Moving WordPress Plugins

A couple years ago I setup a website to let me play around with creating WordPress plugins and themes. Turns out it’s never gotten much traffic, so I’m going to start using this site instead. Shouldn’t really matter all that much other than the other site is just going to sort of wither away.

This post is also going to be the landing page for 301 redirects from the old site, so below are the links to the six plugins I’ve written so far so those of y’all that came through that redirect have a place to go.

Adsense vs. Amazon Affiliate and Omakase

Around the end of last year I started using OpenX to take care of ad serving on a couple of my sites. The intent was that I could switch things around much more quickly to see what’s working and what’s not.

Now that it’s been a few months I decided to go and look at one of my sites and see how AdSense and Amazon Affiliate ads compared. It wasn’t even close.

Quick Fix for OpenX Redirect Loop

tl:dr Version
Problem is caused by a cookie. Quick fix is to park a different subdomain on top of your OpenX domain and use that subdomain to access admin.

Full Version
Last week I installed OpenX on my server to use for an upcoming project. After getting it installed and setup admin-side, I went and made sure the zones looked right on the project site. Chrome gave me an error that it was in a redirect loop.

It appears this is a very common problem with forum threads all around. The cause is that OpenX uses the same cookie name for both ad viewer tracking and admin logins, a cookie named OAID. Since OpenX is open source I could have dug through the code and either figured out why it was redirecting or changed the cookie name. But I wasn’t really up to that.

Closest thing I found online to a solution was to either clear cookies between using the admin side and checking the production site, or to use two different browsers. Neither a really good solution.

Came up with a better, and much easier, solution.