iQ Block Country - Version 1.2.0

Version Description

  • New: Added support for GeoIP2 country database
  • New: Added Pinterest as service
Download this release

Release Info

Developer iqpascal
Plugin Icon 128x128 iQ Block Country
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.51 to 1.2.0

iq-block-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: https://www.webence.nl/plugins/iq-block-country-the-wordpress-plugin-that-blocks-countries-for-you/
5
- Version: 1.1.51
6
  Author: Pascal
7
  Author URI: https://www.webence.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.
@@ -77,39 +77,6 @@ function iqblockcountry_localization()
77
  load_plugin_textdomain( 'iq-block-country', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
78
  }
79
 
80
- /*
81
- * Get list of countries from Geo Database
82
- */
83
- function iqblockcountry_get_countries()
84
- {
85
- global $countrylist;
86
-
87
- $countrylist = array();
88
- if (!class_exists('GeoIP'))
89
- {
90
- include_once("libs/geoip.inc");
91
- }
92
- if (class_exists('GeoIP'))
93
- {
94
- /* Create an array with all countries that the database knows */
95
- $geo = new GeoIP ();
96
- $countrycodes = $geo->GEOIP_COUNTRY_CODE_TO_NUMBER;
97
- $countries = $geo->GEOIP_COUNTRY_NAMES;
98
- $countrylist = array ();
99
- foreach ( $countrycodes as $key => $value ) {
100
- if (!empty($value))
101
- {
102
- $countrylist [$key] = $countries [$value];
103
- }
104
- }
105
- array_multisort($countrylist);
106
-
107
- return $countrylist;
108
- }
109
-
110
- return $countrylist;
111
- }
112
-
113
  /*
114
  * Retrieves the IP address from the HTTP Headers
115
  */
@@ -234,8 +201,6 @@ $upload_dir = wp_upload_dir();
234
  define("CHOSENJS", plugins_url('/js/chosen.jquery.js', __FILE__));
235
  define("CHOSENCSS", plugins_url('/chosen.css', __FILE__));
236
  define("CHOSENCUSTOM",plugins_url('/js/chosen.custom.js', __FILE__));
237
- define("IPV6DB","http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz"); // Used to display download location.
238
- define("IPV4DB","http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz"); // Used to display download location.
239
  define("GEOIP2DB","http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz"); // Used to display download location.
240
  define("IPV4DBFILE",$upload_dir['basedir'] . "/GeoIP.dat");
241
  define("IPV6DBFILE",$upload_dir['basedir'] . "/GeoIPv6.dat");
@@ -250,7 +215,7 @@ define("GEOIPAPIURLASIA","https://asia.geoip.webence.nl/geoipapi.php");
250
  define("GEOIPAPICHECKURL","https://eu.geoip.webence.nl/geoipapi-keycheck.php");
251
  define("ADMINAPICHECKURL","https://tracking.webence.nl/adminapi-keycheck.php");
252
  define("IPLOOKUPURL",'https://geoip.webence.nl/iplookup/iplookup.php');
253
- define("VERSION","1.1.51");
254
  define("DBVERSION","122");
255
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
256
 
@@ -267,7 +232,6 @@ require_once('libs/blockcountry-logging.php');
267
  require_once('libs/blockcountry-tracking.php');
268
  require_once('libs/blockcountry-search-engines.php');
269
  require_once('vendor/autoload.php');
270
- //use GeoIp2\Database\Reader;
271
 
272
  global $apiblacklist;
273
  $apiblacklist = FALSE;
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: https://www.webence.nl/plugins/iq-block-country-the-wordpress-plugin-that-blocks-countries-for-you/
5
+ Version: 1.2.0
6
  Author: Pascal
7
  Author URI: https://www.webence.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.
77
  load_plugin_textdomain( 'iq-block-country', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  /*
81
  * Retrieves the IP address from the HTTP Headers
82
  */
201
  define("CHOSENJS", plugins_url('/js/chosen.jquery.js', __FILE__));
202
  define("CHOSENCSS", plugins_url('/chosen.css', __FILE__));
203
  define("CHOSENCUSTOM",plugins_url('/js/chosen.custom.js', __FILE__));
 
 
204
  define("GEOIP2DB","http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz"); // Used to display download location.
205
  define("IPV4DBFILE",$upload_dir['basedir'] . "/GeoIP.dat");
206
  define("IPV6DBFILE",$upload_dir['basedir'] . "/GeoIPv6.dat");
215
  define("GEOIPAPICHECKURL","https://eu.geoip.webence.nl/geoipapi-keycheck.php");
216
  define("ADMINAPICHECKURL","https://tracking.webence.nl/adminapi-keycheck.php");
217
  define("IPLOOKUPURL",'https://geoip.webence.nl/iplookup/iplookup.php');
218
+ define("VERSION","1.2.0");
219
  define("DBVERSION","122");
220
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
221
 
232
  require_once('libs/blockcountry-tracking.php');
233
  require_once('libs/blockcountry-search-engines.php');
234
  require_once('vendor/autoload.php');
 
235
 
236
  global $apiblacklist;
237
  $apiblacklist = FALSE;
lang/en_EN.mo CHANGED
Binary file
lang/en_EN.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
  "POT-Creation-Date: 2016-08-02 20:45+0100\n"
5
- "PO-Revision-Date: 2018-03-28 20:02+0200\n"
6
  "Last-Translator: Pascal <pascal@webence.nl>\n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: en\n"
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
  "POT-Creation-Date: 2016-08-02 20:45+0100\n"
5
+ "PO-Revision-Date: 2018-07-21 15:00+0200\n"
6
  "Last-Translator: Pascal <pascal@webence.nl>\n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: en\n"
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: 2018-03-28 20:02+0200\n"
5
- "PO-Revision-Date: 2018-03-28 20:04+0200\n"
6
  "Last-Translator: Pascal <pascal@webence.nl>\n"
7
  "Language-Team: iQ Block Country <support@webence.nl>\n"
8
  "Language: nl\n"
@@ -18,38 +18,32 @@ msgstr ""
18
  "X-Poedit-SearchPathExcluded-1: old\n"
19
  "X-Poedit-SearchPathExcluded-2: admin\n"
20
 
21
- #: libs/blockcountry-settings.php:59
22
  msgid ""
23
- "The MaxMind GeoIP database does not exist. Please download this file "
24
  "manually or if you wish to use the GeoIP API get an API key from: "
25
  msgstr ""
26
- "De MaxMind GeoIP database bestaat niet. Download dit bestand handmatig of "
27
- "indien je gebruik wilt maken van de GeoIP API kun je een API sleutel "
28
- "verkrijgen van:"
29
 
30
- #: libs/blockcountry-settings.php:60 libs/blockcountry-settings.php:101
31
  msgid "Please download the database from: "
32
  msgstr "Download de database vanaf:"
33
 
34
- #: libs/blockcountry-settings.php:62 libs/blockcountry-settings.php:67
35
- #: libs/blockcountry-settings.php:103 libs/blockcountry-settings.php:108
36
  msgid "unzip the file and afterwards upload it to the following location: "
37
  msgstr "pak het bestand uit en upload dit bestand naar de volgende locatie:"
38
 
39
- #: libs/blockcountry-settings.php:65 libs/blockcountry-settings.php:106
40
- msgid "If you also use IPv6 please also download the database from: "
41
- msgstr "Indien je ook IPv6 gebruikt download dan a.u.b. ook de IPv6 database:"
42
-
43
- #: libs/blockcountry-settings.php:69 libs/blockcountry-settings.php:110
44
  msgid "For more detailed instructions take a look at the documentation.."
45
  msgstr "Voor gedetaileerde instructies bekijk de documentatie."
46
 
47
- #: libs/blockcountry-settings.php:83
48
  msgid "A caching plugin appears to be active on your WordPress installation."
49
  msgstr ""
50
  "Een caching plugin is waarschijnlijk actief in je WordPress installatie."
51
 
52
- #: libs/blockcountry-settings.php:84
53
  msgid ""
54
  "Caching plugins do not always cooperate nicely together with the iQ Block "
55
  "Country plugin which may lead to non blocked visitors getting a cached "
@@ -59,11 +53,11 @@ msgstr ""
59
  "wat kan leiden dat bezoekers welke niet geblokkeerd zijn de pagina dat ze "
60
  "geblokkeerd zijn getoond wordt vanuit de cache."
61
 
62
- #: libs/blockcountry-settings.php:85
63
  msgid "For more information visit the following page:"
64
  msgstr "Voor meer informatie bezoek de volgende pagina:"
65
 
66
- #: libs/blockcountry-settings.php:100
67
  msgid ""
68
  "The MaxMind GeoIP database is older than 3 months. Please update this file "
69
  "manually or if you wish to use the GeoIP API get an API key from: "
@@ -72,335 +66,335 @@ msgstr ""
72
  "handmatig of indien je gebruik wilt maken van de GeoIP API kun je een API "
73
  "sleutel verkrijgen van:"
74
 
75
- #: libs/blockcountry-settings.php:271
76
  msgid ""
77
  "Check which country belongs to an IP Address according to the current "
78
  "database."
79
  msgstr ""
80
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
81
 
82
- #: libs/blockcountry-settings.php:276
83
  msgid "IP Address to check:"
84
  msgstr "IP adres om te controleren:"
85
 
86
- #: libs/blockcountry-settings.php:294
87
  msgid "No country for"
88
  msgstr "Geen land voor"
89
 
90
- #: libs/blockcountry-settings.php:294
91
  msgid "could be found. Or"
92
  msgstr "gevonden. Of"
93
 
94
- #: libs/blockcountry-settings.php:294
95
  msgid "is not a valid IPv4 or IPv6 IP address"
96
  msgstr "is geen valide IPv4 of IPv6 ip adres."
97
 
98
- #: libs/blockcountry-settings.php:299
99
  msgid "IP Adress"
100
  msgstr "IP Adres"
101
 
102
- #: libs/blockcountry-settings.php:299
103
  msgid "belongs to"
104
  msgstr "behoort tot"
105
 
106
- #: libs/blockcountry-settings.php:305 libs/blockcountry-settings.php:310
107
  msgid "This country is not permitted to visit the frontend of this website."
108
  msgstr ""
109
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
110
 
111
- #: libs/blockcountry-settings.php:319 libs/blockcountry-settings.php:326
112
  msgid "This country is not permitted to visit the backend of this website."
113
  msgstr ""
114
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
115
 
116
- #: libs/blockcountry-settings.php:332
117
  msgid "This IP address is present in the blacklist."
118
  msgstr "Dit IP adres staat op de zwarte lijst."
119
 
120
- #: libs/blockcountry-settings.php:338
121
  msgid "This IP address is present in the frontend blacklist."
122
  msgstr "Dit IP adres staat op de zwarte lijst voor de voorkant."
123
 
124
- #: libs/blockcountry-settings.php:343
125
  msgid "This IP address is present in the frontend whitelist."
126
  msgstr "Dit IP adres staat op de witte lijst voor de voorkant."
127
 
128
- #: libs/blockcountry-settings.php:348
129
  msgid "This IP address is present in the backend blacklist."
130
  msgstr "Dit IP adres staat op de zwarte lijst voor de achterkant."
131
 
132
- #: libs/blockcountry-settings.php:353
133
  msgid "This IP address is present in the backend whitelist."
134
  msgstr "Dit IP adres staat op de witte lijst voor de achterkant."
135
 
136
- #: libs/blockcountry-settings.php:360
137
  msgid "Check IP address"
138
  msgstr "Controleer IP adres"
139
 
140
- #: libs/blockcountry-settings.php:368
141
  msgid "Database information"
142
  msgstr "Database informatie"
143
 
144
- #: libs/blockcountry-settings.php:375
145
  msgid "IPv4 database exists. File date: "
146
  msgstr "IPv4 database bestaat. Bestands datum:"
147
 
148
- #: libs/blockcountry-settings.php:382 libs/blockcountry-settings.php:417
149
  msgid "Database is older than 3 months... Please update..."
150
  msgstr ""
151
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
152
  "alstublieft."
153
 
154
- #: libs/blockcountry-settings.php:387
155
  msgid "IPv4 database does not exist."
156
  msgstr "IPv4 database bestaat niet."
157
 
158
- #: libs/blockcountry-settings.php:393
159
  msgid "IPv6 database exists. File date: "
160
  msgstr "IPv6 database bestaat. Bestands datum:"
161
 
162
- #: libs/blockcountry-settings.php:400
163
  msgid "Database is older than 3 months... Please update..."
164
  msgstr ""
165
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
166
  "alstublieft."
167
 
168
- #: libs/blockcountry-settings.php:405
169
  msgid "IPv6 database does not exist."
170
  msgstr "IPv6 database bestaat niet."
171
 
172
- #: libs/blockcountry-settings.php:410
173
  msgid "GeoIP2 database exists. File date: "
174
  msgstr "GeoIP2 database bestaat. Bestands datum:"
175
 
176
- #: libs/blockcountry-settings.php:422
177
  msgid "GeoIP2 database does not exist."
178
  msgstr "GeoIP2 database bestaat niet."
179
 
180
- #: libs/blockcountry-settings.php:429
181
  msgid "Your GeoIP API key is valid till: "
182
  msgstr "Uw GeoIP API key is geldig tot:"
183
 
184
- #: libs/blockcountry-settings.php:436
185
  msgid "Active plugins"
186
  msgstr "Actieve plugins"
187
 
188
- #: libs/blockcountry-settings.php:443
189
  msgid "Plugin name"
190
  msgstr "Plugin naam"
191
 
192
- #: libs/blockcountry-settings.php:443
193
  msgid "Version"
194
  msgstr "Versie"
195
 
196
- #: libs/blockcountry-settings.php:443 libs/blockcountry-settings.php:1547
197
- #: libs/blockcountry-settings.php:1607
198
  msgid "URL"
199
  msgstr "URL"
200
 
201
- #: libs/blockcountry-settings.php:462
202
  msgid "none"
203
  msgstr "Geen"
204
 
205
- #: libs/blockcountry-settings.php:468 libs/blockcountry-settings.php:469
206
  msgid "unavailable"
207
  msgstr "niet beschikbaar"
208
 
209
- #: libs/blockcountry-settings.php:473
210
  msgid "File System Information"
211
  msgstr "File systeem informatie"
212
 
213
- #: libs/blockcountry-settings.php:476
214
  msgid "Website Root Folder"
215
  msgstr "Website root directory"
216
 
217
- #: libs/blockcountry-settings.php:477 libs/blockcountry-settings.php:671
218
  msgid "Document Root Path"
219
  msgstr "Document root pad"
220
 
221
- #: libs/blockcountry-settings.php:481
222
  msgid "Database Information"
223
  msgstr "Database informatie"
224
 
225
- #: libs/blockcountry-settings.php:483
226
  msgid "MySQL Database Version"
227
  msgstr "MySQL Database versie"
228
 
229
- #: libs/blockcountry-settings.php:484
230
  msgid "MySQL Client Version"
231
  msgstr "MySQL Client versie"
232
 
233
- #: libs/blockcountry-settings.php:485
234
  msgid "Database Host"
235
  msgstr "Database Host"
236
 
237
- #: libs/blockcountry-settings.php:491
238
  msgid "Not Set"
239
  msgstr "Niet gezet"
240
 
241
- #: libs/blockcountry-settings.php:493 libs/blockcountry-settings.php:573
242
- #: libs/blockcountry-settings.php:581 libs/blockcountry-settings.php:589
243
- #: libs/blockcountry-settings.php:597 libs/blockcountry-settings.php:606
244
- #: libs/blockcountry-settings.php:623
245
  msgid "Off"
246
  msgstr "Uit"
247
 
248
- #: libs/blockcountry-settings.php:496
249
  msgid "SQL Mode"
250
  msgstr "SQL Mode"
251
 
252
- #: libs/blockcountry-settings.php:500
253
  msgid "Server Information"
254
  msgstr "Server informatie"
255
 
256
- #: libs/blockcountry-settings.php:505
257
  msgid "Server IP Address"
258
  msgstr "Server IP Adres"
259
 
260
- #: libs/blockcountry-settings.php:507
261
  msgid "Server Type"
262
  msgstr "Server Type"
263
 
264
- #: libs/blockcountry-settings.php:508
265
  msgid "Operating System"
266
  msgstr "Operating System"
267
 
268
- #: libs/blockcountry-settings.php:509
269
  msgid "Browser Compression Supported"
270
  msgstr "Browser Compressie ondersteund"
271
 
272
- #: libs/blockcountry-settings.php:525
273
  msgid "undefined"
274
  msgstr "Ongedefinieerd"
275
 
276
- #: libs/blockcountry-settings.php:532
277
  msgid "PHP Process User (UID:GID)"
278
  msgstr "PHP Process User (UID:GID)"
279
 
280
- #: libs/blockcountry-settings.php:537
281
  msgid "PHP Information"
282
  msgstr "PHP Informatie"
283
 
284
- #: libs/blockcountry-settings.php:542
285
  msgid "PHP Version"
286
  msgstr "PHP versie"
287
 
288
- #: libs/blockcountry-settings.php:543
289
  msgid "PHP Memory Usage"
290
  msgstr "PHP Memory Usage"
291
 
292
- #: libs/blockcountry-settings.php:543
293
  msgid " MB"
294
  msgstr " MB"
295
 
296
- #: libs/blockcountry-settings.php:549 libs/blockcountry-settings.php:557
297
- #: libs/blockcountry-settings.php:565 libs/blockcountry-settings.php:614
298
  msgid "N/A"
299
  msgstr "N/A"
300
 
301
- #: libs/blockcountry-settings.php:552
302
  msgid "PHP Memory Limit"
303
  msgstr "PHP Memory Limit"
304
 
305
- #: libs/blockcountry-settings.php:560
306
  msgid "PHP Max Upload Size"
307
  msgstr "PHP Max Upload Size"
308
 
309
- #: libs/blockcountry-settings.php:568
310
  msgid "PHP Max Post Size"
311
  msgstr "PHP Max Post Size"
312
 
313
- #: libs/blockcountry-settings.php:571 libs/blockcountry-settings.php:579
314
- #: libs/blockcountry-settings.php:587 libs/blockcountry-settings.php:595
315
- #: libs/blockcountry-settings.php:604 libs/blockcountry-settings.php:621
316
  msgid "On"
317
  msgstr "Aan"
318
 
319
- #: libs/blockcountry-settings.php:576
320
  msgid "PHP Allow URL fopen"
321
  msgstr "PHP Allow URL fopen"
322
 
323
- #: libs/blockcountry-settings.php:584
324
  msgid "PHP Allow URL Include"
325
  msgstr "PHP Allow URL Include"
326
 
327
- #: libs/blockcountry-settings.php:592
328
  msgid "PHP Display Errors"
329
  msgstr "PHP Display Errors"
330
 
331
- #: libs/blockcountry-settings.php:600
332
  msgid "PHP Display Startup Errors"
333
  msgstr "PHP Display Startup Errors"
334
 
335
- #: libs/blockcountry-settings.php:609
336
  msgid "PHP Expose PHP"
337
  msgstr "PHP Expose PHP"
338
 
339
- #: libs/blockcountry-settings.php:617
340
  msgid "PHP Max Script Execution Time"
341
  msgstr "PHP Max Script Execution Time"
342
 
343
- #: libs/blockcountry-settings.php:618
344
  msgid "Seconds"
345
  msgstr "Seconden"
346
 
347
- #: libs/blockcountry-settings.php:626
348
  msgid "PHP open_basedir"
349
  msgstr "PHP open_basedir"
350
 
351
- #: libs/blockcountry-settings.php:629 libs/blockcountry-settings.php:637
352
  msgid "Yes"
353
  msgstr "Ja"
354
 
355
- #: libs/blockcountry-settings.php:631 libs/blockcountry-settings.php:639
356
  msgid "No"
357
  msgstr "Nee"
358
 
359
- #: libs/blockcountry-settings.php:634
360
  msgid "PHP XML Support"
361
  msgstr "PHP XML Support"
362
 
363
- #: libs/blockcountry-settings.php:642
364
  msgid "PHP IPTC Support"
365
  msgstr "PHP IPTC Support"
366
 
367
- #: libs/blockcountry-settings.php:644
368
  msgid "Disabled PHP Functions"
369
  msgstr "Disabled PHP Functions"
370
 
371
- #: libs/blockcountry-settings.php:651
372
  msgid "Wordpress info"
373
  msgstr "Wordpress Informatie"
374
 
375
- #: libs/blockcountry-settings.php:656
376
  msgid "is enabled"
377
  msgstr "is aangezet"
378
 
379
- #: libs/blockcountry-settings.php:658
380
  msgid "is disabled"
381
  msgstr "Is uitgezet"
382
 
383
- #: libs/blockcountry-settings.php:661
384
  msgid " Multisite"
385
  msgstr "Multisite"
386
 
387
- #: libs/blockcountry-settings.php:664
388
  msgid "are enabled"
389
  msgstr "is aangezet"
390
 
391
- #: libs/blockcountry-settings.php:666
392
  msgid "are disabled"
393
  msgstr "Is uitgezet"
394
 
395
- #: libs/blockcountry-settings.php:669
396
  msgid "Permalinks"
397
  msgstr "Permalinks"
398
 
399
- #: libs/blockcountry-settings.php:686
400
  msgid "Export"
401
  msgstr "Exporteren"
402
 
403
- #: libs/blockcountry-settings.php:687
404
  msgid ""
405
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
406
  "Block Country configuration will be created."
@@ -408,7 +402,7 @@ msgstr ""
408
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
409
  "van alle iQ Block Country instellingen worden gecreerd."
410
 
411
- #: libs/blockcountry-settings.php:688
412
  msgid ""
413
  "After exporting, you can either use the backup file to restore your settings "
414
  "on this site again or copy the settings to another WordPress site."
@@ -417,96 +411,96 @@ msgstr ""
417
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
418
  "andere WordPress site te exporteren."
419
 
420
- #: libs/blockcountry-settings.php:692
421
  msgid "Backup all settings"
422
  msgstr "Backup alle instellingen"
423
 
424
- #: libs/blockcountry-settings.php:699
425
  msgid "Import"
426
  msgstr "Importeer"
427
 
428
- #: libs/blockcountry-settings.php:700
429
  msgid "Click the browse button and choose a zip file that you exported before."
430
  msgstr ""
431
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
432
  "geexporteerd."
433
 
434
- #: libs/blockcountry-settings.php:701
435
  msgid "Press Restore settings button, and let WordPress do the magic for you."
436
  msgstr ""
437
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
438
  "doen."
439
 
440
- #: libs/blockcountry-settings.php:706
441
  msgid "Restore settings"
442
  msgstr "Herstel instellingen"
443
 
444
- #: libs/blockcountry-settings.php:729 libs/blockcountry-settings.php:732
445
- #: libs/blockcountry-settings.php:741
446
  msgid "Something went wrong exporting this file"
447
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
448
 
449
- #: libs/blockcountry-settings.php:744
450
  msgid "Exporting settings..."
451
  msgstr "Exporteer instellingen"
452
 
453
- #: libs/blockcountry-settings.php:759
454
  msgid "Something went wrong importing this file"
455
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
456
 
457
- #: libs/blockcountry-settings.php:776
458
  msgid "All options are restored successfully."
459
  msgstr "Alle opties zijn succesvol hersteld"
460
 
461
- #: libs/blockcountry-settings.php:779
462
  msgid "Invalid file."
463
  msgstr "Ongeldig bestand"
464
 
465
- #: libs/blockcountry-settings.php:784
466
  msgid "No correct import or export option given."
467
  msgstr "Geen correcte importeer of exporteer optie gegeven."
468
 
469
- #: libs/blockcountry-settings.php:793
470
  msgid "Select which pages are blocked."
471
  msgstr "Selecteer welke pagina's geblokkeerd worden."
472
 
473
- #: libs/blockcountry-settings.php:800
474
  msgid "Do you want to block individual pages:"
475
  msgstr "Wil je individuele pagina's blokkeren:"
476
 
477
- #: libs/blockcountry-settings.php:801
478
  msgid "If you do not select this option all pages will be blocked."
479
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
480
 
481
- #: libs/blockcountry-settings.php:806
482
  msgid "Select pages you want to block:"
483
  msgstr "Selecteer welke pagina's je wil blokkeren."
484
 
485
- #: libs/blockcountry-settings.php:828 libs/blockcountry-settings.php:882
486
- #: libs/blockcountry-settings.php:930 libs/blockcountry-settings.php:978
487
- #: libs/blockcountry-settings.php:1025 libs/blockcountry-settings.php:1157
488
- #: libs/blockcountry-settings.php:1286 libs/blockcountry-settings.php:1514
489
  msgid "Save Changes"
490
  msgstr "Bewaar wijzigingen"
491
 
492
- #: libs/blockcountry-settings.php:841
493
  msgid "Select which categories are blocked."
494
  msgstr "Selecteer welke categorieen geblokkeerd worden."
495
 
496
- #: libs/blockcountry-settings.php:848
497
  msgid "Do you want to block individual categories:"
498
  msgstr "Wil je individuele categorieen blokkeren:"
499
 
500
- #: libs/blockcountry-settings.php:849 libs/blockcountry-settings.php:903
501
  msgid "If you do not select this option all blog articles will be blocked."
502
  msgstr ""
503
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
504
 
505
- #: libs/blockcountry-settings.php:854
506
  msgid "Do you want to block the homepage:"
507
  msgstr "Wil je je homepage blokkeren:"
508
 
509
- #: libs/blockcountry-settings.php:855
510
  msgid ""
511
  "If you do not select this option visitors will not be blocked from your "
512
  "homepage regardless of the categories you select."
@@ -515,43 +509,43 @@ msgstr ""
515
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
516
  "selecteert."
517
 
518
- #: libs/blockcountry-settings.php:860
519
  msgid "Select categories you want to block:"
520
  msgstr "Selecteer welke categorieen je wil blokkeren."
521
 
522
- #: libs/blockcountry-settings.php:895
523
  msgid "Select which tags are blocked."
524
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
525
 
526
- #: libs/blockcountry-settings.php:902
527
  msgid "Do you want to block individual tags:"
528
  msgstr "Wil je individuele tags blokkeren?:"
529
 
530
- #: libs/blockcountry-settings.php:908
531
  msgid "Select tags you want to block:"
532
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
533
 
534
- #: libs/blockcountry-settings.php:944
535
  msgid "Select which post types are blocked."
536
  msgstr "Selecteer welke post types geblokkeerd worden."
537
 
538
- #: libs/blockcountry-settings.php:951
539
  msgid "Do you want to block individual post types:"
540
  msgstr "Wil je individuele post types blokkeren:"
541
 
542
- #: libs/blockcountry-settings.php:956
543
  msgid "Select post types you want to block:"
544
  msgstr "Selecteer welke post types je wil blokkeren."
545
 
546
- #: libs/blockcountry-settings.php:993
547
  msgid "Select which services are allowed."
548
  msgstr "Selecteer welke diensten je wilt toestaan."
549
 
550
- #: libs/blockcountry-settings.php:1000
551
  msgid "Select which services you want to allow:"
552
  msgstr "Selecteer welke diensten je wilt toestaan:"
553
 
554
- #: libs/blockcountry-settings.php:1001
555
  msgid ""
556
  "This will allow a service like for instance a search engine to your site "
557
  "despite if you blocked the country."
@@ -559,50 +553,50 @@ msgstr ""
559
  "Dit staat een dienst toe zoals bijvoorbeeld een zoek machine ongeacht of je "
560
  "het land van de zoekmachine hebt geblokkeerd."
561
 
562
- #: libs/blockcountry-settings.php:1002
563
  msgid "Please note the \"Search Engine Visibility\" should not be selected in "
564
  msgstr ""
565
  "Let op: \"Zoekmachine zichtbaarheid\" dient niet geselecteer te staan op "
566
 
567
- #: libs/blockcountry-settings.php:1002
568
  msgid "reading settings."
569
  msgstr "lezen instellingen"
570
 
571
- #: libs/blockcountry-settings.php:1040
572
  msgid "Frontend options"
573
  msgstr "Voorkant opties"
574
 
575
- #: libs/blockcountry-settings.php:1067
576
  msgid ""
577
  "Do not block visitors that are logged in from visiting frontend website:"
578
  msgstr ""
579
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
580
 
581
- #: libs/blockcountry-settings.php:1073
582
  msgid "Block visitors from visiting the frontend of your website:"
583
  msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
584
 
585
- #: libs/blockcountry-settings.php:1079
586
  msgid "Block visitors from using the search function of your website:"
587
  msgstr ""
588
  "Blokkeer bezoekers van het bezoeken van de zoek functie van je website:"
589
 
590
- #: libs/blockcountry-settings.php:1085
591
  msgid ""
592
  "Select the countries that should be blocked from visiting your frontend:"
593
  msgstr ""
594
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
595
  "voorkant van je website:"
596
 
597
- #: libs/blockcountry-settings.php:1086
598
  msgid "Use the CTRL key to select multiple countries"
599
  msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
600
 
601
- #: libs/blockcountry-settings.php:1128 libs/blockcountry-settings.php:1262
602
  msgid "Inverse the selection above:"
603
  msgstr "Keer bovenstaande selectie om:"
604
 
605
- #: libs/blockcountry-settings.php:1129 libs/blockcountry-settings.php:1263
606
  msgid ""
607
  "If you select this option only the countries that are selected are "
608
  "<em>allowed</em>."
@@ -610,56 +604,56 @@ msgstr ""
610
  "Indien je deze optie selecteert de zijn de landen die hierboven geselecteerd "
611
  "<em>toegestaan</em>."
612
 
613
- #: libs/blockcountry-settings.php:1134
614
  msgid "Block tag pages:"
615
  msgstr "Blokkeer tag pagina's"
616
 
617
- #: libs/blockcountry-settings.php:1135
618
  msgid "If you select this option tag pages will be blocked."
619
  msgstr "Indien je deze optie selecteert worden tag pagina's geblokkeerd."
620
 
621
- #: libs/blockcountry-settings.php:1140
622
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
623
  msgstr ""
624
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
625
 
626
- #: libs/blockcountry-settings.php:1140 libs/blockcountry-settings.php:1148
627
- #: libs/blockcountry-settings.php:1269 libs/blockcountry-settings.php:1277
628
  msgid "Use a semicolon (;) to separate IP addresses"
629
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
630
 
631
- #: libs/blockcountry-settings.php:1140 libs/blockcountry-settings.php:1148
632
- #: libs/blockcountry-settings.php:1269 libs/blockcountry-settings.php:1277
633
  msgid ""
634
  "This field accepts single IP addresses as well as ranges in CIDR format."
635
  msgstr ""
636
  "Dit veld accepteert zowel enkele IP adressen als IP reeksen in CIDR formaat."
637
 
638
- #: libs/blockcountry-settings.php:1148
639
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
640
  msgstr ""
641
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
642
 
643
- #: libs/blockcountry-settings.php:1177
644
  msgid "Backend Options"
645
  msgstr "Achterkant opties"
646
 
647
- #: libs/blockcountry-settings.php:1205
648
  msgid ""
649
  "Block visitors from visiting the backend (administrator) of your website:"
650
  msgstr ""
651
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
652
  "gedeelte) van je website:"
653
 
654
- #: libs/blockcountry-settings.php:1213
655
  msgid "Your IP address is"
656
  msgstr "Je IP adres is"
657
 
658
- #: libs/blockcountry-settings.php:1213
659
  msgid "The country that is listed for this IP address is"
660
  msgstr "Het land waar dit adres toe behoort is"
661
 
662
- #: libs/blockcountry-settings.php:1214
663
  msgid ""
664
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
665
  "(administrator) of your website' and also select"
@@ -667,11 +661,11 @@ msgstr ""
667
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
668
  "achterkant (administratie gedeelte) van je website\" en"
669
 
670
- #: libs/blockcountry-settings.php:1214
671
  msgid "below."
672
  msgstr "hier beneden."
673
 
674
- #: libs/blockcountry-settings.php:1215
675
  msgid ""
676
  "You will NOT be able to login the next time if you DO block your own country "
677
  "from visiting the backend."
@@ -679,44 +673,44 @@ msgstr ""
679
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
680
  "land blokkeert van het bezoeken van de achterkant van je website."
681
 
682
- #: libs/blockcountry-settings.php:1220
683
  msgid "Select the countries that should be blocked from visiting your backend:"
684
  msgstr ""
685
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
686
  "achterkant (administratie gedeelte) van je website:"
687
 
688
- #: libs/blockcountry-settings.php:1221
689
  msgid "Use the x behind the country to remove a country from this blocklist."
690
  msgstr ""
691
  "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
692
 
693
- #: libs/blockcountry-settings.php:1269
694
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
695
  msgstr ""
696
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
697
 
698
- #: libs/blockcountry-settings.php:1277
699
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
700
  msgstr ""
701
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
702
 
703
- #: libs/blockcountry-settings.php:1319
704
  msgid "Overall statistics since start"
705
  msgstr "Statistieken sinds het begin"
706
 
707
- #: libs/blockcountry-settings.php:1322
708
  msgid "visitors blocked from the backend."
709
  msgstr "bezoekers geblokkeerd op de achterkant."
710
 
711
- #: libs/blockcountry-settings.php:1324
712
  msgid "visitors blocked from the frontend."
713
  msgstr "bezoekers geblokkeerd op de voorkant."
714
 
715
- #: libs/blockcountry-settings.php:1341
716
  msgid "Block type"
717
  msgstr "Blokkeer type"
718
 
719
- #: libs/blockcountry-settings.php:1343
720
  msgid ""
721
  "You should choose one of the 3 block options below. This wil either show a "
722
  "block message, redirect to an internal page or redirect to an external page."
@@ -725,15 +719,15 @@ msgstr ""
725
  "bericht, stuurt de bezoeker door naar een interne pagina of stuurt de "
726
  "bezoeker door naar een externe pagina."
727
 
728
- #: libs/blockcountry-settings.php:1348
729
  msgid "Message to display when people are blocked:"
730
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
731
 
732
- #: libs/blockcountry-settings.php:1359
733
  msgid "Page to redirect to:"
734
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
735
 
736
- #: libs/blockcountry-settings.php:1360
737
  msgid ""
738
  "If you select a page here blocked visitors will be redirected to this page "
739
  "instead of displaying above block message."
@@ -742,15 +736,15 @@ msgstr ""
742
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
743
  "bezoekers."
744
 
745
- #: libs/blockcountry-settings.php:1366
746
  msgid "Choose a page..."
747
  msgstr "Kies een pagina..."
748
 
749
- #: libs/blockcountry-settings.php:1381
750
  msgid "URL to redirect to:"
751
  msgstr "Naar welke URL wilt u geblokkerde bezoekers verwijzen:"
752
 
753
- #: libs/blockcountry-settings.php:1382
754
  msgid ""
755
  "If you enter a URL here blocked visitors will be redirected to this URL "
756
  "instead of displaying above block message or redirected to a local page."
@@ -759,15 +753,15 @@ msgstr ""
759
  "naar deze url anders wordt bovestaande blokkeer tekst getoond aan bezoekers "
760
  "of worden bezoekers doorverwezen naar de geselecteerde pagina."
761
 
762
- #: libs/blockcountry-settings.php:1389
763
  msgid "General settings"
764
  msgstr "Algemene instellingen"
765
 
766
- #: libs/blockcountry-settings.php:1393
767
  msgid "Send headers when user is blocked:"
768
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
769
 
770
- #: libs/blockcountry-settings.php:1394
771
  msgid ""
772
  "Under normal circumstances you should keep this selected! Only if you have "
773
  "\"Cannot modify header information - headers already sent\" errors or if you "
@@ -777,11 +771,11 @@ msgstr ""
777
  "deze alleen indien je \"Cannot modify header information - headers already "
778
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
779
 
780
- #: libs/blockcountry-settings.php:1400
781
  msgid "Buffer output?:"
782
  msgstr "Buffer output?"
783
 
784
- #: libs/blockcountry-settings.php:1401
785
  msgid ""
786
  "You can use this option to buffer all output. This can be helpful in case "
787
  "you have \"headers already sent\" issues."
@@ -789,11 +783,11 @@ msgstr ""
789
  "Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
790
  "indien je \"headers already sent\" problemen hebt."
791
 
792
- #: libs/blockcountry-settings.php:1407
793
  msgid "Do not log IP addresses:"
794
  msgstr "Log geen IP adressen"
795
 
796
- #: libs/blockcountry-settings.php:1408
797
  msgid ""
798
  "Check this box if the laws in your country do not permit you to log IP "
799
  "addresses or if you do not want to log the ip addresses."
@@ -802,50 +796,50 @@ msgstr ""
802
  "adressen vast te leggen of indien je zelf deze informatie niet wilt "
803
  "vastleggen."
804
 
805
- #: libs/blockcountry-settings.php:1414
806
  msgid "Do not block admin-ajax.php:"
807
  msgstr "Blokkeer admin-ajax.php niet:"
808
 
809
- #: libs/blockcountry-settings.php:1415
810
  msgid "Check this box if you use a plugin that uses admin-ajax.php."
811
  msgstr ""
812
  "Selecteer deze optie indien je een plugin gebruikt welke gebruik maakt van "
813
  "admin-ajax.php."
814
 
815
- #: libs/blockcountry-settings.php:1424
816
  msgid "Number of rows on logging tab:"
817
  msgstr "Aantal regels op het statistieken tabblad:"
818
 
819
- #: libs/blockcountry-settings.php:1425
820
  msgid "How many rows do you want to display on each column on the logging tab."
821
  msgstr "Hoeveel regels wil je tonen in elke kolom op de statistieken tabblad."
822
 
823
- #: libs/blockcountry-settings.php:1440
824
  msgid "Number of days to keep logging:"
825
  msgstr "Aantal dagen dat je logs wilt bewaren:"
826
 
827
- #: libs/blockcountry-settings.php:1441
828
  msgid "How many days do you want to keep the logging used for the logging tab."
829
  msgstr ""
830
  "Hoeveel dagen wil je de logs bewaren welke gebruikt wordt op het "
831
  "statistieken tabblad."
832
 
833
- #: libs/blockcountry-settings.php:1456
834
  msgid "Do not lookup hosts on the logging tab:"
835
  msgstr "Zoek niet de hostnaam op op het statistieken tabblad."
836
 
837
- #: libs/blockcountry-settings.php:1457
838
  msgid ""
839
  "On some hosting environments looking up hosts may slow down the logging tab."
840
  msgstr ""
841
  "Op sommige hosting omgevingen zal het opzoeken van hostnamen zorgen voor "
842
  "vertraging op het statistieken tabblad."
843
 
844
- #: libs/blockcountry-settings.php:1463
845
  msgid "Allow tracking:"
846
  msgstr "Sta traceren toe:"
847
 
848
- #: libs/blockcountry-settings.php:1464
849
  msgid ""
850
  "This sends only the IP address and the number of attempts this ip address "
851
  "tried to login to your backend and was blocked doing so to a central server. "
@@ -858,11 +852,11 @@ msgstr ""
858
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
859
  "pogingen worden gedaan. "
860
 
861
- #: libs/blockcountry-settings.php:1470
862
  msgid "GeoIP API Key:"
863
  msgstr "GeoIP API sleutel:"
864
 
865
- #: libs/blockcountry-settings.php:1471
866
  msgid ""
867
  "If for some reason you cannot or do not want to download the MaxMind GeoIP "
868
  "databases you will need an API key for the GeoIP api.<br />You can get an "
@@ -872,19 +866,19 @@ msgstr ""
872
  "Maxmind GeoIP heb je een API sleutelnodig voor de GeoIP api.<br />Je kunt "
873
  "een API sleutel verkrijgen op:"
874
 
875
- #: libs/blockcountry-settings.php:1479
876
  msgid "GeoIP API Key Server Location:"
877
  msgstr "GeoIP API sleutel server locatie:"
878
 
879
- #: libs/blockcountry-settings.php:1480
880
  msgid "Choose a location closest to your own location."
881
  msgstr "Kies een land welke het dichtsbij is bij je eigen land."
882
 
883
- #: libs/blockcountry-settings.php:1489
884
  msgid "Admin block API Key:"
885
  msgstr "Admin block API Sleutel:"
886
 
887
- #: libs/blockcountry-settings.php:1490
888
  msgid ""
889
  "For additional security you can protect your backend from known IP addresses "
890
  "who have made hack attempts at other WordPress sites.<br />You can get more "
@@ -895,21 +889,21 @@ msgstr ""
895
  "tegen andere WordPress sites.<br />Je kunt meer informatie hierover vinden "
896
  "en een API key verkrijgen op:"
897
 
898
- #: libs/blockcountry-settings.php:1498
899
  msgid "Accessibility options:"
900
  msgstr "Toegankelijkheids opties:"
901
 
902
- #: libs/blockcountry-settings.php:1499
903
  msgid "Set this option if you cannot use the default country selection box."
904
  msgstr ""
905
  "Selecteer deze optie indien je de landen standaard selectie methode niet "
906
  "kunt gebruiken. "
907
 
908
- #: libs/blockcountry-settings.php:1505
909
  msgid "Log all visits:"
910
  msgstr "Log alle bezoekers:"
911
 
912
- #: libs/blockcountry-settings.php:1506
913
  msgid ""
914
  "This logs all visits despite if they are blocked or not. This is only for "
915
  "debugging purposes."
@@ -917,72 +911,72 @@ msgstr ""
917
  "Dit logt alle bezoekers ondanks of ze geblokkeerd zijn of niet. Dit is "
918
  "alleen voor debugging."
919
 
920
- #: libs/blockcountry-settings.php:1532
921
  msgid "Last blocked visits"
922
  msgstr "Laatste geblokkeerde bezoekers"
923
 
924
- #: libs/blockcountry-settings.php:1547
925
  msgid "Date / Time"
926
  msgstr "Datum / Tijd"
927
 
928
- #: libs/blockcountry-settings.php:1547 libs/blockcountry-settings.php:1586
929
  msgid "IP Address"
930
  msgstr "IP adres"
931
 
932
- #: libs/blockcountry-settings.php:1547 libs/blockcountry-settings.php:1586
933
  msgid "Hostname"
934
  msgstr "Hostnaam"
935
 
936
- #: libs/blockcountry-settings.php:1547 libs/blockcountry-settings.php:1573
937
  msgid "Country"
938
  msgstr "Land"
939
 
940
- #: libs/blockcountry-settings.php:1547
941
  msgid "Frontend/Backend"
942
  msgstr "Voorkant/Achterkant"
943
 
944
- #: libs/blockcountry-settings.php:1564 libs/blockcountry-settings.php:1674
945
  msgid "Frontend"
946
  msgstr "Voorkant"
947
 
948
- #: libs/blockcountry-settings.php:1564
949
  msgid "Backend banlist"
950
  msgstr "Achterkant banlist"
951
 
952
- #: libs/blockcountry-settings.php:1564
953
  msgid "Backend & Backend banlist"
954
  msgstr "Achterkant & Achterkant banlist"
955
 
956
- #: libs/blockcountry-settings.php:1564 libs/blockcountry-settings.php:1675
957
  msgid "Backend"
958
  msgstr "Achterkant"
959
 
960
- #: libs/blockcountry-settings.php:1571
961
  msgid "Top countries that are blocked"
962
  msgstr "Top landen welke zijn geblokkeerd"
963
 
964
- #: libs/blockcountry-settings.php:1573 libs/blockcountry-settings.php:1586
965
- #: libs/blockcountry-settings.php:1607
966
  msgid "# of blocked attempts"
967
  msgstr "# of geblokkeerde pogingen"
968
 
969
- #: libs/blockcountry-settings.php:1584
970
  msgid "Top hosts that are blocked"
971
  msgstr "Top hosts welke geblokkeerd zijn"
972
 
973
- #: libs/blockcountry-settings.php:1605
974
  msgid "Top URLs that are blocked"
975
  msgstr "Top URLs welke geblokkeerd zijn"
976
 
977
- #: libs/blockcountry-settings.php:1621
978
  msgid "Clear database"
979
  msgstr "Leeg database"
980
 
981
- #: libs/blockcountry-settings.php:1644
982
  msgid "Download as CSV file"
983
  msgstr "Download als een csv bestand."
984
 
985
- #: libs/blockcountry-settings.php:1651
986
  msgid ""
987
  "You are not logging any information. Please uncheck the option 'Do not log "
988
  "IP addresses' if this is not what you want."
@@ -990,39 +984,39 @@ msgstr ""
990
  "Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
991
  "adressen' indien dit niet is wat je wilt."
992
 
993
- #: libs/blockcountry-settings.php:1673
994
  msgid "Home"
995
  msgstr "Home"
996
 
997
- #: libs/blockcountry-settings.php:1676
998
  msgid "Pages"
999
  msgstr "Pagina's"
1000
 
1001
- #: libs/blockcountry-settings.php:1677
1002
  msgid "Categories"
1003
  msgstr "Categorieen"
1004
 
1005
- #: libs/blockcountry-settings.php:1678
1006
  msgid "Tags"
1007
  msgstr "Tags"
1008
 
1009
- #: libs/blockcountry-settings.php:1678
1010
  msgid "Post types"
1011
  msgstr "Post types"
1012
 
1013
- #: libs/blockcountry-settings.php:1679
1014
  msgid "Services"
1015
  msgstr "Diensten"
1016
 
1017
- #: libs/blockcountry-settings.php:1680
1018
  msgid "Tools"
1019
  msgstr "Gereedschap"
1020
 
1021
- #: libs/blockcountry-settings.php:1681
1022
  msgid "Logging"
1023
  msgstr "Statistieken"
1024
 
1025
- #: libs/blockcountry-settings.php:1682
1026
  msgid "Import/Export"
1027
  msgstr "Importeren/Exporteren"
1028
 
@@ -1038,6 +1032,18 @@ msgstr "Instellingen opgeslagen."
1038
  msgid "The Admin Block API key is incorrect. Please update the key."
1039
  msgstr "De Admin Block API sleutel is incorrect. Corrigeer a.u.b. de sleutel."
1040
 
 
 
 
 
 
 
 
 
 
 
 
 
1041
  #~ msgid "This ip is present in the blacklist."
1042
  #~ msgstr "Dit ip adres staat op de zwarte lijst"
1043
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2018-07-21 15:00+0200\n"
5
+ "PO-Revision-Date: 2018-07-21 15:01+0200\n"
6
  "Last-Translator: Pascal <pascal@webence.nl>\n"
7
  "Language-Team: iQ Block Country <support@webence.nl>\n"
8
  "Language: nl\n"
18
  "X-Poedit-SearchPathExcluded-1: old\n"
19
  "X-Poedit-SearchPathExcluded-2: admin\n"
20
 
21
+ #: libs/blockcountry-settings.php:61
22
  msgid ""
23
+ "The MaxMind GeoIP2 database does not exist. Please download this file "
24
  "manually or if you wish to use the GeoIP API get an API key from: "
25
  msgstr ""
26
+ "De MaxMind GeoIP2 database bestaat niet. Download dit bestand handmatig of "
27
+ "indien je dit wenst kun je ook een GeoIP API key verkrijgen op: "
 
28
 
29
+ #: libs/blockcountry-settings.php:62 libs/blockcountry-settings.php:100
30
  msgid "Please download the database from: "
31
  msgstr "Download de database vanaf:"
32
 
33
+ #: libs/blockcountry-settings.php:64 libs/blockcountry-settings.php:102
 
34
  msgid "unzip the file and afterwards upload it to the following location: "
35
  msgstr "pak het bestand uit en upload dit bestand naar de volgende locatie:"
36
 
37
+ #: libs/blockcountry-settings.php:67 libs/blockcountry-settings.php:105
 
 
 
 
38
  msgid "For more detailed instructions take a look at the documentation.."
39
  msgstr "Voor gedetaileerde instructies bekijk de documentatie."
40
 
41
+ #: libs/blockcountry-settings.php:82
42
  msgid "A caching plugin appears to be active on your WordPress installation."
43
  msgstr ""
44
  "Een caching plugin is waarschijnlijk actief in je WordPress installatie."
45
 
46
+ #: libs/blockcountry-settings.php:83
47
  msgid ""
48
  "Caching plugins do not always cooperate nicely together with the iQ Block "
49
  "Country plugin which may lead to non blocked visitors getting a cached "
53
  "wat kan leiden dat bezoekers welke niet geblokkeerd zijn de pagina dat ze "
54
  "geblokkeerd zijn getoond wordt vanuit de cache."
55
 
56
+ #: libs/blockcountry-settings.php:84
57
  msgid "For more information visit the following page:"
58
  msgstr "Voor meer informatie bezoek de volgende pagina:"
59
 
60
+ #: libs/blockcountry-settings.php:99
61
  msgid ""
62
  "The MaxMind GeoIP database is older than 3 months. Please update this file "
63
  "manually or if you wish to use the GeoIP API get an API key from: "
66
  "handmatig of indien je gebruik wilt maken van de GeoIP API kun je een API "
67
  "sleutel verkrijgen van:"
68
 
69
+ #: libs/blockcountry-settings.php:266
70
  msgid ""
71
  "Check which country belongs to an IP Address according to the current "
72
  "database."
73
  msgstr ""
74
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
75
 
76
+ #: libs/blockcountry-settings.php:271
77
  msgid "IP Address to check:"
78
  msgstr "IP adres om te controleren:"
79
 
80
+ #: libs/blockcountry-settings.php:289
81
  msgid "No country for"
82
  msgstr "Geen land voor"
83
 
84
+ #: libs/blockcountry-settings.php:289
85
  msgid "could be found. Or"
86
  msgstr "gevonden. Of"
87
 
88
+ #: libs/blockcountry-settings.php:289
89
  msgid "is not a valid IPv4 or IPv6 IP address"
90
  msgstr "is geen valide IPv4 of IPv6 ip adres."
91
 
92
+ #: libs/blockcountry-settings.php:294
93
  msgid "IP Adress"
94
  msgstr "IP Adres"
95
 
96
+ #: libs/blockcountry-settings.php:294
97
  msgid "belongs to"
98
  msgstr "behoort tot"
99
 
100
+ #: libs/blockcountry-settings.php:300 libs/blockcountry-settings.php:305
101
  msgid "This country is not permitted to visit the frontend of this website."
102
  msgstr ""
103
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
104
 
105
+ #: libs/blockcountry-settings.php:314 libs/blockcountry-settings.php:321
106
  msgid "This country is not permitted to visit the backend of this website."
107
  msgstr ""
108
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
109
 
110
+ #: libs/blockcountry-settings.php:327
111
  msgid "This IP address is present in the blacklist."
112
  msgstr "Dit IP adres staat op de zwarte lijst."
113
 
114
+ #: libs/blockcountry-settings.php:333
115
  msgid "This IP address is present in the frontend blacklist."
116
  msgstr "Dit IP adres staat op de zwarte lijst voor de voorkant."
117
 
118
+ #: libs/blockcountry-settings.php:338
119
  msgid "This IP address is present in the frontend whitelist."
120
  msgstr "Dit IP adres staat op de witte lijst voor de voorkant."
121
 
122
+ #: libs/blockcountry-settings.php:343
123
  msgid "This IP address is present in the backend blacklist."
124
  msgstr "Dit IP adres staat op de zwarte lijst voor de achterkant."
125
 
126
+ #: libs/blockcountry-settings.php:348
127
  msgid "This IP address is present in the backend whitelist."
128
  msgstr "Dit IP adres staat op de witte lijst voor de achterkant."
129
 
130
+ #: libs/blockcountry-settings.php:355
131
  msgid "Check IP address"
132
  msgstr "Controleer IP adres"
133
 
134
+ #: libs/blockcountry-settings.php:363
135
  msgid "Database information"
136
  msgstr "Database informatie"
137
 
138
+ #: libs/blockcountry-settings.php:370
139
  msgid "IPv4 database exists. File date: "
140
  msgstr "IPv4 database bestaat. Bestands datum:"
141
 
142
+ #: libs/blockcountry-settings.php:377 libs/blockcountry-settings.php:412
143
  msgid "Database is older than 3 months... Please update..."
144
  msgstr ""
145
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
146
  "alstublieft."
147
 
148
+ #: libs/blockcountry-settings.php:382
149
  msgid "IPv4 database does not exist."
150
  msgstr "IPv4 database bestaat niet."
151
 
152
+ #: libs/blockcountry-settings.php:388
153
  msgid "IPv6 database exists. File date: "
154
  msgstr "IPv6 database bestaat. Bestands datum:"
155
 
156
+ #: libs/blockcountry-settings.php:395
157
  msgid "Database is older than 3 months... Please update..."
158
  msgstr ""
159
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
160
  "alstublieft."
161
 
162
+ #: libs/blockcountry-settings.php:400
163
  msgid "IPv6 database does not exist."
164
  msgstr "IPv6 database bestaat niet."
165
 
166
+ #: libs/blockcountry-settings.php:405
167
  msgid "GeoIP2 database exists. File date: "
168
  msgstr "GeoIP2 database bestaat. Bestands datum:"
169
 
170
+ #: libs/blockcountry-settings.php:417
171
  msgid "GeoIP2 database does not exist."
172
  msgstr "GeoIP2 database bestaat niet."
173
 
174
+ #: libs/blockcountry-settings.php:424
175
  msgid "Your GeoIP API key is valid till: "
176
  msgstr "Uw GeoIP API key is geldig tot:"
177
 
178
+ #: libs/blockcountry-settings.php:431
179
  msgid "Active plugins"
180
  msgstr "Actieve plugins"
181
 
182
+ #: libs/blockcountry-settings.php:438
183
  msgid "Plugin name"
184
  msgstr "Plugin naam"
185
 
186
+ #: libs/blockcountry-settings.php:438
187
  msgid "Version"
188
  msgstr "Versie"
189
 
190
+ #: libs/blockcountry-settings.php:438 libs/blockcountry-settings.php:1544
191
+ #: libs/blockcountry-settings.php:1604
192
  msgid "URL"
193
  msgstr "URL"
194
 
195
+ #: libs/blockcountry-settings.php:457
196
  msgid "none"
197
  msgstr "Geen"
198
 
199
+ #: libs/blockcountry-settings.php:463 libs/blockcountry-settings.php:464
200
  msgid "unavailable"
201
  msgstr "niet beschikbaar"
202
 
203
+ #: libs/blockcountry-settings.php:468
204
  msgid "File System Information"
205
  msgstr "File systeem informatie"
206
 
207
+ #: libs/blockcountry-settings.php:471
208
  msgid "Website Root Folder"
209
  msgstr "Website root directory"
210
 
211
+ #: libs/blockcountry-settings.php:472 libs/blockcountry-settings.php:666
212
  msgid "Document Root Path"
213
  msgstr "Document root pad"
214
 
215
+ #: libs/blockcountry-settings.php:476
216
  msgid "Database Information"
217
  msgstr "Database informatie"
218
 
219
+ #: libs/blockcountry-settings.php:478
220
  msgid "MySQL Database Version"
221
  msgstr "MySQL Database versie"
222
 
223
+ #: libs/blockcountry-settings.php:479
224
  msgid "MySQL Client Version"
225
  msgstr "MySQL Client versie"
226
 
227
+ #: libs/blockcountry-settings.php:480
228
  msgid "Database Host"
229
  msgstr "Database Host"
230
 
231
+ #: libs/blockcountry-settings.php:486
232
  msgid "Not Set"
233
  msgstr "Niet gezet"
234
 
235
+ #: libs/blockcountry-settings.php:488 libs/blockcountry-settings.php:568
236
+ #: libs/blockcountry-settings.php:576 libs/blockcountry-settings.php:584
237
+ #: libs/blockcountry-settings.php:592 libs/blockcountry-settings.php:601
238
+ #: libs/blockcountry-settings.php:618
239
  msgid "Off"
240
  msgstr "Uit"
241
 
242
+ #: libs/blockcountry-settings.php:491
243
  msgid "SQL Mode"
244
  msgstr "SQL Mode"
245
 
246
+ #: libs/blockcountry-settings.php:495
247
  msgid "Server Information"
248
  msgstr "Server informatie"
249
 
250
+ #: libs/blockcountry-settings.php:500
251
  msgid "Server IP Address"
252
  msgstr "Server IP Adres"
253
 
254
+ #: libs/blockcountry-settings.php:502
255
  msgid "Server Type"
256
  msgstr "Server Type"
257
 
258
+ #: libs/blockcountry-settings.php:503
259
  msgid "Operating System"
260
  msgstr "Operating System"
261
 
262
+ #: libs/blockcountry-settings.php:504
263
  msgid "Browser Compression Supported"
264
  msgstr "Browser Compressie ondersteund"
265
 
266
+ #: libs/blockcountry-settings.php:520
267
  msgid "undefined"
268
  msgstr "Ongedefinieerd"
269
 
270
+ #: libs/blockcountry-settings.php:527
271
  msgid "PHP Process User (UID:GID)"
272
  msgstr "PHP Process User (UID:GID)"
273
 
274
+ #: libs/blockcountry-settings.php:532
275
  msgid "PHP Information"
276
  msgstr "PHP Informatie"
277
 
278
+ #: libs/blockcountry-settings.php:537
279
  msgid "PHP Version"
280
  msgstr "PHP versie"
281
 
282
+ #: libs/blockcountry-settings.php:538
283
  msgid "PHP Memory Usage"
284
  msgstr "PHP Memory Usage"
285
 
286
+ #: libs/blockcountry-settings.php:538
287
  msgid " MB"
288
  msgstr " MB"
289
 
290
+ #: libs/blockcountry-settings.php:544 libs/blockcountry-settings.php:552
291
+ #: libs/blockcountry-settings.php:560 libs/blockcountry-settings.php:609
292
  msgid "N/A"
293
  msgstr "N/A"
294
 
295
+ #: libs/blockcountry-settings.php:547
296
  msgid "PHP Memory Limit"
297
  msgstr "PHP Memory Limit"
298
 
299
+ #: libs/blockcountry-settings.php:555
300
  msgid "PHP Max Upload Size"
301
  msgstr "PHP Max Upload Size"
302
 
303
+ #: libs/blockcountry-settings.php:563
304
  msgid "PHP Max Post Size"
305
  msgstr "PHP Max Post Size"
306
 
307
+ #: libs/blockcountry-settings.php:566 libs/blockcountry-settings.php:574
308
+ #: libs/blockcountry-settings.php:582 libs/blockcountry-settings.php:590
309
+ #: libs/blockcountry-settings.php:599 libs/blockcountry-settings.php:616
310
  msgid "On"
311
  msgstr "Aan"
312
 
313
+ #: libs/blockcountry-settings.php:571
314
  msgid "PHP Allow URL fopen"
315
  msgstr "PHP Allow URL fopen"
316
 
317
+ #: libs/blockcountry-settings.php:579
318
  msgid "PHP Allow URL Include"
319
  msgstr "PHP Allow URL Include"
320
 
321
+ #: libs/blockcountry-settings.php:587
322
  msgid "PHP Display Errors"
323
  msgstr "PHP Display Errors"
324
 
325
+ #: libs/blockcountry-settings.php:595
326
  msgid "PHP Display Startup Errors"
327
  msgstr "PHP Display Startup Errors"
328
 
329
+ #: libs/blockcountry-settings.php:604
330
  msgid "PHP Expose PHP"
331
  msgstr "PHP Expose PHP"
332
 
333
+ #: libs/blockcountry-settings.php:612
334
  msgid "PHP Max Script Execution Time"
335
  msgstr "PHP Max Script Execution Time"
336
 
337
+ #: libs/blockcountry-settings.php:613
338
  msgid "Seconds"
339
  msgstr "Seconden"
340
 
341
+ #: libs/blockcountry-settings.php:621
342
  msgid "PHP open_basedir"
343
  msgstr "PHP open_basedir"
344
 
345
+ #: libs/blockcountry-settings.php:624 libs/blockcountry-settings.php:632
346
  msgid "Yes"
347
  msgstr "Ja"
348
 
349
+ #: libs/blockcountry-settings.php:626 libs/blockcountry-settings.php:634
350
  msgid "No"
351
  msgstr "Nee"
352
 
353
+ #: libs/blockcountry-settings.php:629
354
  msgid "PHP XML Support"
355
  msgstr "PHP XML Support"
356
 
357
+ #: libs/blockcountry-settings.php:637
358
  msgid "PHP IPTC Support"
359
  msgstr "PHP IPTC Support"
360
 
361
+ #: libs/blockcountry-settings.php:639
362
  msgid "Disabled PHP Functions"
363
  msgstr "Disabled PHP Functions"
364
 
365
+ #: libs/blockcountry-settings.php:646
366
  msgid "Wordpress info"
367
  msgstr "Wordpress Informatie"
368
 
369
+ #: libs/blockcountry-settings.php:651
370
  msgid "is enabled"
371
  msgstr "is aangezet"
372
 
373
+ #: libs/blockcountry-settings.php:653
374
  msgid "is disabled"
375
  msgstr "Is uitgezet"
376
 
377
+ #: libs/blockcountry-settings.php:656
378
  msgid " Multisite"
379
  msgstr "Multisite"
380
 
381
+ #: libs/blockcountry-settings.php:659
382
  msgid "are enabled"
383
  msgstr "is aangezet"
384
 
385
+ #: libs/blockcountry-settings.php:661
386
  msgid "are disabled"
387
  msgstr "Is uitgezet"
388
 
389
+ #: libs/blockcountry-settings.php:664
390
  msgid "Permalinks"
391
  msgstr "Permalinks"
392
 
393
+ #: libs/blockcountry-settings.php:681
394
  msgid "Export"
395
  msgstr "Exporteren"
396
 
397
+ #: libs/blockcountry-settings.php:682
398
  msgid ""
399
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
400
  "Block Country configuration will be created."
402
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
403
  "van alle iQ Block Country instellingen worden gecreerd."
404
 
405
+ #: libs/blockcountry-settings.php:683
406
  msgid ""
407
  "After exporting, you can either use the backup file to restore your settings "
408
  "on this site again or copy the settings to another WordPress site."
411
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
412
  "andere WordPress site te exporteren."
413
 
414
+ #: libs/blockcountry-settings.php:687
415
  msgid "Backup all settings"
416
  msgstr "Backup alle instellingen"
417
 
418
+ #: libs/blockcountry-settings.php:694
419
  msgid "Import"
420
  msgstr "Importeer"
421
 
422
+ #: libs/blockcountry-settings.php:695
423
  msgid "Click the browse button and choose a zip file that you exported before."
424
  msgstr ""
425
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
426
  "geexporteerd."
427
 
428
+ #: libs/blockcountry-settings.php:696
429
  msgid "Press Restore settings button, and let WordPress do the magic for you."
430
  msgstr ""
431
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
432
  "doen."
433
 
434
+ #: libs/blockcountry-settings.php:701
435
  msgid "Restore settings"
436
  msgstr "Herstel instellingen"
437
 
438
+ #: libs/blockcountry-settings.php:724 libs/blockcountry-settings.php:727
439
+ #: libs/blockcountry-settings.php:736
440
  msgid "Something went wrong exporting this file"
441
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
442
 
443
+ #: libs/blockcountry-settings.php:739
444
  msgid "Exporting settings..."
445
  msgstr "Exporteer instellingen"
446
 
447
+ #: libs/blockcountry-settings.php:754
448
  msgid "Something went wrong importing this file"
449
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
450
 
451
+ #: libs/blockcountry-settings.php:771
452
  msgid "All options are restored successfully."
453
  msgstr "Alle opties zijn succesvol hersteld"
454
 
455
+ #: libs/blockcountry-settings.php:774
456
  msgid "Invalid file."
457
  msgstr "Ongeldig bestand"
458
 
459
+ #: libs/blockcountry-settings.php:779
460
  msgid "No correct import or export option given."
461
  msgstr "Geen correcte importeer of exporteer optie gegeven."
462
 
463
+ #: libs/blockcountry-settings.php:788
464
  msgid "Select which pages are blocked."
465
  msgstr "Selecteer welke pagina's geblokkeerd worden."
466
 
467
+ #: libs/blockcountry-settings.php:795
468
  msgid "Do you want to block individual pages:"
469
  msgstr "Wil je individuele pagina's blokkeren:"
470
 
471
+ #: libs/blockcountry-settings.php:796
472
  msgid "If you do not select this option all pages will be blocked."
473
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
474
 
475
+ #: libs/blockcountry-settings.php:801
476
  msgid "Select pages you want to block:"
477
  msgstr "Selecteer welke pagina's je wil blokkeren."
478
 
479
+ #: libs/blockcountry-settings.php:823 libs/blockcountry-settings.php:877
480
+ #: libs/blockcountry-settings.php:925 libs/blockcountry-settings.php:973
481
+ #: libs/blockcountry-settings.php:1020 libs/blockcountry-settings.php:1152
482
+ #: libs/blockcountry-settings.php:1281 libs/blockcountry-settings.php:1511
483
  msgid "Save Changes"
484
  msgstr "Bewaar wijzigingen"
485
 
486
+ #: libs/blockcountry-settings.php:836
487
  msgid "Select which categories are blocked."
488
  msgstr "Selecteer welke categorieen geblokkeerd worden."
489
 
490
+ #: libs/blockcountry-settings.php:843
491
  msgid "Do you want to block individual categories:"
492
  msgstr "Wil je individuele categorieen blokkeren:"
493
 
494
+ #: libs/blockcountry-settings.php:844 libs/blockcountry-settings.php:898
495
  msgid "If you do not select this option all blog articles will be blocked."
496
  msgstr ""
497
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
498
 
499
+ #: libs/blockcountry-settings.php:849
500
  msgid "Do you want to block the homepage:"
501
  msgstr "Wil je je homepage blokkeren:"
502
 
503
+ #: libs/blockcountry-settings.php:850
504
  msgid ""
505
  "If you do not select this option visitors will not be blocked from your "
506
  "homepage regardless of the categories you select."
509
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
510
  "selecteert."
511
 
512
+ #: libs/blockcountry-settings.php:855
513
  msgid "Select categories you want to block:"
514
  msgstr "Selecteer welke categorieen je wil blokkeren."
515
 
516
+ #: libs/blockcountry-settings.php:890
517
  msgid "Select which tags are blocked."
518
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
519
 
520
+ #: libs/blockcountry-settings.php:897
521
  msgid "Do you want to block individual tags:"
522
  msgstr "Wil je individuele tags blokkeren?:"
523
 
524
+ #: libs/blockcountry-settings.php:903
525
  msgid "Select tags you want to block:"
526
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
527
 
528
+ #: libs/blockcountry-settings.php:939
529
  msgid "Select which post types are blocked."
530
  msgstr "Selecteer welke post types geblokkeerd worden."
531
 
532
+ #: libs/blockcountry-settings.php:946
533
  msgid "Do you want to block individual post types:"
534
  msgstr "Wil je individuele post types blokkeren:"
535
 
536
+ #: libs/blockcountry-settings.php:951
537
  msgid "Select post types you want to block:"
538
  msgstr "Selecteer welke post types je wil blokkeren."
539
 
540
+ #: libs/blockcountry-settings.php:988
541
  msgid "Select which services are allowed."
542
  msgstr "Selecteer welke diensten je wilt toestaan."
543
 
544
+ #: libs/blockcountry-settings.php:995
545
  msgid "Select which services you want to allow:"
546
  msgstr "Selecteer welke diensten je wilt toestaan:"
547
 
548
+ #: libs/blockcountry-settings.php:996
549
  msgid ""
550
  "This will allow a service like for instance a search engine to your site "
551
  "despite if you blocked the country."
553
  "Dit staat een dienst toe zoals bijvoorbeeld een zoek machine ongeacht of je "
554
  "het land van de zoekmachine hebt geblokkeerd."
555
 
556
+ #: libs/blockcountry-settings.php:997
557
  msgid "Please note the \"Search Engine Visibility\" should not be selected in "
558
  msgstr ""
559
  "Let op: \"Zoekmachine zichtbaarheid\" dient niet geselecteer te staan op "
560
 
561
+ #: libs/blockcountry-settings.php:997
562
  msgid "reading settings."
563
  msgstr "lezen instellingen"
564
 
565
+ #: libs/blockcountry-settings.php:1035
566
  msgid "Frontend options"
567
  msgstr "Voorkant opties"
568
 
569
+ #: libs/blockcountry-settings.php:1062
570
  msgid ""
571
  "Do not block visitors that are logged in from visiting frontend website:"
572
  msgstr ""
573
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
574
 
575
+ #: libs/blockcountry-settings.php:1068
576
  msgid "Block visitors from visiting the frontend of your website:"
577
  msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
578
 
579
+ #: libs/blockcountry-settings.php:1074
580
  msgid "Block visitors from using the search function of your website:"
581
  msgstr ""
582
  "Blokkeer bezoekers van het bezoeken van de zoek functie van je website:"
583
 
584
+ #: libs/blockcountry-settings.php:1080
585
  msgid ""
586
  "Select the countries that should be blocked from visiting your frontend:"
587
  msgstr ""
588
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
589
  "voorkant van je website:"
590
 
591
+ #: libs/blockcountry-settings.php:1081
592
  msgid "Use the CTRL key to select multiple countries"
593
  msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
594
 
595
+ #: libs/blockcountry-settings.php:1123 libs/blockcountry-settings.php:1257
596
  msgid "Inverse the selection above:"
597
  msgstr "Keer bovenstaande selectie om:"
598
 
599
+ #: libs/blockcountry-settings.php:1124 libs/blockcountry-settings.php:1258
600
  msgid ""
601
  "If you select this option only the countries that are selected are "
602
  "<em>allowed</em>."
604
  "Indien je deze optie selecteert de zijn de landen die hierboven geselecteerd "
605
  "<em>toegestaan</em>."
606
 
607
+ #: libs/blockcountry-settings.php:1129
608
  msgid "Block tag pages:"
609
  msgstr "Blokkeer tag pagina's"
610
 
611
+ #: libs/blockcountry-settings.php:1130
612
  msgid "If you select this option tag pages will be blocked."
613
  msgstr "Indien je deze optie selecteert worden tag pagina's geblokkeerd."
614
 
615
+ #: libs/blockcountry-settings.php:1135
616
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
617
  msgstr ""
618
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
619
 
620
+ #: libs/blockcountry-settings.php:1135 libs/blockcountry-settings.php:1143
621
+ #: libs/blockcountry-settings.php:1264 libs/blockcountry-settings.php:1272
622
  msgid "Use a semicolon (;) to separate IP addresses"
623
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
624
 
625
+ #: libs/blockcountry-settings.php:1135 libs/blockcountry-settings.php:1143
626
+ #: libs/blockcountry-settings.php:1264 libs/blockcountry-settings.php:1272
627
  msgid ""
628
  "This field accepts single IP addresses as well as ranges in CIDR format."
629
  msgstr ""
630
  "Dit veld accepteert zowel enkele IP adressen als IP reeksen in CIDR formaat."
631
 
632
+ #: libs/blockcountry-settings.php:1143
633
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
634
  msgstr ""
635
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
636
 
637
+ #: libs/blockcountry-settings.php:1172
638
  msgid "Backend Options"
639
  msgstr "Achterkant opties"
640
 
641
+ #: libs/blockcountry-settings.php:1200
642
  msgid ""
643
  "Block visitors from visiting the backend (administrator) of your website:"
644
  msgstr ""
645
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
646
  "gedeelte) van je website:"
647
 
648
+ #: libs/blockcountry-settings.php:1208
649
  msgid "Your IP address is"
650
  msgstr "Je IP adres is"
651
 
652
+ #: libs/blockcountry-settings.php:1208
653
  msgid "The country that is listed for this IP address is"
654
  msgstr "Het land waar dit adres toe behoort is"
655
 
656
+ #: libs/blockcountry-settings.php:1209
657
  msgid ""
658
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
659
  "(administrator) of your website' and also select"
661
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
662
  "achterkant (administratie gedeelte) van je website\" en"
663
 
664
+ #: libs/blockcountry-settings.php:1209
665
  msgid "below."
666
  msgstr "hier beneden."
667
 
668
+ #: libs/blockcountry-settings.php:1210
669
  msgid ""
670
  "You will NOT be able to login the next time if you DO block your own country "
671
  "from visiting the backend."
673
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
674
  "land blokkeert van het bezoeken van de achterkant van je website."
675
 
676
+ #: libs/blockcountry-settings.php:1215
677
  msgid "Select the countries that should be blocked from visiting your backend:"
678
  msgstr ""
679
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
680
  "achterkant (administratie gedeelte) van je website:"
681
 
682
+ #: libs/blockcountry-settings.php:1216
683
  msgid "Use the x behind the country to remove a country from this blocklist."
684
  msgstr ""
685
  "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
686
 
687
+ #: libs/blockcountry-settings.php:1264
688
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
689
  msgstr ""
690
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
691
 
692
+ #: libs/blockcountry-settings.php:1272
693
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
694
  msgstr ""
695
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
696
 
697
+ #: libs/blockcountry-settings.php:1314
698
  msgid "Overall statistics since start"
699
  msgstr "Statistieken sinds het begin"
700
 
701
+ #: libs/blockcountry-settings.php:1317
702
  msgid "visitors blocked from the backend."
703
  msgstr "bezoekers geblokkeerd op de achterkant."
704
 
705
+ #: libs/blockcountry-settings.php:1319
706
  msgid "visitors blocked from the frontend."
707
  msgstr "bezoekers geblokkeerd op de voorkant."
708
 
709
+ #: libs/blockcountry-settings.php:1336
710
  msgid "Block type"
711
  msgstr "Blokkeer type"
712
 
713
+ #: libs/blockcountry-settings.php:1338
714
  msgid ""
715
  "You should choose one of the 3 block options below. This wil either show a "
716
  "block message, redirect to an internal page or redirect to an external page."
719
  "bericht, stuurt de bezoeker door naar een interne pagina of stuurt de "
720
  "bezoeker door naar een externe pagina."
721
 
722
+ #: libs/blockcountry-settings.php:1343
723
  msgid "Message to display when people are blocked:"
724
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
725
 
726
+ #: libs/blockcountry-settings.php:1354
727
  msgid "Page to redirect to:"
728
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
729
 
730
+ #: libs/blockcountry-settings.php:1355
731
  msgid ""
732
  "If you select a page here blocked visitors will be redirected to this page "
733
  "instead of displaying above block message."
736
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
737
  "bezoekers."
738
 
739
+ #: libs/blockcountry-settings.php:1361
740
  msgid "Choose a page..."
741
  msgstr "Kies een pagina..."
742
 
743
+ #: libs/blockcountry-settings.php:1376
744
  msgid "URL to redirect to:"
745
  msgstr "Naar welke URL wilt u geblokkerde bezoekers verwijzen:"
746
 
747
+ #: libs/blockcountry-settings.php:1377
748
  msgid ""
749
  "If you enter a URL here blocked visitors will be redirected to this URL "
750
  "instead of displaying above block message or redirected to a local page."
753
  "naar deze url anders wordt bovestaande blokkeer tekst getoond aan bezoekers "
754
  "of worden bezoekers doorverwezen naar de geselecteerde pagina."
755
 
756
+ #: libs/blockcountry-settings.php:1384
757
  msgid "General settings"
758
  msgstr "Algemene instellingen"
759
 
760
+ #: libs/blockcountry-settings.php:1388
761
  msgid "Send headers when user is blocked:"
762
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
763
 
764
+ #: libs/blockcountry-settings.php:1389
765
  msgid ""
766
  "Under normal circumstances you should keep this selected! Only if you have "
767
  "\"Cannot modify header information - headers already sent\" errors or if you "
771
  "deze alleen indien je \"Cannot modify header information - headers already "
772
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
773
 
774
+ #: libs/blockcountry-settings.php:1395
775
  msgid "Buffer output?:"
776
  msgstr "Buffer output?"
777
 
778
+ #: libs/blockcountry-settings.php:1396
779
  msgid ""
780
  "You can use this option to buffer all output. This can be helpful in case "
781
  "you have \"headers already sent\" issues."
783
  "Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
784
  "indien je \"headers already sent\" problemen hebt."
785
 
786
+ #: libs/blockcountry-settings.php:1402
787
  msgid "Do not log IP addresses:"
788
  msgstr "Log geen IP adressen"
789
 
790
+ #: libs/blockcountry-settings.php:1403
791
  msgid ""
792
  "Check this box if the laws in your country do not permit you to log IP "
793
  "addresses or if you do not want to log the ip addresses."
796
  "adressen vast te leggen of indien je zelf deze informatie niet wilt "
797
  "vastleggen."
798
 
799
+ #: libs/blockcountry-settings.php:1409
800
  msgid "Do not block admin-ajax.php:"
801
  msgstr "Blokkeer admin-ajax.php niet:"
802
 
803
+ #: libs/blockcountry-settings.php:1410
804
  msgid "Check this box if you use a plugin that uses admin-ajax.php."
805
  msgstr ""
806
  "Selecteer deze optie indien je een plugin gebruikt welke gebruik maakt van "
807
  "admin-ajax.php."
808
 
809
+ #: libs/blockcountry-settings.php:1419
810
  msgid "Number of rows on logging tab:"
811
  msgstr "Aantal regels op het statistieken tabblad:"
812
 
813
+ #: libs/blockcountry-settings.php:1420
814
  msgid "How many rows do you want to display on each column on the logging tab."
815
  msgstr "Hoeveel regels wil je tonen in elke kolom op de statistieken tabblad."
816
 
817
+ #: libs/blockcountry-settings.php:1435
818
  msgid "Number of days to keep logging:"
819
  msgstr "Aantal dagen dat je logs wilt bewaren:"
820
 
821
+ #: libs/blockcountry-settings.php:1436
822
  msgid "How many days do you want to keep the logging used for the logging tab."
823
  msgstr ""
824
  "Hoeveel dagen wil je de logs bewaren welke gebruikt wordt op het "
825
  "statistieken tabblad."
826
 
827
+ #: libs/blockcountry-settings.php:1451
828
  msgid "Do not lookup hosts on the logging tab:"
829
  msgstr "Zoek niet de hostnaam op op het statistieken tabblad."
830
 
831
+ #: libs/blockcountry-settings.php:1452
832
  msgid ""
833
  "On some hosting environments looking up hosts may slow down the logging tab."
834
  msgstr ""
835
  "Op sommige hosting omgevingen zal het opzoeken van hostnamen zorgen voor "
836
  "vertraging op het statistieken tabblad."
837
 
838
+ #: libs/blockcountry-settings.php:1458
839
  msgid "Allow tracking:"
840
  msgstr "Sta traceren toe:"
841
 
842
+ #: libs/blockcountry-settings.php:1459
843
  msgid ""
844
  "This sends only the IP address and the number of attempts this ip address "
845
  "tried to login to your backend and was blocked doing so to a central server. "
852
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
853
  "pogingen worden gedaan. "
854
 
855
+ #: libs/blockcountry-settings.php:1465
856
  msgid "GeoIP API Key:"
857
  msgstr "GeoIP API sleutel:"
858
 
859
+ #: libs/blockcountry-settings.php:1466
860
  msgid ""
861
  "If for some reason you cannot or do not want to download the MaxMind GeoIP "
862
  "databases you will need an API key for the GeoIP api.<br />You can get an "
866
  "Maxmind GeoIP heb je een API sleutelnodig voor de GeoIP api.<br />Je kunt "
867
  "een API sleutel verkrijgen op:"
868
 
869
+ #: libs/blockcountry-settings.php:1474
870
  msgid "GeoIP API Key Server Location:"
871
  msgstr "GeoIP API sleutel server locatie:"
872
 
873
+ #: libs/blockcountry-settings.php:1475
874
  msgid "Choose a location closest to your own location."
875
  msgstr "Kies een land welke het dichtsbij is bij je eigen land."
876
 
877
+ #: libs/blockcountry-settings.php:1486
878
  msgid "Admin block API Key:"
879
  msgstr "Admin block API Sleutel:"
880
 
881
+ #: libs/blockcountry-settings.php:1487
882
  msgid ""
883
  "For additional security you can protect your backend from known IP addresses "
884
  "who have made hack attempts at other WordPress sites.<br />You can get more "
889
  "tegen andere WordPress sites.<br />Je kunt meer informatie hierover vinden "
890
  "en een API key verkrijgen op:"
891
 
892
+ #: libs/blockcountry-settings.php:1495
893
  msgid "Accessibility options:"
894
  msgstr "Toegankelijkheids opties:"
895
 
896
+ #: libs/blockcountry-settings.php:1496
897
  msgid "Set this option if you cannot use the default country selection box."
898
  msgstr ""
899
  "Selecteer deze optie indien je de landen standaard selectie methode niet "
900
  "kunt gebruiken. "
901
 
902
+ #: libs/blockcountry-settings.php:1502
903
  msgid "Log all visits:"
904
  msgstr "Log alle bezoekers:"
905
 
906
+ #: libs/blockcountry-settings.php:1503
907
  msgid ""
908
  "This logs all visits despite if they are blocked or not. This is only for "
909
  "debugging purposes."
911
  "Dit logt alle bezoekers ondanks of ze geblokkeerd zijn of niet. Dit is "
912
  "alleen voor debugging."
913
 
914
+ #: libs/blockcountry-settings.php:1529
915
  msgid "Last blocked visits"
916
  msgstr "Laatste geblokkeerde bezoekers"
917
 
918
+ #: libs/blockcountry-settings.php:1544
919
  msgid "Date / Time"
920
  msgstr "Datum / Tijd"
921
 
922
+ #: libs/blockcountry-settings.php:1544 libs/blockcountry-settings.php:1583
923
  msgid "IP Address"
924
  msgstr "IP adres"
925
 
926
+ #: libs/blockcountry-settings.php:1544 libs/blockcountry-settings.php:1583
927
  msgid "Hostname"
928
  msgstr "Hostnaam"
929
 
930
+ #: libs/blockcountry-settings.php:1544 libs/blockcountry-settings.php:1570
931
  msgid "Country"
932
  msgstr "Land"
933
 
934
+ #: libs/blockcountry-settings.php:1544
935
  msgid "Frontend/Backend"
936
  msgstr "Voorkant/Achterkant"
937
 
938
+ #: libs/blockcountry-settings.php:1561 libs/blockcountry-settings.php:1671
939
  msgid "Frontend"
940
  msgstr "Voorkant"
941
 
942
+ #: libs/blockcountry-settings.php:1561
943
  msgid "Backend banlist"
944
  msgstr "Achterkant banlist"
945
 
946
+ #: libs/blockcountry-settings.php:1561
947
  msgid "Backend & Backend banlist"
948
  msgstr "Achterkant & Achterkant banlist"
949
 
950
+ #: libs/blockcountry-settings.php:1561 libs/blockcountry-settings.php:1672
951
  msgid "Backend"
952
  msgstr "Achterkant"
953
 
954
+ #: libs/blockcountry-settings.php:1568
955
  msgid "Top countries that are blocked"
956
  msgstr "Top landen welke zijn geblokkeerd"
957
 
958
+ #: libs/blockcountry-settings.php:1570 libs/blockcountry-settings.php:1583
959
+ #: libs/blockcountry-settings.php:1604
960
  msgid "# of blocked attempts"
961
  msgstr "# of geblokkeerde pogingen"
962
 
963
+ #: libs/blockcountry-settings.php:1581
964
  msgid "Top hosts that are blocked"
965
  msgstr "Top hosts welke geblokkeerd zijn"
966
 
967
+ #: libs/blockcountry-settings.php:1602
968
  msgid "Top URLs that are blocked"
969
  msgstr "Top URLs welke geblokkeerd zijn"
970
 
971
+ #: libs/blockcountry-settings.php:1618
972
  msgid "Clear database"
973
  msgstr "Leeg database"
974
 
975
+ #: libs/blockcountry-settings.php:1641
976
  msgid "Download as CSV file"
977
  msgstr "Download als een csv bestand."
978
 
979
+ #: libs/blockcountry-settings.php:1648
980
  msgid ""
981
  "You are not logging any information. Please uncheck the option 'Do not log "
982
  "IP addresses' if this is not what you want."
984
  "Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
985
  "adressen' indien dit niet is wat je wilt."
986
 
987
+ #: libs/blockcountry-settings.php:1670
988
  msgid "Home"
989
  msgstr "Home"
990
 
991
+ #: libs/blockcountry-settings.php:1673
992
  msgid "Pages"
993
  msgstr "Pagina's"
994
 
995
+ #: libs/blockcountry-settings.php:1674
996
  msgid "Categories"
997
  msgstr "Categorieen"
998
 
999
+ #: libs/blockcountry-settings.php:1675
1000
  msgid "Tags"
1001
  msgstr "Tags"
1002
 
1003
+ #: libs/blockcountry-settings.php:1675
1004
  msgid "Post types"
1005
  msgstr "Post types"
1006
 
1007
+ #: libs/blockcountry-settings.php:1676
1008
  msgid "Services"
1009
  msgstr "Diensten"
1010
 
1011
+ #: libs/blockcountry-settings.php:1677
1012
  msgid "Tools"
1013
  msgstr "Gereedschap"
1014
 
1015
+ #: libs/blockcountry-settings.php:1678
1016
  msgid "Logging"
1017
  msgstr "Statistieken"
1018
 
1019
+ #: libs/blockcountry-settings.php:1679
1020
  msgid "Import/Export"
1021
  msgstr "Importeren/Exporteren"
1022
 
1032
  msgid "The Admin Block API key is incorrect. Please update the key."
1033
  msgstr "De Admin Block API sleutel is incorrect. Corrigeer a.u.b. de sleutel."
1034
 
1035
+ #~ msgid ""
1036
+ #~ "The MaxMind GeoIP database does not exist. Please download this file "
1037
+ #~ "manually or if you wish to use the GeoIP API get an API key from: "
1038
+ #~ msgstr ""
1039
+ #~ "De MaxMind GeoIP database bestaat niet. Download dit bestand handmatig of "
1040
+ #~ "indien je gebruik wilt maken van de GeoIP API kun je een API sleutel "
1041
+ #~ "verkrijgen van:"
1042
+
1043
+ #~ msgid "If you also use IPv6 please also download the database from: "
1044
+ #~ msgstr ""
1045
+ #~ "Indien je ook IPv6 gebruikt download dan a.u.b. ook de IPv6 database:"
1046
+
1047
  #~ msgid "This ip is present in the blacklist."
1048
  #~ msgstr "Dit ip adres staat op de zwarte lijst"
1049
 
libs/blockcountry-checks.php CHANGED
@@ -12,6 +12,24 @@ function iqblockcountry_check_ipaddress($ip_address)
12
  {
13
  $country = iqblockcountry_retrieve_geoipapi($ip_address);
14
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  elseif ((is_file ( IPV4DBFILE )) && function_exists('geoip_open'))
16
  {
17
 
12
  {
13
  $country = iqblockcountry_retrieve_geoipapi($ip_address);
14
  }
15
+ elseif ((is_file ( GEOIP2DBFILE)))
16
+ {
17
+ if (iqblockcountry_is_valid_ipv4($ip_address) || iqblockcountry_is_valid_ipv6($ip_address))
18
+ {
19
+ if (class_exists('GeoIp2\\Database\\Reader'))
20
+ {
21
+ try {
22
+ $blockreader = new GeoIp2\Database\Reader( GEOIP2DBFILE );
23
+ $blockrecord = $blockreader->country($ip_address);
24
+ $country = $blockrecord->country->isoCode;
25
+ }
26
+ catch(Exception $e) {
27
+ $country = "FALSE";
28
+ }
29
+ }
30
+ }
31
+
32
+ }
33
  elseif ((is_file ( IPV4DBFILE )) && function_exists('geoip_open'))
34
  {
35
 
libs/blockcountry-search-engines.php CHANGED
@@ -21,6 +21,7 @@ $searchengines = array(
21
  "Google Site Verification" => "Google-Site-Verification",
22
  "Jetpack" => "Jetpack by WordPress.com",
23
  "MSN" => "msnbot",
 
24
  "TinEye" => "tineye-bot",
25
  "Twitter" => "twitterbot",
26
  "Yahoo!" => "yahoo! slurp",
21
  "Google Site Verification" => "Google-Site-Verification",
22
  "Jetpack" => "Jetpack by WordPress.com",
23
  "MSN" => "msnbot",
24
+ "Pinterest" => "Pinterest",
25
  "TinEye" => "tineye-bot",
26
  "Twitter" => "twitterbot",
27
  "Yahoo!" => "yahoo! slurp",
libs/blockcountry-settings.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* Check if the Geo Database exists or if GeoIP API key is entered otherwise display notification */
4
- if (!is_file ( IPV4DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
5
  add_action( 'admin_notices', 'iq_missing_db_notice' );
6
  }
7
 
@@ -53,23 +53,22 @@ if (is_file(IPV6DBFILE . ".gz"))
53
  */
54
  function iq_missing_db_notice()
55
  {
56
- ?>
 
 
57
  <div class="notice notice-error">
58
  <h3>iQ Block Country</h3>
59
- <p><?php _e('The MaxMind GeoIP database does not exist. Please download this file manually or if you wish to use the GeoIP API get an API key from: ', 'iq-block-country'); ?><a href="https://geoip.webence.nl/" target="_blank">https://geoip.webence.nl/</a></p>
60
  <p><?php _e("Please download the database from: " , 'iq-block-country'); ?>
61
- <?php echo "<a href=\"" . IPV4DB . "\" target=\"_blank\">" . IPV4DB . "</a> "; ?>
62
  <?php _e("unzip the file and afterwards upload it to the following location: " , 'iq-block-country'); ?>
63
- <b><?php echo IPV4DBFILE; ?></b></p>
64
 
65
- <p><?php _e("If you also use IPv6 please also download the database from: " , 'iq-block-country'); ?>
66
- <?php echo "<a href=\"" . IPV6DB . "\" target=\"_blank\">" . IPV6DB . "</a> "; ?>
67
- <?php _e("unzip the file and afterwards upload it to the following location: " , 'iq-block-country'); ?>
68
- <b><?php echo IPV6DBFILE; ?></b></p>
69
  <p><?php _e('For more detailed instructions take a look at the documentation..', 'iq-block-country'); ?></p>
70
 
71
  </div>
72
  <?php
 
73
  }
74
 
75
  /*
@@ -99,14 +98,10 @@ function iq_old_db_notice()
99
  <h3>iQ Block Country</h3>
100
  <p><?php _e('The MaxMind GeoIP database is older than 3 months. Please update this file manually or if you wish to use the GeoIP API get an API key from: ', 'iq-block-country'); ?><a href="https://geoip.webence.nl/" target="_blank">https://geoip.webence.nl/</a></p>
101
  <p><?php _e("Please download the database from: " , 'iq-block-country'); ?>
102
- <?php echo "<a href=\"" . IPV4DB . "\" target=\"_blank\">" . IPV4DB . "</a> "; ?>
103
  <?php _e("unzip the file and afterwards upload it to the following location: " , 'iq-block-country'); ?>
104
- <b><?php echo IPV4DBFILE; ?></b></p>
105
 
106
- <p><?php _e("If you also use IPv6 please also download the database from: " , 'iq-block-country'); ?>
107
- <?php echo "<a href=\"" . IPV6DB . "\" target=\"_blank\">" . IPV6DB . "</a> "; ?>
108
- <?php _e("unzip the file and afterwards upload it to the following location: " , 'iq-block-country'); ?>
109
- <b><?php echo IPV6DBFILE; ?></b></p>
110
  <p><?php _e('For more detailed instructions take a look at the documentation..', 'iq-block-country'); ?></p>
111
 
112
  </div>
@@ -305,7 +300,7 @@ function iqblockcountry_settings_tools() {
305
  _e('This country is not permitted to visit the frontend of this website.', 'iq-block-country');
306
  echo "<br />";
307
  }
308
- } else {
309
  if (is_array($haystack) && in_array ( $country, $haystack )) {
310
  _e('This country is not permitted to visit the frontend of this website.', 'iq-block-country');
311
  echo "<br />";
@@ -1118,7 +1113,7 @@ function iqblockcountry_settings_frontend()
1118
  }
1119
  print ">$value</option>\n";
1120
  }
1121
- echo "</optgroup";
1122
  echo " </select>";
1123
  }
1124
 
@@ -1305,12 +1300,12 @@ function iqblockcountry_settings_home()
1305
  {
1306
 
1307
  /* Check if the Geo Database exists or if GeoIP API key is entered otherwise display notification */
1308
- if (is_file ( IPV4DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
1309
- $iqfiledate = filemtime(IPV4DBFILE);
1310
  $iq3months = time() - 3 * 31 * 86400;
1311
  if ($iqfiledate < $iq3months)
1312
  {
1313
- // iq_old_db_notice();
1314
  }
1315
  }
1316
 
@@ -1482,9 +1477,9 @@ if (is_file ( IPV4DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
1482
  <td width="70%">
1483
 
1484
  <input type="radio" name="blockcountry_geoapilocation" value="EU" <?php checked('EU', get_option('blockcountry_geoapilocation'), true); ?>> Europe<br />
1485
- <input type="radio" name="blockcountry_geoapilocation" value="US" <?php checked('US', get_option('blockcountry_geoapilocation'), true); ?>> United States - East coast<br />
1486
- <input type="radio" name="blockcountry_geoapilocation" value="US2" <?php checked('US2', get_option('blockcountry_geoapilocation'), true); ?>> United States - West coast<br />
1487
- <input type="radio" name="blockcountry_geoapilocation" value="US3" <?php checked('US3', get_option('blockcountry_geoapilocation'), true); ?>> United States - Florida<br />
1488
  <input type="radio" name="blockcountry_geoapilocation" value="ASIA" <?php checked('ASIA', get_option('blockcountry_geoapilocation'), true); ?>> Asia<br />
1489
  </td></tr>
1490
  <tr valign="top">
@@ -1760,7 +1755,7 @@ function iqblockcountry_find_geoip_location()
1760
  curl_setopt_array($curl, array(
1761
  CURLOPT_RETURNTRANSFER => 1,
1762
  CURLOPT_URL => 'https://us.geoip.webence.nl/test',
1763
- CURLOPT_USERAGENT => 'iQ Block Country location test'
1764
  ));
1765
  $resp = curl_exec($curl);
1766
  $infous = curl_getinfo($curl);
@@ -1770,7 +1765,7 @@ function iqblockcountry_find_geoip_location()
1770
  curl_setopt_array($curl, array(
1771
  CURLOPT_RETURNTRANSFER => 1,
1772
  CURLOPT_URL => 'https://us2.geoip.webence.nl/test',
1773
- CURLOPT_USERAGENT => 'iQ Block Country location test'
1774
  ));
1775
  $resp = curl_exec($curl);
1776
  $infous2 = curl_getinfo($curl);
@@ -1780,7 +1775,7 @@ function iqblockcountry_find_geoip_location()
1780
  curl_setopt_array($curl, array(
1781
  CURLOPT_RETURNTRANSFER => 1,
1782
  CURLOPT_URL => 'https://us3.geoip.webence.nl/test',
1783
- CURLOPT_USERAGENT => 'iQ Block Country location test'
1784
  ));
1785
  $resp = curl_exec($curl);
1786
  $infous3 = curl_getinfo($curl);
@@ -1790,7 +1785,7 @@ function iqblockcountry_find_geoip_location()
1790
  curl_setopt_array($curl, array(
1791
  CURLOPT_RETURNTRANSFER => 1,
1792
  CURLOPT_URL => 'https://asia.geoip.webence.nl/test',
1793
- CURLOPT_USERAGENT => 'iQ Block Country location test'
1794
  ));
1795
  $resp = curl_exec($curl);
1796
  $infoasia = curl_getinfo($curl);
@@ -1799,7 +1794,7 @@ function iqblockcountry_find_geoip_location()
1799
  $curl = curl_init();
1800
  curl_setopt_array($curl, array(
1801
  CURLOPT_URL => 'https://eu.geoip.webence.nl/test',
1802
- CURLOPT_USERAGENT => 'iQ Block Country location test'
1803
  ));
1804
  $resp = curl_exec($curl);
1805
  $infoeu = curl_getinfo($curl);
1
  <?php
2
 
3
  /* Check if the Geo Database exists or if GeoIP API key is entered otherwise display notification */
4
+ if (!is_file ( GEOIP2DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
5
  add_action( 'admin_notices', 'iq_missing_db_notice' );
6
  }
7
 
53
  */
54
  function iq_missing_db_notice()
55
  {
56
+ if (!is_file(IPV4DBFILE))
57
+ {
58
+ ?>
59
  <div class="notice notice-error">
60
  <h3>iQ Block Country</h3>
61
+ <p><?php _e('The MaxMind GeoIP2 database does not exist. Please download this file manually or if you wish to use the GeoIP API get an API key from: ', 'iq-block-country'); ?> <a href="https://geoip.webence.nl/" target="_blank">https://geoip.webence.nl/</a></p>
62
  <p><?php _e("Please download the database from: " , 'iq-block-country'); ?>
63
+ <?php echo "<a href=\"" . GEOIP2DB . "\" target=\"_blank\">" . GEOIP2DB . "</a> "; ?>
64
  <?php _e("unzip the file and afterwards upload it to the following location: " , 'iq-block-country'); ?>
65
+ <b><?php echo GEOIP2DBFILE; ?></b></p>
66
 
 
 
 
 
67
  <p><?php _e('For more detailed instructions take a look at the documentation..', 'iq-block-country'); ?></p>
68
 
69
  </div>
70
  <?php
71
+ }
72
  }
73
 
74
  /*
98
  <h3>iQ Block Country</h3>
99
  <p><?php _e('The MaxMind GeoIP database is older than 3 months. Please update this file manually or if you wish to use the GeoIP API get an API key from: ', 'iq-block-country'); ?><a href="https://geoip.webence.nl/" target="_blank">https://geoip.webence.nl/</a></p>
100
  <p><?php _e("Please download the database from: " , 'iq-block-country'); ?>
101
+ <?php echo "<a href=\"" . GEOIP2DB . "\" target=\"_blank\">" . GEOIP2DB . "</a> "; ?>
102
  <?php _e("unzip the file and afterwards upload it to the following location: " , 'iq-block-country'); ?>
103
+ <b><?php echo GEOIP2DBFILE; ?></b></p>
104
 
 
 
 
 
105
  <p><?php _e('For more detailed instructions take a look at the documentation..', 'iq-block-country'); ?></p>
106
 
107
  </div>
300
  _e('This country is not permitted to visit the frontend of this website.', 'iq-block-country');
301
  echo "<br />";
302
  }
303
+ } else {
304
  if (is_array($haystack) && in_array ( $country, $haystack )) {
305
  _e('This country is not permitted to visit the frontend of this website.', 'iq-block-country');
306
  echo "<br />";
1113
  }
1114
  print ">$value</option>\n";
1115
  }
1116
+ echo "</optgroup>";
1117
  echo " </select>";
1118
  }
1119
 
1300
  {
1301
 
1302
  /* Check if the Geo Database exists or if GeoIP API key is entered otherwise display notification */
1303
+ if (is_file ( GEOIP2DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
1304
+ $iqfiledate = filemtime(GEOIP2DBFILE);
1305
  $iq3months = time() - 3 * 31 * 86400;
1306
  if ($iqfiledate < $iq3months)
1307
  {
1308
+ iq_old_db_notice();
1309
  }
1310
  }
1311
 
1477
  <td width="70%">
1478
 
1479
  <input type="radio" name="blockcountry_geoapilocation" value="EU" <?php checked('EU', get_option('blockcountry_geoapilocation'), true); ?>> Europe<br />
1480
+ <input type="radio" name="blockcountry_geoapilocation" value="US" <?php checked('US', get_option('blockcountry_geoapilocation'), true); ?>> United States - New York<br />
1481
+ <input type="radio" name="blockcountry_geoapilocation" value="US2" <?php checked('US2', get_option('blockcountry_geoapilocation'), true); ?>> United States - San Fransico<br />
1482
+ <input type="radio" name="blockcountry_geoapilocation" value="US3" <?php checked('US3', get_option('blockcountry_geoapilocation'), true); ?>> United States - Miami<br />
1483
  <input type="radio" name="blockcountry_geoapilocation" value="ASIA" <?php checked('ASIA', get_option('blockcountry_geoapilocation'), true); ?>> Asia<br />
1484
  </td></tr>
1485
  <tr valign="top">
1755
  curl_setopt_array($curl, array(
1756
  CURLOPT_RETURNTRANSFER => 1,
1757
  CURLOPT_URL => 'https://us.geoip.webence.nl/test',
1758
+ CURLOPT_USERAGENT => 'iQ Block Country US location test'
1759
  ));
1760
  $resp = curl_exec($curl);
1761
  $infous = curl_getinfo($curl);
1765
  curl_setopt_array($curl, array(
1766
  CURLOPT_RETURNTRANSFER => 1,
1767
  CURLOPT_URL => 'https://us2.geoip.webence.nl/test',
1768
+ CURLOPT_USERAGENT => 'iQ Block Country US2 location test'
1769
  ));
1770
  $resp = curl_exec($curl);
1771
  $infous2 = curl_getinfo($curl);
1775
  curl_setopt_array($curl, array(
1776
  CURLOPT_RETURNTRANSFER => 1,
1777
  CURLOPT_URL => 'https://us3.geoip.webence.nl/test',
1778
+ CURLOPT_USERAGENT => 'iQ Block Country US3 location test'
1779
  ));
1780
  $resp = curl_exec($curl);
1781
  $infous3 = curl_getinfo($curl);
1785
  curl_setopt_array($curl, array(
1786
  CURLOPT_RETURNTRANSFER => 1,
1787
  CURLOPT_URL => 'https://asia.geoip.webence.nl/test',
1788
+ CURLOPT_USERAGENT => 'iQ Block Country Asia location test'
1789
  ));
1790
  $resp = curl_exec($curl);
1791
  $infoasia = curl_getinfo($curl);
1794
  $curl = curl_init();
1795
  curl_setopt_array($curl, array(
1796
  CURLOPT_URL => 'https://eu.geoip.webence.nl/test',
1797
+ CURLOPT_USERAGENT => 'iQ Block Country EU location test'
1798
  ));
1799
  $resp = curl_exec($curl);
1800
  $infoeu = curl_getinfo($curl);
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: iqpascal
3
  Donate link: https://www.webence.nl/plugins/donate
4
  Tags: spam, block, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist, security
5
  Requires at least: 3.5.2
6
- Tested up to: 4.9.6
7
- Stable tag: 1.1.51
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.6
@@ -66,13 +66,11 @@ Plugins that do NOT work: W3 Total Cache, Hyper cache, WPRocket
66
  == Installation ==
67
 
68
  1. Unzip the archive and put the `iq-block-country` folder into your plugins folder (/wp-content/plugins/).
69
- 2. Download the IPv4 database from: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
70
- 3. Unzip the GeoIP database and upload it to your upload dir usually /wp-content/uploads/GeoIP.dat
71
- 4. Download the IPv6 database if you have a website running on IPv6 from: http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
72
- 5. Unzip the GeoIP database and upload it to your upload dir usually /wp-content/uploads/GeoIPv6.dat
73
- 6. If you do not want to or cannot download the MaxMind GeoIP database you can use the GeoIP API.
74
- 7. Activate the plugin through the 'Plugins' menu in WordPress
75
- 8. Go to the settings page and choose which countries you want to ban. Use the ctrl key to select multiple countries
76
 
77
  == Frequently Asked Questions ==
78
 
@@ -223,8 +221,20 @@ As the basic rule is to block all and every post you have to configure this in a
223
  - Select "Do you want to block individual tags" on the tags tab.
224
  - Select any tag you want to block.
225
 
 
 
 
 
 
 
 
226
  == Changelog ==
227
 
 
 
 
 
 
228
  = 1.1.51 =
229
 
230
  * New: Added new GeoIP API server in Florida
3
  Donate link: https://www.webence.nl/plugins/donate
4
  Tags: spam, block, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist, security
5
  Requires at least: 3.5.2
6
+ Tested up to: 4.9.7
7
+ Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.6
66
  == Installation ==
67
 
68
  1. Unzip the archive and put the `iq-block-country` folder into your plugins folder (/wp-content/plugins/).
69
+ 2. Download the GeoIP2 Country database from: http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
70
+ 3. Unzip the GeoIP2 database and upload the GeoLite2-Country.mmdb file to your upload dir usually /wp-content/uploads/GeoLite2-Country.mmdb
71
+ 4. If you do not want to or cannot download the MaxMind GeoIP database you can use the GeoIP API.
72
+ 5. Activate the plugin through the 'Plugins' menu in WordPress
73
+ 6. Go to the settings page and choose which countries you want to ban. Use the ctrl key to select multiple countries
 
 
74
 
75
  == Frequently Asked Questions ==
76
 
221
  - Select "Do you want to block individual tags" on the tags tab.
222
  - Select any tag you want to block.
223
 
224
+ = Is the new GeoIP2 database format supported? =
225
+
226
+ Yes since v1.2.0 the new GeoIP2 Country database is supported. For now the old GeoIP lite database will also still be supported.
227
+ These databases are however not updated anymore by MaxMind. If you have the new database and the old database the new one will
228
+ be used.
229
+
230
+
231
  == Changelog ==
232
 
233
+ = 1.2.0 =
234
+
235
+ * New: Added support for GeoIP2 country database
236
+ * New: Added Pinterest as service
237
+
238
  = 1.1.51 =
239
 
240
  * New: Added new GeoIP API server in Florida