Corporate Banner ad with IPB 2.1

Status
Not open for further replies.

Parth

Banned
Messages
194
Reaction score
0
Points
0
How do I get this to work. I have learned that if you put the new PHP ad code you need the files to be a php file for it to work. Right now I am trying to add the ad code to the board wrapper but it doesn't seem to work.
wtcslap.gif
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
Parth said:
Right now I am trying to add the ad code to the board wrapper but it doesn't seem to work.
wtcslap.gif

Do you know how to read...I hope so
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
Auvee said:
I'm not all that familiar with IPB's ways but I'm pretty sure the wrappers don't parse PHP. For the javascript advertisement codes, go to http://www.x10hosting.com/ads.php

Auvee
I thought those weren't updated?

EDIT: I just did the javascript codes but they don't work either....
owned.gif
 
Last edited:

forza

New Member
Messages
230
Reaction score
0
Points
0
Go to manage skins, click wrapper for the skin that you are using, paste code over <%BOARD%>. Im not firmiliar with 2.1, so it might be wrong.
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
forza said:
Go to manage skins, click wrapper for the skin that you are using, paste code over <%BOARD%>. Im not firmiliar with 2.1, so it might be wrong.
Nope that doesnt work either...
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
try these

Admincp -> Skins & Templates -> Skin Manager -> *Skin Name* -> edit root skin board header and footer wrapper

then put the ads code btn <!--IBF.NEWPMBOX--><% BOARD %> i.e <!--IBF.NEWPMBOX--> put ads code here and center<% BOARD %>

i have a modification for the above but it makes the forum take long to load..
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
n4tec said:
try these

Admincp -> Skins & Templates -> Skin Manager -> *Skin Name* -> edit root skin board header and footer wrapper

then put the ads code btn <!--IBF.NEWPMBOX--><% BOARD %> i.e <!--IBF.NEWPMBOX--> put ads code here and center<% BOARD %>

i have a modification for the above but it makes the forum take long to load..
Nope that doesn't work either. IPB board wrappers don't parse PHP XD
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
*Bump* Auvee i hope you know that I am trying very hard to get these ads so please do not suspend my account :(
 

forza

New Member
Messages
230
Reaction score
0
Points
0
Could you post your board wrapper so we can experiment?
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
ok here it is:

<head>
<link rel="shortcut icon" href="favicon.ico" />
<title><% TITLE %></title>
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<?php include("http://www.x10hosting.com/advert/quick_get.php?id=corporate") ?>
<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>
<body>
<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>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% MEMBER BAR %>
<!--D2-SHOUTBOX-->
<% NAVIGATION %>
<!--IBF.NEWPMBOX-->
<% BOARD %>
<% BOARD FOOTER %>
<% STATS %>
<% COPYRIGHT %>
</div>
</body>
 

forza

New Member
Messages
230
Reaction score
0
Points
0
Code:
<head>
<link rel="shortcut icon" href="favicon.ico" />
<title><% TITLE %></title>
<% GENERATOR %>
<% CSS %>
<% JAVASCRIPT %>
</head>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% MEMBER BAR %>
<!--D2-SHOUTBOX-->
<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> 
<% NAVIGATION %>
<!--IBF.NEWPMBOX-->
<% BOARD %>
<% BOARD FOOTER %>
<% STATS %>
<% COPYRIGHT %>
</div>
</body>
 
Last edited:
Status
Not open for further replies.
Top