Forum Moderators: martinibuster

Message Too Old, No Replies

Google Adsense Code in IPB

         

JFriesen

1:01 am on May 22, 2006 (gmt 0)



Alright, so after signing up with Google Adsense and being accepted, I would like to paste my code (a 728x90 leaderboard) right beneath my banner, in the IPB Default Skin. What I've tried to do is insert this code:

<if="ipb.input['act'] == 'idx' or ipb.input['showforum'] or ipb.input['showtopic'] or ipb.input['module'] == 'gallery' or ipb.input['act'] == 'calendar' or ipb.input['act'] == 'Arcade' or ipb.input['act'] == 'module'">

ADSENSE CODE HERE

</if>

I insert this in Look and Feel> Edit Board Header and Footer Wrapper on the IPB Default skin. I put it in beneath the line
<% BOARD HEADER %>

The <if> code was something I'd read to wrap my Adsense code in, so it would not show up on Login, Registration, Error pages, etc, and violate Googles Terms of Use, but it doesn't work. My banner goes where I want it to, but it still shows up on Login pages, registration pages, and those things. So, what am I doing wrong? Could someone give me some other code to wrap my Adsense code in?

GeorgeK

5:16 am on May 22, 2006 (gmt 0)

10+ Year Member



I believe it needs to be put into the start_nav file (of "ALL GLOBAL HTML").