coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: roflberryfarms on April 06, 2012, 04:29:34 AM

Title: Cant implement popup and popunder code
Post by: roflberryfarms on April 06, 2012, 04:29:34 AM
Hello all. So I am trying to implement some popup and pounder code on my site. First I tried downloading and installing this --> http://forum.coppermine-gallery.net/index.php/topic,31166.html but it gave me an error and wouldn't work. So then I tried just installing my code by putting it in the custom header and or footer includes. But that won't work either for some reason or another. Can anybody help me out? Heres the code I'm trying to implement

<script type="text/javascript">
//default pop-under house ad url
infinityads_enable_pop = true;
infinityads_adhere_opt='left';
infinityads_frequencyCap =-1;
durl = '';
infinityads_layer_border_color = '';
infinityads_layer_ad_bg = '';
infinityads_layer_ad_link_color = '';
infinityads_layer_ad_text_color = '';
infinityads_text_link_bg = '';
infinityads_text_link_color = '';
infinityads_enable_text_link = true;
</script>
<script type="text/javascript" src="http://ads.lzjl.com/newServing/showAd.php?nid=5&pid=26712&adtype=&sid=46191"></script> <noscript><a href="http://www.yesads.com">online marketing</a></noscript>
Title: Re: Cant implement popup and popunder code
Post by: ΑndrĂ© on April 06, 2012, 11:30:58 AM
Where do you want to display your ads?
Title: Re: Cant implement popup and popunder code
Post by: roflberryfarms on April 07, 2012, 12:31:42 AM
They are popup and pounder ads so it doesn't matter where they are placed. They should just come up on the screen no matter where the code is
Title: Re: Cant implement popup and popunder code
Post by: ΑndrĂ© on April 07, 2012, 04:24:16 PM
Adding the code to your theme's template.html file should work.
Title: Re: Cant implement popup and popunder code
Post by: roflberryfarms on April 07, 2012, 09:31:50 PM
Thanks Andre