Ads not showing in footer

Discussion in 'Co-op Advertising Network' started by aacircle, Oct 14, 2006.

  1. #1
    Well, I've followed the instructions to the best of my ability, yet the ads do not show in the footer at www.aacircle.com.au/forums.

    My footer template includes the code exactly as:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_409.php');
    echo $ad_network;
    ?>

    I have uploaded both files and set the .txt file to 666. Have also included the required .htaccess line. But nothing...
     
    aacircle, Oct 14, 2006 IP
  2. shadav

    shadav Active Member

    Messages:
    92
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    #2
    [edit]

    Create a file named ad_network_409.php in the main directory of your forum
    so it would go under /public_html/(forum folder name)/

    Create an empty file named ad_network_ads_409.txt in the same directory.
    same as before >> /public_html/(forum folder name)/

    open /public_html/(forum folder name)/includes/page_tail.php
    find
    $template->pparse('overall_footer');
    Code (markup):
    before add
    include ($phpbb_root_path . 'ad_network_409.php');
    $template->assign_vars(array('AD_NETWORK' => $ad_network));
    Code (markup):
    save and close

    open /public_html/(forum folder name)/......whatever folder your templete files are in and open overall_footer.tpl
    add wherever you want it to be displayed {AD_NETWORK}
    save and close
    you now should have the ad(s) in your footer

    Once it's setup on your forum, request a validation of your site to get your ads into the rotation.
    http://www.digitalpoint.com/tools/ad-network/?action=validate_site
     
    shadav, Oct 14, 2006 IP
  3. aacircle

    aacircle Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    {AD_NETWORK} isn't mentioned anywhere in the setup instructions. Anyway, I have placed {AD_NETWORK} in the footer template right below echo $ad_network; but still nothing.
     
    aacircle, Oct 14, 2006 IP
  4. jackslounge

    jackslounge Peon

    Messages:
    434
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can only have 3 ads on a page - which you have. If you delete one of them, the footer one will work.
     
    jackslounge, Oct 14, 2006 IP
  5. aacircle

    aacircle Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Have removed 1 adsense ad. Now there are only 2. But the footer co-op ads still don't show. Is it perhaps because I have set it to show 5 text links in the co-op area?

    shadav, is YOUR lengthy description necessary? Just wondering why others aren't doing it this way by editing their page_tail.php file. Obviously the less changes I need to make the better. Just changing the footer template would be best.
     
    aacircle, Oct 14, 2006 IP
  6. aacircle

    aacircle Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Have also tried the instructions exactly as per outlined at Anime Online and again without success. Am truly stumbled... didn't think I was really that bad at following instructions.

    The ads do show instantly don't they? Our account has already been validated.
     
    aacircle, Oct 15, 2006 IP
  7. aacircle

    aacircle Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Finally got it working. Aparently the setup instructions have now changed and requires a plugin.
     
    aacircle, Oct 15, 2006 IP
  8. shadav

    shadav Active Member

    Messages:
    92
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    #8
    shadav, Oct 15, 2006 IP
  9. aacircle

    aacircle Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #9
    Thanks everyone for your help. Found out the problem. I was trying to setup the ads with the wrong setup information. If you go into your co-op account setup, you can nominate what type of site you have, eg: vbuletin, blog etc. Setup instructions do change depending on the selection you make here.

    Cheers and thanks again.
     
    aacircle, Oct 15, 2006 IP
  10. shadav

    shadav Active Member

    Messages:
    92
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    70
    #10
    ah wasn't aware of that fact...glad that it's up and running :) good luck
     
    shadav, Oct 15, 2006 IP