Version Description
- Fixed localization error. (Thanks to Lisa for reporting)
Download this release
Release Info
Developer | iqpascal |
Plugin | iQ Block Country |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- iq-block-country.php +1 -1
- lang/en_EN.mo +0 -0
- lang/en_EN.po +4 -4
- lang/iqblockcountry-nl_NL.mo +0 -0
- lang/iqblockcountry-nl_NL.po +10 -4
- libs/blockcountry-settings.php +1 -1
- readme.txt +5 -1
iq-block-country.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: iQ Block Country
|
4 |
Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
|
5 |
-
Version: 1.1.
|
6 |
Author: Pascal
|
7 |
Author URI: http://www.redeo.nl/
|
8 |
Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
|
2 |
/*
|
3 |
Plugin Name: iQ Block Country
|
4 |
Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
|
5 |
+
Version: 1.1.2
|
6 |
Author: Pascal
|
7 |
Author URI: http://www.redeo.nl/
|
8 |
Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
|
lang/en_EN.mo
CHANGED
Binary file
|
lang/en_EN.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
-
"POT-Creation-Date: 2014-01-
|
5 |
-
"PO-Revision-Date: 2014-01-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: English\n"
|
@@ -222,11 +222,11 @@ msgid "Frontend/Backend"
|
|
222 |
msgstr ""
|
223 |
|
224 |
#: libs/blockcountry-settings.php:386
|
225 |
-
msgid "
|
226 |
msgstr ""
|
227 |
|
228 |
#: libs/blockcountry-settings.php:386
|
229 |
-
msgid "
|
230 |
msgstr ""
|
231 |
|
232 |
#: libs/blockcountry-settings.php:393
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
+
"POT-Creation-Date: 2014-01-12 10:59+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-01-12 10:59+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: English\n"
|
222 |
msgstr ""
|
223 |
|
224 |
#: libs/blockcountry-settings.php:386
|
225 |
+
msgid "Frontend"
|
226 |
msgstr ""
|
227 |
|
228 |
#: libs/blockcountry-settings.php:386
|
229 |
+
msgid "Backend"
|
230 |
msgstr ""
|
231 |
|
232 |
#: libs/blockcountry-settings.php:393
|
lang/iqblockcountry-nl_NL.mo
CHANGED
Binary file
|
lang/iqblockcountry-nl_NL.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
-
"POT-Creation-Date: 2014-01-
|
5 |
-
"PO-Revision-Date: 2014-01-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: English\n"
|
@@ -245,11 +245,11 @@ msgid "Frontend/Backend"
|
|
245 |
msgstr "Voorkant/Achterkant"
|
246 |
|
247 |
#: libs/blockcountry-settings.php:386
|
248 |
-
msgid "
|
249 |
msgstr "Voorkant"
|
250 |
|
251 |
#: libs/blockcountry-settings.php:386
|
252 |
-
msgid "
|
253 |
msgstr "Achterkant"
|
254 |
|
255 |
#: libs/blockcountry-settings.php:393
|
@@ -328,3 +328,9 @@ msgid ""
|
|
328 |
msgstr ""
|
329 |
"database bestaat niet. Deze plugin kan niet werken totdat deze database "
|
330 |
"beschikbaar is."
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: iQ Block Country\n"
|
4 |
+
"POT-Creation-Date: 2014-01-12 10:57+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-01-12 10:58+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: iQ Block Country <info@redeo.nl>\n"
|
8 |
"Language: English\n"
|
245 |
msgstr "Voorkant/Achterkant"
|
246 |
|
247 |
#: libs/blockcountry-settings.php:386
|
248 |
+
msgid "Frontend"
|
249 |
msgstr "Voorkant"
|
250 |
|
251 |
#: libs/blockcountry-settings.php:386
|
252 |
+
msgid "Backend"
|
253 |
msgstr "Achterkant"
|
254 |
|
255 |
#: libs/blockcountry-settings.php:393
|
328 |
msgstr ""
|
329 |
"database bestaat niet. Deze plugin kan niet werken totdat deze database "
|
330 |
"beschikbaar is."
|
331 |
+
|
332 |
+
#~ msgid "Voorkant"
|
333 |
+
#~ msgstr "Voorkant"
|
334 |
+
|
335 |
+
#~ msgid "Achterkant"
|
336 |
+
#~ msgstr "Achterkant"
|
libs/blockcountry-settings.php
CHANGED
@@ -383,7 +383,7 @@ function iqblockcountry_settings_logging()
|
|
383 |
$datetime = strtotime($row->datetime);
|
384 |
$mysqldate = date($format, $datetime);
|
385 |
echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . gethostbyaddr( $row->ipaddress ) . '</td><td>' . $row->url . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
|
386 |
-
if ($row->banned == "F") _e('
|
387 |
echo "</td></tr></tbody>";
|
388 |
}
|
389 |
echo '</table>';
|
383 |
$datetime = strtotime($row->datetime);
|
384 |
$mysqldate = date($format, $datetime);
|
385 |
echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . gethostbyaddr( $row->ipaddress ) . '</td><td>' . $row->url . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
|
386 |
+
if ($row->banned == "F") _e('Frontend', 'iqblockcountry'); else { _e('Backend', 'iqblockcountry'); }
|
387 |
echo "</td></tr></tbody>";
|
388 |
}
|
389 |
echo '</table>';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.unicef.org/
|
|
4 |
Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
|
5 |
Requires at least: 3.5.2
|
6 |
Tested up to: 3.8
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -163,6 +163,10 @@ If this does not help you out deselect "Send headers when user is blocked". This
|
|
163 |
|
164 |
== Changelog ==
|
165 |
|
|
|
|
|
|
|
|
|
166 |
= 1.1.1 =
|
167 |
|
168 |
* You can now choose to block individual pages. Leaving other pages open for visitors from blocked countries. You can for instance use this feature to block countries from visiting specific pages due to content rights etc.
|
4 |
Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
|
5 |
Requires at least: 3.5.2
|
6 |
Tested up to: 3.8
|
7 |
+
Stable tag: 1.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
163 |
|
164 |
== Changelog ==
|
165 |
|
166 |
+
= 1.1.2 =
|
167 |
+
|
168 |
+
* Fixed localization error. (Thanks to Lisa for reporting)
|
169 |
+
|
170 |
= 1.1.1 =
|
171 |
|
172 |
* You can now choose to block individual pages. Leaving other pages open for visitors from blocked countries. You can for instance use this feature to block countries from visiting specific pages due to content rights etc.
|