Biological Terro Alert
|
I just purchased the home addition of Artisteer and it looks great, but it has broken my advertising code. The code is fine and works great with normal templates, however when using an Artisteer template my AdBrite, Bidvertiser, and Infolinks code results in screens of nothing but ads.
Please fix this ASAP. The site is http://www.biologicalterroralert.com, I really don't want to remove Artisteer, but if it makes it impossible to run ad code then I want a refund since it does not make sense to use software that circumvents the primary purpose for creating a blogs in the first place.
|
|
Biological Terror Alert
|
Correction, Only in Firefox. Internet Explorer and Safari are just fine
|
|
arif
|
yes
i have same problems
anyone have solution ?
|
|
arif
|
i have problems in firefox
how to correction in firefox
please help me
|
|
Diego
|
Design > Edit HTML
you can search such lines:
if (widgetContent.indexOf('googlesyndication.com') > -1) return true;
if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true;
if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true;
each line - hack for one inline script.
you can add one more line for you scripts.
for example, if you have such script:
<script type="text/javascript" src="http://www.adbrite.com/script.js"></script>
you can add such line:
if (widgetContent.indexOf('adbrite.com/script.js') > -1) return true;
write if you have any questions
|
|
arif
|
thanks diego
i'll try it
|
|
arif
|
Quote Diego:
Design > Edit HTML
you can search such lines:
if (widgetContent.indexOf('googlesyndication.com') > -1) return true;
if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true;
if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true;
each line - hack for one inline script.
you can add one more line for you scripts.
for example, if you have such script:
<script type="text/javascript" src=" http://www.adbrite.com/script.js"></script>
you can add such line:
if (widgetContent.indexOf('adbrite.com/script.js') > -1) return true;
write if you have any questions
where to put this :
if (widgetContent.indexOf('adbrite.com/script.js') > -1) return true;
|
|
Diego
|
arif,
you should add your code after these lines:
if (widgetContent.indexOf('googlesyndication.com') > -1) return true;
if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true;
if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true;
BUT
the line
if (widgetContent.indexOf('adbrite.com/script.js') > -1) return true;
is just example!
the code from your sites may be doesn't contain "adbrite.com/script.js" text.
you should write there your own part of the link.
You can write here the js code of your ads, I will help you.
|
|
arif
|
this code for my ads
<!-- Begin: adBrite, Generated: 2011-05-12 12:40:44 -->
<script type="text/javascript">
var AdBrite_Title_Color = '0000FF';
var AdBrite_Text_Color = '000000';
var AdBrite_Background_Color = 'FFFFFF';
var AdBrite_Border_Color = 'CCCCCC';
var AdBrite_URL_Color = '008000';
try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==''?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe='';var AdBrite_Referrer='';}
</script>
<span style="white-space:nowrap;"><script type="text/javascript">document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(' src="http://ads.adbrite.com/mb/text_group.php?sid=1927658&zs=3732385f3930&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));</script>
<a target="_top" href="http://www.adbrite.com/mb/commerce/purchase_form.php?opid=1927658&afsid=1"><img src="http://files.adbrite.com/mb/images/adbrite-your-ad-here-leaderboard.gif" style="background-color:#CCCCCC;border:none;padding:0;margin:0;" alt="Your Ad Here" width="14" height="90" border="0" /></a></span>
<!-- End: adBrite -->
which should I choose ?
thanks before
|
|
Diego
|
arif,
you can use this line:
if (widgetContent.indexOf('http://www.adbrite.com/mb/commerce/purchase_form.php') > -1) return true;
just add this line after
if (widgetContent.indexOf('googlesyndication.com') > -1) return true;
if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true;
if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true;
|
|
arif
|
Quote Diego:
arif,
you can use this line:
if (widgetContent.indexOf('http://www.adbrite.com/mb/commerce/purchase_form.php') > -1) return true;
just add this line after
if (widgetContent.indexOf('googlesyndication.com') > -1) return true;
if (widgetContent.indexOf('statcounter.com/counter/counter_xhtml.js') > -1) return true;
if (widgetContent.indexOf('bravenet.com/counter/code.php') > -1) return true;
thanks diego
this work
once again thank you very much
|
|
arif
|
oh I forgot
why when I try to include the ad bidvertiser
always appear two, not one
|
|