Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » IPV6 addresses
IPV6 addresses
Re: IPV6 addresses
Hi Nick,
unfortunately the version of the MaxMind GeoIP databases that MetaMod currently uses don't detect IPv6 addresses. I have been doing some work on integrating the newer MaxMind databases that can handle IPv6 but it's not ready yet. So unfortunately MetaMod won't be able to help you just yet (should be by the end of September).
In answer to your question about how MetaMod decodes what to display: if you want to use the GeoIP detection, in very simple cases you can enter the 2-letter country code for the country you want to see a particular module, plus the module ID, and MetaMod will display that module for visitors from that country.
In a slightly more advanced scenario you might want to display different modules for different countries. In that case, you can enter the following PHP code into the box in MetaMod:
switch ($fromCountryId) {
case 'NZ': return 123;
case 'AU': return 124;
case 'GB': return 125;
default: return 126;
}
... or any sort of variant of that. MetaMod will calculate the $fromCountryId variable using the MaxMind databases.
I hope that helps,
Stephen
Re: IPV6 addresses
- Index
- » MetaMod
- » MetaMod General Support
- » IPV6 addresses
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Posts this week:
- 2
- User Info:
- Total Users:
- 7634
- Newest User:
- boratuglu
- Members Online:
- 0
- Guests Online:
- 170
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked