Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthoralldiva
    • CommentTimeFeb 16th 2008
     

    I am using the newest version and having a few problems.

    I have 4 banner zones setup for two different ad sizes with two different frequencies (i.e.- banner size 1 30 days, banner size 1 365 days)

    I put this code in and nothing shows up (yes I have default banners setup)

    <?php
    if(function_exists('oiopub_banner_output')) {
    oiopub_banner_output('', $zone);
    }
    ?>

    Where do I put the zone number so it shows up in the right spot? Do I put it in between '' or do I take out $zone and put it there? An example would be most appreciated.

    Right now, the only way I can get it to work is to use the code from my site that I haven't updated yet which is <?php
    if(function_exists('oiopub_banner_output')) {
    echo oiopub_banner_output();
    }
    ?>

    Still, it's not quite working with the different zones.

    So I guess my questions are; what code should I be using, where exactly do I put the zone code, and is there a way to have 2 zones show up in one place or do I have to paste the code twice; once for the 30 days and the other for the yearly?

    Hope I'm making sense.

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

    Just replace $zone with the appropriate zone number. The below example would initiate Zone 3:

    <?php
    if(function_exists('oiopub_banner_output')) {
    oiopub_banner_output('', 3);
    }
    ?>

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