Openx Hell – Upgrading to 2.8.7

Jun 3rd, 2011 | By

So I was finally forced to upgraded to 2.8.7 when my previous install was hacked thanks to a security vulnerability in 2.8.2.  I knew there was a reason I was holding off on this because when I cleaned out the hack and upgraded I was greeted with an infinite look between admin/index.php and admin/install.php.   Solving
[continue reading…]



Drupal Nightmare #1: Imagecache not generating thumbs

May 11th, 2011 | By

Holy good god almight this was a nightmare, the biggest problem i’ve had with drupal to date, a 13 hour marathon just to figure this beast out.. ugh.. So if you’re having troubles with Imagecache not properly generating thumbnails for you, it keeps on referring to directories like files/imagecache/presetName/ that dont’ exist then you might
[continue reading…]



Problems with Drupal Video Module

May 9th, 2011 | By

Well we just started uploading videos to a new Drupal installation and I was greeted by lovely 200 error messages that went something like this: 200 Stream not found, NetStream.Play.StreamNotFound, clip: I started doing a little investigating and noticed that when I went to my video admin transcoder setting page I was greeted by a
[continue reading…]



How to do a global search and replace within a DB across all Tables

Apr 19th, 2011 | By

As part of my take over the world campaign I’ve run into the need to automatically do a global Search and replace within a Mysql Database covering all tables.  For this you need a little php magic and luckily enough I found just that magic right here. I’ll save you the looking up time and
[continue reading…]



Is mogrify -crop creating a bunch of extra files for you?

Mar 26th, 2011 | By

So here you are minding your own businesses, trying to crop some images when mogrify decides to be a wise-guy and spit out a bunch of extra files.  You’re running a command like mogrify -crop 40×40 image.jpg and instead of the end result being a 40×40 image.jpg you have image-0.jpg and image-1.jpg with -0 being
[continue reading…]



Not all Javascript popup boxes are created equal

Mar 21st, 2011 | By

I was implementing a feature onto one of my networks today and needed to use a javascript popup box to bring up a booking table.  You know those cool boxes that darken the rest of the screen and popup a slick looking window?  Well I needed one and apparently they all such except the one
[continue reading…]



Deleting Duplicate Posts in WordPress

Mar 15th, 2011 | By

I ran into a little problem today where one of the programs I wrote to create blog posts was creating duplicates during one step of the process.  I haven’t quite figured out why it’s doing it yet however in the meantime I have used it to create and import about 25,000 blog posts and the
[continue reading…]



Importing 1000’s of posts, publishing 1000’s of drafts and mysql fun

Mar 10th, 2011 | By

Alright so for one of my side businesses I am using wordpress as a platform to create large directories for businesses to use to find other businesses.  It’s like a big ass yellow pages but for specific businesses.  Anyways part of the fun has been figuring out how to get 5000-6000 listings per city into
[continue reading…]



Yellow Pages Scraping & Extracting Service Available

Feb 24th, 2011 | By

For anyone who needs CSV’s created out of Yellow Pages categories please feel free to contact me and I would be glad to quickly and cheaply create a complete CSV of any business in any city in North America. If you are unsure of what this service means let me give you an example.  Let’s
[continue reading…]



Backup all mysql databases to individual files

Feb 16th, 2011 | By

Thanks go out to Sonia Hamilton, as her blog is where I found the original version of this script, however it did need a fair bit of tweaking to work properly in BSD so I went ahead and redid parts of it  as you can see below. This script will back up each of your
[continue reading…]