Ipb- Ads

dsfreak

New Member
Messages
1,338
Reaction score
0
Points
0
Anyone know how to put ads into IPB? Please post here, thanks.
 
B

Brandon

Guest
Quite Easy, Go to Admin CP go to themes find the theme and edit wrappers place the add code after the line that says %COPYRIGHT %
 

dsfreak

New Member
Messages
1,338
Reaction score
0
Points
0
But, I ahve Corp, so it has to be at the top, so that wouldn't work, would it?
 

Anarchytekt

Member
Messages
34
Reaction score
0
Points
6
No that won't. I can tell you how to place the ads right below the bar that is BELOW the logo. I know that is confusing but that's about the best place to put up ads. Admincp -> Skins & Templates -> Skin Manager -> *Skin Name* -> Edit Root skin template HTML -> All Global HTML -> global_board_header

Just put in the ad code at the bottom, after all the original template code ends. Save and see where it appears. Maybe put in a comment in front of and after the ad code.
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
there is another method which is

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..
 
Last edited:

trev

Member
Prime Account
Messages
670
Reaction score
0
Points
16
This helped me alot too thanks everyone! Exelent thread.
 

FeestBijtje

New Member
Messages
300
Reaction score
0
Points
0
None of these ways gets the adds on my forums it just screwed up:stupid:

Anny one knows how to do it with In Vision 2.0?
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
The javascript codes now work.
 
Last edited:

tehpwner

Banned
Messages
612
Reaction score
0
Points
0
Go to the skin manager -> select the skin you want -> Edit root HTML -> All Global -> Global Header -> Add it in there.
 

flankerdin

New Member
Messages
450
Reaction score
0
Points
0
Try to put this

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>
 

symbianclub

New Member
Messages
80
Reaction score
0
Points
0
hey guys i m having no file in this
root
Admincp -> Skins & Templates -> Skin Manager -> *Skin Name* -> Edit Root skin template HTML -> All Global HTML -> global_board_header
when i edit it tell pls select one ids but there are no files only
 

AsPeRiTy

New Member
Messages
284
Reaction score
0
Points
0
ok how do you do this on ipb 1.3 though... its a different skinning system so the steps are different. Can someone help me out?
 

Leon1

New Member
Messages
212
Reaction score
0
Points
0
AsPeRiTy said:
ok how do you do this on ipb 1.3 though... its a different skinning system so the steps are different. Can someone help me out?

goto skins templates in ACP , click on board wrappers and insert the ads in <%BOARD_HEADER%>
 

cuthisarminarf

New Member
Messages
216
Reaction score
0
Points
0
flankerdin said:
Try to put this

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>

This is the script that works guys!
I've tried all the other ways and this code above is the only one that seems to work for my version of IPB (v2.0.4)

Cheers mate.
This was starting to become a headache for me! ;)
 

sgtbenc

New Member
Messages
102
Reaction score
0
Points
0
You could put them in the title of your site by using some HTML. From the Admin CP under "Skinning & Styles" click on "Images" then in the "Logo" box put the HTML there.
 
Top