1
chefry
Banner ads and Adsense
  • 2010/6/6 16:04

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


The theme I chose unfortunately does not show banner ads.

So, I was thinking, if I use a dummy module can I insert the link for the Xoops generated banner ads into it?

And also, could I do the same for Google Adsense?

If I can, could someone tell me the link for the Xoops generated banner ads so I can create the block?


TIA!!!

2
bjuti
Re: Banner ads and Adsense
  • 2010/6/6 16:38

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Quote:
The theme I chose unfortunately does not show banner ads.


That's impossible!

Google Adsense is just a javascript code.

So clean cache or turn template check on.

BTW. When you install the code, you must wait for 10 or more minutes Google to show them up.

I really do not know how's that possible, and what the hell the theme has to do with it?!


3
Peekay
Re: Banner ads and Adsense
  • 2010/6/6 17:08

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


In theme, or Smarty template

<{$xoops_banner}>

That's all you need as far as I know.
A thread is for life. Not just for Christmas.

4
ianemv
Re: Banner ads and Adsense
  • 2010/6/6 17:52

  • ianemv

  • Just popping in

  • Posts: 3

  • Since: 2008/4/2 7


You might give it a try editing your theme.html of your chosen theme :)

Assuming I'm using default theme, If I would like to put my Adsense code into the content or below the title of my post, I will be editing theme_blockcenter_c.html and place it after this code

<{if $block.title}>
<{$block.title}>
<{/if}>
.

This is just a suggestion and I think it's not recommended here because there might be a module/block available for easy customization.

5
chefry
Re: Banner ads and Adsense
  • 2010/6/6 17:58

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


bjuti ... It's NOT impossible. The theme I have, sd_072_light, Does not have a link for banner ads in the header.

Thanks Peekay, but it doesn't work :(

6
bjuti
Re: Banner ads and Adsense
  • 2010/6/6 18:08

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Sorry, I ment the code, not the banner. Anyway, edit theme file and put a code wjere is smarty variable :)

7
chefry
Re: Banner ads and Adsense
  • 2010/6/8 9:03

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


It's a dead question I'm afraid

Google Adsense declined my application LOL!

8
bjuti
Re: Banner ads and Adsense
  • 2010/6/8 15:01

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Why? What you've done?

9
chefry
Re: Banner ads and Adsense
  • 2010/6/9 19:53

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


I didn't do anything. I just applied.

and to think my website used to be in the top ten hits on Google :(

10
bjuti
Re: Banner ads and Adsense
  • 2010/6/9 20:46

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


You've applied, and then what? Did they sent you any message? :)

Login

Who's Online

268 user(s) are online (229 user(s) are browsing Support Forums)


Members: 0


Guests: 268


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits