Does anyone know how to add the Co-op to an Associate-o-matic site? There's a little bit in the control panel that allows html in the footer, for example, a link, but nothing happens when the <?php > code is inserted. Unfortunately, it isn't quite as simple as editing a template -- the application (associate-o-matic) is encrypted so it's impossible to get into the guts of it. Any help appreciated.
Inside Associate-O-Matic, PHP code can be executed only when it's found in external files that are included in the app. For example the Header/Footer settings on the control panel would allow you to include an external header and footer file. Inside these external files you can reference PHP and it will be executed inside AOM. What's not allowed is putting PHP code directly in the AOM settings themselves. I hope this helps.
I think I follow that, xandr, thank you. I'll give it a go and see if I can get it to work by calling and external html file with the php include wrapped inside it.
Adding the DigitalPoint Co-op to an Associate-o-matic site. Adding the code is fairly straightforwards. Register your site for the coop Generate the necessary files for the co-op. As well as the two required files for the co-op, you will need to create a file called, footer.html. Here's the entire code, including the php, for footer.html <html> <head> <title>Untitled Document</title> </head> <body> <p align="center"> Some ads: <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_132.php'); echo $ad_network; ?> </p> </body> </html> Code (markup): From within the Associate o Matic control panel, scroll down to Advanced Settings and add footer.html to the appropriate box (you may need to specify the full path to the file, depending on server configuration). Assuming you have followed the instructions for setting up the co-op, this should work no problem and you should be displaying ads. I'm not yet 100% sure it registers across the board for sitewide links but everything appears in order.