Ads on phpnuke

Status
Not open for further replies.

Stiv_

Banned
Messages
290
Reaction score
0
Points
0
ok ive seen ppl asking about the banner and how to insert it
into there site. so heres an easy way if yer using phpnuke.
upload the Php Ad Codes.php file into yer ftp phpnuke main directory,
open header.php and find these lines

##################################################

# Include some common header for HTML generation #

##################################################


$header = 1;

function head() {

simply include the Php Ad Codes.php after this so it lookslike

##################################################

# Include some common header for HTML generation #

##################################################



$header = 1;

function head() {
@include("Php Ad Codes.php");


easy as that. as for html users jus insert this inside yer <body></body> tags

<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;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></center>
 

03moscropl

Flash Freak
Messages
698
Reaction score
0
Points
0
i dont thinks so it is better to inser in to the templates header html file in the templates files
 

IamShipon1988

New Member
Messages
942
Reaction score
0
Points
0
i agree, its much easier for you and easier for the adserver to keep tract of the ads

btw. does anyone know where i can get free phpnuke skins?
 

Stiv_

Banned
Messages
290
Reaction score
0
Points
0
well ya could do that yes but that all depends where ur wantin to show the advertisement!

As for nuke skins. What colour of skin are you looking? Best goin to yahoo related sites for stuff like that,,,

www.halka-rules.com has a few good skins
http://nukecode.com/modules.php?name=Downloads theres a direct link to the downloads page on this site. think it has near 100 nuke skins!


www.fun-flash.tk online arcade games. Join up folks and compete amongst each other!
 
Last edited:
Status
Not open for further replies.
Top