Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18942

    H all,

    can someone give me a recommendation which AD management tool might be the “best” or “optimal” to use wiith choices?

    Thanks in advance

    #101462

    I tried following plugin in the past: OIOpublisher and I really like it because it offers many useful features (like selling banners with different payment gateways, creating several ad zones, you can use it without wordpress, etc.). I didn’t test it with Choices though (I used Brightbox & Corona to test it). Another popular plugin is http://codecanyon.net/item/adpress-wordpress-ad-manager/1510785 however I didn’t test it and based on the description I’d say it’s not as good as OIOpublisher…

    #101463

    Many thanks for the recommendation Dude.

    In case you are an Affiliate, I’d buy it via your Affiliate-Link.

    Another question: How can I add an individual AD (or just a simple grafic) on top of a category?

    Has OIO that capability or do I need to tweak the code to achieve this?

    #101464

    Yes, you can add the oio ad zones to any php/template file. Have a look at the documentation here: http://forum.oiopublisher.com/discussion/520/customising-the-ad-manager/#Item_4

    Eg if you want to add a banner/ad zone to the archive page open up archive.php and search for following code:

    <div class='content <?php avia_layout_class( 'content' ); ?> units'>
    <?php

    You can insert your banner function below it like:

    <div class='content <?php avia_layout_class( 'content' ); ?> units'>
    <?php

    if(function_exists('oiopub_banner_zone')) {
    $zone_id = 1;
    $options = array( 'align' => "left", 'empty' => "-1" );
    oiopub_banner_zone($zone_id, $options);
    }

    and you just need to change the zone id (which can be different – it depends on the number of your zones, etc.) and your options.

    #101465

    Many Thanks Dude! Works like a charm.

    One problem is left,

    The banner is shown in the category-view, when I call the category link directly.

    Where it is not shown, is the frontpage, when I assign a category to the Widget [ blog ] under [ Choices Template Builder ] > Add Elements > Blog > Which categories should be used for the blog? > The target category

    Where do I have to place the add, that it appears there as well?

    #101466

    Open up includes/helper-templates.php and search for following code:

    echo "<div class='template-blog ".avia_layout_class( 'main' , false )." $extraClass'>";
    echo "<div class='content units ".avia_layout_class( 'content' , false )."'>";
    get_template_part( 'includes/loop', 'index');

    Add the banner code before the get_template_part() function like:

    echo "<div class='template-blog ".avia_layout_class( 'main' , false )." $extraClass'>";
    echo "<div class='content units ".avia_layout_class( 'content' , false )."'>";
    if(function_exists('oiopub_banner_zone')) {
    $zone_id = 1;
    $options = array( 'align' => "left", 'empty' => "-1" );
    oiopub_banner_zone($zone_id, $options);
    }
    get_template_part( 'includes/loop', 'index');

    #101467

    Great! That works perfect.

    The file to edit is <helper-template-dynamic.php> – just in case someone else want to tweak the frontpage.

    @Dude – Cheers, wonderful kind of support.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Which AD Management Tool recommened to use with Choices?’ is closed to new replies.