{"id":25753,"date":"2013-10-20T02:59:58","date_gmt":"2013-10-20T02:59:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/limit-login-countries\/"},"modified":"2014-09-16T13:31:20","modified_gmt":"2014-09-16T13:31:20","slug":"limit-login-countries","status":"publish","type":"plugin","link":"https:\/\/ps.wordpress.org\/plugins\/limit-login-countries\/","author":9048403,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.6.4","stable_tag":"0.6.4","tested":"4.0.38","requires":"3.5.0","requires_php":"","requires_plugins":"","header_name":"Limit Login Countries","header_author":"Dirk Weise","header_description":"","assets_banners_color":"a47563","last_updated":"2014-09-16 13:31:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/limit-login-countries\/","header_author_uri":"http:\/\/dirk-weise.de\/","rating":3.8,"author_block_rating":0,"active_installs":40,"downloads":6166,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.6.3":"<p>This version upgrades, among other things, the bundled geo location API which hopefully fixes problems reading the GeoIP database in some cases.<\/p>","0.6.4":"<p>Hotfix for settings link in Plugin list table. The previous release upgraded, among other things, the bundled geo location API.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":"1","5":"2"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"990276","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"990276","resolution":"256x256","location":"assets","width":256,"height":256}},"assets_banners":{"banner-1544x500x.jpg":{"filename":"banner-1544x500x.jpg","revision":"790722","resolution":"1544x500x","location":"assets","width":1255,"height":406},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"790722","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.6","0.6.1","0.6.2","0.6.3","0.6.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"790722","resolution":"1","location":"assets","width":662,"height":605}},"screenshots":{"1":"Whoo! The plugin's options page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[602,600],"plugin_category":[38,54],"plugin_contributors":[87470],"plugin_business_model":[],"class_list":["post-25753","plugin","type-plugin","status-publish","hentry","plugin_tags-login","plugin_tags-security","plugin_category-authentication","plugin_category-security-and-spam-protection","plugin_contributors-wedi","plugin_committers-wedi"],"banners":{"banner":"https:\/\/ps.w.org\/limit-login-countries\/assets\/banner-772x250.jpg?rev=790722","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/limit-login-countries\/assets\/icon-128x128.jpg?rev=990276","icon_2x":"https:\/\/ps.w.org\/limit-login-countries\/assets\/icon-256x256.jpg?rev=990276","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/limit-login-countries\/assets\/screenshot-1.png?rev=790722","caption":"Whoo! The plugin's options page."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<h4>Translation<\/h4>\n\n<p>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 <a href=\"http:\/\/www.poedit.net\/index.php\">PoEdit<\/a> and get in touch.<\/p>\n\n<h3>Development<\/h3>\n\n<p>This plugin is developed by <a href=\"http:\/\/www.dirk-weise.de\">Dirk Weise<\/a> as a pet project on <a href=\"https:\/\/github.com\/wedi\/limit-login-countries\">GitHub<\/a>. You are welcome to <a href=\"https:\/\/github.com\/wedi\/limit-login-countries\/issues\">file an issue<\/a> or send a pull request.<\/p>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li>Kudos go out to the guys over at <a href=\"https:\/\/www.maxmind.com\/\"><em>Maxmind<\/em><\/a> for providing a lite version of their GeoIP database for free.<\/li>\n<li>Same to <a href=\"http:\/\/kovshenin.com\/\"><em>Konstantin Kovshenin<\/em><\/a> who has written a <a href=\"http:\/\/kovshenin.com\/2012\/the-wordpress-settings-api\/\">great tutorial on the WordPress Settings API<\/a> which helped me a lot while cleaning up the plugin for the public.<\/li>\n<li>Give big hands to <a href=\"http:\/\/sudarmuthu.com\">sudar<\/a> for his <a href=\"https:\/\/github.com\/sudar\/wp-plugin-in-github\">toolset for deploying WordPress plugins from GitHub<\/a>. A must have, when developing WordPress plugins on GitHub.<\/li>\n<li>Last but not least I send a thank you note to <a href=\"http:\/\/think0.deviantart.com\/\"><em>Gabriel Oliveira<\/em><\/a> on whose work this plugin's banner image is based.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the plugin to your WordPress plugin directory, which is probably <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li><a href=\"http:\/\/geolite.maxmind.com\/download\/geoip\/database\/GeoLiteCity.dat.gz\">Download Maxmind's current GeoLite database<\/a> and extract it, e.g. to your WordPress uploads directory, which is probably <code>\/wp-content\/uploads\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to settings and configure the plugin<\/li>\n<\/ol>\n\n<h4>System Requirements<\/h4>\n\n<p>This plugin requires at least PHP 5.3. The minimum <em>tested<\/em> WordPress version is 3.5.0. Please report if it works in even older versions.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>HELP! I locked myself out! How do I get in again?<\/dt>\n<dd><p>No worries! Just add <code>define('LIMIT_LOGIN_COUNTRIES_OVERRIDE', TRUE);<\/code> to your <code>wp-config.php<\/code> and you can login again in whichever country you are.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Version 0.6.4<\/h4>\n\n<ul>\n<li>Hotfix for settings link showing up for all plugins in the Plugins list table.<\/li>\n<\/ul>\n\n<h4>Version 0.6.3<\/h4>\n\n<ul>\n<li>Raise tested WordPress version to 4.0.<\/li>\n<li>Enforcing PHP 5.3 requirement now.<\/li>\n<li>Updated bundled geoip-api-php.<\/li>\n<li>Added settings link in the Plugins list table.<\/li>\n<li>Refactored code to match WordPress coding style (thank you PhpStorm).<\/li>\n<\/ul>\n\n<h4>Version 0.6.2<\/h4>\n\n<ul>\n<li>Add missing changelog for 0.6.1<\/li>\n<\/ul>\n\n<h4>Version 0.6.1<\/h4>\n\n<ul>\n<li>Raise tested WordPress version.<\/li>\n<\/ul>\n\n<h4>Version 0.6<\/h4>\n\n<ul>\n<li>Public release in WordPress plugin directory.<\/li>\n<li>Even more cleanup.<\/li>\n<\/ul>\n\n<h4>Version 0.5<\/h4>\n\n<ul>\n<li>readme.txt added.<\/li>\n<li>and more cleanup before making the plugin public.<\/li>\n<\/ul>\n\n<h4>Version 0.4<\/h4>\n\n<ul>\n<li>Fancy JavaScript additions to options page.<\/li>\n<li>Search for GeoIP database file added.<\/li>\n<li>Refactoring of GeoIP access code to prepare for future changes.<\/li>\n<\/ul>\n\n<h4>Version 0.3<\/h4>\n\n<ul>\n<li>Options page added. No more hardcoded values.<\/li>\n<li>Translation added.<\/li>\n<\/ul>\n\n<h4>Version 0.2<\/h4>\n\n<ul>\n<li>Much better design, but still a lot of hardcoded stuff.<\/li>\n<li>Updated GeoIP API trunk.<\/li>\n<\/ul>\n\n<h4>Version 0.1<\/h4>\n\n<ul>\n<li>Initial version. ~2011. Works as intended, but it's not very beautiful.<\/li>\n<\/ul>","raw_excerpt":"This plugin gives you the ability to limit WordPress admin logins based on the country the visitor&#039;s IP address is located in.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25753"}],"author":[{"embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wedi"}],"wp:attachment":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25753"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25753"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25753"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25753"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25753"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}