Can't get ads to show up!!!

Status
Not open for further replies.

nycdlmusckat

New Member
Messages
204
Reaction score
0
Points
0
Ok, I don't know what I may be doing wrong. The instruction says 'copy and paste code', I've done exactly that adn the ad still doesn't show up on my site. UI've tried pasting in different spots just to be sure but it still doesn't come up. This is for the advanced package.. is there something I should know???

Please help someone!!!
 

bigguy

Retired
Messages
10,984
Reaction score
10
Points
38
The advanced package only needs a text link, is this what you are trying to insert ?
 

mattspec

Active Member
Messages
1,390
Reaction score
0
Points
36
where are you putting it, html or forum, or nuke or what?
 

hartap

New Member
Messages
392
Reaction score
0
Points
0
sometimes because u not copy paste in right way, may be some character or word left behind
 

GnBanditoCI5

New Member
Messages
24
Reaction score
0
Points
0
I am still having issues trying to create a custom BLOCK for use with a phpnuke site that works correctly, and would appreciate some help if someone could. Let me explain...

As per the requirements of having either the banner or the smart link code placed on EVERY page of our sites, and in a location easily seeeable by visitors...I would like to create a custom SMART LINK code BLOCK for my nuke site, that I can then activate and position the block on the top left corner of my site, just above the navigation, which would in essence make that block visible no matter where the user navigated to on the site.
However nuke and javascript dont play well together...so what you you NEED to do is create a custom BLOCK file named something like... "block-Ad.php" , in the custom block file...include the advertisement code you wish used... and place it in your BLOCKS directory, and then go into your nuke admin panel and activate it, then finally position it where you wish.

However, I have tried MANY and various different uses of the smart link code in a custom block file....and when I activate it in the nuke admin panel...it offsets the entire site to the right, and in essence make the site un-navigable because its forced everything off screen. I then need to MANUALLY log into FTP and delete the file to correct the issue....simply deactivating the block is then no longer an option, as the site being offset makes the ADMIN panel no accessable.

Here is an example of my most recent attempt at creating the custom block file that includes the code you require to show the text link....


Code:
	[size=2]
<?php
 
/************************************************************************/
 
/* PHP-NUKE: Web Portal System */
 
/* =========================== */
 
/* */
 
/* Copyright (c) 2005 by Francisco Burzi */
 
/* http://phpnuke.org */
 
/* */
 
/* This program is free software. You can redistribute it and/or modify */
 
/* it under the terms of the GNU General Public License as published by */
 
/* the Free Software Foundation; either version 2 of the License. */
 
/************************************************************************/
 
[/size]if (eregi("block-Ad.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
	} 
 
<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 ("[url="http://x10hosting.com/advert/adjs.php?n"]http://x10hosting.com/advert/adjs.php?n[/url]=" + phpAds_random);
document.write ("&amp;what=zone:3&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=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788' border='0' alt=''></a></noscript>
 
[size=2]?>
[/size]

I then take this file and upload it to my BLOCKS directory....and as I said...activate it in my nuke admin panel....but again...something is wrong and it will not work correctly...

So what I would like to ask, is it were possible for SOMEONE to post the code inside CODE
Code:
[CODE]
[/CODE]
tags like I previously did, outlining the COMPLETE and correct structuring needing for the cide to create the custom nuke block, to properly display the text link code in a block.


I am trying very hard to comply with the advertisement requirements, but working with a phpnuke site requireing javascript to be in BLOCK form, I am having issues...PLEASE help anyone....than you very much...eagerly awaiting a reply...:bigok:
 
Status
Not open for further replies.
Top