1
monde
Google Ads colours tied into XOOPS theme
  • 2005/1/6 8:07

  • monde

  • Friend of XOOPS

  • Posts: 69

  • Since: 2004/11/15


Can someone tell me how to use my theme's colours in Google AdSense?

The script uses javascript, I would like to use XOOPS smarty variables from a theme's css to automatically change the colours:

google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";

Thanks in advance.

- Sid

2
monde
Re: Google Ads colours tied into XOOPS theme
  • 2005/2/15 14:06

  • monde

  • Friend of XOOPS

  • Posts: 69

  • Since: 2004/11/15


Has anyone written a module to tie in Google Adsense colours into their XOOPS themes?

3
chipthamac
Re: Google Ads colours tied into XOOPS theme
  • 2005/2/15 19:21

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


i believe it is against googles TOS to change the colors other than with thier color picker via google.com/ads

4
jonsimmonds
Re: Google Ads colours tied into XOOPS theme

I dont know smarty tags at all, but a solution to this would be to use googles colour choser thing to create a colour scheme for each of the different themes in use then using smarty tags (someone else will have to help here!)

if theme =theme A
then
code for googleaddA here
else if theme=theme b
code for googleaddB here
else if...

etc

hope that makes sense

5
texxs
Re: Google Ads colours tied into XOOPS theme
  • 2005/2/19 17:09

  • texxs

  • Just popping in

  • Posts: 10

  • Since: 2005/2/14


Are you sure?

I just checked at:
https://www.google.com/adsense/

and couldn't find any thing at all about putting your colors into their script you put on your page.

I do it occassionally. Doesn't everyone?

Hope this helps . . .




.

Login

Who's Online

224 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 224


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