The plugin allows you to determine the user's country using the APIs of various services. Exchange direction restrictions can be set based on the country.
The plugin also allows you to block a site for specific IP addresses or allow access only to certain ones.
After activating the plugin, a "GEO IP" section is added to the admin panel.
Block site for specific IPs
To create a list of IP addresses whose access is blocked, go to the "GEO IP" section - "Block IPs"
Enter the IP addresses one after the other, each on a new line.
Then click "Save."
You can see all blocked IP addresses in the "GEO IP" - "Blacklist" section.
You can also dеlete IP addresses in this section if desired.
Allow site only for specific IPs
To allow a site only for specific IPs, go to the "GEO IP" - "Block IPs" section.
Enter the IP addresses one after the other, each on a new line. Then click "Save."
You can see all blocked IP addresses in the "GEO IP" - "Whitelist" section.
Plugin Settings
Plugin settings are located in the "GEO IP" - "Settings" section.
"General Settings" Tab
Active Countries
Countries that will be displayed in the admin panel for selection.
Blocked Countries
Countries that are blocked from accessing the site. If a user from this country accesses the site, a blocking page will be displayed.
Blocked Page Details
Title and text of the blocking page by country. If you don't specify text in this section, default data will be displayed.
Country Determination Settings
Country determination is performed solely by the API of a specific service.
Without an enabled API, the country is not determined.
Determination Source
The service we use to determine the country by IP address.
sypexgeo.net requires an API key. Other services work without specifying a key.
API Key
The key for the country determination service you selected.
Disable Storing Request Data
By default, we save previously determined countries with IP addresses. However, if you don't need to do this, you can disable this feature using the setting.
Request Log
If the request log is enabled, all responses from services will be written to the "Additional Modules Log" if this plugin is enabled.
After specifying the settings, be sure to click the "Save" button.
Banning or Allowing a Country for Exchange Destinations
Once the country detection settings are filled in and the country is successfully detected, you can add a ban or allowance for the exchange direction. When adding or editing an exchange direction, you can configure the following settings on the "Restrictions and Checks" tab.
Prohibited Countries
Countries that are prohibited from using this exchange direction.
Allowed Countries
Countries that are permitted from using this direction.








