Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Afro on October 11, 2009, 04:45:11 PM

Title: adsense code here
Post by: Afro on October 11, 2009, 04:45:11 PM
I want to replace the circled place with tower adsense ad

i am using 2.0 rc1.2 version

check screen shot
Title: Re: adsense code here
Post by: Arantor on October 11, 2009, 05:24:02 PM
So I'm guessing you don't want to keep the time?

Please attach your theme's BoardIndex.template.php file.
Title: Re: adsense code here
Post by: Afro on October 11, 2009, 05:37:09 PM
here it is boss

though its default theme

i wanna add 160X600 (double)ad tower there

though i will increase the recent posts there
Title: Re: adsense code here
Post by: Arantor on October 11, 2009, 06:06:13 PM
So do you want to keep the time there or not?
Title: Re: adsense code here
Post by: Afro on October 11, 2009, 06:15:45 PM
i dont need the time there. the ad will have to replace the code
thanks
Title: Re: adsense code here
Post by: Arantor on October 11, 2009, 06:16:17 PM
And do you have the Adsense code to post in there?
Title: Re: adsense code here
Post by: Afro on October 11, 2009, 06:21:14 PM
lol, yes of course,

if you need it i will send it to you now
Title: Re: adsense code here
Post by: Afro on October 11, 2009, 06:24:04 PM
Code: [Select]
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxxxxx";
/* 160x600 */
google_ad_slot = "6772698879";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Title: Re: adsense code here
Post by: Afro on October 12, 2009, 03:42:06 PM
bump
Title: Re: adsense code here
Post by: Afro on October 14, 2009, 07:25:11 AM
i take it this is impossible to do ?
Title: Re: adsense code here
Post by: Arantor on October 14, 2009, 07:33:48 AM
Not impossible just I've been really, really busy with other stuff and much stress in my personal life, sorry.

I will try and look at this shortly.
Title: Re: adsense code here
Post by: Afro on October 14, 2009, 07:40:17 AM
ok thanks man
Title: Re: adsense code here
Post by: BrianVB on October 14, 2009, 08:33:32 AM
Attach it exactly 1 line before  the </body>
Title: Re: adsense code here
Post by: Arantor on October 14, 2009, 08:34:23 AM
Briapv: that won't actually solve what Afro wanted.

That tip works fine for Google Analytics, but this is about inserting Google Adsense directly into the page content, not the bottom of the page.
Title: Re: adsense code here
Post by: Afro on October 16, 2009, 02:55:57 PM
no hope arantor

 ;D
Title: Re: adsense code here
Post by: Afro on December 21, 2009, 10:37:50 AM
i m still interested on this issue.
Title: Re: adsense code here
Post by: Afro on December 21, 2009, 11:06:16 AM
bump,,


IN THE ALTERNATIVE,

is there simply a way to remove the time there and center the recent posts/topics on board index