Help: Ad Banner Not Showing

Status
Not open for further replies.

MtNcom

New Member
Messages
34
Reaction score
0
Points
0
My account plan is Corp, and so a "Forced Ads" is required on my site.

The problem is, I don't know how to add the code to my site. I tried to "copy-and-paste" the code:

Code:
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random); document.write ("&amp;what=zone:1&amp;target=_blank"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>

..but it's not showing up. I tried the PHP code, but it doesn't work either. Can anybody help before I lose my account? Thank you.

My site is:
http://www.mt-n.com
 

ed2k3

New Member
Messages
36
Reaction score
0
Points
0
The solution for your problem may be pinned in this forum.

Read this and download de ad package.

ed.
 

Madaz_Rx8

New Member
Messages
8
Reaction score
0
Points
0
can u pls check the source on this site

http://xsteam.x10hosting.com/index.php

and let me know that ive coded it correct

Thank-you...

whilst i know it shows adds i was expecting sum referance to x10

or is that all behind the scences

thx

/edit is it requested to be active in the forums to keep our hosting as i didnt read this any wheres but it might of been over looked
 
Last edited:

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
the ads are showing just that google ads now rotate with x10 ads..

here is the php version for x10 corp..

PHP:
echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&what=zone:1&target=_blank\");\n";
echo "document.write (\"&exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>\n";

i got it from Richard 4 months back..
 
Last edited:

MtNcom

New Member
Messages
34
Reaction score
0
Points
0
That did not work:

http://www.mt-n.com/Php_Ad_Codes_2.php


Here's the code:
PHP:
<?php

echo "Large Banner (Corporate)<br><br>\n";

echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&amp;what=zone:1&amp;target=_blank\");\n";
echo "document.write (\"&amp;exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&amp;referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>\n";

echo "<br><br><br><br>\n";





echo "Text Link(Advanced)<br><br>\n";

echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&amp;what=zone:3&amp;target=_blank\");\n";
echo "document.write (\"&amp;exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&amp;referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788' border='0' alt=''></a></noscript>\n";
echo "\n";
echo "\n";




echo "<br><br><br><br>\n";
//***Second Attempt***
echo "Large Banner (Corporate)  ---  (Second Attempt)<br><br>\n";


 echo "<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>\n";
echo "<script language='JavaScript' type='text/javascript'>\n";
echo "<!--\n";
echo "if (!document.phpAds_used) document.phpAds_used = ',';\n";
echo "phpAds_random = new String (Math.random());\n";
echo "phpAds_random = phpAds_random.substring(2,11);\n";
echo "document.write (\"<\" + \"script language='JavaScript' type='text/javascript' src='\");\n";
echo "document.write (\"http://x10hosting.com/advert/adjs.php?n=\" + phpAds_random);\n";
echo "document.write (\"&what=zone:1&target=_blank\");\n";
echo "document.write (\"&exclude=\" + document.phpAds_used);\n";
echo "if (document.referrer)\n";
echo "document.write (\"&referer=\" + escape(document.referrer));\n";
echo "document.write (\"'><\" + \"/script>\");\n";
echo "//-->\n";
echo "</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&n=a7fb3e9d' border='0' alt=''></a></noscript>\n"; 
?>
 

MtNcom

New Member
Messages
34
Reaction score
0
Points
0
It works now. I found out that if you use FireFox as your browser, then the ad banner will not show up, but howver, if you Internet Explorer, then you will see the Ad Banner.
 
Last edited:

hitman

New Member
Messages
58
Reaction score
0
Points
0
it doenst matter what you use, if it didnt work in firefox that would be the stupidest thing ive heard of, i use firefox, www.gamingaddix.com look at it, it loads under any browser, just take my source code
 

MtNcom

New Member
Messages
34
Reaction score
0
Points
0
Your pages:


FireFox v1.06:
pagewithff9oz.jpg




Internet Explorer v6.0:
pagewithie8kr.jpg
 
Status
Not open for further replies.
Top