Title: Limit Login Countries
Author: Dirk Weise
Published: <strong>20. 10. 2013</strong>
Last modified: 16. 9. 2014

---

Prohledat pluginy

![](https://ps.w.org/limit-login-countries/assets/banner-772x250.jpg?rev=790722)

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

![](https://ps.w.org/limit-login-countries/assets/icon-256x256.jpg?rev=990276)

# Limit Login Countries

 Autor: [Dirk Weise](https://profiles.wordpress.org/wedi/)

[Stáhnout](https://downloads.wordpress.org/plugin/limit-login-countries.0.6.4.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/limit-login-countries/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/limit-login-countries/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/limit-login-countries/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/limit-login-countries/#developers)

 [Podpora](https://wordpress.org/support/plugin/limit-login-countries/)

## Popis

This plugin gives you the ability to limit WordPress admin logins based on the country
the visitor’s IP address is located in. It uses Maxmind’s GeoIP database which comes
in a free lite version.

You can choose between a white- and blacklist mode. In whitelist mode only visitors
with IP addresses from the configured countries are allowed. In blacklist mode visitors
with IPs from the configured countries are not allowed to login.

#### Translation

So far this plugin is available in English and German. If you are interested to 
translate the plugin to your language, use the included POT file with a programm
like [PoEdit](http://www.poedit.net/index.php) and get in touch.

### Development

This plugin is developed by [Dirk Weise](http://www.dirk-weise.de) as a pet project
on [GitHub](https://github.com/wedi/limit-login-countries). You are welcome to [file an issue](https://github.com/wedi/limit-login-countries/issues)
or send a pull request.

### Credits

 * Kudos go out to the guys over at [_Maxmind_](https://www.maxmind.com/) for providing
   a lite version of their GeoIP database for free.
 * Same to [_Konstantin Kovshenin_](http://kovshenin.com/) who has written a [great tutorial on the WordPress Settings API](http://kovshenin.com/2012/the-wordpress-settings-api/)
   which helped me a lot while cleaning up the plugin for the public.
 * Give big hands to [sudar](http://sudarmuthu.com) for his [toolset for deploying WordPress plugins from GitHub](https://github.com/sudar/wp-plugin-in-github).
   A must have, when developing WordPress plugins on GitHub.
 * Last but not least I send a thank you note to [_Gabriel Oliveira_](http://think0.deviantart.com/)
   on whose work this plugin’s banner image is based.

## Snímky obrazovky

 * [[
 * Whoo! The plugin’s options page.

## Instalace

This section describes how to install the plugin and get it working.

 1. Upload the plugin to your WordPress plugin directory, which is probably `/wp-content/
    plugins/`.
 2. [Download Maxmind’s current GeoLite database](http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz)
    and extract it, e.g. to your WordPress uploads directory, which is probably `/wp-
    content/uploads/`.
 3. Activate the plugin through the ‚Plugins‘ menu in WordPress
 4. Go to settings and configure the plugin

#### System Requirements

This plugin requires at least PHP 5.3. The minimum _tested_ WordPress version is
3.5.0. Please report if it works in even older versions.

## Nejčastější dotazy

  HELP! I locked myself out! How do I get in again?

No worries! Just add `define('LIMIT_LOGIN_COUNTRIES_OVERRIDE', TRUE);` to your `
wp-config.php` and you can login again in whichever country you are.

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Limit Login Countries je otevřený software. Následující lidé přispěli k vývoji tohoto
pluginu.

Spolupracovníci

 *   [ Dirk Weise ](https://profiles.wordpress.org/wedi/)

[Přeložte “Limit Login Countries” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/limit-login-countries)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/limit-login-countries/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/limit-login-countries/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/limit-login-countries/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/limit-login-countries/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### Version 0.6.4

 * Hotfix for settings link showing up for all plugins in the Plugins list table.

#### Version 0.6.3

 * Raise tested WordPress version to 4.0.
 * Enforcing PHP 5.3 requirement now.
 * Updated bundled geoip-api-php.
 * Added settings link in the Plugins list table.
 * Refactored code to match WordPress coding style (thank you PhpStorm).

#### Version 0.6.2

 * Add missing changelog for 0.6.1

#### Version 0.6.1

 * Raise tested WordPress version.

#### Version 0.6

 * Public release in WordPress plugin directory.
 * Even more cleanup.

#### Version 0.5

 * readme.txt added.
 * and more cleanup before making the plugin public.

#### Version 0.4

 * Fancy JavaScript additions to options page.
 * Search for GeoIP database file added.
 * Refactoring of GeoIP access code to prepare for future changes.

#### Version 0.3

 * Options page added. No more hardcoded values.
 * Translation added.

#### Version 0.2

 * Much better design, but still a lot of hardcoded stuff.
 * Updated GeoIP API trunk.

#### Version 0.1

 * Initial version. ~2011. Works as intended, but it’s not very beautiful.

## Meta

 *  Verze **0.6.4**
 *  Poslední aktualizace **před 12 roky**
 *  Aktivních instalací **40+**
 *  Verze WordPressu ** 3.5.0 nebo novější **
 *  Testováno až do WordPressu **4.0.38**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/limit-login-countries/)
 * Štítky
 * [login](https://cs.wordpress.org/plugins/tags/login/)[security](https://cs.wordpress.org/plugins/tags/security/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/limit-login-countries/advanced/)

## Hodnocení

 3.8 z 5 hvězdiček.

 *  [  2 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/limit-login-countries/reviews/?filter=5)
 *  [  1 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/limit-login-countries/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/limit-login-countries/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/limit-login-countries/reviews/?filter=2)
 *  [  1 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/limit-login-countries/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/limit-login-countries/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/limit-login-countries/reviews/)

## Spolupracovníci

 *   [ Dirk Weise ](https://profiles.wordpress.org/wedi/)

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/limit-login-countries/)