Ads on phpBB

elforo

New Member
Messages
156
Reaction score
0
Points
0
How can i do this please if tried editing the style tables but its not working any advice please.
 

bigguy

Retired
Messages
10,984
Reaction score
10
Points
38
the ad code must go in the top of the overall_header.tpl file. put it in that file and save it. It should work after that.
 

elforo

New Member
Messages
156
Reaction score
0
Points
0
thanx mate i have tried this to no result, i am beggining to think it could be a problem with the ads....nevertheless i shall try again.
cheers
 

bigguy

Retired
Messages
10,984
Reaction score
10
Points
38
It could be because of server problems. The server is being looked at as we speak. Make sure the ad goes in below the opening php line at the top.
 

elforo

New Member
Messages
156
Reaction score
0
Points
0
sorry i dont follow, the overall_header.tpl is in html........by what i can see
 

bigguy

Retired
Messages
10,984
Reaction score
10
Points
38
If your running phpbb 2.0.17 then no all of it should be in php not html
 

elforo

New Member
Messages
156
Reaction score
0
Points
0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<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: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>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/BBTech/{T_HEAD_STYLESHEET}" type="text/css">


<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->

---------------------
Theres more underneath but i dont think it is important , as you can see on the 3rd line i included the ad script....is this right?
thanx again
 

bigguy

Retired
Messages
10,984
Reaction score
10
Points
38
are you using the html ad code or the php ad code. There is a zip file to download with the correct codes in it. The code from the link under my sig should work to.
 

elforo

New Member
Messages
156
Reaction score
0
Points
0
ok ive done so still to no result but i have come to the conclusion that this is a problem with the server as when i check the preview file i still dont see anything.
thanks for your help anyway
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
i have just tried to review the ad code and it correspond with the one for x10 Advanced.. since it is a text link not a banner like the one located @ the bottom of the forum. it can be placed anywhere.. What is the link to your forum? You placed the ad in the head of the html file and that is why it doesnot appear.. if you place the ads code above
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> it should appear..
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
You are welcome.. you can center by just using <center>ads code here</center>.. if you feel like..
 

elforo

New Member
Messages
156
Reaction score
0
Points
0
id just like to say that im findind this brilliant the support is great and id just like to thankyou for help, if ever theres anything i can do just ask although it looks like i probably cant help very much but hey.
 

cyberxzt

Zine Tech
Messages
798
Reaction score
0
Points
0
I have tried everything and cannot get my ad to appear on PHPBB!

EDIT: Im too busy over the weekday to edit it and i have to go now so I will delete it forn now untill the weekend!
 
Last edited:

flankerdin

New Member
Messages
450
Reaction score
0
Points
0
Try to put this code Under Or Above

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

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>
 
Top