hi Guys, I just signed up for the co-op network yesterday, managed to get it all validated and online today. Im having a couple of problems though and would appreciate any help. 1) Im a complete .php noob and am wondering how to assign css classes to my co-op ad links. If you see on my page http://www.rcs.org.uk the text links look out of place. I just want to assign the same class to the co op ad links as the rest of my page - sorry for the noob question! 2) I have selected to display text ads only but for some reason I some times get the text and banner display... I just want the anchor text links and for some reason the text only ad setting isnt working. Any help would be appreciated. Thanks fellas....this is a great resource by the way. cheers, rushy
You need to clear out your ad_network_ads_xxx.txt file then resave it on the server. This will clear out all the banners that are being displayed.
When you create the ad_network_205.php (in setup instructions) make sure that the type to use combo is ‘Only Text Link’ you will also need to delete the contents of your ad_network_ads_205.txt to get rid of cached banner ads. With regards to CSS just put a <div> tag around the PHP code that generates the ads. HTH Edit: yfs1 beat me to it, this community is just too helpful
thanks!! I got point 2 sorted, great help, thanks chaps. As for my CSS, I still cant get it to apply the same class to my links as on the rest of the page. Im new to CSS too Actually Im new to all of this stuff!! If you could give me an example of how you applied your css style to your own ads that'd be a great help. Thanks again.
In your css file do something like .Ads a{ color:black; } Code (markup): then put a <div class = "Ads"> around the ad generating code.
Thanks, mate!! Its working fine now! Except for one thing : How do I get the text ads to appear on different lines? Great help guys... rushy
You'll be wanting me to write your site next Here goes: <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_205.php'); echo $ad_network[0] . "<br>"; echo $ad_network[1] . "<br>"; echo $ad_network[2] . "<br>"; // Spot the pattern ?> PHP: I'd recommend learning CSS and doing it that way but that's another thread. Rushy you owe me a beer
Thanks, Mate!!! I'll buy you a beer for sure... You've got an IOU on me, anything I can do. Cheers, bud.