Installation Problem with Movable Type and MTIncludePlus

Discussion in 'Co-op Advertising Network' started by merrick, Dec 8, 2004.

  1. #1
    Hi,

    my site is having problems displaying the ad_network.php file via MTIncludePlus - MT 2.6.6.1. I have setup the file fine on the rest of the site that is not powered by Movable Type and it works fine. I can include a text file via the MTIncludePlus tag and have the contents of that file show up on the blog, but the network ads just don't show up on the blog portion of the site powered by Movable Type - seems like it is not interpretting the php.

    My code is as follows:

    <MTIncludeURL timeout="10">http://www.mysite.com/ad_network.php</MTIncludeURL>

    Anyone else had this problem, or have any ideas on how to solve it?

    Thanks.
     
    merrick, Dec 8, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    The ad_network.php file is slightly different for a moveable type setup (basically so it echos the ad out on the request). Generate a 2nd ad_network.php file from the Moveable Type setup instructions and name it ad_network2.php and reference that one from the Moveable Type plug-in and you should be fine (both files can use the same ad_network_ads.txt file).
     
    digitalpoint, Dec 8, 2004 IP
  3. merrick

    merrick Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, I should have thought of that. I knew that was the case initially - hence the separate setups but forgot in the process.
     
    merrick, Dec 8, 2004 IP