HELP ME OUT?! please

Status
Not open for further replies.

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Ok, I used PHP nuke for my site. I installed it with fansisico and I need to get the adds up. I think this is the add code


<center>
<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;amp;what=zone:1&amp;amp;target=_blank");
document.write ("&amp;amp;exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&amp;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;amp;n=a7fb3e9d' border='0' alt=''></a></noscript>
</center>​
But i'm not sure. And i don't know were to put it. and how to get it to show up.​
I would realy like some help if you could thank you!​
 

Akkarin

New Member
Messages
1,654
Reaction score
0
Points
0
Place it in the header.php file at the VERY top of the file. I think the file is found in the root dir of your nuke installation.
 

03moscropl

Flash Freak
Messages
698
Reaction score
0
Points
16
if that doent work you can also insert it into the top of the index.php file that way it should apper on any phpnuke themplate!
 

Akkarin

New Member
Messages
1,654
Reaction score
0
Points
0
You put it on top of the header.php because that is the header that gets added to any page. I wouldn't advice putting it in index.php.
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Akkarin said:
You put it on top of the header.php because that is the header that gets added to any page. I wouldn't advice putting it in index.php.
THANK you, Arkkin i'll go try this and see if it works. Then report back!
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
03moscropl said:
ooohh i use mambo which is way better!
Wow, You have a nice site there i was just checking it out. Thats mambo? I herd that you can convert php nuke templates to mambo
 

Akkarin

New Member
Messages
1,654
Reaction score
0
Points
0
Lol this Arkkin guy sounds really helpful wonder who he is?

03Moscropl I use mambo too! It is really good! Sorry for being kinda rude.

If that doesn't work Mr. Brown it should, but i had my nuke installation about 3 months ago so I've forgotten. So if it's a no no, then just say and I'll post the other way of putting the ad in a cms.
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Akkarin said:
Lol this Arkkin guy sounds really helpful wonder who he is?

03Moscropl I use mambo too! It is really good! Sorry for being kinda rude.

If that doesn't work Mr. Brown it should, but i had my nuke installation about 3 months ago so I've forgotten. So if it's a no no, then just say and I'll post the other way of putting the ad in a cms.
Ok Awsome, haha that guy dose sound nice. I'm going to look in to mambo is there anything i need to download? to install it. haha sorry for spelling your name rong Akkarin. My bad:blushing:
 
Last edited:

03moscropl

Flash Freak
Messages
698
Reaction score
0
Points
16
thanks for liking the site its not my best themplate but i am working on a new cool one!
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
I like the template and how your site is set up! and Me well lol.. don't understan mambo and can't seem to get my site out on the net. i get an error
 

Phil

Retired Staff
Messages
7,344
Reaction score
0
Points
36
Alright Thank you Akkarin, The Add worked and is now a tthe top of my site. Thanks again!
 
Status
Not open for further replies.
Top