Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthormichaelra
    • CommentTimeAug 14th 2008
     

    Just wondering whether OIOPublisher will automatically set an ad to be expired when it is expired or whether we have to manually set the "Mark expire" ?

    The reason being one of my sponsor's ad has expired yesterday but it's still showing on my blog and still marked "Approved"

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 14th 2008 edited
     
    Project Admin

    It should expire automatically, using the Wordpress cron system (it only fires once per day however).

    Which version of OIOpublisher and Wordpress are you using? Could you also let me know the particular settings for the ad (eg. ad type, ad duration).

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthormichaelra
    • CommentTimeAug 14th 2008
     

    Hm..thought so too.
    I'm using OIOPublisher WordPress plug-in v1.62.
    The ad is a banner, duration for 1 month:
    Start: Mon 14 July 2008
    End: Wed 13 August 2008

    I'm using the WP-SuperCache (caching) plug-in. It's already been refreshed but my hunch is when a cron job occured to set is as expired, the cache prevented it or something. I'm ok if you want me to upgrade to OIO Beta 2

    Should I just mark it as expired manually?

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 14th 2008
     
    Project Admin

    Yes, it would probably be best to mark it as expired manually.

    WP-cache plugins can be a blessing and a curse, but it still shouldn't have stopped the cron from firing indefinitely. I'll run some tests when I can on v1.62 just to check there aren't any problems with the expiration function.

    The new beta does use it's own cron system, but I'm not sure what difference it would make (could depend on whether it is called before WP-cache). Don't let that put you off trying it out though (just make sure the database is backed up first). ;)

    Need help?  Quick start guide | Troubleshooting | All help topics
  1.  

    I have the same problem: ads expired but still showing. I guess in my case it has to do with the fact I'm using Wordpress on a IIS Server (Win2003) and probably the cron jobs aren't triggered at all. Would you set up a module to manually trigger the expiry of ads everytime an admin logs in to WP?

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 21st 2008 edited
     
    Project Admin

    You could try something like this:

    1.) Open the plugin index.php file

    2.) At the bottom of it, add the following code:

    if(is_admin()) {
    if(!isset($_GET['page'])) {
    $oiopub_cron->purchase_expire();
    }
    }

    That would then run the cron check manually each time you went to the admin home page.

    Need help?  Quick start guide | Troubleshooting | All help topics
  2.  

    Thanks Simon, I'll try and see.

    If that doesn't work I'll send my ninjas after you :)

    (just kiding about the ninjas)

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeAug 22nd 2008
     
    Project Admin

    Better hope it works then. :P

    Need help?  Quick start guide | Troubleshooting | All help topics