Cold Fusion Port Supporting Multiple Ads

Discussion in 'Co-op Advertising Network' started by Nitin M, Oct 19, 2004.

  1. #1
    I updated my cold fusion version of the ad network code to support serving up multiple ads.

    The 2nd line sets a default value for l_number_of_ads to 5 ... if you are using the ad_network.cfm page on a single site or are using the same file for multiple sites, then just change the value directly in this file.

    If you are running multiple sites from the same ad_network.cfm file but want a different number of ads on different sites, then define l_number_of_ads to the value you want just before cfinclude'ing the ad_network.cfm file. This will override the value defined in the file.

    Feel free to PM or Post any q's here...

    NOTE: File upload will not take a .cfm so the file is uploaded as ad_network.cfm.txt ... save it as ad_network.cfm.
     
    Nitin M, Oct 19, 2004 IP
  2. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Thank you!!!!!
     
    SEbasic, Oct 19, 2004 IP
  3. H-Man

    H-Man Peon

    Messages:
    172
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I am using this tag, but my site will not get validated. Is there a new one? Any ideas what the validation is looking for?
     
    H-Man, Dec 29, 2004 IP
  4. amaze

    amaze Active Member

    Messages:
    594
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Any update to this?!
     
    amaze, Jan 8, 2005 IP