pls help me add an ad

Status
Not open for further replies.

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
I can put it in your forum but im not an expert with html (for your hame page), but if you made the page in html, dont you know how to put the ad in??
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
thanks for the forum ad. yah i did my site using dreamweaver but every time i do the ad is just a blank white but when you click on it, it works. plus if i put in the header colum it has a white space on the header.
 

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
Ok, I have added it to the forum. For your homepage (since I dont have dreamweaver) try using this 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:2&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=a4f0eec1' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:2&amp;n=a4f0eec1' border='0' alt=''></a></noscript>
If you want to center it wrap it around <center></center> so it would be <center>ad code here</center>

Maybe the code you were using wasnt formatted right. The code above is :)
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
thats the code i used but still it dosent work heres a screenshot of what it looks like when i try to put it below the header code
untitled8bp.jpg

see the blank white line thats the ad it works but its just blank
and now i cant login to my ftp it give me this error
Error: Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Error: Could not retrieve directory listing
 

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
ohh if you want it there, on top of everything, I can do that. I'll do that as soon as the server is up :)
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
can you put it on the right side though. thanks but i still dont know why its giving me a white banner its odd or maybe im stupid.
 

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
motokruisers said:
can you put it on the right side though. thanks but i still dont know why its giving me a white banner its odd or maybe im stupid.
I can put it on the top, but thats all. You should be able to put on the right with dreamweaver

Edit: Ill try to do it with frontpage... one sec
 

Leon1

New Member
Messages
212
Reaction score
0
Points
0
is there any alignment tags to have it place on anywhere you want?
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
not really sure because i just installed dreamweaver a couple days ago. im not familiar with html all i know is transfer my photoshop layout and link text and saved it as html, thats it. sorry for all the hassel but i dont want my account to be suspended. thanks for all the help tyler
 

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
Ok, I have added the ad :) Im not sure how to put it anywhere else since you used dreamweaver
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
hey tyler another favor pls.:grin: can you put an ad on my coppermine photo album ill donate some of my points and ill give it to you if you want
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
Its easy to edit the coppermine templates. Just edit the template folder for your theme gallery\themes\{theme-name}\template.html and put the ad code just below the <BODY> tag. Its very easy.
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
ok i tried but the ad is on the bottom which i think we cant put because you have to scroll down so where do i put it after the <head>? and why did the theme get erased it turned white.
untitled8kx1.jpg
 

Richard

Active Member
Messages
2,028
Reaction score
0
Points
36
There are two BODY tags I think you addedit ofter the second one. I'm not sure why it turned white. If you wan't I could try put it in for you, if you still having trouble.
 

motokruisers

New Member
Messages
234
Reaction score
0
Points
0
that would be great richard do you need any file from me? if you can put it on the left side of the banner
 
Status
Not open for further replies.
Top