IPB 2 Ad Troubles

Status
Not open for further replies.

HawtSauce

New Member
Messages
72
Reaction score
0
Points
0
I've read every post that says how to get the ads to work in IPB and absolutely all of them have failed. I just want to place my little text ad in my forum, but nothing is working for me.

Does anybody here know how to install the ads on Invision Power Board 2?
 

admincafe

New Member
Messages
120
Reaction score
0
Points
0
first of witch ipb version 2.0.4 or 2.1.1

well does not matter anyway,

open op acp, skin manager, skin in use

than click on in en than click on Edit Root Skin Template HTML

than select All Global HTML

scroll down and find the global_board_header open it.

find:
href="{ipb.script_url}act=calendar">{ipb.lang['tb_calendar']}</a><!--IBF.CHATLINK--><!--IBF.TSLLINK-->
<!--ipb.rightlinks.end-->
</div></td></tr></table>

ad below.
<td>
<tr>
<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>
</td>
</tr>

this should work.

it works on my site see link in my sig. but i am using IPB 2.1.1 With Mkportal 1.1 beta 2
 
Last edited:

HawtSauce

New Member
Messages
72
Reaction score
0
Points
0
I am using 2.0.4 and this is what my global_board_header looks like:

<!--ipb.javascript.start-->
<script type="text/javascript">
<!--
var ipb_var_st = "{ipb.input['st']}";
var ipb_lang_tpl_q1 = "{ipb.lang['tpl_q1']}";
var ipb_var_s = "{ipb.session_id}";
var ipb_var_phpext = "{ipb.vars['php_ext']}";
var ipb_var_base_url = "{ipb.script_url}";
var ipb_input_f = "{ipb.input['f']}";
var ipb_input_t = "{ipb.input['t']}";
var ipb_input_p = "{ipb.input['p']}";
var ipb_var_cookieid = "{ipb.vars['cookie_id']}";
var ipb_var_cookie_domain = "{ipb.vars['cookie_domain']}";
var ipb_var_cookie_path = "{ipb.vars['cookie_path']}";
//-->
</script>
<script type="text/javascript" src='jscripts/ipb_global.js'></script>
<!--ipb.javascript.end-->
<div class="borderwrap">
<div id="logostrip"><a href='{ipb.script_url}'><!--ipb.logo.start--><img src='style_images/<#IMG_DIR#>/logo4.gif' style='vertical-align:top' alt='IPB' border='0' /><!--ipb.logo.end--></a></div>
<div id="submenu">
<p class="home"><!--ipb.leftlinks.start--><a href="{ipb.vars['home_url']}">{ipb.vars['home_name']}</a><!--IBF.RULES--><!--ipb.leftlinks.end--></p>
<p><!--ipb.rightlinks.start-->
<if="ipb.vars['blog_default_view'] != """>
<a href="{ipb.script_url}automodule=blog">{ipb.lang['blog']}</a>
</if>
<if="ipb.vars['gallery_images_path'] != ''">
<a href="{ipb.script_url}act=module&module=gallery">{ipb.lang['gallery']}</a>
</if>

<a href="{ipb.script_url}act=Help">{ipb.lang['tb_help']}</a><a href="{ipb.script_url}act=Search&amp;f={ipb.input['f']}">{ipb.lang['tb_search']}</a><a href="{ipb.script_url}act=Members">{ipb.lang['tb_mlist']}</a><a href="{ipb.script_url}act=calendar">{ipb.lang['tb_calendar']}</a>{$ibforums->sbox->glink}<!--IBF.CHATLINK--><!--IBF.TSLLINK-->
<!--ipb.rightlinks.end--></p>
</div>
</div>
 

admincafe

New Member
Messages
120
Reaction score
0
Points
0
this global header is from the default skin ?????

caus it is diffrent from mine code.

well try to ad it in there the way i sayd. otherwise use html tags instead of <td><tr></td> </tr>
 
Status
Not open for further replies.
Top