Free one month ads space, if help me to setup coop ads.

Discussion in 'Co-op Advertising Network' started by 2003m2003, Apr 27, 2005.

  1. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #21
    If I set the ad-network stuff as a variable then call it in the include will that work do you think? (I'm running out of ideas).
     
    SEbasic, Apr 28, 2005 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #22
    No. You'll have to find a real .php file where the $ad_network can be set. Then you'll have to add that somehow (like I and 2003 did) to an existing 'script variable' ([copyright] for instance).

    OR:

    Split the whole site in iframes to make it easy. Not sure what the side-effects of that could be.
     
    T0PS3O, Apr 28, 2005 IP
  3. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #23
    OK... I'll give that a try...

    (I'm crap at php) So does that mean I can use any of the existing php files to set the variable then call it from there?
     
    SEbasic, Apr 28, 2005 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #24
    Best to find one like functions.php or similar. What sort of script do you have?

    Easiest is to find another variable that is outputted sitewide already like a copyright notice or a navigational structure. Then simple find in the .php file the variable and use .= $ad_network to add that to it (plus some spacing etc.).
     
    T0PS3O, Apr 28, 2005 IP
  5. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Erm... OK...
    Haha.. *Woosh* [over head]

    It's on the miniBB script at softalien...
    I think get what you mean...
    I'll give it a shot....
     
    SEbasic, Apr 28, 2005 IP