Ad problems

Status
Not open for further replies.

ThePhantom

New Member
Messages
26
Reaction score
0
Points
0
The ads aren't working. I tried to put it up and no images showed. It just shows part of the code.
 

tehpwner

Banned
Messages
612
Reaction score
0
Points
0
Yeah, Is this a PHP based website? If so then use the PHP ad code.
 

TheJeffsta

New Member
Messages
984
Reaction score
0
Points
0
You will find the php ad code in this .zip package.
 

Attachments

  • ads.zip
    1.9 KB · Views: 37

ThePhantom

New Member
Messages
26
Reaction score
0
Points
0
I tried it and it doesn't work.The php code just shows the text:


\n"; echo "\n"; echo " \n"; echo "\n"; echo "\n"; echo "



\n"; echo "Text Link(Advanced)

\n"; echo "\n"; echo " \n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; ?>

Which is the code.
 

tehpwner

Banned
Messages
612
Reaction score
0
Points
0
Ummmm, I don't know if you looked at your post, but it does display the ad.
 

oab

New Member
Messages
918
Reaction score
0
Points
0
how do you expect the banner to fit in that block? i dont understand, its going to mess up your whole layout if it works, and i dont understand y you are echoing so much... just use the html code indtead of php, or echo the whole thing in 1 echo..
 

oab

New Member
Messages
918
Reaction score
0
Points
0
for example:

PHP:
?>
<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>
<?
or
PHP:
echo "
<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>";

im pretty sure that will work... not positive though


oh yea and increase my rep if you like it, i need it.. :naughty:
 
Last edited:

darkuranium

New Member
Messages
168
Reaction score
0
Points
0
Had same problem, and I got e107 too.
Register at my site so I can PM ya. Don't worry, no email confirmation.

I'm Tim on my site, so oyu know who to PM after you're registered (i'll have to know your user somehow)

www.darkuranium.ath.cx

EDIT: Wanna affiliate perhaps? :)
 
Last edited:

motogawa

Member
Messages
306
Reaction score
0
Points
16
If your still experiencing this problem contact me via PM and I'll traoubleshoot you through the steps to fix this issue.
 

oab

New Member
Messages
918
Reaction score
0
Points
0
darkuranium said:
Here's the solution... I'll zip it and upload it to my site, ok?

It works (tested - check my site) with e107, but may even work with other php websites, with some changes, of course. Here's the link:
http://www.darkuranium.ath.cx/files/downloads/e107_ads.zip


It would be nice if you, tech team added this to ads download.

nice work! i wish someone would have done that for me with php nuke about a year ago.. lol
 
Last edited:
Status
Not open for further replies.
Top