Re: Advertising
Posted by
Harvey on
Dec 19, 2012; 8:22pm
URL: https://support.nabble.com/Advertising-tp7582401p7582448.html
<override_macro name ="show_custom_ads" parameters="location" requires="servlet" >
<n.if.equal value1="[n.location/]" value2="widget">
<then>
<div class="ad">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-XXXXXXXXX";
/* Small-Square */
google_ad_slot = "XXXXXXX";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</then>
<else>
<n.if.regex_matches text="[n.location/]" pattern="(first_classic_message|last_classic_message)">
<then>
</then>
<else>
<div class="ad shaded-bg-color rounded" style="padding:.5em 0">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-XXXXXXXXXXXX";
/* Leaderboard */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</else>
</n.if.regex_matches>
</else>
</n.if.equal>
</override_macro>
This is what I see in there. Do I remove the code for the small square? It doesn't run in my forum any way.
HTTPS Please!