iQ Block Country - Version 1.2.3

Version Description

  • Change: Changed inverse option to that you have to select between 'Block countries selected below' or 'Block all countries except those selected below' as inverse option caused some confusion.
  • New: Added 'inverse' function to the pages selection as well. So you can now select the pages you want to block or select the pages you do not want to have blocked and block all other pages.
  • New: Added override function for IP detection.
  • Change: Cutoff for long urls on the statistics page.
Download this release

Release Info

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

Code changes from version 1.2.2 to 1.2.3

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.2.2
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.
@@ -83,10 +83,15 @@ function iqblockcountry_localization()
83
  function iqblockcountry_get_ipaddress() {
84
  global $ip_address;
85
 
 
 
86
 
87
  if ( isset($_SERVER['HTTP_CF_CONNECTING_IP']) && !empty($_SERVER['HTTP_CF_CONNECTING_IP']) ) {
88
  $ip_address = $_SERVER['HTTP_CF_CONNECTING_IP'];
89
  }
 
 
 
90
  elseif ( isset($_SERVER['HTTP_X_SUCURI_CLIENTIP']) && !empty($_SERVER['HTTP_X_SUCURI_CLIENTIP']) ) {
91
  $ip_address = $_SERVER['HTTP_X_SUCURI_CLIENTIP'];
92
  }
@@ -102,9 +107,6 @@ function iqblockcountry_get_ipaddress() {
102
  elseif ( isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP']) ) {
103
  $ip_address = $_SERVER['HTTP_CLIENT_IP'];
104
  }
105
- elseif ( isset($_SERVER['HTTP_X_REAL_IP']) && !empty($_SERVER['HTTP_X_REAL_IP']) ) {
106
- $ip_address = $_SERVER['HTTP_X_REAL_IP'];
107
- }
108
  elseif ( isset($_SERVER['HTTP_FORWARDED']) && !empty($_SERVER['HTTP_FORWARDED']) ) {
109
  $ip_address = $_SERVER['HTTP_FORWARDED'];
110
  }
@@ -112,10 +114,30 @@ function iqblockcountry_get_ipaddress() {
112
  $ip_address = $_SERVER['REMOTE_ADDR'];
113
  }
114
 
 
 
 
 
 
 
 
 
 
115
  // Get first ip if ip_address contains multiple addresses
116
  $ips = explode(',', $ip_address);
117
  $ip_address = trim($ips[0]);
118
 
 
 
 
 
 
 
 
 
 
 
 
119
  return $ip_address;
120
  }
121
 
@@ -126,7 +148,11 @@ function iqblockcountry_upgrade()
126
  $dbversion = get_option( 'blockcountry_version' );
127
  update_option('blockcountry_version',VERSION);
128
 
129
- if ($dbversion != "" && version_compare($dbversion, "1.2.2", '<') )
 
 
 
 
130
  {
131
  iqblockcountry_find_geoip_location();
132
  }
@@ -217,7 +243,7 @@ define("GEOIPAPIURLASIA","https://asia.geoip.webence.nl/geoipapi.php");
217
  define("GEOIPAPICHECKURL","https://eu.geoip.webence.nl/geoipapi-keycheck.php");
218
  define("ADMINAPICHECKURL","https://tracking.webence.nl/adminapi-keycheck.php");
219
  define("IPLOOKUPURL",'https://geoip.webence.nl/iplookup/iplookup.php');
220
- define("VERSION","1.2.2");
221
  define("DBVERSION","122");
222
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
223
 
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.3
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.
83
  function iqblockcountry_get_ipaddress() {
84
  global $ip_address;
85
 
86
+ if (isset($_SERVER['SERVER_ADDR']) && !empty($_SERVER['SERVER_ADDR']));
87
+ { $server_address = $_SERVER['SERVER_ADDR']; }
88
 
89
  if ( isset($_SERVER['HTTP_CF_CONNECTING_IP']) && !empty($_SERVER['HTTP_CF_CONNECTING_IP']) ) {
90
  $ip_address = $_SERVER['HTTP_CF_CONNECTING_IP'];
91
  }
92
+ elseif ( isset($_SERVER['HTTP_X_REAL_IP']) && !empty($_SERVER['HTTP_X_REAL_IP']) ) {
93
+ $ip_address = $_SERVER['HTTP_X_REAL_IP'];
94
+ }
95
  elseif ( isset($_SERVER['HTTP_X_SUCURI_CLIENTIP']) && !empty($_SERVER['HTTP_X_SUCURI_CLIENTIP']) ) {
96
  $ip_address = $_SERVER['HTTP_X_SUCURI_CLIENTIP'];
97
  }
107
  elseif ( isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP']) ) {
108
  $ip_address = $_SERVER['HTTP_CLIENT_IP'];
109
  }
 
 
 
110
  elseif ( isset($_SERVER['HTTP_FORWARDED']) && !empty($_SERVER['HTTP_FORWARDED']) ) {
111
  $ip_address = $_SERVER['HTTP_FORWARDED'];
112
  }
114
  $ip_address = $_SERVER['REMOTE_ADDR'];
115
  }
116
 
117
+ $ipoverride = get_option('blockcountry_ipoverride');
118
+ if (isset($ipoverride) && (!empty($ipoverride) && ($ipoverride != "NONE") ))
119
+ {
120
+ if ( isset($_SERVER[$ipoverride]) && !empty($_SERVER[$ipoverride]))
121
+ {
122
+ $ip_address = $_SERVER[$ipoverride];
123
+ }
124
+ }
125
+
126
  // Get first ip if ip_address contains multiple addresses
127
  $ips = explode(',', $ip_address);
128
  $ip_address = trim($ips[0]);
129
 
130
+ if ($ip_address == $server_address)
131
+ {
132
+ if ( isset($_SERVER['REMOTE_ADDR']) && !empty($_SERVER['REMOTE_ADDR']) ) {
133
+ $ip_address = $_SERVER['REMOTE_ADDR'];
134
+ }
135
+ else
136
+ {
137
+ $ip_address = "0.0.0.0";
138
+ }
139
+
140
+ }
141
  return $ip_address;
142
  }
143
 
148
  $dbversion = get_option( 'blockcountry_version' );
149
  update_option('blockcountry_version',VERSION);
150
 
151
+ if ($dbversion != "" && version_compare($dbversion, "1.2.3", '<') )
152
+ {
153
+ update_option('blockcountry_ipoverride' , 'NONE');
154
+ }
155
+ elseif ($dbversion != "" && version_compare($dbversion, "1.2.2", '<') )
156
  {
157
  iqblockcountry_find_geoip_location();
158
  }
243
  define("GEOIPAPICHECKURL","https://eu.geoip.webence.nl/geoipapi-keycheck.php");
244
  define("ADMINAPICHECKURL","https://tracking.webence.nl/adminapi-keycheck.php");
245
  define("IPLOOKUPURL",'https://geoip.webence.nl/iplookup/iplookup.php');
246
+ define("VERSION","1.2.3");
247
  define("DBVERSION","122");
248
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
249
 
lang/iqblockcountry-nl_NL.mo CHANGED
Binary file
lang/iqblockcountry-nl_NL.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
- "POT-Creation-Date: 2019-01-01 11:03+0100\n"
5
- "PO-Revision-Date: 2019-01-01 11:06+0100\n"
6
  "Last-Translator: Pascal <pascal@webence.nl>\n"
7
  "Language-Team: iQ Block Country <support@webence.nl>\n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.7.1\n"
13
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SearchPath-0: libs\n"
@@ -93,335 +93,351 @@ msgstr ""
93
  msgid "unzip the file and afterwards upload it to the following location: "
94
  msgstr "pak het bestand uit en upload dit bestand naar de volgende locatie:"
95
 
96
- #: libs/blockcountry-settings.php:296
97
  msgid ""
98
  "Check which country belongs to an IP Address according to the current "
99
  "database."
100
  msgstr ""
101
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
102
 
103
- #: libs/blockcountry-settings.php:301
104
  msgid "IP Address to check:"
105
  msgstr "IP adres om te controleren:"
106
 
107
- #: libs/blockcountry-settings.php:319
108
  msgid "No country for"
109
  msgstr "Geen land voor"
110
 
111
- #: libs/blockcountry-settings.php:319
112
  msgid "could be found. Or"
113
  msgstr "gevonden. Of"
114
 
115
- #: libs/blockcountry-settings.php:319
116
  msgid "is not a valid IPv4 or IPv6 IP address"
117
  msgstr "is geen valide IPv4 of IPv6 ip adres."
118
 
119
- #: libs/blockcountry-settings.php:324
120
  msgid "IP Adress"
121
  msgstr "IP Adres"
122
 
123
- #: libs/blockcountry-settings.php:324
124
  msgid "belongs to"
125
  msgstr "behoort tot"
126
 
127
- #: libs/blockcountry-settings.php:330 libs/blockcountry-settings.php:335
128
  msgid "This country is not permitted to visit the frontend of this website."
129
  msgstr ""
130
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
131
 
132
- #: libs/blockcountry-settings.php:344 libs/blockcountry-settings.php:351
133
  msgid "This country is not permitted to visit the backend of this website."
134
  msgstr ""
135
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
136
 
137
- #: libs/blockcountry-settings.php:357
138
  msgid "This IP address is present in the blacklist."
139
  msgstr "Dit IP adres staat op de zwarte lijst."
140
 
141
- #: libs/blockcountry-settings.php:363
142
  msgid "This IP address is present in the frontend blacklist."
143
  msgstr "Dit IP adres staat op de zwarte lijst voor de voorkant."
144
 
145
- #: libs/blockcountry-settings.php:368
146
  msgid "This IP address is present in the frontend whitelist."
147
  msgstr "Dit IP adres staat op de witte lijst voor de voorkant."
148
 
149
- #: libs/blockcountry-settings.php:373
150
  msgid "This IP address is present in the backend blacklist."
151
  msgstr "Dit IP adres staat op de zwarte lijst voor de achterkant."
152
 
153
- #: libs/blockcountry-settings.php:378
154
  msgid "This IP address is present in the backend whitelist."
155
  msgstr "Dit IP adres staat op de witte lijst voor de achterkant."
156
 
157
- #: libs/blockcountry-settings.php:385
158
  msgid "Check IP address"
159
  msgstr "Controleer IP adres"
160
 
161
- #: libs/blockcountry-settings.php:393
162
  msgid "Database information"
163
  msgstr "Database informatie"
164
 
165
- #: libs/blockcountry-settings.php:402
166
  msgid "IPv4 database exists. File date: "
167
  msgstr "IPv4 database bestaat. Bestands datum:"
168
 
169
- #: libs/blockcountry-settings.php:409 libs/blockcountry-settings.php:444
170
  msgid "Database is older than 3 months... Please update..."
171
  msgstr ""
172
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
173
  "alstublieft."
174
 
175
- #: libs/blockcountry-settings.php:414
176
  msgid "IPv4 database does not exist."
177
  msgstr "IPv4 database bestaat niet."
178
 
179
- #: libs/blockcountry-settings.php:420
180
  msgid "IPv6 database exists. File date: "
181
  msgstr "IPv6 database bestaat. Bestands datum:"
182
 
183
- #: libs/blockcountry-settings.php:427
184
  msgid "Database is older than 3 months... Please update..."
185
  msgstr ""
186
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
187
  "alstublieft."
188
 
189
- #: libs/blockcountry-settings.php:432
190
  msgid "IPv6 database does not exist."
191
  msgstr "IPv6 database bestaat niet."
192
 
193
- #: libs/blockcountry-settings.php:437
194
  msgid "GeoIP2 database exists. File date: "
195
  msgstr "GeoIP2 database bestaat. Bestands datum:"
196
 
197
- #: libs/blockcountry-settings.php:449
198
  msgid "GeoIP2 database does not exist."
199
  msgstr "GeoIP2 database bestaat niet."
200
 
201
- #: libs/blockcountry-settings.php:456
202
  msgid "Your GeoIP API key is valid till: "
203
  msgstr "Uw GeoIP API key is geldig tot:"
204
 
205
- #: libs/blockcountry-settings.php:463
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  msgid "Active plugins"
207
  msgstr "Actieve plugins"
208
 
209
- #: libs/blockcountry-settings.php:470
210
  msgid "Plugin name"
211
  msgstr "Plugin naam"
212
 
213
- #: libs/blockcountry-settings.php:470
214
  msgid "Version"
215
  msgstr "Versie"
216
 
217
- #: libs/blockcountry-settings.php:470 libs/blockcountry-settings.php:1576
218
- #: libs/blockcountry-settings.php:1636
219
  msgid "URL"
220
  msgstr "URL"
221
 
222
- #: libs/blockcountry-settings.php:489
223
  msgid "none"
224
  msgstr "Geen"
225
 
226
- #: libs/blockcountry-settings.php:495 libs/blockcountry-settings.php:496
227
  msgid "unavailable"
228
  msgstr "niet beschikbaar"
229
 
230
- #: libs/blockcountry-settings.php:500
231
  msgid "File System Information"
232
  msgstr "File systeem informatie"
233
 
234
- #: libs/blockcountry-settings.php:503
235
  msgid "Website Root Folder"
236
  msgstr "Website root directory"
237
 
238
- #: libs/blockcountry-settings.php:504 libs/blockcountry-settings.php:698
239
  msgid "Document Root Path"
240
  msgstr "Document root pad"
241
 
242
- #: libs/blockcountry-settings.php:508
243
  msgid "Database Information"
244
  msgstr "Database informatie"
245
 
246
- #: libs/blockcountry-settings.php:510
247
  msgid "MySQL Database Version"
248
  msgstr "MySQL Database versie"
249
 
250
- #: libs/blockcountry-settings.php:511
251
  msgid "MySQL Client Version"
252
  msgstr "MySQL Client versie"
253
 
254
- #: libs/blockcountry-settings.php:512
255
  msgid "Database Host"
256
  msgstr "Database Host"
257
 
258
- #: libs/blockcountry-settings.php:518
259
  msgid "Not Set"
260
  msgstr "Niet gezet"
261
 
262
- #: libs/blockcountry-settings.php:520 libs/blockcountry-settings.php:600
263
- #: libs/blockcountry-settings.php:608 libs/blockcountry-settings.php:616
264
- #: libs/blockcountry-settings.php:624 libs/blockcountry-settings.php:633
265
- #: libs/blockcountry-settings.php:650
266
  msgid "Off"
267
  msgstr "Uit"
268
 
269
- #: libs/blockcountry-settings.php:523
270
  msgid "SQL Mode"
271
  msgstr "SQL Mode"
272
 
273
- #: libs/blockcountry-settings.php:527
274
  msgid "Server Information"
275
  msgstr "Server informatie"
276
 
277
- #: libs/blockcountry-settings.php:532
278
  msgid "Server IP Address"
279
  msgstr "Server IP Adres"
280
 
281
- #: libs/blockcountry-settings.php:534
282
  msgid "Server Type"
283
  msgstr "Server Type"
284
 
285
- #: libs/blockcountry-settings.php:535
286
  msgid "Operating System"
287
  msgstr "Operating System"
288
 
289
- #: libs/blockcountry-settings.php:536
290
  msgid "Browser Compression Supported"
291
  msgstr "Browser Compressie ondersteund"
292
 
293
- #: libs/blockcountry-settings.php:552
294
  msgid "undefined"
295
  msgstr "Ongedefinieerd"
296
 
297
- #: libs/blockcountry-settings.php:559
298
  msgid "PHP Process User (UID:GID)"
299
  msgstr "PHP Process User (UID:GID)"
300
 
301
- #: libs/blockcountry-settings.php:564
302
  msgid "PHP Information"
303
  msgstr "PHP Informatie"
304
 
305
- #: libs/blockcountry-settings.php:569
306
  msgid "PHP Version"
307
  msgstr "PHP versie"
308
 
309
- #: libs/blockcountry-settings.php:570
310
  msgid "PHP Memory Usage"
311
  msgstr "PHP Memory Usage"
312
 
313
- #: libs/blockcountry-settings.php:570
314
  msgid " MB"
315
  msgstr " MB"
316
 
317
- #: libs/blockcountry-settings.php:576 libs/blockcountry-settings.php:584
318
- #: libs/blockcountry-settings.php:592 libs/blockcountry-settings.php:641
319
  msgid "N/A"
320
  msgstr "N/A"
321
 
322
- #: libs/blockcountry-settings.php:579
323
  msgid "PHP Memory Limit"
324
  msgstr "PHP Memory Limit"
325
 
326
- #: libs/blockcountry-settings.php:587
327
  msgid "PHP Max Upload Size"
328
  msgstr "PHP Max Upload Size"
329
 
330
- #: libs/blockcountry-settings.php:595
331
  msgid "PHP Max Post Size"
332
  msgstr "PHP Max Post Size"
333
 
334
- #: libs/blockcountry-settings.php:598 libs/blockcountry-settings.php:606
335
- #: libs/blockcountry-settings.php:614 libs/blockcountry-settings.php:622
336
- #: libs/blockcountry-settings.php:631 libs/blockcountry-settings.php:648
337
  msgid "On"
338
  msgstr "Aan"
339
 
340
- #: libs/blockcountry-settings.php:603
341
  msgid "PHP Allow URL fopen"
342
  msgstr "PHP Allow URL fopen"
343
 
344
- #: libs/blockcountry-settings.php:611
345
  msgid "PHP Allow URL Include"
346
  msgstr "PHP Allow URL Include"
347
 
348
- #: libs/blockcountry-settings.php:619
349
  msgid "PHP Display Errors"
350
  msgstr "PHP Display Errors"
351
 
352
- #: libs/blockcountry-settings.php:627
353
  msgid "PHP Display Startup Errors"
354
  msgstr "PHP Display Startup Errors"
355
 
356
- #: libs/blockcountry-settings.php:636
357
  msgid "PHP Expose PHP"
358
  msgstr "PHP Expose PHP"
359
 
360
- #: libs/blockcountry-settings.php:644
361
  msgid "PHP Max Script Execution Time"
362
  msgstr "PHP Max Script Execution Time"
363
 
364
- #: libs/blockcountry-settings.php:645
365
  msgid "Seconds"
366
  msgstr "Seconden"
367
 
368
- #: libs/blockcountry-settings.php:653
369
  msgid "PHP open_basedir"
370
  msgstr "PHP open_basedir"
371
 
372
- #: libs/blockcountry-settings.php:656 libs/blockcountry-settings.php:664
373
  msgid "Yes"
374
  msgstr "Ja"
375
 
376
- #: libs/blockcountry-settings.php:658 libs/blockcountry-settings.php:666
377
  msgid "No"
378
  msgstr "Nee"
379
 
380
- #: libs/blockcountry-settings.php:661
381
  msgid "PHP XML Support"
382
  msgstr "PHP XML Support"
383
 
384
- #: libs/blockcountry-settings.php:669
385
  msgid "PHP IPTC Support"
386
  msgstr "PHP IPTC Support"
387
 
388
- #: libs/blockcountry-settings.php:671
389
  msgid "Disabled PHP Functions"
390
  msgstr "Disabled PHP Functions"
391
 
392
- #: libs/blockcountry-settings.php:678
393
  msgid "Wordpress info"
394
  msgstr "Wordpress Informatie"
395
 
396
- #: libs/blockcountry-settings.php:683
397
  msgid "is enabled"
398
  msgstr "is aangezet"
399
 
400
- #: libs/blockcountry-settings.php:685
401
  msgid "is disabled"
402
  msgstr "Is uitgezet"
403
 
404
- #: libs/blockcountry-settings.php:688
405
  msgid " Multisite"
406
  msgstr "Multisite"
407
 
408
- #: libs/blockcountry-settings.php:691
409
  msgid "are enabled"
410
  msgstr "is aangezet"
411
 
412
- #: libs/blockcountry-settings.php:693
413
  msgid "are disabled"
414
  msgstr "Is uitgezet"
415
 
416
- #: libs/blockcountry-settings.php:696
417
  msgid "Permalinks"
418
  msgstr "Permalinks"
419
 
420
- #: libs/blockcountry-settings.php:713
421
  msgid "Export"
422
  msgstr "Exporteren"
423
 
424
- #: libs/blockcountry-settings.php:714
425
  msgid ""
426
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
427
  "Block Country configuration will be created."
@@ -429,7 +445,7 @@ msgstr ""
429
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
430
  "van alle iQ Block Country instellingen worden gecreerd."
431
 
432
- #: libs/blockcountry-settings.php:715
433
  msgid ""
434
  "After exporting, you can either use the backup file to restore your settings "
435
  "on this site again or copy the settings to another WordPress site."
@@ -438,96 +454,104 @@ msgstr ""
438
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
439
  "andere WordPress site te exporteren."
440
 
441
- #: libs/blockcountry-settings.php:719
442
  msgid "Backup all settings"
443
  msgstr "Backup alle instellingen"
444
 
445
- #: libs/blockcountry-settings.php:726
446
  msgid "Import"
447
  msgstr "Importeer"
448
 
449
- #: libs/blockcountry-settings.php:727
450
  msgid "Click the browse button and choose a zip file that you exported before."
451
  msgstr ""
452
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
453
  "geexporteerd."
454
 
455
- #: libs/blockcountry-settings.php:728
456
  msgid "Press Restore settings button, and let WordPress do the magic for you."
457
  msgstr ""
458
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
459
  "doen."
460
 
461
- #: libs/blockcountry-settings.php:733
462
  msgid "Restore settings"
463
  msgstr "Herstel instellingen"
464
 
465
- #: libs/blockcountry-settings.php:756 libs/blockcountry-settings.php:759
466
- #: libs/blockcountry-settings.php:768
467
  msgid "Something went wrong exporting this file"
468
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
469
 
470
- #: libs/blockcountry-settings.php:771
471
  msgid "Exporting settings..."
472
  msgstr "Exporteer instellingen"
473
 
474
- #: libs/blockcountry-settings.php:786
475
  msgid "Something went wrong importing this file"
476
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
477
 
478
- #: libs/blockcountry-settings.php:803
479
  msgid "All options are restored successfully."
480
  msgstr "Alle opties zijn succesvol hersteld"
481
 
482
- #: libs/blockcountry-settings.php:806
483
  msgid "Invalid file."
484
  msgstr "Ongeldig bestand"
485
 
486
- #: libs/blockcountry-settings.php:811
487
  msgid "No correct import or export option given."
488
  msgstr "Geen correcte importeer of exporteer optie gegeven."
489
 
490
- #: libs/blockcountry-settings.php:820
491
  msgid "Select which pages are blocked."
492
  msgstr "Selecteer welke pagina's geblokkeerd worden."
493
 
494
- #: libs/blockcountry-settings.php:827
495
  msgid "Do you want to block individual pages:"
496
  msgstr "Wil je individuele pagina's blokkeren:"
497
 
498
- #: libs/blockcountry-settings.php:828
499
  msgid "If you do not select this option all pages will be blocked."
500
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
501
 
502
- #: libs/blockcountry-settings.php:833
 
 
 
 
 
 
 
 
503
  msgid "Select pages you want to block:"
504
  msgstr "Selecteer welke pagina's je wil blokkeren."
505
 
506
- #: libs/blockcountry-settings.php:855 libs/blockcountry-settings.php:909
507
- #: libs/blockcountry-settings.php:957 libs/blockcountry-settings.php:1005
508
- #: libs/blockcountry-settings.php:1052 libs/blockcountry-settings.php:1184
509
- #: libs/blockcountry-settings.php:1313 libs/blockcountry-settings.php:1543
510
  msgid "Save Changes"
511
  msgstr "Bewaar wijzigingen"
512
 
513
- #: libs/blockcountry-settings.php:868
514
  msgid "Select which categories are blocked."
515
  msgstr "Selecteer welke categorieen geblokkeerd worden."
516
 
517
- #: libs/blockcountry-settings.php:875
518
  msgid "Do you want to block individual categories:"
519
  msgstr "Wil je individuele categorieen blokkeren:"
520
 
521
- #: libs/blockcountry-settings.php:876 libs/blockcountry-settings.php:930
522
  msgid "If you do not select this option all blog articles will be blocked."
523
  msgstr ""
524
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
525
 
526
- #: libs/blockcountry-settings.php:881
527
  msgid "Do you want to block the homepage:"
528
  msgstr "Wil je je homepage blokkeren:"
529
 
530
- #: libs/blockcountry-settings.php:882
531
  msgid ""
532
  "If you do not select this option visitors will not be blocked from your "
533
  "homepage regardless of the categories you select."
@@ -536,43 +560,43 @@ msgstr ""
536
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
537
  "selecteert."
538
 
539
- #: libs/blockcountry-settings.php:887
540
  msgid "Select categories you want to block:"
541
  msgstr "Selecteer welke categorieen je wil blokkeren."
542
 
543
- #: libs/blockcountry-settings.php:922
544
  msgid "Select which tags are blocked."
545
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
546
 
547
- #: libs/blockcountry-settings.php:929
548
  msgid "Do you want to block individual tags:"
549
  msgstr "Wil je individuele tags blokkeren?:"
550
 
551
- #: libs/blockcountry-settings.php:935
552
  msgid "Select tags you want to block:"
553
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
554
 
555
- #: libs/blockcountry-settings.php:971
556
  msgid "Select which post types are blocked."
557
  msgstr "Selecteer welke post types geblokkeerd worden."
558
 
559
- #: libs/blockcountry-settings.php:978
560
  msgid "Do you want to block individual post types:"
561
  msgstr "Wil je individuele post types blokkeren:"
562
 
563
- #: libs/blockcountry-settings.php:983
564
  msgid "Select post types you want to block:"
565
  msgstr "Selecteer welke post types je wil blokkeren."
566
 
567
- #: libs/blockcountry-settings.php:1020
568
  msgid "Select which services are allowed."
569
  msgstr "Selecteer welke diensten je wilt toestaan."
570
 
571
- #: libs/blockcountry-settings.php:1027
572
  msgid "Select which services you want to allow:"
573
  msgstr "Selecteer welke diensten je wilt toestaan:"
574
 
575
- #: libs/blockcountry-settings.php:1028
576
  msgid ""
577
  "This will allow a service like for instance a search engine to your site "
578
  "despite if you blocked the country."
@@ -580,107 +604,100 @@ msgstr ""
580
  "Dit staat een dienst toe zoals bijvoorbeeld een zoek machine ongeacht of je "
581
  "het land van de zoekmachine hebt geblokkeerd."
582
 
583
- #: libs/blockcountry-settings.php:1029
584
  msgid "Please note the \"Search Engine Visibility\" should not be selected in "
585
  msgstr ""
586
  "Let op: \"Zoekmachine zichtbaarheid\" dient niet geselecteer te staan op "
587
 
588
- #: libs/blockcountry-settings.php:1029
589
  msgid "reading settings."
590
  msgstr "lezen instellingen"
591
 
592
- #: libs/blockcountry-settings.php:1067
593
  msgid "Frontend options"
594
  msgstr "Voorkant opties"
595
 
596
- #: libs/blockcountry-settings.php:1094
 
 
 
 
597
  msgid ""
598
  "Do not block visitors that are logged in from visiting frontend website:"
599
  msgstr ""
600
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
601
 
602
- #: libs/blockcountry-settings.php:1100
603
- msgid "Block visitors from visiting the frontend of your website:"
604
- msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
605
-
606
- #: libs/blockcountry-settings.php:1106
607
  msgid "Block visitors from using the search function of your website:"
608
  msgstr ""
609
  "Blokkeer bezoekers van het bezoeken van de zoek functie van je website:"
610
 
611
- #: libs/blockcountry-settings.php:1112
612
- msgid ""
613
- "Select the countries that should be blocked from visiting your frontend:"
614
  msgstr ""
615
- "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
616
- "voorkant van je website:"
617
-
618
- #: libs/blockcountry-settings.php:1113
619
- msgid "Use the CTRL key to select multiple countries"
620
- msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
621
 
622
- #: libs/blockcountry-settings.php:1155 libs/blockcountry-settings.php:1289
623
- msgid "Inverse the selection above:"
624
- msgstr "Keer bovenstaande selectie om:"
625
 
626
- #: libs/blockcountry-settings.php:1156 libs/blockcountry-settings.php:1290
627
- msgid ""
628
- "If you select this option only the countries that are selected are "
629
- "<em>allowed</em>."
630
  msgstr ""
631
- "Indien je deze optie selecteert de zijn de landen die hierboven geselecteerd "
632
- "<em>toegestaan</em>."
633
 
634
- #: libs/blockcountry-settings.php:1161
 
 
 
 
635
  msgid "Block tag pages:"
636
  msgstr "Blokkeer tag pagina's"
637
 
638
- #: libs/blockcountry-settings.php:1162
639
  msgid "If you select this option tag pages will be blocked."
640
  msgstr "Indien je deze optie selecteert worden tag pagina's geblokkeerd."
641
 
642
- #: libs/blockcountry-settings.php:1167
643
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
644
  msgstr ""
645
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
646
 
647
- #: libs/blockcountry-settings.php:1167 libs/blockcountry-settings.php:1175
648
- #: libs/blockcountry-settings.php:1296 libs/blockcountry-settings.php:1304
649
  msgid "Use a semicolon (;) to separate IP addresses"
650
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
651
 
652
- #: libs/blockcountry-settings.php:1167 libs/blockcountry-settings.php:1175
653
- #: libs/blockcountry-settings.php:1296 libs/blockcountry-settings.php:1304
654
  msgid ""
655
  "This field accepts single IP addresses as well as ranges in CIDR format."
656
  msgstr ""
657
  "Dit veld accepteert zowel enkele IP adressen als IP reeksen in CIDR formaat."
658
 
659
- #: libs/blockcountry-settings.php:1175
660
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
661
  msgstr ""
662
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
663
 
664
- #: libs/blockcountry-settings.php:1204
665
  msgid "Backend Options"
666
  msgstr "Achterkant opties"
667
 
668
- #: libs/blockcountry-settings.php:1232
669
  msgid ""
670
  "Block visitors from visiting the backend (administrator) of your website:"
671
  msgstr ""
672
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
673
  "gedeelte) van je website:"
674
 
675
- #: libs/blockcountry-settings.php:1240
676
  msgid "Your IP address is"
677
  msgstr "Je IP adres is"
678
 
679
- #: libs/blockcountry-settings.php:1240
680
  msgid "The country that is listed for this IP address is"
681
  msgstr "Het land waar dit adres toe behoort is"
682
 
683
- #: libs/blockcountry-settings.php:1241
684
  msgid ""
685
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
686
  "(administrator) of your website' and also select"
@@ -688,11 +705,11 @@ msgstr ""
688
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
689
  "achterkant (administratie gedeelte) van je website\" en"
690
 
691
- #: libs/blockcountry-settings.php:1241
692
  msgid "below."
693
  msgstr "hier beneden."
694
 
695
- #: libs/blockcountry-settings.php:1242
696
  msgid ""
697
  "You will NOT be able to login the next time if you DO block your own country "
698
  "from visiting the backend."
@@ -700,44 +717,33 @@ msgstr ""
700
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
701
  "land blokkeert van het bezoeken van de achterkant van je website."
702
 
703
- #: libs/blockcountry-settings.php:1247
704
- msgid "Select the countries that should be blocked from visiting your backend:"
705
- msgstr ""
706
- "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
707
- "achterkant (administratie gedeelte) van je website:"
708
-
709
- #: libs/blockcountry-settings.php:1248
710
- msgid "Use the x behind the country to remove a country from this blocklist."
711
- msgstr ""
712
- "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
713
-
714
- #: libs/blockcountry-settings.php:1296
715
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
716
  msgstr ""
717
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
718
 
719
- #: libs/blockcountry-settings.php:1304
720
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
721
  msgstr ""
722
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
723
 
724
- #: libs/blockcountry-settings.php:1346
725
  msgid "Overall statistics since start"
726
  msgstr "Statistieken sinds het begin"
727
 
728
- #: libs/blockcountry-settings.php:1349
729
  msgid "visitors blocked from the backend."
730
  msgstr "bezoekers geblokkeerd op de achterkant."
731
 
732
- #: libs/blockcountry-settings.php:1351
733
  msgid "visitors blocked from the frontend."
734
  msgstr "bezoekers geblokkeerd op de voorkant."
735
 
736
- #: libs/blockcountry-settings.php:1368
737
  msgid "Block type"
738
  msgstr "Blokkeer type"
739
 
740
- #: libs/blockcountry-settings.php:1370
741
  msgid ""
742
  "You should choose one of the 3 block options below. This wil either show a "
743
  "block message, redirect to an internal page or redirect to an external page."
@@ -746,15 +752,15 @@ msgstr ""
746
  "bericht, stuurt de bezoeker door naar een interne pagina of stuurt de "
747
  "bezoeker door naar een externe pagina."
748
 
749
- #: libs/blockcountry-settings.php:1375
750
  msgid "Message to display when people are blocked:"
751
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
752
 
753
- #: libs/blockcountry-settings.php:1386
754
  msgid "Page to redirect to:"
755
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
756
 
757
- #: libs/blockcountry-settings.php:1387
758
  msgid ""
759
  "If you select a page here blocked visitors will be redirected to this page "
760
  "instead of displaying above block message."
@@ -763,15 +769,15 @@ msgstr ""
763
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
764
  "bezoekers."
765
 
766
- #: libs/blockcountry-settings.php:1393
767
  msgid "Choose a page..."
768
  msgstr "Kies een pagina..."
769
 
770
- #: libs/blockcountry-settings.php:1408
771
  msgid "URL to redirect to:"
772
  msgstr "Naar welke URL wilt u geblokkerde bezoekers verwijzen:"
773
 
774
- #: libs/blockcountry-settings.php:1409
775
  msgid ""
776
  "If you enter a URL here blocked visitors will be redirected to this URL "
777
  "instead of displaying above block message or redirected to a local page."
@@ -780,15 +786,15 @@ msgstr ""
780
  "naar deze url anders wordt bovestaande blokkeer tekst getoond aan bezoekers "
781
  "of worden bezoekers doorverwezen naar de geselecteerde pagina."
782
 
783
- #: libs/blockcountry-settings.php:1416
784
  msgid "General settings"
785
  msgstr "Algemene instellingen"
786
 
787
- #: libs/blockcountry-settings.php:1420
788
  msgid "Send headers when user is blocked:"
789
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
790
 
791
- #: libs/blockcountry-settings.php:1421
792
  msgid ""
793
  "Under normal circumstances you should keep this selected! Only if you have "
794
  "\"Cannot modify header information - headers already sent\" errors or if you "
@@ -798,11 +804,11 @@ msgstr ""
798
  "deze alleen indien je \"Cannot modify header information - headers already "
799
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
800
 
801
- #: libs/blockcountry-settings.php:1427
802
  msgid "Buffer output?:"
803
  msgstr "Buffer output?"
804
 
805
- #: libs/blockcountry-settings.php:1428
806
  msgid ""
807
  "You can use this option to buffer all output. This can be helpful in case "
808
  "you have \"headers already sent\" issues."
@@ -810,11 +816,11 @@ msgstr ""
810
  "Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
811
  "indien je \"headers already sent\" problemen hebt."
812
 
813
- #: libs/blockcountry-settings.php:1434
814
  msgid "Do not log IP addresses:"
815
  msgstr "Log geen IP adressen"
816
 
817
- #: libs/blockcountry-settings.php:1435
818
  msgid ""
819
  "Check this box if the laws in your country do not permit you to log IP "
820
  "addresses or if you do not want to log the ip addresses."
@@ -823,50 +829,50 @@ msgstr ""
823
  "adressen vast te leggen of indien je zelf deze informatie niet wilt "
824
  "vastleggen."
825
 
826
- #: libs/blockcountry-settings.php:1441
827
  msgid "Do not block admin-ajax.php:"
828
  msgstr "Blokkeer admin-ajax.php niet:"
829
 
830
- #: libs/blockcountry-settings.php:1442
831
  msgid "Check this box if you use a plugin that uses admin-ajax.php."
832
  msgstr ""
833
  "Selecteer deze optie indien je een plugin gebruikt welke gebruik maakt van "
834
  "admin-ajax.php."
835
 
836
- #: libs/blockcountry-settings.php:1451
837
  msgid "Number of rows on logging tab:"
838
  msgstr "Aantal regels op het statistieken tabblad:"
839
 
840
- #: libs/blockcountry-settings.php:1452
841
  msgid "How many rows do you want to display on each column on the logging tab."
842
  msgstr "Hoeveel regels wil je tonen in elke kolom op de statistieken tabblad."
843
 
844
- #: libs/blockcountry-settings.php:1467
845
  msgid "Number of days to keep logging:"
846
  msgstr "Aantal dagen dat je logs wilt bewaren:"
847
 
848
- #: libs/blockcountry-settings.php:1468
849
  msgid "How many days do you want to keep the logging used for the logging tab."
850
  msgstr ""
851
  "Hoeveel dagen wil je de logs bewaren welke gebruikt wordt op het "
852
  "statistieken tabblad."
853
 
854
- #: libs/blockcountry-settings.php:1483
855
  msgid "Do not lookup hosts on the logging tab:"
856
  msgstr "Zoek niet de hostnaam op op het statistieken tabblad."
857
 
858
- #: libs/blockcountry-settings.php:1484
859
  msgid ""
860
  "On some hosting environments looking up hosts may slow down the logging tab."
861
  msgstr ""
862
  "Op sommige hosting omgevingen zal het opzoeken van hostnamen zorgen voor "
863
  "vertraging op het statistieken tabblad."
864
 
865
- #: libs/blockcountry-settings.php:1490
866
  msgid "Allow tracking:"
867
  msgstr "Sta traceren toe:"
868
 
869
- #: libs/blockcountry-settings.php:1491
870
  msgid ""
871
  "This sends only the IP address and the number of attempts this ip address "
872
  "tried to login to your backend and was blocked doing so to a central server. "
@@ -879,11 +885,11 @@ msgstr ""
879
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
880
  "pogingen worden gedaan. "
881
 
882
- #: libs/blockcountry-settings.php:1497
883
  msgid "GeoIP API Key:"
884
  msgstr "GeoIP API sleutel:"
885
 
886
- #: libs/blockcountry-settings.php:1498
887
  msgid ""
888
  "If for some reason you cannot or do not want to download the MaxMind GeoIP "
889
  "databases you will need an API key for the GeoIP api.<br />You can get an "
@@ -893,19 +899,19 @@ msgstr ""
893
  "Maxmind GeoIP heb je een API sleutelnodig voor de GeoIP api.<br />Je kunt "
894
  "een API sleutel verkrijgen op:"
895
 
896
- #: libs/blockcountry-settings.php:1506
897
  msgid "GeoIP API Key Server Location:"
898
  msgstr "GeoIP API sleutel server locatie:"
899
 
900
- #: libs/blockcountry-settings.php:1507
901
  msgid "Choose a location closest to your own location."
902
  msgstr "Kies een land welke het dichtsbij is bij je eigen land."
903
 
904
- #: libs/blockcountry-settings.php:1518
905
  msgid "Admin block API Key:"
906
  msgstr "Admin block API Sleutel:"
907
 
908
- #: libs/blockcountry-settings.php:1519
909
  msgid ""
910
  "For additional security you can protect your backend from known IP addresses "
911
  "who have made hack attempts at other WordPress sites.<br />You can get more "
@@ -916,21 +922,31 @@ msgstr ""
916
  "tegen andere WordPress sites.<br />Je kunt meer informatie hierover vinden "
917
  "en een API key verkrijgen op:"
918
 
919
- #: libs/blockcountry-settings.php:1527
920
  msgid "Accessibility options:"
921
  msgstr "Toegankelijkheids opties:"
922
 
923
- #: libs/blockcountry-settings.php:1528
924
  msgid "Set this option if you cannot use the default country selection box."
925
  msgstr ""
926
  "Selecteer deze optie indien je de landen standaard selectie methode niet "
927
  "kunt gebruiken. "
928
 
929
- #: libs/blockcountry-settings.php:1534
 
 
 
 
 
 
 
 
 
 
930
  msgid "Log all visits:"
931
  msgstr "Log alle bezoekers:"
932
 
933
- #: libs/blockcountry-settings.php:1535
934
  msgid ""
935
  "This logs all visits despite if they are blocked or not. This is only for "
936
  "debugging purposes."
@@ -938,72 +954,72 @@ msgstr ""
938
  "Dit logt alle bezoekers ondanks of ze geblokkeerd zijn of niet. Dit is "
939
  "alleen voor debugging."
940
 
941
- #: libs/blockcountry-settings.php:1561
942
  msgid "Last blocked visits"
943
  msgstr "Laatste geblokkeerde bezoekers"
944
 
945
- #: libs/blockcountry-settings.php:1576
946
  msgid "Date / Time"
947
  msgstr "Datum / Tijd"
948
 
949
- #: libs/blockcountry-settings.php:1576 libs/blockcountry-settings.php:1615
950
  msgid "IP Address"
951
  msgstr "IP adres"
952
 
953
- #: libs/blockcountry-settings.php:1576 libs/blockcountry-settings.php:1615
954
  msgid "Hostname"
955
  msgstr "Hostnaam"
956
 
957
- #: libs/blockcountry-settings.php:1576 libs/blockcountry-settings.php:1602
958
  msgid "Country"
959
  msgstr "Land"
960
 
961
- #: libs/blockcountry-settings.php:1576
962
  msgid "Frontend/Backend"
963
  msgstr "Voorkant/Achterkant"
964
 
965
- #: libs/blockcountry-settings.php:1593 libs/blockcountry-settings.php:1703
966
  msgid "Frontend"
967
  msgstr "Voorkant"
968
 
969
- #: libs/blockcountry-settings.php:1593
970
  msgid "Backend banlist"
971
  msgstr "Achterkant banlist"
972
 
973
- #: libs/blockcountry-settings.php:1593
974
  msgid "Backend & Backend banlist"
975
  msgstr "Achterkant & Achterkant banlist"
976
 
977
- #: libs/blockcountry-settings.php:1593 libs/blockcountry-settings.php:1704
978
  msgid "Backend"
979
  msgstr "Achterkant"
980
 
981
- #: libs/blockcountry-settings.php:1600
982
  msgid "Top countries that are blocked"
983
  msgstr "Top landen welke zijn geblokkeerd"
984
 
985
- #: libs/blockcountry-settings.php:1602 libs/blockcountry-settings.php:1615
986
- #: libs/blockcountry-settings.php:1636
987
  msgid "# of blocked attempts"
988
  msgstr "# of geblokkeerde pogingen"
989
 
990
- #: libs/blockcountry-settings.php:1613
991
  msgid "Top hosts that are blocked"
992
  msgstr "Top hosts welke geblokkeerd zijn"
993
 
994
- #: libs/blockcountry-settings.php:1634
995
  msgid "Top URLs that are blocked"
996
  msgstr "Top URLs welke geblokkeerd zijn"
997
 
998
- #: libs/blockcountry-settings.php:1650
999
  msgid "Clear database"
1000
  msgstr "Leeg database"
1001
 
1002
- #: libs/blockcountry-settings.php:1673
1003
  msgid "Download as CSV file"
1004
  msgstr "Download als een csv bestand."
1005
 
1006
- #: libs/blockcountry-settings.php:1680
1007
  msgid ""
1008
  "You are not logging any information. Please uncheck the option 'Do not log "
1009
  "IP addresses' if this is not what you want."
@@ -1011,39 +1027,39 @@ msgstr ""
1011
  "Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
1012
  "adressen' indien dit niet is wat je wilt."
1013
 
1014
- #: libs/blockcountry-settings.php:1702
1015
  msgid "Home"
1016
  msgstr "Home"
1017
 
1018
- #: libs/blockcountry-settings.php:1705
1019
  msgid "Pages"
1020
  msgstr "Pagina's"
1021
 
1022
- #: libs/blockcountry-settings.php:1706
1023
  msgid "Categories"
1024
  msgstr "Categorieen"
1025
 
1026
- #: libs/blockcountry-settings.php:1707
1027
  msgid "Tags"
1028
  msgstr "Tags"
1029
 
1030
- #: libs/blockcountry-settings.php:1707
1031
  msgid "Post types"
1032
  msgstr "Post types"
1033
 
1034
- #: libs/blockcountry-settings.php:1708
1035
  msgid "Services"
1036
  msgstr "Diensten"
1037
 
1038
- #: libs/blockcountry-settings.php:1709
1039
  msgid "Tools"
1040
  msgstr "Gereedschap"
1041
 
1042
- #: libs/blockcountry-settings.php:1710
1043
  msgid "Logging"
1044
  msgstr "Statistieken"
1045
 
1046
- #: libs/blockcountry-settings.php:1711
1047
  msgid "Import/Export"
1048
  msgstr "Importeren/Exporteren"
1049
 
@@ -1059,6 +1075,33 @@ msgstr "Instellingen opgeslagen."
1059
  msgid "The Admin Block API key is incorrect. Please update the key."
1060
  msgstr "De Admin Block API sleutel is incorrect. Corrigeer a.u.b. de sleutel."
1061
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1062
  #~ msgid ""
1063
  #~ "The MaxMind GeoIP database does not exist. Please download this file "
1064
  #~ "manually or if you wish to use the GeoIP API get an API key from: "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2019-04-11 14:36+0200\n"
5
+ "PO-Revision-Date: 2019-04-11 14:36+0200\n"
6
  "Last-Translator: Pascal <pascal@webence.nl>\n"
7
  "Language-Team: iQ Block Country <support@webence.nl>\n"
8
  "Language: nl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.6\n"
13
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-SearchPath-0: libs\n"
93
  msgid "unzip the file and afterwards upload it to the following location: "
94
  msgstr "pak het bestand uit en upload dit bestand naar de volgende locatie:"
95
 
96
+ #: libs/blockcountry-settings.php:303
97
  msgid ""
98
  "Check which country belongs to an IP Address according to the current "
99
  "database."
100
  msgstr ""
101
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
102
 
103
+ #: libs/blockcountry-settings.php:308
104
  msgid "IP Address to check:"
105
  msgstr "IP adres om te controleren:"
106
 
107
+ #: libs/blockcountry-settings.php:326
108
  msgid "No country for"
109
  msgstr "Geen land voor"
110
 
111
+ #: libs/blockcountry-settings.php:326
112
  msgid "could be found. Or"
113
  msgstr "gevonden. Of"
114
 
115
+ #: libs/blockcountry-settings.php:326
116
  msgid "is not a valid IPv4 or IPv6 IP address"
117
  msgstr "is geen valide IPv4 of IPv6 ip adres."
118
 
119
+ #: libs/blockcountry-settings.php:331
120
  msgid "IP Adress"
121
  msgstr "IP Adres"
122
 
123
+ #: libs/blockcountry-settings.php:331
124
  msgid "belongs to"
125
  msgstr "behoort tot"
126
 
127
+ #: libs/blockcountry-settings.php:337 libs/blockcountry-settings.php:342
128
  msgid "This country is not permitted to visit the frontend of this website."
129
  msgstr ""
130
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
131
 
132
+ #: libs/blockcountry-settings.php:351 libs/blockcountry-settings.php:358
133
  msgid "This country is not permitted to visit the backend of this website."
134
  msgstr ""
135
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
136
 
137
+ #: libs/blockcountry-settings.php:364
138
  msgid "This IP address is present in the blacklist."
139
  msgstr "Dit IP adres staat op de zwarte lijst."
140
 
141
+ #: libs/blockcountry-settings.php:370
142
  msgid "This IP address is present in the frontend blacklist."
143
  msgstr "Dit IP adres staat op de zwarte lijst voor de voorkant."
144
 
145
+ #: libs/blockcountry-settings.php:375
146
  msgid "This IP address is present in the frontend whitelist."
147
  msgstr "Dit IP adres staat op de witte lijst voor de voorkant."
148
 
149
+ #: libs/blockcountry-settings.php:380
150
  msgid "This IP address is present in the backend blacklist."
151
  msgstr "Dit IP adres staat op de zwarte lijst voor de achterkant."
152
 
153
+ #: libs/blockcountry-settings.php:385
154
  msgid "This IP address is present in the backend whitelist."
155
  msgstr "Dit IP adres staat op de witte lijst voor de achterkant."
156
 
157
+ #: libs/blockcountry-settings.php:392
158
  msgid "Check IP address"
159
  msgstr "Controleer IP adres"
160
 
161
+ #: libs/blockcountry-settings.php:400
162
  msgid "Database information"
163
  msgstr "Database informatie"
164
 
165
+ #: libs/blockcountry-settings.php:411
166
  msgid "IPv4 database exists. File date: "
167
  msgstr "IPv4 database bestaat. Bestands datum:"
168
 
169
+ #: libs/blockcountry-settings.php:418 libs/blockcountry-settings.php:454
170
  msgid "Database is older than 3 months... Please update..."
171
  msgstr ""
172
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
173
  "alstublieft."
174
 
175
+ #: libs/blockcountry-settings.php:423
176
  msgid "IPv4 database does not exist."
177
  msgstr "IPv4 database bestaat niet."
178
 
179
+ #: libs/blockcountry-settings.php:429
180
  msgid "IPv6 database exists. File date: "
181
  msgstr "IPv6 database bestaat. Bestands datum:"
182
 
183
+ #: libs/blockcountry-settings.php:436
184
  msgid "Database is older than 3 months... Please update..."
185
  msgstr ""
186
  "Uw MaxMind GeoIP database is ouder dan 3 maanden. Update je database "
187
  "alstublieft."
188
 
189
+ #: libs/blockcountry-settings.php:441
190
  msgid "IPv6 database does not exist."
191
  msgstr "IPv6 database bestaat niet."
192
 
193
+ #: libs/blockcountry-settings.php:447
194
  msgid "GeoIP2 database exists. File date: "
195
  msgstr "GeoIP2 database bestaat. Bestands datum:"
196
 
197
+ #: libs/blockcountry-settings.php:459
198
  msgid "GeoIP2 database does not exist."
199
  msgstr "GeoIP2 database bestaat niet."
200
 
201
+ #: libs/blockcountry-settings.php:466
202
  msgid "Your GeoIP API key is valid till: "
203
  msgstr "Uw GeoIP API key is geldig tot:"
204
 
205
+ #: libs/blockcountry-settings.php:473
206
+ #, fuzzy
207
+ #| msgid "IP Adress information"
208
+ msgid "IP Address information"
209
+ msgstr "IP adres informatie"
210
+
211
+ #: libs/blockcountry-settings.php:480 libs/blockcountry-settings.php:485
212
+ #: libs/blockcountry-settings.php:490 libs/blockcountry-settings.php:495
213
+ #: libs/blockcountry-settings.php:500 libs/blockcountry-settings.php:505
214
+ #: libs/blockcountry-settings.php:510 libs/blockcountry-settings.php:515
215
+ #: libs/blockcountry-settings.php:520
216
+ #, fuzzy
217
+ #| msgid "Not Set"
218
+ msgid "Not set"
219
+ msgstr "Niet gezet"
220
+
221
+ #: libs/blockcountry-settings.php:527
222
  msgid "Active plugins"
223
  msgstr "Actieve plugins"
224
 
225
+ #: libs/blockcountry-settings.php:534
226
  msgid "Plugin name"
227
  msgstr "Plugin naam"
228
 
229
+ #: libs/blockcountry-settings.php:534
230
  msgid "Version"
231
  msgstr "Versie"
232
 
233
+ #: libs/blockcountry-settings.php:534 libs/blockcountry-settings.php:1675
234
+ #: libs/blockcountry-settings.php:1734
235
  msgid "URL"
236
  msgstr "URL"
237
 
238
+ #: libs/blockcountry-settings.php:553
239
  msgid "none"
240
  msgstr "Geen"
241
 
242
+ #: libs/blockcountry-settings.php:559 libs/blockcountry-settings.php:560
243
  msgid "unavailable"
244
  msgstr "niet beschikbaar"
245
 
246
+ #: libs/blockcountry-settings.php:564
247
  msgid "File System Information"
248
  msgstr "File systeem informatie"
249
 
250
+ #: libs/blockcountry-settings.php:567
251
  msgid "Website Root Folder"
252
  msgstr "Website root directory"
253
 
254
+ #: libs/blockcountry-settings.php:568 libs/blockcountry-settings.php:762
255
  msgid "Document Root Path"
256
  msgstr "Document root pad"
257
 
258
+ #: libs/blockcountry-settings.php:572
259
  msgid "Database Information"
260
  msgstr "Database informatie"
261
 
262
+ #: libs/blockcountry-settings.php:574
263
  msgid "MySQL Database Version"
264
  msgstr "MySQL Database versie"
265
 
266
+ #: libs/blockcountry-settings.php:575
267
  msgid "MySQL Client Version"
268
  msgstr "MySQL Client versie"
269
 
270
+ #: libs/blockcountry-settings.php:576
271
  msgid "Database Host"
272
  msgstr "Database Host"
273
 
274
+ #: libs/blockcountry-settings.php:582
275
  msgid "Not Set"
276
  msgstr "Niet gezet"
277
 
278
+ #: libs/blockcountry-settings.php:584 libs/blockcountry-settings.php:664
279
+ #: libs/blockcountry-settings.php:672 libs/blockcountry-settings.php:680
280
+ #: libs/blockcountry-settings.php:688 libs/blockcountry-settings.php:697
281
+ #: libs/blockcountry-settings.php:714
282
  msgid "Off"
283
  msgstr "Uit"
284
 
285
+ #: libs/blockcountry-settings.php:587
286
  msgid "SQL Mode"
287
  msgstr "SQL Mode"
288
 
289
+ #: libs/blockcountry-settings.php:591
290
  msgid "Server Information"
291
  msgstr "Server informatie"
292
 
293
+ #: libs/blockcountry-settings.php:596
294
  msgid "Server IP Address"
295
  msgstr "Server IP Adres"
296
 
297
+ #: libs/blockcountry-settings.php:598
298
  msgid "Server Type"
299
  msgstr "Server Type"
300
 
301
+ #: libs/blockcountry-settings.php:599
302
  msgid "Operating System"
303
  msgstr "Operating System"
304
 
305
+ #: libs/blockcountry-settings.php:600
306
  msgid "Browser Compression Supported"
307
  msgstr "Browser Compressie ondersteund"
308
 
309
+ #: libs/blockcountry-settings.php:616
310
  msgid "undefined"
311
  msgstr "Ongedefinieerd"
312
 
313
+ #: libs/blockcountry-settings.php:623
314
  msgid "PHP Process User (UID:GID)"
315
  msgstr "PHP Process User (UID:GID)"
316
 
317
+ #: libs/blockcountry-settings.php:628
318
  msgid "PHP Information"
319
  msgstr "PHP Informatie"
320
 
321
+ #: libs/blockcountry-settings.php:633
322
  msgid "PHP Version"
323
  msgstr "PHP versie"
324
 
325
+ #: libs/blockcountry-settings.php:634
326
  msgid "PHP Memory Usage"
327
  msgstr "PHP Memory Usage"
328
 
329
+ #: libs/blockcountry-settings.php:634
330
  msgid " MB"
331
  msgstr " MB"
332
 
333
+ #: libs/blockcountry-settings.php:640 libs/blockcountry-settings.php:648
334
+ #: libs/blockcountry-settings.php:656 libs/blockcountry-settings.php:705
335
  msgid "N/A"
336
  msgstr "N/A"
337
 
338
+ #: libs/blockcountry-settings.php:643
339
  msgid "PHP Memory Limit"
340
  msgstr "PHP Memory Limit"
341
 
342
+ #: libs/blockcountry-settings.php:651
343
  msgid "PHP Max Upload Size"
344
  msgstr "PHP Max Upload Size"
345
 
346
+ #: libs/blockcountry-settings.php:659
347
  msgid "PHP Max Post Size"
348
  msgstr "PHP Max Post Size"
349
 
350
+ #: libs/blockcountry-settings.php:662 libs/blockcountry-settings.php:670
351
+ #: libs/blockcountry-settings.php:678 libs/blockcountry-settings.php:686
352
+ #: libs/blockcountry-settings.php:695 libs/blockcountry-settings.php:712
353
  msgid "On"
354
  msgstr "Aan"
355
 
356
+ #: libs/blockcountry-settings.php:667
357
  msgid "PHP Allow URL fopen"
358
  msgstr "PHP Allow URL fopen"
359
 
360
+ #: libs/blockcountry-settings.php:675
361
  msgid "PHP Allow URL Include"
362
  msgstr "PHP Allow URL Include"
363
 
364
+ #: libs/blockcountry-settings.php:683
365
  msgid "PHP Display Errors"
366
  msgstr "PHP Display Errors"
367
 
368
+ #: libs/blockcountry-settings.php:691
369
  msgid "PHP Display Startup Errors"
370
  msgstr "PHP Display Startup Errors"
371
 
372
+ #: libs/blockcountry-settings.php:700
373
  msgid "PHP Expose PHP"
374
  msgstr "PHP Expose PHP"
375
 
376
+ #: libs/blockcountry-settings.php:708
377
  msgid "PHP Max Script Execution Time"
378
  msgstr "PHP Max Script Execution Time"
379
 
380
+ #: libs/blockcountry-settings.php:709
381
  msgid "Seconds"
382
  msgstr "Seconden"
383
 
384
+ #: libs/blockcountry-settings.php:717
385
  msgid "PHP open_basedir"
386
  msgstr "PHP open_basedir"
387
 
388
+ #: libs/blockcountry-settings.php:720 libs/blockcountry-settings.php:728
389
  msgid "Yes"
390
  msgstr "Ja"
391
 
392
+ #: libs/blockcountry-settings.php:722 libs/blockcountry-settings.php:730
393
  msgid "No"
394
  msgstr "Nee"
395
 
396
+ #: libs/blockcountry-settings.php:725
397
  msgid "PHP XML Support"
398
  msgstr "PHP XML Support"
399
 
400
+ #: libs/blockcountry-settings.php:733
401
  msgid "PHP IPTC Support"
402
  msgstr "PHP IPTC Support"
403
 
404
+ #: libs/blockcountry-settings.php:735
405
  msgid "Disabled PHP Functions"
406
  msgstr "Disabled PHP Functions"
407
 
408
+ #: libs/blockcountry-settings.php:742
409
  msgid "Wordpress info"
410
  msgstr "Wordpress Informatie"
411
 
412
+ #: libs/blockcountry-settings.php:747
413
  msgid "is enabled"
414
  msgstr "is aangezet"
415
 
416
+ #: libs/blockcountry-settings.php:749
417
  msgid "is disabled"
418
  msgstr "Is uitgezet"
419
 
420
+ #: libs/blockcountry-settings.php:752
421
  msgid " Multisite"
422
  msgstr "Multisite"
423
 
424
+ #: libs/blockcountry-settings.php:755
425
  msgid "are enabled"
426
  msgstr "is aangezet"
427
 
428
+ #: libs/blockcountry-settings.php:757
429
  msgid "are disabled"
430
  msgstr "Is uitgezet"
431
 
432
+ #: libs/blockcountry-settings.php:760
433
  msgid "Permalinks"
434
  msgstr "Permalinks"
435
 
436
+ #: libs/blockcountry-settings.php:777
437
  msgid "Export"
438
  msgstr "Exporteren"
439
 
440
+ #: libs/blockcountry-settings.php:778
441
  msgid ""
442
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
443
  "Block Country configuration will be created."
445
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
446
  "van alle iQ Block Country instellingen worden gecreerd."
447
 
448
+ #: libs/blockcountry-settings.php:779
449
  msgid ""
450
  "After exporting, you can either use the backup file to restore your settings "
451
  "on this site again or copy the settings to another WordPress site."
454
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
455
  "andere WordPress site te exporteren."
456
 
457
+ #: libs/blockcountry-settings.php:783
458
  msgid "Backup all settings"
459
  msgstr "Backup alle instellingen"
460
 
461
+ #: libs/blockcountry-settings.php:790
462
  msgid "Import"
463
  msgstr "Importeer"
464
 
465
+ #: libs/blockcountry-settings.php:791
466
  msgid "Click the browse button and choose a zip file that you exported before."
467
  msgstr ""
468
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
469
  "geexporteerd."
470
 
471
+ #: libs/blockcountry-settings.php:792
472
  msgid "Press Restore settings button, and let WordPress do the magic for you."
473
  msgstr ""
474
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
475
  "doen."
476
 
477
+ #: libs/blockcountry-settings.php:797
478
  msgid "Restore settings"
479
  msgstr "Herstel instellingen"
480
 
481
+ #: libs/blockcountry-settings.php:820 libs/blockcountry-settings.php:823
482
+ #: libs/blockcountry-settings.php:832
483
  msgid "Something went wrong exporting this file"
484
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
485
 
486
+ #: libs/blockcountry-settings.php:835
487
  msgid "Exporting settings..."
488
  msgstr "Exporteer instellingen"
489
 
490
+ #: libs/blockcountry-settings.php:850
491
  msgid "Something went wrong importing this file"
492
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
493
 
494
+ #: libs/blockcountry-settings.php:867
495
  msgid "All options are restored successfully."
496
  msgstr "Alle opties zijn succesvol hersteld"
497
 
498
+ #: libs/blockcountry-settings.php:870
499
  msgid "Invalid file."
500
  msgstr "Ongeldig bestand"
501
 
502
+ #: libs/blockcountry-settings.php:875
503
  msgid "No correct import or export option given."
504
  msgstr "Geen correcte importeer of exporteer optie gegeven."
505
 
506
+ #: libs/blockcountry-settings.php:884
507
  msgid "Select which pages are blocked."
508
  msgstr "Selecteer welke pagina's geblokkeerd worden."
509
 
510
+ #: libs/blockcountry-settings.php:891
511
  msgid "Do you want to block individual pages:"
512
  msgstr "Wil je individuele pagina's blokkeren:"
513
 
514
+ #: libs/blockcountry-settings.php:892
515
  msgid "If you do not select this option all pages will be blocked."
516
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
517
 
518
+ #: libs/blockcountry-settings.php:899
519
+ msgid "Block pages selected below:"
520
+ msgstr ""
521
+
522
+ #: libs/blockcountry-settings.php:900
523
+ msgid "Block all pages except those selected below"
524
+ msgstr ""
525
+
526
+ #: libs/blockcountry-settings.php:907
527
  msgid "Select pages you want to block:"
528
  msgstr "Selecteer welke pagina's je wil blokkeren."
529
 
530
+ #: libs/blockcountry-settings.php:929 libs/blockcountry-settings.php:983
531
+ #: libs/blockcountry-settings.php:1031 libs/blockcountry-settings.php:1079
532
+ #: libs/blockcountry-settings.php:1126 libs/blockcountry-settings.php:1260
533
+ #: libs/blockcountry-settings.php:1390 libs/blockcountry-settings.php:1642
534
  msgid "Save Changes"
535
  msgstr "Bewaar wijzigingen"
536
 
537
+ #: libs/blockcountry-settings.php:942
538
  msgid "Select which categories are blocked."
539
  msgstr "Selecteer welke categorieen geblokkeerd worden."
540
 
541
+ #: libs/blockcountry-settings.php:949
542
  msgid "Do you want to block individual categories:"
543
  msgstr "Wil je individuele categorieen blokkeren:"
544
 
545
+ #: libs/blockcountry-settings.php:950 libs/blockcountry-settings.php:1004
546
  msgid "If you do not select this option all blog articles will be blocked."
547
  msgstr ""
548
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
549
 
550
+ #: libs/blockcountry-settings.php:955
551
  msgid "Do you want to block the homepage:"
552
  msgstr "Wil je je homepage blokkeren:"
553
 
554
+ #: libs/blockcountry-settings.php:956
555
  msgid ""
556
  "If you do not select this option visitors will not be blocked from your "
557
  "homepage regardless of the categories you select."
560
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
561
  "selecteert."
562
 
563
+ #: libs/blockcountry-settings.php:961
564
  msgid "Select categories you want to block:"
565
  msgstr "Selecteer welke categorieen je wil blokkeren."
566
 
567
+ #: libs/blockcountry-settings.php:996
568
  msgid "Select which tags are blocked."
569
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
570
 
571
+ #: libs/blockcountry-settings.php:1003
572
  msgid "Do you want to block individual tags:"
573
  msgstr "Wil je individuele tags blokkeren?:"
574
 
575
+ #: libs/blockcountry-settings.php:1009
576
  msgid "Select tags you want to block:"
577
  msgstr "Selecteer welke tags geblokkeerd moeten worden."
578
 
579
+ #: libs/blockcountry-settings.php:1045
580
  msgid "Select which post types are blocked."
581
  msgstr "Selecteer welke post types geblokkeerd worden."
582
 
583
+ #: libs/blockcountry-settings.php:1052
584
  msgid "Do you want to block individual post types:"
585
  msgstr "Wil je individuele post types blokkeren:"
586
 
587
+ #: libs/blockcountry-settings.php:1057
588
  msgid "Select post types you want to block:"
589
  msgstr "Selecteer welke post types je wil blokkeren."
590
 
591
+ #: libs/blockcountry-settings.php:1094
592
  msgid "Select which services are allowed."
593
  msgstr "Selecteer welke diensten je wilt toestaan."
594
 
595
+ #: libs/blockcountry-settings.php:1101
596
  msgid "Select which services you want to allow:"
597
  msgstr "Selecteer welke diensten je wilt toestaan:"
598
 
599
+ #: libs/blockcountry-settings.php:1102
600
  msgid ""
601
  "This will allow a service like for instance a search engine to your site "
602
  "despite if you blocked the country."
604
  "Dit staat een dienst toe zoals bijvoorbeeld een zoek machine ongeacht of je "
605
  "het land van de zoekmachine hebt geblokkeerd."
606
 
607
+ #: libs/blockcountry-settings.php:1103
608
  msgid "Please note the \"Search Engine Visibility\" should not be selected in "
609
  msgstr ""
610
  "Let op: \"Zoekmachine zichtbaarheid\" dient niet geselecteer te staan op "
611
 
612
+ #: libs/blockcountry-settings.php:1103
613
  msgid "reading settings."
614
  msgstr "lezen instellingen"
615
 
616
+ #: libs/blockcountry-settings.php:1141
617
  msgid "Frontend options"
618
  msgstr "Voorkant opties"
619
 
620
+ #: libs/blockcountry-settings.php:1168
621
+ msgid "Block visitors from visiting the frontend of your website:"
622
+ msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
623
+
624
+ #: libs/blockcountry-settings.php:1174
625
  msgid ""
626
  "Do not block visitors that are logged in from visiting frontend website:"
627
  msgstr ""
628
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
629
 
630
+ #: libs/blockcountry-settings.php:1180
 
 
 
 
631
  msgid "Block visitors from using the search function of your website:"
632
  msgstr ""
633
  "Blokkeer bezoekers van het bezoeken van de zoek functie van je website:"
634
 
635
+ #: libs/blockcountry-settings.php:1186 libs/blockcountry-settings.php:1323
636
+ msgid "Block countries selected below:"
 
637
  msgstr ""
 
 
 
 
 
 
638
 
639
+ #: libs/blockcountry-settings.php:1187 libs/blockcountry-settings.php:1324
640
+ msgid "Block all countries except those selected below"
641
+ msgstr ""
642
 
643
+ #: libs/blockcountry-settings.php:1194 libs/blockcountry-settings.php:1331
644
+ msgid "Select the countries:"
 
 
645
  msgstr ""
 
 
646
 
647
+ #: libs/blockcountry-settings.php:1195 libs/blockcountry-settings.php:1332
648
+ msgid "Use the CTRL key to select multiple countries"
649
+ msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
650
+
651
+ #: libs/blockcountry-settings.php:1237
652
  msgid "Block tag pages:"
653
  msgstr "Blokkeer tag pagina's"
654
 
655
+ #: libs/blockcountry-settings.php:1238
656
  msgid "If you select this option tag pages will be blocked."
657
  msgstr "Indien je deze optie selecteert worden tag pagina's geblokkeerd."
658
 
659
+ #: libs/blockcountry-settings.php:1243
660
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
661
  msgstr ""
662
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
663
 
664
+ #: libs/blockcountry-settings.php:1243 libs/blockcountry-settings.php:1251
665
+ #: libs/blockcountry-settings.php:1373 libs/blockcountry-settings.php:1381
666
  msgid "Use a semicolon (;) to separate IP addresses"
667
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
668
 
669
+ #: libs/blockcountry-settings.php:1243 libs/blockcountry-settings.php:1251
670
+ #: libs/blockcountry-settings.php:1373 libs/blockcountry-settings.php:1381
671
  msgid ""
672
  "This field accepts single IP addresses as well as ranges in CIDR format."
673
  msgstr ""
674
  "Dit veld accepteert zowel enkele IP adressen als IP reeksen in CIDR formaat."
675
 
676
+ #: libs/blockcountry-settings.php:1251
677
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
678
  msgstr ""
679
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
680
 
681
+ #: libs/blockcountry-settings.php:1280
682
  msgid "Backend Options"
683
  msgstr "Achterkant opties"
684
 
685
+ #: libs/blockcountry-settings.php:1308
686
  msgid ""
687
  "Block visitors from visiting the backend (administrator) of your website:"
688
  msgstr ""
689
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
690
  "gedeelte) van je website:"
691
 
692
+ #: libs/blockcountry-settings.php:1316
693
  msgid "Your IP address is"
694
  msgstr "Je IP adres is"
695
 
696
+ #: libs/blockcountry-settings.php:1316
697
  msgid "The country that is listed for this IP address is"
698
  msgstr "Het land waar dit adres toe behoort is"
699
 
700
+ #: libs/blockcountry-settings.php:1317
701
  msgid ""
702
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
703
  "(administrator) of your website' and also select"
705
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
706
  "achterkant (administratie gedeelte) van je website\" en"
707
 
708
+ #: libs/blockcountry-settings.php:1317
709
  msgid "below."
710
  msgstr "hier beneden."
711
 
712
+ #: libs/blockcountry-settings.php:1318
713
  msgid ""
714
  "You will NOT be able to login the next time if you DO block your own country "
715
  "from visiting the backend."
717
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
718
  "land blokkeert van het bezoeken van de achterkant van je website."
719
 
720
+ #: libs/blockcountry-settings.php:1373
 
 
 
 
 
 
 
 
 
 
 
721
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
722
  msgstr ""
723
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
724
 
725
+ #: libs/blockcountry-settings.php:1381
726
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
727
  msgstr ""
728
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
729
 
730
+ #: libs/blockcountry-settings.php:1423
731
  msgid "Overall statistics since start"
732
  msgstr "Statistieken sinds het begin"
733
 
734
+ #: libs/blockcountry-settings.php:1426
735
  msgid "visitors blocked from the backend."
736
  msgstr "bezoekers geblokkeerd op de achterkant."
737
 
738
+ #: libs/blockcountry-settings.php:1428
739
  msgid "visitors blocked from the frontend."
740
  msgstr "bezoekers geblokkeerd op de voorkant."
741
 
742
+ #: libs/blockcountry-settings.php:1445
743
  msgid "Block type"
744
  msgstr "Blokkeer type"
745
 
746
+ #: libs/blockcountry-settings.php:1447
747
  msgid ""
748
  "You should choose one of the 3 block options below. This wil either show a "
749
  "block message, redirect to an internal page or redirect to an external page."
752
  "bericht, stuurt de bezoeker door naar een interne pagina of stuurt de "
753
  "bezoeker door naar een externe pagina."
754
 
755
+ #: libs/blockcountry-settings.php:1452
756
  msgid "Message to display when people are blocked:"
757
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
758
 
759
+ #: libs/blockcountry-settings.php:1463
760
  msgid "Page to redirect to:"
761
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
762
 
763
+ #: libs/blockcountry-settings.php:1464
764
  msgid ""
765
  "If you select a page here blocked visitors will be redirected to this page "
766
  "instead of displaying above block message."
769
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
770
  "bezoekers."
771
 
772
+ #: libs/blockcountry-settings.php:1470
773
  msgid "Choose a page..."
774
  msgstr "Kies een pagina..."
775
 
776
+ #: libs/blockcountry-settings.php:1485
777
  msgid "URL to redirect to:"
778
  msgstr "Naar welke URL wilt u geblokkerde bezoekers verwijzen:"
779
 
780
+ #: libs/blockcountry-settings.php:1486
781
  msgid ""
782
  "If you enter a URL here blocked visitors will be redirected to this URL "
783
  "instead of displaying above block message or redirected to a local page."
786
  "naar deze url anders wordt bovestaande blokkeer tekst getoond aan bezoekers "
787
  "of worden bezoekers doorverwezen naar de geselecteerde pagina."
788
 
789
+ #: libs/blockcountry-settings.php:1493
790
  msgid "General settings"
791
  msgstr "Algemene instellingen"
792
 
793
+ #: libs/blockcountry-settings.php:1497
794
  msgid "Send headers when user is blocked:"
795
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
796
 
797
+ #: libs/blockcountry-settings.php:1498
798
  msgid ""
799
  "Under normal circumstances you should keep this selected! Only if you have "
800
  "\"Cannot modify header information - headers already sent\" errors or if you "
804
  "deze alleen indien je \"Cannot modify header information - headers already "
805
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
806
 
807
+ #: libs/blockcountry-settings.php:1504
808
  msgid "Buffer output?:"
809
  msgstr "Buffer output?"
810
 
811
+ #: libs/blockcountry-settings.php:1505
812
  msgid ""
813
  "You can use this option to buffer all output. This can be helpful in case "
814
  "you have \"headers already sent\" issues."
816
  "Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
817
  "indien je \"headers already sent\" problemen hebt."
818
 
819
+ #: libs/blockcountry-settings.php:1511
820
  msgid "Do not log IP addresses:"
821
  msgstr "Log geen IP adressen"
822
 
823
+ #: libs/blockcountry-settings.php:1512
824
  msgid ""
825
  "Check this box if the laws in your country do not permit you to log IP "
826
  "addresses or if you do not want to log the ip addresses."
829
  "adressen vast te leggen of indien je zelf deze informatie niet wilt "
830
  "vastleggen."
831
 
832
+ #: libs/blockcountry-settings.php:1518
833
  msgid "Do not block admin-ajax.php:"
834
  msgstr "Blokkeer admin-ajax.php niet:"
835
 
836
+ #: libs/blockcountry-settings.php:1519
837
  msgid "Check this box if you use a plugin that uses admin-ajax.php."
838
  msgstr ""
839
  "Selecteer deze optie indien je een plugin gebruikt welke gebruik maakt van "
840
  "admin-ajax.php."
841
 
842
+ #: libs/blockcountry-settings.php:1528
843
  msgid "Number of rows on logging tab:"
844
  msgstr "Aantal regels op het statistieken tabblad:"
845
 
846
+ #: libs/blockcountry-settings.php:1529
847
  msgid "How many rows do you want to display on each column on the logging tab."
848
  msgstr "Hoeveel regels wil je tonen in elke kolom op de statistieken tabblad."
849
 
850
+ #: libs/blockcountry-settings.php:1544
851
  msgid "Number of days to keep logging:"
852
  msgstr "Aantal dagen dat je logs wilt bewaren:"
853
 
854
+ #: libs/blockcountry-settings.php:1545
855
  msgid "How many days do you want to keep the logging used for the logging tab."
856
  msgstr ""
857
  "Hoeveel dagen wil je de logs bewaren welke gebruikt wordt op het "
858
  "statistieken tabblad."
859
 
860
+ #: libs/blockcountry-settings.php:1560
861
  msgid "Do not lookup hosts on the logging tab:"
862
  msgstr "Zoek niet de hostnaam op op het statistieken tabblad."
863
 
864
+ #: libs/blockcountry-settings.php:1561
865
  msgid ""
866
  "On some hosting environments looking up hosts may slow down the logging tab."
867
  msgstr ""
868
  "Op sommige hosting omgevingen zal het opzoeken van hostnamen zorgen voor "
869
  "vertraging op het statistieken tabblad."
870
 
871
+ #: libs/blockcountry-settings.php:1567
872
  msgid "Allow tracking:"
873
  msgstr "Sta traceren toe:"
874
 
875
+ #: libs/blockcountry-settings.php:1568
876
  msgid ""
877
  "This sends only the IP address and the number of attempts this ip address "
878
  "tried to login to your backend and was blocked doing so to a central server. "
885
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
886
  "pogingen worden gedaan. "
887
 
888
+ #: libs/blockcountry-settings.php:1574
889
  msgid "GeoIP API Key:"
890
  msgstr "GeoIP API sleutel:"
891
 
892
+ #: libs/blockcountry-settings.php:1575
893
  msgid ""
894
  "If for some reason you cannot or do not want to download the MaxMind GeoIP "
895
  "databases you will need an API key for the GeoIP api.<br />You can get an "
899
  "Maxmind GeoIP heb je een API sleutelnodig voor de GeoIP api.<br />Je kunt "
900
  "een API sleutel verkrijgen op:"
901
 
902
+ #: libs/blockcountry-settings.php:1583
903
  msgid "GeoIP API Key Server Location:"
904
  msgstr "GeoIP API sleutel server locatie:"
905
 
906
+ #: libs/blockcountry-settings.php:1584
907
  msgid "Choose a location closest to your own location."
908
  msgstr "Kies een land welke het dichtsbij is bij je eigen land."
909
 
910
+ #: libs/blockcountry-settings.php:1597
911
  msgid "Admin block API Key:"
912
  msgstr "Admin block API Sleutel:"
913
 
914
+ #: libs/blockcountry-settings.php:1598
915
  msgid ""
916
  "For additional security you can protect your backend from known IP addresses "
917
  "who have made hack attempts at other WordPress sites.<br />You can get more "
922
  "tegen andere WordPress sites.<br />Je kunt meer informatie hierover vinden "
923
  "en een API key verkrijgen op:"
924
 
925
+ #: libs/blockcountry-settings.php:1606
926
  msgid "Accessibility options:"
927
  msgstr "Toegankelijkheids opties:"
928
 
929
+ #: libs/blockcountry-settings.php:1607
930
  msgid "Set this option if you cannot use the default country selection box."
931
  msgstr ""
932
  "Selecteer deze optie indien je de landen standaard selectie methode niet "
933
  "kunt gebruiken. "
934
 
935
+ #: libs/blockcountry-settings.php:1613
936
+ msgid "Override IP information:"
937
+ msgstr "Overschrijf IP informatie:"
938
+
939
+ #: libs/blockcountry-settings.php:1614
940
+ msgid ""
941
+ "This option allows you to override how iQ Block Country gets the real IP of "
942
+ "your visitors."
943
+ msgstr ""
944
+
945
+ #: libs/blockcountry-settings.php:1633
946
  msgid "Log all visits:"
947
  msgstr "Log alle bezoekers:"
948
 
949
+ #: libs/blockcountry-settings.php:1634
950
  msgid ""
951
  "This logs all visits despite if they are blocked or not. This is only for "
952
  "debugging purposes."
954
  "Dit logt alle bezoekers ondanks of ze geblokkeerd zijn of niet. Dit is "
955
  "alleen voor debugging."
956
 
957
+ #: libs/blockcountry-settings.php:1660
958
  msgid "Last blocked visits"
959
  msgstr "Laatste geblokkeerde bezoekers"
960
 
961
+ #: libs/blockcountry-settings.php:1675
962
  msgid "Date / Time"
963
  msgstr "Datum / Tijd"
964
 
965
+ #: libs/blockcountry-settings.php:1675 libs/blockcountry-settings.php:1713
966
  msgid "IP Address"
967
  msgstr "IP adres"
968
 
969
+ #: libs/blockcountry-settings.php:1675 libs/blockcountry-settings.php:1713
970
  msgid "Hostname"
971
  msgstr "Hostnaam"
972
 
973
+ #: libs/blockcountry-settings.php:1675 libs/blockcountry-settings.php:1700
974
  msgid "Country"
975
  msgstr "Land"
976
 
977
+ #: libs/blockcountry-settings.php:1675
978
  msgid "Frontend/Backend"
979
  msgstr "Voorkant/Achterkant"
980
 
981
+ #: libs/blockcountry-settings.php:1691 libs/blockcountry-settings.php:1801
982
  msgid "Frontend"
983
  msgstr "Voorkant"
984
 
985
+ #: libs/blockcountry-settings.php:1691
986
  msgid "Backend banlist"
987
  msgstr "Achterkant banlist"
988
 
989
+ #: libs/blockcountry-settings.php:1691
990
  msgid "Backend & Backend banlist"
991
  msgstr "Achterkant & Achterkant banlist"
992
 
993
+ #: libs/blockcountry-settings.php:1691 libs/blockcountry-settings.php:1802
994
  msgid "Backend"
995
  msgstr "Achterkant"
996
 
997
+ #: libs/blockcountry-settings.php:1698
998
  msgid "Top countries that are blocked"
999
  msgstr "Top landen welke zijn geblokkeerd"
1000
 
1001
+ #: libs/blockcountry-settings.php:1700 libs/blockcountry-settings.php:1713
1002
+ #: libs/blockcountry-settings.php:1734
1003
  msgid "# of blocked attempts"
1004
  msgstr "# of geblokkeerde pogingen"
1005
 
1006
+ #: libs/blockcountry-settings.php:1711
1007
  msgid "Top hosts that are blocked"
1008
  msgstr "Top hosts welke geblokkeerd zijn"
1009
 
1010
+ #: libs/blockcountry-settings.php:1732
1011
  msgid "Top URLs that are blocked"
1012
  msgstr "Top URLs welke geblokkeerd zijn"
1013
 
1014
+ #: libs/blockcountry-settings.php:1748
1015
  msgid "Clear database"
1016
  msgstr "Leeg database"
1017
 
1018
+ #: libs/blockcountry-settings.php:1771
1019
  msgid "Download as CSV file"
1020
  msgstr "Download als een csv bestand."
1021
 
1022
+ #: libs/blockcountry-settings.php:1778
1023
  msgid ""
1024
  "You are not logging any information. Please uncheck the option 'Do not log "
1025
  "IP addresses' if this is not what you want."
1027
  "Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
1028
  "adressen' indien dit niet is wat je wilt."
1029
 
1030
+ #: libs/blockcountry-settings.php:1800
1031
  msgid "Home"
1032
  msgstr "Home"
1033
 
1034
+ #: libs/blockcountry-settings.php:1803
1035
  msgid "Pages"
1036
  msgstr "Pagina's"
1037
 
1038
+ #: libs/blockcountry-settings.php:1804
1039
  msgid "Categories"
1040
  msgstr "Categorieen"
1041
 
1042
+ #: libs/blockcountry-settings.php:1805
1043
  msgid "Tags"
1044
  msgstr "Tags"
1045
 
1046
+ #: libs/blockcountry-settings.php:1805
1047
  msgid "Post types"
1048
  msgstr "Post types"
1049
 
1050
+ #: libs/blockcountry-settings.php:1806
1051
  msgid "Services"
1052
  msgstr "Diensten"
1053
 
1054
+ #: libs/blockcountry-settings.php:1807
1055
  msgid "Tools"
1056
  msgstr "Gereedschap"
1057
 
1058
+ #: libs/blockcountry-settings.php:1808
1059
  msgid "Logging"
1060
  msgstr "Statistieken"
1061
 
1062
+ #: libs/blockcountry-settings.php:1809
1063
  msgid "Import/Export"
1064
  msgstr "Importeren/Exporteren"
1065
 
1075
  msgid "The Admin Block API key is incorrect. Please update the key."
1076
  msgstr "De Admin Block API sleutel is incorrect. Corrigeer a.u.b. de sleutel."
1077
 
1078
+ #~ msgid ""
1079
+ #~ "Select the countries that should be blocked from visiting your frontend:"
1080
+ #~ msgstr ""
1081
+ #~ "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van "
1082
+ #~ "de voorkant van je website:"
1083
+
1084
+ #~ msgid "Inverse the selection above:"
1085
+ #~ msgstr "Keer bovenstaande selectie om:"
1086
+
1087
+ #~ msgid ""
1088
+ #~ "If you select this option only the countries that are selected are "
1089
+ #~ "<em>allowed</em>."
1090
+ #~ msgstr ""
1091
+ #~ "Indien je deze optie selecteert de zijn de landen die hierboven "
1092
+ #~ "geselecteerd <em>toegestaan</em>."
1093
+
1094
+ #~ msgid ""
1095
+ #~ "Select the countries that should be blocked from visiting your backend:"
1096
+ #~ msgstr ""
1097
+ #~ "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van "
1098
+ #~ "de achterkant (administratie gedeelte) van je website:"
1099
+
1100
+ #~ msgid ""
1101
+ #~ "Use the x behind the country to remove a country from this blocklist."
1102
+ #~ msgstr ""
1103
+ #~ "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
1104
+
1105
  #~ msgid ""
1106
  #~ "The MaxMind GeoIP database does not exist. Please download this file "
1107
  #~ "manually or if you wish to use the GeoIP API get an API key from: "
libs/blockcountry-checks.php CHANGED
@@ -142,6 +142,20 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
142
  /* Set default blocked status and get all options */
143
  $blocked = FALSE;
144
  $blockedpage = get_option('blockcountry_blockpages');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  $blockedcategory = get_option('blockcountry_blockcategories');
146
  $blocktags = get_option('blockcountry_blocktags');
147
  $blockedposttypes = get_option('blockcountry_blockposttypes');
@@ -216,7 +230,7 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
216
 
217
  if (is_page() && $blockedpage == "on")
218
  {
219
- $blockedpages = get_option('blockcountry_pages');
220
  if (is_page($blockedpages) && !empty($blockedpages) && ((is_array ( $badcountries ) && in_array ( $country, $badcountries ) || (iqblockcountry_validate_ip_in_list($ip_address,$feblacklistiprange4,$feblacklistiprange6,$feblacklistip)))))
221
  {
222
  $blocked = TRUE;
@@ -477,7 +491,7 @@ function iqblockcountry_CheckCountryFrontEnd() {
477
 
478
  /* Check ip address against banlist, whitelist and blacklist */
479
  if (iqblockcountry_check($country,$badcountries,$ip_address))
480
- {
481
  $blocked = get_option('blockcountry_frontendnrblocks');
482
  if (empty($blocked)) { $blocked = 0; }
483
  $blocked++;
142
  /* Set default blocked status and get all options */
143
  $blocked = FALSE;
144
  $blockedpage = get_option('blockcountry_blockpages');
145
+ //$blockedpages = get_option('blockcountry_pages');
146
+ $pagesbanlist = get_option( 'blockcountry_pages' );
147
+ if (!is_array($pagesbanlist)) { $pagesbanlist = array(); }
148
+ if (get_option( 'blockcountry_blockpages_inverse' ) == 'on') {
149
+ $pages = get_pages();
150
+ $all_pages = array();
151
+ foreach ( $pages as $page ) {
152
+ $all_pages[$page->ID] = $page->ID;
153
+ }
154
+ $blockedpages = array_diff($all_pages, $pagesbanlist);
155
+ } else {
156
+ $blockedpages = $pagesbanlist;
157
+ }
158
+
159
  $blockedcategory = get_option('blockcountry_blockcategories');
160
  $blocktags = get_option('blockcountry_blocktags');
161
  $blockedposttypes = get_option('blockcountry_blockposttypes');
230
 
231
  if (is_page() && $blockedpage == "on")
232
  {
233
+ $post = get_post();
234
  if (is_page($blockedpages) && !empty($blockedpages) && ((is_array ( $badcountries ) && in_array ( $country, $badcountries ) || (iqblockcountry_validate_ip_in_list($ip_address,$feblacklistiprange4,$feblacklistiprange6,$feblacklistip)))))
235
  {
236
  $blocked = TRUE;
491
 
492
  /* Check ip address against banlist, whitelist and blacklist */
493
  if (iqblockcountry_check($country,$badcountries,$ip_address))
494
+ {
495
  $blocked = get_option('blockcountry_frontendnrblocks');
496
  if (empty($blocked)) { $blocked = 0; }
497
  $blocked++;
libs/blockcountry-settings.php CHANGED
@@ -170,6 +170,7 @@ function iqblockcountry_register_mysettings()
170
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_apikey','iqblockcountry_check_adminapikey');
171
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_debuglogging');
172
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_accessibility');
 
173
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_logging');
174
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_adminajax');
175
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_blockbackend' );
@@ -186,6 +187,7 @@ function iqblockcountry_register_mysettings()
186
  register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blockfrontend' );
187
  register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blocktag' );
188
  register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_blockpages');
 
189
  register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_pages');
190
  register_setting ( 'iqblockcountry-settings-group-posttypes', 'blockcountry_blockposttypes');
191
  register_setting ( 'iqblockcountry-settings-group-posttypes', 'blockcountry_posttypes');
@@ -206,10 +208,10 @@ function iqblockcountry_get_options_arr() {
206
  $optarr = array( 'blockcountry_banlist','blockcountry_banlist_inverse', 'blockcountry_backendbanlist','blockcountry_backendbanlist_inverse',
207
  'blockcountry_backendblacklist','blockcountry_backendwhitelist','blockcountry_frontendblacklist','blockcountry_frontendwhitelist',
208
  'blockcountry_blockmessage','blockcountry_blocklogin','blockcountry_blockfrontend','blockcountry_blockbackend','blockcountry_header',
209
- 'blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories','blockcountry_tracking',
210
  'blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_daysstatistics','blockcountry_lookupstatistics','blockcountry_geoapikey',
211
  'blockcountry_geoapilocation','blockcountry_apikey','blockcountry_redirect','blockcountry_redirect_url','blockcountry_allowse',
212
- 'blockcountry_debuglogging','blockcountry_buffer','blockcountry_accessibility','blockcountry_logging','blockcountry_blockposttypes',
213
  'blockcountry_posttypes','blockcountry_blocksearch','blockcountry_adminajax','blockcountry_blocktag','blockcountry_blocktags','blockcountry_tags');
214
  return apply_filters( 'iqblockcountry_options', $optarr );
215
  }
@@ -235,6 +237,9 @@ function iqblockcountry_set_defaults()
235
  if ( NULL === get_option('blockcountry_daysstatistics', NULL ) ) { update_option('blockcountry_daysstatistics',30); }
236
  if (get_option('blockcountry_backendwhitelist') === FALSE || (get_option('blockcountry_backendwhitelist') == "")) { update_option('blockcountry_backendwhitelist',$ip_address); }
237
  if (get_option('blockcountry_frontendwhitelist') === FALSE || (get_option('blockcountry_frontendwhitelist') == "")) { update_option('blockcountry_frontendwhitelist',$server_addr); } iqblockcountry_install_db();
 
 
 
238
  iqblockcountry_find_geoip_location();
239
  }
240
 
@@ -259,7 +264,8 @@ function iqblockcountry_uninstall() //deletes all the database entries that the
259
  delete_option('blockcountry_blockbackend' );
260
  delete_option('blockcountry_version');
261
  delete_option('blockcountry_header');
262
- delete_option('blockcountry_blockpages');
 
263
  delete_option('blockcountry_pages');
264
  delete_option('blockcountry_blockcategories');
265
  delete_option('blockcountry_categories');
@@ -279,6 +285,7 @@ function iqblockcountry_uninstall() //deletes all the database entries that the
279
  delete_option('blockcountry_debuglogging');
280
  delete_option('blockcountry_buffer');
281
  delete_option('blockcountry_accessibility');
 
282
  delete_option('blockcountry_logging');
283
  delete_option('blockcountry_blockposttypes');
284
  delete_option('blockcountry_posttypes');
@@ -461,8 +468,10 @@ function iqblockcountry_settings_tools() {
461
  echo "<br />";
462
  }
463
  ?>
464
- <br />
465
- <hr />
 
 
466
  <h3><?php _e('Active plugins', 'iq-block-country'); ?></h3>
467
  <?php
468
 
@@ -700,7 +709,60 @@ function iqblockcountry_settings_tools() {
700
  <strong> <?php echo $permalink_structure; ?></strong></td></tr></tbody>
701
  <tbody><tr><td><?php _e( 'Document Root Path', 'iq-block-country' ); ?>: <strong><?php echo WP_CONTENT_DIR ?></strong></td></tr></tbody>
702
  </table>
 
 
 
 
703
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
704
  <?php
705
  }
706
 
@@ -832,6 +894,16 @@ function iqblockcountry_settings_pages() {
832
  <td width="70%">
833
  <input type="checkbox" name="blockcountry_blockpages" value="on" <?php checked('on', get_option('blockcountry_blockpages'), true); ?> />
834
  </td></tr>
 
 
 
 
 
 
 
 
 
 
835
  <tr valign="top">
836
  <th width="30%"><?php _e('Select pages you want to block:', 'iq-block-country'); ?></th>
837
  <td width="70%">
@@ -1093,6 +1165,12 @@ function iqblockcountry_settings_frontend()
1093
 
1094
  <table class="form-table" cellspacing="2" cellpadding="5" width="100%">
1095
 
 
 
 
 
 
 
1096
  <tr valign="top">
1097
  <th width="30%"><?php _e('Do not block visitors that are logged in from visiting frontend website:', 'iq-block-country'); ?></th>
1098
  <td width="70%">
@@ -1100,19 +1178,21 @@ function iqblockcountry_settings_frontend()
1100
  </td></tr>
1101
 
1102
  <tr valign="top">
1103
- <th width="30%"><?php _e('Block visitors from visiting the frontend of your website:', 'iq-block-country'); ?></th>
1104
  <td width="70%">
1105
- <input type="checkbox" name="blockcountry_blockfrontend" <?php checked('on', get_option('blockcountry_blockfrontend'), true); ?> />
1106
  </td></tr>
1107
 
1108
  <tr valign="top">
1109
- <th width="30%"><?php _e('Block visitors from using the search function of your website:', 'iq-block-country'); ?></th>
 
1110
  <td width="70%">
1111
- <input type="checkbox" name="blockcountry_blocksearch" <?php checked('on', get_option('blockcountry_blocksearch'), true); ?> />
 
1112
  </td></tr>
1113
 
1114
  <tr valign="top">
1115
- <th scope="row" width="30%"><?php _e('Select the countries that should be blocked from visiting your frontend:', 'iq-block-country'); ?><br />
1116
  <?php _e('Use the CTRL key to select multiple countries', 'iq-block-country'); ?></th>
1117
  <td width="70%">
1118
 
@@ -1154,12 +1234,6 @@ function iqblockcountry_settings_frontend()
1154
 
1155
  ?>
1156
  </td></tr>
1157
- <tr valign="top">
1158
- <th width="30%"><?php _e('Inverse the selection above:', 'iq-block-country'); ?><br />
1159
- <?php _e('If you select this option only the countries that are selected are <em>allowed</em>.', 'iq-block-country')?></th>
1160
- <td width="70%">
1161
- <input type="checkbox" name="blockcountry_banlist_inverse" <?php checked('on', get_option('blockcountry_banlist_inverse'), true); ?> />
1162
- </td></tr>
1163
  <tr valign="top">
1164
  <th width="30%"><?php _e('Block tag pages:', 'iq-block-country'); ?><br />
1165
  <?php _e('If you select this option tag pages will be blocked.', 'iq-block-country')?></th>
@@ -1247,8 +1321,16 @@ function iqblockcountry_settings_backend()
1247
  </tr>
1248
  </td></tr>
1249
  <tr valign="top">
1250
- <th scope="row" width="30%"><?php _e('Select the countries that should be blocked from visiting your backend:', 'iq-block-country'); ?><br />
1251
- <?php _e('Use the x behind the country to remove a country from this blocklist.', 'iq-block-country'); ?></th>
 
 
 
 
 
 
 
 
1252
  <td width="70%">
1253
 
1254
  <?php
@@ -1287,14 +1369,7 @@ function iqblockcountry_settings_backend()
1287
  ?>
1288
 
1289
  </td></tr>
1290
-
1291
- <tr valign="top">
1292
- <th width="30%"><?php _e('Inverse the selection above:', 'iq-block-country'); ?><br />
1293
- <?php _e('If you select this option only the countries that are selected are <em>allowed</em>.', 'iq-block-country')?></th>
1294
- <td width="70%">
1295
- <input type="checkbox" name="blockcountry_backendbanlist_inverse" <?php checked('on', get_option('blockcountry_backendbanlist_inverse'), true); ?> />
1296
- </td></tr>
1297
-
1298
  <tr valign="top">
1299
  <th width="30%"><?php _e('Backend whitelist IPv4 and/or IPv6 addresses:', 'iq-block-country'); ?><br /><?php _e('Use a semicolon (;) to separate IP addresses', 'iq-block-country'); ?><br /><?php _e('This field accepts single IP addresses as well as ranges in CIDR format.', 'iq-block-country'); ?></th>
1300
  <td width="70%">
@@ -1535,6 +1610,26 @@ if (is_file ( GEOIP2DBFILE ) && (!get_option('blockcountry_geoapikey'))) {
1535
  <input type="checkbox" name="blockcountry_accessibility" <?php checked('on', get_option('blockcountry_accessibility'), true); ?> />
1536
  </td></tr>
1537
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1538
  <tr valign="top">
1539
  <th width="30%"><?php _e('Log all visits:', 'iq-block-country'); ?><br />
1540
  <em><?php _e('This logs all visits despite if they are blocked or not. This is only for debugging purposes.', 'iq-block-country'); ?></em></th>
@@ -1579,7 +1674,6 @@ function iqblockcountry_settings_logging()
1579
  $countrylist = iqblockcountry_get_isocountries();
1580
  echo '<table class="widefat">';
1581
  echo '<thead><tr><th>' . __('Date / Time', 'iq-block-country') . '</th><th>' . __('IP Address', 'iq-block-country') . '</th><th>' . __('Hostname', 'iq-block-country') . '</th><th>' . __('URL', 'iq-block-country') . '</th><th>' . __('Country', 'iq-block-country') . '</th><th>' . __('Frontend/Backend', 'iq-block-country') . '</th></tr></thead>';
1582
-
1583
  foreach ($wpdb->get_results( "SELECT * FROM $table_name ORDER BY datetime DESC LIMIT $nrrows" ) as $row)
1584
  {
1585
  $countryimage = "icons/" . strtolower($row->country) . ".png";
@@ -1589,11 +1683,11 @@ function iqblockcountry_settings_logging()
1589
  $mysqldate = date($format, $datetime);
1590
  if ($lookupstats)
1591
  {
1592
- echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . $row->ipaddress . 'S</td><td>' . $row->url . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
1593
  }
1594
  else
1595
  {
1596
- echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . gethostbyaddr( $row->ipaddress ) . '</td><td>' . $row->url . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
1597
  }
1598
  if ($row->banned == "F") _e('Frontend', 'iq-block-country'); elseif ($row->banned == "A") { _e('Backend banlist','iq-block-country'); } elseif ($row->banned == "T") { _e('Backend & Backend banlist','iq-block-country'); } else { _e('Backend', 'iq-block-country'); }
1599
  echo "</td></tr></tbody>";
170
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_apikey','iqblockcountry_check_adminapikey');
171
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_debuglogging');
172
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_accessibility');
173
+ register_setting ( 'iqblockcountry-settings-group', 'blockcountry_ipoverride');
174
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_logging');
175
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_adminajax');
176
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_blockbackend' );
187
  register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blockfrontend' );
188
  register_setting ( 'iqblockcountry-settings-group-frontend', 'blockcountry_blocktag' );
189
  register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_blockpages');
190
+ register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_blockpages_inverse');
191
  register_setting ( 'iqblockcountry-settings-group-pages', 'blockcountry_pages');
192
  register_setting ( 'iqblockcountry-settings-group-posttypes', 'blockcountry_blockposttypes');
193
  register_setting ( 'iqblockcountry-settings-group-posttypes', 'blockcountry_posttypes');
208
  $optarr = array( 'blockcountry_banlist','blockcountry_banlist_inverse', 'blockcountry_backendbanlist','blockcountry_backendbanlist_inverse',
209
  'blockcountry_backendblacklist','blockcountry_backendwhitelist','blockcountry_frontendblacklist','blockcountry_frontendwhitelist',
210
  'blockcountry_blockmessage','blockcountry_blocklogin','blockcountry_blockfrontend','blockcountry_blockbackend','blockcountry_header',
211
+ 'blockcountry_blockpages','blockcountry_blockpages_inverse','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories','blockcountry_tracking',
212
  'blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_daysstatistics','blockcountry_lookupstatistics','blockcountry_geoapikey',
213
  'blockcountry_geoapilocation','blockcountry_apikey','blockcountry_redirect','blockcountry_redirect_url','blockcountry_allowse',
214
+ 'blockcountry_debuglogging','blockcountry_buffer','blockcountry_accessibility','blockcountry_ipoverride','blockcountry_logging','blockcountry_blockposttypes',
215
  'blockcountry_posttypes','blockcountry_blocksearch','blockcountry_adminajax','blockcountry_blocktag','blockcountry_blocktags','blockcountry_tags');
216
  return apply_filters( 'iqblockcountry_options', $optarr );
217
  }
237
  if ( NULL === get_option('blockcountry_daysstatistics', NULL ) ) { update_option('blockcountry_daysstatistics',30); }
238
  if (get_option('blockcountry_backendwhitelist') === FALSE || (get_option('blockcountry_backendwhitelist') == "")) { update_option('blockcountry_backendwhitelist',$ip_address); }
239
  if (get_option('blockcountry_frontendwhitelist') === FALSE || (get_option('blockcountry_frontendwhitelist') == "")) { update_option('blockcountry_frontendwhitelist',$server_addr); } iqblockcountry_install_db();
240
+ if (get_option('blockcountry_banlist_inverse') === FALSE) { update_option('blockcountry_banlist_inverse' , 'off'); }
241
+ if (get_option('blockcountry_backendbanlist_inverse') === FALSE) { update_option('blockcountry_backendbanlist_inverse' , 'off'); }
242
+ if (get_option('blockcountry_ipoverride') === FALSE) { update_option('blockcountry_ipoverride' , 'NONE'); }
243
  iqblockcountry_find_geoip_location();
244
  }
245
 
264
  delete_option('blockcountry_blockbackend' );
265
  delete_option('blockcountry_version');
266
  delete_option('blockcountry_header');
267
+ delete_option('blockcountry_blockpages');
268
+ delete_option('blockcountry_blockpages_inverse');
269
  delete_option('blockcountry_pages');
270
  delete_option('blockcountry_blockcategories');
271
  delete_option('blockcountry_categories');
285
  delete_option('blockcountry_debuglogging');
286
  delete_option('blockcountry_buffer');
287
  delete_option('blockcountry_accessibility');
288
+ delete_option('blockcountry_ipoverride');
289
  delete_option('blockcountry_logging');
290
  delete_option('blockcountry_blockposttypes');
291
  delete_option('blockcountry_posttypes');
468
  echo "<br />";
469
  }
470
  ?>
471
+ <br />
472
+ <br />
473
+
474
+
475
  <h3><?php _e('Active plugins', 'iq-block-country'); ?></h3>
476
  <?php
477
 
709
  <strong> <?php echo $permalink_structure; ?></strong></td></tr></tbody>
710
  <tbody><tr><td><?php _e( 'Document Root Path', 'iq-block-country' ); ?>: <strong><?php echo WP_CONTENT_DIR ?></strong></td></tr></tbody>
711
  </table>
712
+
713
+ <br />
714
+ <br />
715
+ <h3><?php _e('IP Address information', 'iq-block-country'); ?></h3>
716
 
717
+ <?php
718
+ echo "<br />HTTP_CF_CONNECTING_IP: ";
719
+ if ( isset($_SERVER['HTTP_CF_CONNECTING_IP']) && !empty($_SERVER['HTTP_CF_CONNECTING_IP']) ) {
720
+ echo $_SERVER['HTTP_CF_CONNECTING_IP'];
721
+ }
722
+ else { _e('Not set', 'iq-block-country'); }
723
+ echo "<br />HTTP_X_SUCURI_CLIENTIP: ";
724
+ if ( isset($_SERVER['HTTP_X_SUCURI_CLIENTIP']) && !empty($_SERVER['HTTP_X_SUCURI_CLIENTIP']) ) {
725
+ echo $_SERVER['HTTP_X_SUCURI_CLIENTIP'];
726
+ }
727
+ else { _e('Not set', 'iq-block-country'); }
728
+ echo "<br />HTTP_INCAP_CLIENT_IP: ";
729
+ if ( isset($_SERVER['HTTP_INCAP_CLIENT_IP']) && !empty($_SERVER['HTTP_INCAP_CLIENT_IP']) ) {
730
+ echo $_SERVER['HTTP_INCAP_CLIENT_IP'];
731
+ }
732
+ else { _e('Not set', 'iq-block-country'); }
733
+ echo "<br />HTTP_X_FORWARDED_FOR: ";
734
+ if ( isset($_SERVER['HTTP_X_FORWARDED_FOR']) && !empty($_SERVER['HTTP_X_FORWARDED_FOR']) ) {
735
+ echo $_SERVER['HTTP_X_FORWARDED_FOR'];
736
+ }
737
+ else { _e('Not set', 'iq-block-country'); }
738
+ echo "<br />HTTP_X_FORWARDED: ";
739
+ if ( isset($_SERVER['HTTP_X_FORWARDED']) && !empty($_SERVER['HTTP_X_FORWARDED']) ) {
740
+ echo $_SERVER['HTTP_X_FORWARDED'];
741
+ }
742
+ else { _e('Not set', 'iq-block-country'); }
743
+ echo "<br />HTTP_CLIENT_IP: ";
744
+ if ( isset($_SERVER['HTTP_CLIENT_IP']) && !empty($_SERVER['HTTP_CLIENT_IP']) ) {
745
+ echo $_SERVER['HTTP_CLIENT_IP'];
746
+ }
747
+ else { _e('Not set', 'iq-block-country'); }
748
+ echo "<br />HTTP_X_REAL_IP: ";
749
+ if ( isset($_SERVER['HTTP_X_REAL_IP']) && !empty($_SERVER['HTTP_X_REAL_IP']) ) {
750
+ echo $_SERVER['HTTP_X_REAL_IP'];
751
+ }
752
+ else { _e('Not set', 'iq-block-country'); }
753
+ echo "<br />HTTP_FORWARDED: ";
754
+ if ( isset($_SERVER['HTTP_FORWARDED']) && !empty($_SERVER['HTTP_FORWARDED']) ) {
755
+ echo $_SERVER['HTTP_FORWARDED'];
756
+ }
757
+ else { _e('Not set', 'iq-block-country'); }
758
+ echo "<br />REMOTE_ADDR: ";
759
+ if ( isset($_SERVER['REMOTE_ADDR']) && !empty($_SERVER['REMOTE_ADDR']) ) {
760
+ echo $_SERVER['REMOTE_ADDR'];
761
+ }
762
+ else { _e('Not set', 'iq-block-country'); }
763
+
764
+ ?>
765
+
766
  <?php
767
  }
768
 
894
  <td width="70%">
895
  <input type="checkbox" name="blockcountry_blockpages" value="on" <?php checked('on', get_option('blockcountry_blockpages'), true); ?> />
896
  </td></tr>
897
+
898
+
899
+ <tr valign="top">
900
+ <th width="30%"><?php _e('Block pages selected below:', 'iq-block-country'); ?><br />
901
+ <?php _e('Block all pages except those selected below', 'iq-block-country'); ?></th>
902
+ <td width="70%">
903
+ <input type="radio" name="blockcountry_blockpages_inverse" value="off" <?php checked('off', get_option('blockcountry_blockpages_inverse'), true); ?> <?php checked(FALSE, get_option('blockcountry_blockpages_inverse'), true); ?> /><br />
904
+ <input type="radio" name="blockcountry_blockpages_inverse" value="on" <?php checked('on', get_option('blockcountry_blockpages_inverse'), true); ?> />
905
+ </td></tr>
906
+
907
  <tr valign="top">
908
  <th width="30%"><?php _e('Select pages you want to block:', 'iq-block-country'); ?></th>
909
  <td width="70%">
1165
 
1166
  <table class="form-table" cellspacing="2" cellpadding="5" width="100%">
1167
 
1168
+ <tr valign="top">
1169
+ <th width="30%"><?php _e('Block visitors from visiting the frontend of your website:', 'iq-block-country'); ?></th>
1170
+ <td width="70%">
1171
+ <input type="checkbox" name="blockcountry_blockfrontend" <?php checked('on', get_option('blockcountry_blockfrontend'), true); ?> />
1172
+ </td></tr>
1173
+
1174
  <tr valign="top">
1175
  <th width="30%"><?php _e('Do not block visitors that are logged in from visiting frontend website:', 'iq-block-country'); ?></th>
1176
  <td width="70%">
1178
  </td></tr>
1179
 
1180
  <tr valign="top">
1181
+ <th width="30%"><?php _e('Block visitors from using the search function of your website:', 'iq-block-country'); ?></th>
1182
  <td width="70%">
1183
+ <input type="checkbox" name="blockcountry_blocksearch" <?php checked('on', get_option('blockcountry_blocksearch'), true); ?> />
1184
  </td></tr>
1185
 
1186
  <tr valign="top">
1187
+ <th width="30%"><?php _e('Block countries selected below:', 'iq-block-country'); ?><br />
1188
+ <?php _e('Block all countries except those selected below', 'iq-block-country'); ?></th>
1189
  <td width="70%">
1190
+ <input type="radio" name="blockcountry_banlist_inverse" value="off" <?php checked('off', get_option('blockcountry_banlist_inverse'), true); ?> <?php checked(FALSE, get_option('blockcountry_banlist_inverse'), true); ?> /><br />
1191
+ <input type="radio" name="blockcountry_banlist_inverse" value="on" <?php checked('on', get_option('blockcountry_banlist_inverse'), true); ?> />
1192
  </td></tr>
1193
 
1194
  <tr valign="top">
1195
+ <th scope="row" width="30%"><?php _e('Select the countries:', 'iq-block-country'); ?><br />
1196
  <?php _e('Use the CTRL key to select multiple countries', 'iq-block-country'); ?></th>
1197
  <td width="70%">
1198
 
1234
 
1235
  ?>
1236
  </td></tr>
 
 
 
 
 
 
1237
  <tr valign="top">
1238
  <th width="30%"><?php _e('Block tag pages:', 'iq-block-country'); ?><br />
1239
  <?php _e('If you select this option tag pages will be blocked.', 'iq-block-country')?></th>
1321
  </tr>
1322
  </td></tr>
1323
  <tr valign="top">
1324
+ <th width="30%"><?php _e('Block countries selected below:', 'iq-block-country'); ?><br />
1325
+ <?php _e('Block all countries except those selected below', 'iq-block-country'); ?></th>
1326
+ <td width="70%">
1327
+ <input type="radio" name="blockcountry_backendbanlist_inverse" value="off" <?php checked('off', get_option('blockcountry_backendbanlist_inverse'), true); ?> <?php checked(FALSE, get_option('blockcountry_backendbanlist_inverse'), true); ?> /><br />
1328
+ <input type="radio" name="blockcountry_backendbanlist_inverse" value="on" <?php checked('on', get_option('blockcountry_backendbanlist_inverse'), true); ?> />
1329
+ </td></tr>
1330
+
1331
+ <tr valign="top">
1332
+ <th scope="row" width="30%"><?php _e('Select the countries:', 'iq-block-country'); ?><br />
1333
+ <?php _e('Use the CTRL key to select multiple countries', 'iq-block-country'); ?></th>
1334
  <td width="70%">
1335
 
1336
  <?php
1369
  ?>
1370
 
1371
  </td></tr>
1372
+
 
 
 
 
 
 
 
1373
  <tr valign="top">
1374
  <th width="30%"><?php _e('Backend whitelist IPv4 and/or IPv6 addresses:', 'iq-block-country'); ?><br /><?php _e('Use a semicolon (;) to separate IP addresses', 'iq-block-country'); ?><br /><?php _e('This field accepts single IP addresses as well as ranges in CIDR format.', 'iq-block-country'); ?></th>
1375
  <td width="70%">
1610
  <input type="checkbox" name="blockcountry_accessibility" <?php checked('on', get_option('blockcountry_accessibility'), true); ?> />
1611
  </td></tr>
1612
 
1613
+ <tr valign="top">
1614
+ <th width="30%"><?php _e('Override IP information:', 'iq-block-country'); ?><br />
1615
+ <em><?php _e('This option allows you to override how iQ Block Country gets the real IP of your visitors.', 'iq-block-country'); ?></em></th>
1616
+ <td width="70%">
1617
+ <?php
1618
+ $ipoverride = get_option('blockcountry_ipoverride'); ?>
1619
+ <select name="blockcountry_ipoverride">
1620
+ <option <?php selected( $ipoverride, "NONE" ); ?> value="NONE">No override</option>
1621
+ <option <?php selected( $ipoverride, "REMOTE_ADDR" ); ?> value="REMOTE_ADDR">REMOTE_ADDR</option>
1622
+ <option <?php selected( $ipoverride, "HTTP_FORWARDED" ); ?> value="HTTP_FORWARDED">HTTP_FORWARDED</option>
1623
+ <option <?php selected( $ipoverride, "HTTP_X_REAL_IP" ); ?> value="HTTP_X_REAL_IP">HTTP_X_REAL_IP</option>
1624
+ <option <?php selected( $ipoverride, "HTTP_CLIENT_IP" ); ?> value="HTTP_CLIENT_IP">HTTP_CLIENT_IP</option>
1625
+ <option <?php selected( $ipoverride, "HTTP_X_FORWARDED" ); ?> value="HTTP_X_FORWARDED">HTTP_X_FORWARDED</option>
1626
+ <option <?php selected( $ipoverride, "HTTP_X_FORWARDED_FOR" ); ?> value="HTTP_X_FORWARDED_FOR">HTTP_X_FORWARDED_FOR</option>
1627
+ <option <?php selected( $ipoverride, "HTTP_INCAP_CLIENT_IP" ); ?> value="HTTP_INCAP_CLIENT_IP">HTTP_X_FORWARDED</option>
1628
+ <option <?php selected( $ipoverride, "HTTP_X_SUCURI_CLIENTIP" ); ?> value="HTTP_X_SUCURI_CLIENTIP">HTTP_X_SUCURI_CLIENTIP</option>
1629
+ <option <?php selected( $ipoverride, "HTTP_CF_CONNECTING_IP" ); ?> value="HTTP_CF_CONNECTING_IP">HTTP_CF_CONNECTING_IP</option>
1630
+ </select>
1631
+ </td></tr>
1632
+
1633
  <tr valign="top">
1634
  <th width="30%"><?php _e('Log all visits:', 'iq-block-country'); ?><br />
1635
  <em><?php _e('This logs all visits despite if they are blocked or not. This is only for debugging purposes.', 'iq-block-country'); ?></em></th>
1674
  $countrylist = iqblockcountry_get_isocountries();
1675
  echo '<table class="widefat">';
1676
  echo '<thead><tr><th>' . __('Date / Time', 'iq-block-country') . '</th><th>' . __('IP Address', 'iq-block-country') . '</th><th>' . __('Hostname', 'iq-block-country') . '</th><th>' . __('URL', 'iq-block-country') . '</th><th>' . __('Country', 'iq-block-country') . '</th><th>' . __('Frontend/Backend', 'iq-block-country') . '</th></tr></thead>';
 
1677
  foreach ($wpdb->get_results( "SELECT * FROM $table_name ORDER BY datetime DESC LIMIT $nrrows" ) as $row)
1678
  {
1679
  $countryimage = "icons/" . strtolower($row->country) . ".png";
1683
  $mysqldate = date($format, $datetime);
1684
  if ($lookupstats)
1685
  {
1686
+ echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . $row->ipaddress . 'S</td><td>' . mb_strimwidth($row->url,0,75,'...') . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
1687
  }
1688
  else
1689
  {
1690
+ echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . gethostbyaddr( $row->ipaddress ) . '</td><td>' . mb_strimwidth($row->url,0,75,'...') . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
1691
  }
1692
  if ($row->banned == "F") _e('Frontend', 'iq-block-country'); elseif ($row->banned == "A") { _e('Backend banlist','iq-block-country'); } elseif ($row->banned == "T") { _e('Backend & Backend banlist','iq-block-country'); } else { _e('Backend', 'iq-block-country'); }
1693
  echo "</td></tr></tbody>";
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: 5.0.3
7
- Stable tag: 1.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.6
@@ -130,21 +130,16 @@ You can use for instance:
130
 
131
  you basicly can use everything as within a normal HTML page. Including images for instance.
132
 
133
- = Does this plugin also work with IPv6? =
134
 
135
- Since v1.0.7 this plugin supports IPv6. IPv6 IP addresses are more and more used because there are no new IPv4 IP addresses anymore.
 
136
 
137
- If your webhosting company supplies your with both IPv4 and IPv6 ip addresses please also download the GeoIPv6 database or use the GeoIP API service.
138
 
139
- If your webhosting company does not supply an IPv6 IP address yet please ask them when they are planning to.
140
 
141
- = Why is the GeoLite database not downloaded anymore ? =
142
-
143
- The Wordpress guys have contacted me that the license of the MaxMind GeoLite database and the Wordpress license conflicted. So it was no longer
144
- allowed to include the GeoLite database or provide an automatic download or download button. Instead users should download the database themselves
145
- and upload them to the website.
146
-
147
- Wordpress could be held liable for any license issue. So that is why the auto download en update was removed from this plugin.
148
 
149
  = Does this plugin work with caching? =
150
 
@@ -155,6 +150,8 @@ The plugin does it best to prevent caching of the "You are blocked" message. How
155
  The plugin does it bests to avoid caching but under circumstances the message does get cached.
156
  Either change the behavior of your caching software or disable the plugin.
157
 
 
 
158
  = How can I select multiple countries at once? =
159
 
160
  You can press the CTRL key and select several countries.
@@ -163,7 +160,7 @@ Perhaps also a handy function is that you can type in a part of the name of the
163
 
164
  You can select/deselect all countries by selecting "(de)select all countries..."
165
 
166
- If you just want to allow some countries you can also use the invert function by selecting the countries you want to allow and select invert this selection.
167
 
168
  = How can I get a new version of the GeoIP database? =
169
 
@@ -208,6 +205,14 @@ Jetpack uses xmlrpc.php to communicate with your site. xmlrpc.php is considered
208
 
209
  You can allow Jetpack by selecting "Jetpack by wordpress.com" as a search engine on the services tab.
210
 
 
 
 
 
 
 
 
 
211
  = I only want to block certain posts with a specific tag =
212
 
213
  As the basic rule is to block all and every post you have to configure this in a special way:
@@ -228,6 +233,13 @@ be used.
228
 
229
  == Changelog ==
230
 
 
 
 
 
 
 
 
231
  = 1.2.2 =
232
 
233
  * New: Added MOZ as service.
@@ -445,4 +457,4 @@ be used.
445
 
446
  = 1.1.19 =
447
 
448
- This plugin no longer downloads the MaxMind database. You have to download manually or use the GeoIP API.
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: 5.1.1
7
+ Stable tag: 1.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.6
130
 
131
  you basicly can use everything as within a normal HTML page. Including images for instance.
132
 
133
+ = Help! My IP address is not detected properly =
134
 
135
+ The iQ Block Country plugin does it's best to detect the real IP address of your visitors even if they try to hide it. However sometimes it fails in doing so and in that case you might get an different IP address for your users.
136
+ For instance your webhosting IP address.
137
 
138
+ You can overrule this process if it does not work properly in your case. Go to the Tools tab there is a section IP Address Information. It will show all server headers that contain IP information, see which header has your own IP address.
139
 
140
+ On the home tab you can set this header where it says 'Override IP information'.
141
 
142
+ You should only use this if the automatic IP detection fails otherwise please have it set to "No override"
 
 
 
 
 
 
143
 
144
  = Does this plugin work with caching? =
145
 
150
  The plugin does it bests to avoid caching but under circumstances the message does get cached.
151
  Either change the behavior of your caching software or disable the plugin.
152
 
153
+ If you want to block visitors from the frontend using a caching mechanism is not recommended.
154
+
155
  = How can I select multiple countries at once? =
156
 
157
  You can press the CTRL key and select several countries.
160
 
161
  You can select/deselect all countries by selecting "(de)select all countries..."
162
 
163
+ If you just want to allow some countries you can also use the 'Block all countries except those selected below' function by selecting the countries you want to allow and select invert this selection.
164
 
165
  = How can I get a new version of the GeoIP database? =
166
 
205
 
206
  You can allow Jetpack by selecting "Jetpack by wordpress.com" as a search engine on the services tab.
207
 
208
+ = Why is the GeoLite database not downloaded anymore ? =
209
+
210
+ The Wordpress guys have contacted me that the license of the MaxMind GeoLite database and the Wordpress license conflicted. So it was no longer
211
+ allowed to include the GeoLite database or provide an automatic download or download button. Instead users should download the database themselves
212
+ and upload them to the website.
213
+
214
+ Wordpress could be held liable for any license issue. So that is why the auto download en update was removed from this plugin.
215
+
216
  = I only want to block certain posts with a specific tag =
217
 
218
  As the basic rule is to block all and every post you have to configure this in a special way:
233
 
234
  == Changelog ==
235
 
236
+ = 1.2.3 =
237
+
238
+ * Change: Changed inverse option to that you have to select between 'Block countries selected below' or 'Block all countries except those selected below' as inverse option caused some confusion.
239
+ * New: Added 'inverse' function to the pages selection as well. So you can now select the pages you want to block or select the pages you do not want to have blocked and block all other pages.
240
+ * New: Added override function for IP detection.
241
+ * Change: Cutoff for long urls on the statistics page.
242
+
243
  = 1.2.2 =
244
 
245
  * New: Added MOZ as service.
457
 
458
  = 1.1.19 =
459
 
460
+ This plugin no longer downloads the MaxMind database. You have to download manually or use the GeoIP API.