I've uploaded both Geo files from maxmind to the root/geoip folder. GeoIP tabs says OK it sees it.
Module 698, 811, 813 were unpublished during the test. Metamod Pro was set in the right position, published

The content of these custom HTML module is pretty complex and they are responsive:

Re: Metamod Pro Geo Location - 2 cities + else

Hi - just looking at this - it's detecting my IP address and location perfectly. How up to date is your GeoIP database? Perhaps you migrated an old one from your old site? What's your reported IP address at present?

I also modified the PHP slightly to be this, which may reduce PHP warnings:

Re: Metamod Pro Geo Location - 2 cities + else

Whoa! I never saw your reply I was about to write to you... I think your forum doesn't have the default subscribe ticked on. Yikes!

I confirm that the GeoIP database is updated to the latest.

I confirm the cities are detected and works well for the detection using override.
The main problem is that the metamod seems to alter the CSS formatting of my module. I get a different appearance for my different headers.

I wanted to make sure with you also that this code was OK before hand:

Please have a look at the CSS problems with the design once the rules goes through Metamod processing. I've named the different image file so you can understand which was on, and with or without metamod published

Re: Metamod Pro Geo Location - 2 cities + else

Hi,

fixed!

There were 2 problems:
1 - there was a syntax error with missing "{" near the end of the PHP. This caused an error message to be displayed (faintly at the top of the window), and the desired modules were not loaded by the MetaMod.

2 - in the MetaMod, you had "style for included modules" set to "rounded". This should have been "inherited" so as to use the same module styling that Joomla normally would have done. That was the reason for the strange CSS effects.

So I have now published the MetaMod and unpublished the other 3 modules so they don't show up until the MetaMod includes them. I tested with the "not Montréal and not Québec" included module and it appears to work perfectly for me. Can you please test from Montréal and the rest of Québec to ensure they work too?

Thanks,
Stephen

Stephen BrandonMetaMod / Chameleon developerIf you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod