OpenX email ads

Posted by scottk on August 6, 2009 in Sysadmin |

logo_openxI’ve been getting and instance of OpenX up and running starting yesterday morning and it’s look to be some pretty kick ass software. My gripe is that one of the major things I’m trying to tackle is a replacement for marking up email templates every time a new ad rolls in. OpenX has this capability but apparently it’s broken recently. I found this post in their forum. There’s a fix posted in the forum that works too. Here’s the guts of it:

Anyhow, you’re not supposed to edit this file directly, but if you need this fixed ASAP like we did, try opening up deliver/ck.php (note that we are on version 2.8.1) and adding the following at line 3174:

reset($zoneLinkedAds[‘lAds’]);

This is just before the line:

list($adId, $ad) = each($zoneLinkedAds[‘lAds’]);

in the function _getZoneAd(). This fixed the problem for us, though you might have to monkey around with it (carefully) a bit if this doesn’t work for you.

Tags: ,

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.