For b2evolution v5.
This plugin allows you to use the GeoIP database from MaxMind to determine in which country users are located in.
|Last tested in version:|
This plugin looks at the IP address of the users to determine what country they are connecting from.
Note that if a users uses a proxy server in another country (either for practical or for malicious reasons), the country you will see will the one of the proxy server.
Before using this plugin, the GeoIP Country database must exist in your site. In order to do this, you need to download the GeoLite Country DB (in binary format) from here: http://dev.maxmind.com/geoip/legacy/geolite/, uncompress it, and then upload the file
GeoIP.dat to the folder:
/blogs/plugins/geoip_plugin. The b2evolution’s development team is currently working in a tool to make an automatic download and install of the IPs database directly from the website.
Due to there are several options to download in the developers site linked above, please note which is currently the right link where you will find the downloadable file:
Although always is a good idea to go directly to the developer’s page in order to get any notice from the source, this link will lead you to download the file: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
Note: consider that the developer have marked this databases as legacy because they are focussed in a new version, so if you find anything wrong on the links provided above, please make a comment about it.
Tool: Find Registration Country for all Users
This plugin provides an Admin Tool that finds out all the users whose Registration country field have not been filled yet and get the IP address from they created their account or connected to the site from the first time, compares those IP address against the database of the plugin and tries to match them accordingly with a country in order to automatically update the user profiles. Please, note that in order to be able to use this tool, the plugin must be enabled, which means that the IPs databases needs to be correctly downloaded and located in the right directory, as explained above.
For more information about the tool, please read this page: GeoIP plugin - Find Registration Country for all Users