I am at a loss. I tried it when I first installed the directory, couldnt figure it out. Trying it again, still cant figure it out Somebody please give me some advice on where to put the code.
Ok, in footer.tpl I have: {php} ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_###.php'); echo ; {/php} PHP: Let me know if that is not enough info.
not working for me I have the code you provided placed just below the phplinkdirectory link. (with the appropriate version in place of ###) I have also placed the adnetwork .php and .txt files in the directory root. I have not placed any other files anywhere else.
If anyone else has stumbled upon this thread, you might want to try explicitly setting the path. E.G. include '/home/domain/folder1/folder2/include/ad_network_xxx.php'; I also had to modify my ad_network_218.php file to explicity set the path for the ad_network_xxx.txt file.