Getting coop installed on phpbb archives?

Discussion in 'Co-op Advertising Network' started by jim, Apr 2, 2005.

  1. #1
    jim, Apr 2, 2005 IP
  2. Will.Spencer

    Will.Spencer NetBuilder

    Messages:
    14,789
    Likes Received:
    1,040
    Best Answers:
    0
    Trophy Points:
    375
    #2
    Put the coop links in <NAME_OF_THE_FORUM_DIRECTORY>/templates/subSilver/overall_footer.tpl
     
    Will.Spencer, Apr 2, 2005 IP
  3. Dastar

    Dastar Active Member

    Messages:
    391
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    88
    #3
    Remember to include the correct code in your page tails file as well that's in your archive. I am using the same archiver you are. The archiver has it's own pagetail file in the includes directory.

    forums/includes/archive


    Add the following to your includes/page_tail.php file (before the $template->pparse('overall_footer'); line):

    include ($phpbb_root_path . 'ad_network_215.php');
    $template->assign_vars(array('AD_NETWORK' => $ad_network));



    It also shouldn't be hard for your archiver to have the same look as the rest of your site. I was able to place my forum archive in the site template pretty easily. I *think* you just have to replace the template files in the archiver directory, but it was last year when I install that archiver, so I am not sure.
     
    Dastar, Apr 3, 2005 IP
  4. Dastar

    Dastar Active Member

    Messages:
    391
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    88
    #4
    Now that I have some more time (and to be as thorough as possible), the file pathways you need to add code to will be located at (roughly):

    forums/includes/archive/archive_page_tail.php

    and

    forums/templates/phpBBSEI/archive/overall_header.tpl

    That should be it. Just include the same co-op setup code in those files as you did for the regular page tail and overall_header files.
     
    Dastar, Apr 3, 2005 IP
  5. jim

    jim Well-Known Member

    Messages:
    816
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    153
    #5
    Thank you for the response. I did put my code in the archive_page_tail file but I didn't use #215 I used the same number as the one in my normal page_tail. Was that correct?

    Anyway it seems to work. I noticed there was something called simple footer also. I don't ahve to do anything there right? Thanks again!
     
    jim, Apr 4, 2005 IP