Clicky

Welcome, Guest
Username Password: Remember me

Affiliate ad issue
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Affiliate ad issue

Affiliate ad issue 2 months, 4 weeks ago #24427

  • cdeniro
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
I am trying to use the following affiliate code but its not working

<script type="text/javascript">
  var zfBaseURL=(("https:"==document.location.protocol)
                 ? "https://sixformen.zferral.com/mjs/4/19859"
                 : "http://sixformen.zferral.com/mjs/4/19859");
  document.write(unescape("%3Cscript src=" + zfBaseURL
  + " type=\"text/javascript\"%3E%3C/script%3E"));
</script>
<noscript><a href="http://sixformen.zferral.com/l/4/19859" title=""><img src="http://sixformen.zferral.com/m/4" alt="" title="" style="border: none"   /></a></noscript>            


This what is displayed:
NaN type="text/javascript">

I noticed once I save the ad it changes the code to
<script type="text/javascript">
  var zfBaseURL=(("https:"==document.location.protocol)
                 ? "https://sixformen.zferral.com/mjs/4/19859"
                 : "http://sixformen.zferral.com/mjs/4/19859");
  document.write(unescape("%3Cscript src=" + zfBaseURL
  + " type=\"text/javascript\"%3E%3C/script%3E"));
</script>
<noscript><a href="ad_url" title=""><img src="http://sixformen.zferral.com/m/4" alt="" title="" style="border: none"   /></a></noscript> 
Last Edit: 2 months, 4 weeks ago by cdeniro.

Re: Affiliate ad issue 2 months, 4 weeks ago #24437

  • Ricardo
  • OFFLINE
  • Administrator
  • Posts: 6637
  • Karma: 27
Hi,
I tried to use the code you posted and it doesn't work even in a clean HTML file.
Are you sure it works?
Ricardo Corai
Moderator
www.planetacms.com

Re: Affiliate ad issue 2 months, 4 weeks ago #24443

  • cdeniro
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
You are right. It doesnt work in an article so must be something wrong in the script. I thought it was because it was getting changed when I saved it in AA.
Thanks
  • Page:
  • 1
Time to create page: 0.20 seconds