[Feature] Phoca Google Adsense dete

Phoca modules - support for all Phoca modules except Phoca Gallery modules
turminator
Phoca Member
Phoca Member
Posts: 40
Joined: 07 Nov 2008, 00:55
Contact:

[Feature] Phoca Google Adsense dete

Post by turminator »

Hi Jan!

I'm discovered this website that you can discover how users view your website with different ressolutions:

http://viewlike.us/?url=www.nudos.org&b ... utton.y=15

If you test for example: 1024*768 you can view that banners of Adsense are displayed wrongly. I think that will be great that your module can detect ressolution for users and if users have got 1024*768 shows one adsense code and if user have got other (major) ressolution it shows another adsense code.

With this we can create two different sizes of adsense ads and can viewed correctly on all visitors. What do you think?

Many thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Feature] Phoca Google Adsense dete

Post by Jan »

Hi, the displaying of the module does not depends on the module itself but on the template, which sets the positions of the module, so this is more a question on template developer :-(

Jan
If you find Phoca extensions useful, please support the project
turminator
Phoca Member
Phoca Member
Posts: 40
Joined: 07 Nov 2008, 00:55
Contact:

Re: [Feature] Phoca Google Adsense dete

Post by turminator »

Hi Jan!

Yes, you all alright.I don't want to change position module. I think that:

1.- In Google Adsense configuration I want to create two ads blocks. https://www.google.com/adsense/static/es/AdFormats.html One with (for example 200*200px) and other with (180*150px).

2.- Into PhocaAdsense module configuration we can add two different scripts: one for add code 200*200 and other for 180*150).

2.-Later, with Phoca Adsense module, if he can detect resolution of visitor he shows one or other block ads that can viewed perfectly with the ressolution.

I think that this is the only solution, because the problem is that AdsenseCode are biggest when users have got 1024*768 and maybe with template configuration not solves it, because if I modify width of right column I lost space for content area or if I use 200*200 banners in 1024*768 it looks ugly because users viewed many big.

Many thanks!
Post Reply