Where to put the code? Quick help, Anyone experienced enough? PLEASE.

Discussion in 'Co-op Advertising Network' started by highhobbiescom, May 22, 2006.

  1. #1
    Where do i put the code to enter into the co-op. I have tried many times, how would the code be entered. I am running a php forum. (Not phpbb but still php.)

    Please insert the co-op code below and repost. Thank you so much for a great service and a great help.

    Here is the code i need entered:
    Here is the bottom of all my pages, and the footer all in one file for my template:


    Can anyone help?
     
    highhobbiescom, May 22, 2006 IP
  2. SaN-DeeP

    SaN-DeeP Well-Known Member

    Messages:
    590
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    140
    #2
    what forum software are you using ?
     
    SaN-DeeP, May 22, 2006 IP
  3. highhobbiescom

    highhobbiescom Peon

    Messages:
    392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    simple machines forum

    It is php
     
    highhobbiescom, May 22, 2006 IP
  4. lars

    lars Guest

    Messages:
    252
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    just på the

    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('http://www.wmnation.com/ad_network_264.php');
    echo $ad_network;

    anywere thats outside of an echo statement. perhaps at the very end
     
    lars, May 22, 2006 IP
  5. highhobbiescom

    highhobbiescom Peon

    Messages:
    392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    please place it in my code and i will try it, i have tried that already to no avail
     
    highhobbiescom, May 22, 2006 IP
  6. lars

    lars Guest

    Messages:
    252
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Perhaps this is not at all the place you should add the code, if your fourm is similar to phpbb you should have a folder called templates and inside the right template folder should there be a file called overall_footer.tpl or footer.php or something like that. I think it should work if you add the code there.
     
    lars, May 22, 2006 IP
  7. highhobbiescom

    highhobbiescom Peon

    Messages:
    392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    that file above is index.template.php in my forum software it contains header and footer. that file above IS in the template folder.

    thanks for help.. if you can..
     
    highhobbiescom, May 22, 2006 IP