Purchase OIOpublisher now for just $47.

Take control of your ad space.

Click here to purchase

    • CommentAuthorMoonworks
    • CommentTimeJun 23rd 2009
     

    Is there a way to remove the availability section showing up at all?

    I just don't need it, and it doesn't look right for what I'm using it for.

    Also, can I change the way the price is shown, so that it appears simply as, for example:

    Price: £285

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeJun 23rd 2009
     
    Project Admin

    You can remove availability from the specific purchase pages via the templates (eg. purchase_banners.tpl). For the pages which include a list of ads, you'll need to make some small edits in the "include/purchase.php" file.

    If you open that file and search for a function called "chart()" - there will be several of them, one for each ad type - where the list table is built.

    You'll need to remove the availability heading itself, which will look something like:

    <td width='100'><b># Available</b></td>

    You'll then need to remove the cell:

    $display .= "<td>" . $total_slots . "</td>";

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorMoonworks
    • CommentTimeJun 30th 2009
     

    It's in purchase_custom.tpl that I need to remove it.

    Whenver I try to remove any part of that section, it just gives me a blank white page below the header.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthormanagerads
    • CommentTimeApr 16th 2012
     

    Looking at this it's not very clear the edits required. How can one remove the 'AVAILABILITY' list which appears at the top of a single post? Thanks.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeApr 18th 2012 edited
     
    Project Admin

    How can one remove the 'AVAILABILITY' list which appears at the top of a single post?

    When you say single post, do you mean the purchase form for an ad?

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthormanagerads
    • CommentTimeApr 20th 2012
     

    See the attached image - basically occurs in a single post - is this what you call a purchase form?

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

    That's odd - the "availability" section is a WordPress widget. I'm not sure how it found it's way into your posts. OIO isn't setup to place widgets in posts (unless you've setup WordPress to do so?).

    My best guess would be someone has mistakenly added the function that calls the widget (oiopub_ad_slots) to your "single post" WordPress template, or injected it into the post using a WordPress filter (e.g. using another plugin).

    P.S. the original query from MoonWorks was something different, it didn't relate to widgets.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthormanagerads
    • CommentTimeApr 25th 2012
     

    Was the widget... thanks.

    Need help?  Quick start guide | Troubleshooting | All help topics
    • CommentAuthorSimon
    • CommentTimeApr 25th 2012
     
    Project Admin

    Thanks for letting me know.

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