iQ Block Country - Version 1.1.13

Version Description

  • Bugfix on setting defaults when they values already existed.
  • You can now allow search engines access to your country even if they come from countries that you want to block.
Download this release

Release Info

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

Code changes from version 1.1.12 to 1.1.13

iq-block-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
5
- Version: 1.1.12
6
  Author: Pascal
7
  Author URI: http://www.redeo.nl/
8
  Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
@@ -310,8 +310,8 @@ require_once('libs/blockcountry-checks.php');
310
  require_once('libs/blockcountry-settings.php');
311
  require_once('libs/blockcountry-validation.php');
312
  require_once('libs/blockcountry-logging.php');
313
- //require_once('libs/blockcountry-tracking.php');
314
-
315
 
316
  /*
317
  * Main plugin works.
@@ -323,13 +323,14 @@ define("IPV4DB","http://geolite.maxmind.com/download/geoip/database/GeoLiteCount
323
  define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIP.dat");
324
  define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
325
  define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
326
- define("VERSION","1.1.12");
327
- define("DBVERSION","120");
 
328
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
329
 
330
  global $apiblacklist;
331
  $apiblacklist = FALSE;
332
-
333
 
334
  register_activation_hook(__file__, 'iqblockcountry_this_plugin_first');
335
  register_activation_hook(__file__, 'iqblockcountry_set_defaults');
@@ -337,10 +338,7 @@ register_uninstall_hook(__file__, 'iqblockcountry_uninstall');
337
 
338
  // Check if upgrade is necessary
339
  iqblockcountry_upgrade();
340
-
341
- /* Check retrieve XML schedule */
342
- // iqblockcountry_schedule_retrievebanlist();
343
-
344
  /* Clean logging database */
345
  iqblockcountry_clean_db();
346
 
@@ -364,8 +362,8 @@ add_action ( 'admin_menu', 'iqblockcountry_create_menu' );
364
  add_action ( 'admin_init', 'iqblockcountry_checkupdatedb' );
365
  add_filter ( 'update_option_blockcountry_tracking', 'iqblockcountry_schedule_tracking', 10, 2);
366
  add_filter ( 'add_option_blockcountry_tracking', 'iqblockcountry_schedule_tracking', 10, 2);
367
- //add_filter ( 'update_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
368
- //add_filter ( 'add_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
369
  add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
370
  add_action ( 'blockcountry_retrievebanlist', 'iqblockcountry_tracking_retrieve_xml');
371
  add_action ( 'init', 'iqblockcountry_buffer',1);
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
5
+ Version: 1.1.13
6
  Author: Pascal
7
  Author URI: http://www.redeo.nl/
8
  Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
310
  require_once('libs/blockcountry-settings.php');
311
  require_once('libs/blockcountry-validation.php');
312
  require_once('libs/blockcountry-logging.php');
313
+ require_once('libs/blockcountry-tracking.php');
314
+ require_once('libs/blockcountry-search-engines.php');
315
 
316
  /*
317
  * Main plugin works.
323
  define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIP.dat");
324
  define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
325
  define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
326
+ define("TRACKINGRETRIEVEURL","http://tracking.webence.nl/iq-block-country-retrieve.php");
327
+ define("VERSION","1.1.13d");
328
+ define("DBVERSION","121");
329
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
330
 
331
  global $apiblacklist;
332
  $apiblacklist = FALSE;
333
+ $backendblacklistcheck = FALSE;
334
 
335
  register_activation_hook(__file__, 'iqblockcountry_this_plugin_first');
336
  register_activation_hook(__file__, 'iqblockcountry_set_defaults');
338
 
339
  // Check if upgrade is necessary
340
  iqblockcountry_upgrade();
341
+
 
 
 
342
  /* Clean logging database */
343
  iqblockcountry_clean_db();
344
 
362
  add_action ( 'admin_init', 'iqblockcountry_checkupdatedb' );
363
  add_filter ( 'update_option_blockcountry_tracking', 'iqblockcountry_schedule_tracking', 10, 2);
364
  add_filter ( 'add_option_blockcountry_tracking', 'iqblockcountry_schedule_tracking', 10, 2);
365
+ add_filter ( 'update_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
366
+ add_filter ( 'add_option_blockcountry_apikey', 'iqblockcountry_schedule_retrieving', 10, 2);
367
  add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
368
  add_action ( 'blockcountry_retrievebanlist', 'iqblockcountry_tracking_retrieve_xml');
369
  add_action ( 'init', 'iqblockcountry_buffer',1);
lang/en_EN.mo CHANGED
Binary file
lang/en_EN.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
- "POT-Creation-Date: 2014-05-28 19:11+0100\n"
5
- "PO-Revision-Date: 2014-05-28 19:11+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: English\n"
@@ -15,340 +15,358 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
- #: libs/blockcountry-settings.php:121
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
 
24
- #: libs/blockcountry-settings.php:125
25
  msgid "IP Address to check:"
26
  msgstr ""
27
 
28
- #: libs/blockcountry-settings.php:135
29
  msgid "No country for"
30
  msgstr ""
31
 
32
- #: libs/blockcountry-settings.php:135
33
  msgid "could be found. Or"
34
  msgstr ""
35
 
36
- #: libs/blockcountry-settings.php:135
37
  msgid "is not a valid IPv4 or IPv6 IP address"
38
  msgstr ""
39
 
40
- #: libs/blockcountry-settings.php:140
41
  msgid "IP Adress"
42
  msgstr ""
43
 
44
- #: libs/blockcountry-settings.php:140
45
  msgid "belongs to"
46
  msgstr ""
47
 
48
- #: libs/blockcountry-settings.php:143
49
  msgid "This country is not permitted to visit the frontend of this website."
50
  msgstr ""
51
 
52
- #: libs/blockcountry-settings.php:148
53
  msgid "This country is not permitted to visit the backend of this website."
54
  msgstr ""
55
 
56
- #: libs/blockcountry-settings.php:154
 
 
 
 
57
  msgid "Check IP address"
58
  msgstr ""
59
 
60
- #: libs/blockcountry-settings.php:160
61
  msgid "Download GeoIP database"
62
  msgstr ""
63
 
64
- #: libs/blockcountry-settings.php:167
65
  msgid "The GeoIP database is updated once a month. Last update: "
66
  msgstr ""
67
 
68
- #: libs/blockcountry-settings.php:168
69
  msgid "If you need a manual update please press buttons below to update."
70
  msgstr ""
71
 
72
- #: libs/blockcountry-settings.php:174
73
  msgid "Download new GeoIP IPv4 Database"
74
  msgstr ""
75
 
76
- #: libs/blockcountry-settings.php:181
77
  msgid "Download new GeoIP IPv6 Database"
78
  msgstr ""
79
 
80
- #: libs/blockcountry-settings.php:186 libs/blockcountry-settings.php:190
81
  msgid "Downloading..."
82
  msgstr ""
83
 
84
- #: libs/blockcountry-settings.php:196
85
  msgid "Active plugins"
86
  msgstr ""
87
 
88
- #: libs/blockcountry-settings.php:203
89
  msgid "Plugin name"
90
  msgstr ""
91
 
92
- #: libs/blockcountry-settings.php:203
93
  msgid "Version"
94
  msgstr ""
95
 
96
- #: libs/blockcountry-settings.php:203 libs/blockcountry-settings.php:785
97
- #: libs/blockcountry-settings.php:828
98
  msgid "URL"
99
  msgstr ""
100
 
101
- #: libs/blockcountry-settings.php:228
102
  msgid "Export"
103
  msgstr ""
104
 
105
- #: libs/blockcountry-settings.php:229
106
  msgid ""
107
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
108
  "Block Country configuration will be created."
109
  msgstr ""
110
 
111
- #: libs/blockcountry-settings.php:230
112
  msgid ""
113
  "After exporting, you can either use the backup file to restore your settings "
114
  "on this site again or copy the settings to another WordPress site."
115
  msgstr ""
116
 
117
- #: libs/blockcountry-settings.php:234
118
  msgid "Backup all settings"
119
  msgstr ""
120
 
121
- #: libs/blockcountry-settings.php:241
122
  msgid "Import"
123
  msgstr ""
124
 
125
- #: libs/blockcountry-settings.php:242
126
  msgid "Click the browse button and choose a zip file that you exported before."
127
  msgstr ""
128
 
129
- #: libs/blockcountry-settings.php:243
130
  msgid "Press Restore settings button, and let WordPress do the magic for you."
131
  msgstr ""
132
 
133
- #: libs/blockcountry-settings.php:248
134
  msgid "Restore settings"
135
  msgstr ""
136
 
137
- #: libs/blockcountry-settings.php:271 libs/blockcountry-settings.php:274
138
- #: libs/blockcountry-settings.php:283
139
  msgid "Something went wrong exporting this file"
140
  msgstr ""
141
 
142
- #: libs/blockcountry-settings.php:286
143
  msgid "Exporting settings..."
144
  msgstr ""
145
 
146
- #: libs/blockcountry-settings.php:301
147
  msgid "Something went wrong importing this file"
148
  msgstr ""
149
 
150
- #: libs/blockcountry-settings.php:318
151
  msgid "All options are restored successfully."
152
  msgstr ""
153
 
154
- #: libs/blockcountry-settings.php:321
155
  msgid "Invalid file."
156
  msgstr ""
157
 
158
- #: libs/blockcountry-settings.php:326
159
  msgid "No correct import or export option given."
160
  msgstr ""
161
 
162
- #: libs/blockcountry-settings.php:335
163
  msgid "Select which pages are blocked."
164
  msgstr ""
165
 
166
- #: libs/blockcountry-settings.php:342
167
  msgid "Do you want to block individual pages:"
168
  msgstr ""
169
 
170
- #: libs/blockcountry-settings.php:343
171
  msgid "If you do not select this option all pages will be blocked."
172
  msgstr ""
173
 
174
- #: libs/blockcountry-settings.php:348
175
  msgid "Select pages you want to block:"
176
  msgstr ""
177
 
178
- #: libs/blockcountry-settings.php:370 libs/blockcountry-settings.php:424
179
- #: libs/blockcountry-settings.php:519 libs/blockcountry-settings.php:623
180
- #: libs/blockcountry-settings.php:757
181
  msgid "Save Changes"
182
  msgstr ""
183
 
184
- #: libs/blockcountry-settings.php:383
185
  msgid "Select which categories are blocked."
186
  msgstr ""
187
 
188
- #: libs/blockcountry-settings.php:390
189
  msgid "Do you want to block individual categories:"
190
  msgstr ""
191
 
192
- #: libs/blockcountry-settings.php:391
193
  msgid "If you do not select this option all blog articles will be blocked."
194
  msgstr ""
195
 
196
- #: libs/blockcountry-settings.php:396
197
  msgid "Do you want to block the homepage:"
198
  msgstr ""
199
 
200
- #: libs/blockcountry-settings.php:397
201
  msgid ""
202
  "If you do not select this option visitors will not be blocked from your "
203
  "homepage regardless of the categories you select."
204
  msgstr ""
205
 
206
- #: libs/blockcountry-settings.php:402
207
  msgid "Select categories you want to block:"
208
  msgstr ""
209
 
210
- #: libs/blockcountry-settings.php:438
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  msgid "Frontend options"
212
  msgstr ""
213
 
214
- #: libs/blockcountry-settings.php:473
215
  msgid ""
216
  "Do not block visitors that are logged in from visiting frontend website:"
217
  msgstr ""
218
 
219
- #: libs/blockcountry-settings.php:479
220
  msgid "Block visitors from visiting the frontend of your website:"
221
  msgstr ""
222
 
223
- #: libs/blockcountry-settings.php:485
224
  msgid ""
225
  "Select the countries that should be blocked from visiting your frontend:"
226
  msgstr ""
227
 
228
- #: libs/blockcountry-settings.php:486
229
  msgid "Use the CTRL key to select multiple countries"
230
  msgstr ""
231
 
232
- #: libs/blockcountry-settings.php:502
233
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
234
  msgstr ""
235
 
236
- #: libs/blockcountry-settings.php:502 libs/blockcountry-settings.php:510
237
- #: libs/blockcountry-settings.php:606 libs/blockcountry-settings.php:614
238
  msgid "Use a semicolon (;) to separate IP addresses"
239
  msgstr ""
240
 
241
- #: libs/blockcountry-settings.php:510
242
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
243
  msgstr ""
244
 
245
- #: libs/blockcountry-settings.php:539
246
  msgid "Backend Options"
247
  msgstr ""
248
 
249
- #: libs/blockcountry-settings.php:573
250
  msgid ""
251
  "Block visitors from visiting the backend (administrator) of your website:"
252
  msgstr ""
253
 
254
- #: libs/blockcountry-settings.php:581
255
  msgid "Your IP address is"
256
  msgstr ""
257
 
258
- #: libs/blockcountry-settings.php:581
259
  msgid "The country that is listed for this IP address is"
260
  msgstr ""
261
 
262
- #: libs/blockcountry-settings.php:582
263
  msgid ""
264
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
265
  "(administrator) of your website' and also select"
266
  msgstr ""
267
 
268
- #: libs/blockcountry-settings.php:582
269
  msgid "below."
270
  msgstr ""
271
 
272
- #: libs/blockcountry-settings.php:583
273
  msgid ""
274
  "You will NOT be able to login the next time if you DO block your own country "
275
  "from visiting the backend."
276
  msgstr ""
277
 
278
- #: libs/blockcountry-settings.php:588
279
  msgid "Select the countries that should be blocked from visiting your backend:"
280
  msgstr ""
281
 
282
- #: libs/blockcountry-settings.php:589
283
  msgid "Use the x behind the country to remove a country from this blocklist."
284
  msgstr ""
285
 
286
- #: libs/blockcountry-settings.php:606
287
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
288
  msgstr ""
289
 
290
- #: libs/blockcountry-settings.php:614
291
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
292
  msgstr ""
293
 
294
- #: libs/blockcountry-settings.php:644
295
  msgid "Overall statistics since start"
296
  msgstr ""
297
 
298
- #: libs/blockcountry-settings.php:647
299
  msgid "visitors blocked from the backend."
300
  msgstr ""
301
 
302
- #: libs/blockcountry-settings.php:649
303
  msgid "visitors blocked from the frontend."
304
  msgstr ""
305
 
306
- #: libs/blockcountry-settings.php:653
307
  msgid "Basic Options"
308
  msgstr ""
309
 
310
- #: libs/blockcountry-settings.php:688
311
  msgid "Message to display when people are blocked:"
312
  msgstr ""
313
 
314
- #: libs/blockcountry-settings.php:698
315
  msgid "Page to redirect to:"
316
  msgstr ""
317
 
318
- #: libs/blockcountry-settings.php:699
319
  msgid ""
320
  "If you select a page here blocked visitors will be redirected to this page "
321
  "instead of displaying above block message."
322
  msgstr ""
323
 
324
- #: libs/blockcountry-settings.php:705
325
  msgid "Choose a page..."
326
  msgstr ""
327
 
328
- #: libs/blockcountry-settings.php:720
329
  msgid "Send headers when user is blocked:"
330
  msgstr ""
331
 
332
- #: libs/blockcountry-settings.php:721
333
  msgid ""
334
  "Under normal circumstances you should keep this selected! Only if you have "
335
  "\"Cannot modify header information - headers already sent\" errors or if you "
336
  "know what you are doing uncheck this."
337
  msgstr ""
338
 
339
- #: libs/blockcountry-settings.php:727
340
  msgid "Number of rows on statistics page:"
341
  msgstr ""
342
 
343
- #: libs/blockcountry-settings.php:728
344
  msgid "How many rows do you want to display on each tab the statistics page."
345
  msgstr ""
346
 
347
- #: libs/blockcountry-settings.php:743
348
  msgid "Allow tracking:"
349
  msgstr ""
350
 
351
- #: libs/blockcountry-settings.php:744
352
  msgid ""
353
  "This sends only the IP address and the number of attempts this ip address "
354
  "tried to login to your backend and was blocked doing so to a central server. "
@@ -356,88 +374,96 @@ msgid ""
356
  "countries."
357
  msgstr ""
358
 
359
- #: libs/blockcountry-settings.php:750
360
  msgid "API Key:"
361
  msgstr ""
362
 
363
- #: libs/blockcountry-settings.php:775
364
  msgid "Last blocked visits"
365
  msgstr ""
366
 
367
- #: libs/blockcountry-settings.php:785
368
  msgid "Date / Time"
369
  msgstr ""
370
 
371
- #: libs/blockcountry-settings.php:785 libs/blockcountry-settings.php:817
372
  msgid "IP Address"
373
  msgstr ""
374
 
375
- #: libs/blockcountry-settings.php:785 libs/blockcountry-settings.php:817
376
  msgid "Hostname"
377
  msgstr ""
378
 
379
- #: libs/blockcountry-settings.php:785 libs/blockcountry-settings.php:804
380
  msgid "Country"
381
  msgstr ""
382
 
383
- #: libs/blockcountry-settings.php:785
384
  msgid "Frontend/Backend"
385
  msgstr ""
386
 
387
- #: libs/blockcountry-settings.php:795 libs/blockcountry-settings.php:856
388
  msgid "Frontend"
389
  msgstr ""
390
 
391
- #: libs/blockcountry-settings.php:795
392
  msgid "Backend banlist"
393
  msgstr ""
394
 
395
- #: libs/blockcountry-settings.php:795 libs/blockcountry-settings.php:857
 
 
 
 
396
  msgid "Backend"
397
  msgstr ""
398
 
399
- #: libs/blockcountry-settings.php:802
400
  msgid "Top countries that are blocked"
401
  msgstr ""
402
 
403
- #: libs/blockcountry-settings.php:804 libs/blockcountry-settings.php:817
404
- #: libs/blockcountry-settings.php:828
405
  msgid "# of blocked attempts"
406
  msgstr ""
407
 
408
- #: libs/blockcountry-settings.php:815
409
  msgid "Top hosts that are blocked"
410
  msgstr ""
411
 
412
- #: libs/blockcountry-settings.php:826
413
  msgid "Top URLs that are blocked"
414
  msgstr ""
415
 
416
- #: libs/blockcountry-settings.php:855
417
  msgid "Home"
418
  msgstr ""
419
 
420
- #: libs/blockcountry-settings.php:858
421
  msgid "Pages"
422
  msgstr ""
423
 
424
- #: libs/blockcountry-settings.php:859
425
  msgid "Categories"
426
  msgstr ""
427
 
428
- #: libs/blockcountry-settings.php:860
 
 
 
 
429
  msgid "Tools"
430
  msgstr ""
431
 
432
- #: libs/blockcountry-settings.php:861
433
  msgid "Logging"
434
  msgstr ""
435
 
436
- #: libs/blockcountry-settings.php:862
437
  msgid "Import/Export"
438
  msgstr ""
439
 
440
- #: libs/blockcountry-settings.php:912
441
  msgid "GeoIP database does not exists. Trying to download it..."
442
  msgstr ""
443
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2014-07-29 20:59+0100\n"
5
+ "PO-Revision-Date: 2014-07-29 22:18+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: English\n"
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
+ #: libs/blockcountry-settings.php:123
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
 
24
+ #: libs/blockcountry-settings.php:127
25
  msgid "IP Address to check:"
26
  msgstr ""
27
 
28
+ #: libs/blockcountry-settings.php:137
29
  msgid "No country for"
30
  msgstr ""
31
 
32
+ #: libs/blockcountry-settings.php:137
33
  msgid "could be found. Or"
34
  msgstr ""
35
 
36
+ #: libs/blockcountry-settings.php:137
37
  msgid "is not a valid IPv4 or IPv6 IP address"
38
  msgstr ""
39
 
40
+ #: libs/blockcountry-settings.php:142
41
  msgid "IP Adress"
42
  msgstr ""
43
 
44
+ #: libs/blockcountry-settings.php:142
45
  msgid "belongs to"
46
  msgstr ""
47
 
48
+ #: libs/blockcountry-settings.php:145
49
  msgid "This country is not permitted to visit the frontend of this website."
50
  msgstr ""
51
 
52
+ #: libs/blockcountry-settings.php:150
53
  msgid "This country is not permitted to visit the backend of this website."
54
  msgstr ""
55
 
56
+ #: libs/blockcountry-settings.php:155
57
+ msgid "This ip is present in the blacklist."
58
+ msgstr ""
59
+
60
+ #: libs/blockcountry-settings.php:161
61
  msgid "Check IP address"
62
  msgstr ""
63
 
64
+ #: libs/blockcountry-settings.php:167
65
  msgid "Download GeoIP database"
66
  msgstr ""
67
 
68
+ #: libs/blockcountry-settings.php:174
69
  msgid "The GeoIP database is updated once a month. Last update: "
70
  msgstr ""
71
 
72
+ #: libs/blockcountry-settings.php:175
73
  msgid "If you need a manual update please press buttons below to update."
74
  msgstr ""
75
 
76
+ #: libs/blockcountry-settings.php:181
77
  msgid "Download new GeoIP IPv4 Database"
78
  msgstr ""
79
 
80
+ #: libs/blockcountry-settings.php:188
81
  msgid "Download new GeoIP IPv6 Database"
82
  msgstr ""
83
 
84
+ #: libs/blockcountry-settings.php:193 libs/blockcountry-settings.php:197
85
  msgid "Downloading..."
86
  msgstr ""
87
 
88
+ #: libs/blockcountry-settings.php:203
89
  msgid "Active plugins"
90
  msgstr ""
91
 
92
+ #: libs/blockcountry-settings.php:210
93
  msgid "Plugin name"
94
  msgstr ""
95
 
96
+ #: libs/blockcountry-settings.php:210
97
  msgid "Version"
98
  msgstr ""
99
 
100
+ #: libs/blockcountry-settings.php:210 libs/blockcountry-settings.php:836
101
+ #: libs/blockcountry-settings.php:879
102
  msgid "URL"
103
  msgstr ""
104
 
105
+ #: libs/blockcountry-settings.php:235
106
  msgid "Export"
107
  msgstr ""
108
 
109
+ #: libs/blockcountry-settings.php:236
110
  msgid ""
111
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
112
  "Block Country configuration will be created."
113
  msgstr ""
114
 
115
+ #: libs/blockcountry-settings.php:237
116
  msgid ""
117
  "After exporting, you can either use the backup file to restore your settings "
118
  "on this site again or copy the settings to another WordPress site."
119
  msgstr ""
120
 
121
+ #: libs/blockcountry-settings.php:241
122
  msgid "Backup all settings"
123
  msgstr ""
124
 
125
+ #: libs/blockcountry-settings.php:248
126
  msgid "Import"
127
  msgstr ""
128
 
129
+ #: libs/blockcountry-settings.php:249
130
  msgid "Click the browse button and choose a zip file that you exported before."
131
  msgstr ""
132
 
133
+ #: libs/blockcountry-settings.php:250
134
  msgid "Press Restore settings button, and let WordPress do the magic for you."
135
  msgstr ""
136
 
137
+ #: libs/blockcountry-settings.php:255
138
  msgid "Restore settings"
139
  msgstr ""
140
 
141
+ #: libs/blockcountry-settings.php:278 libs/blockcountry-settings.php:281
142
+ #: libs/blockcountry-settings.php:290
143
  msgid "Something went wrong exporting this file"
144
  msgstr ""
145
 
146
+ #: libs/blockcountry-settings.php:293
147
  msgid "Exporting settings..."
148
  msgstr ""
149
 
150
+ #: libs/blockcountry-settings.php:308
151
  msgid "Something went wrong importing this file"
152
  msgstr ""
153
 
154
+ #: libs/blockcountry-settings.php:325
155
  msgid "All options are restored successfully."
156
  msgstr ""
157
 
158
+ #: libs/blockcountry-settings.php:328
159
  msgid "Invalid file."
160
  msgstr ""
161
 
162
+ #: libs/blockcountry-settings.php:333
163
  msgid "No correct import or export option given."
164
  msgstr ""
165
 
166
+ #: libs/blockcountry-settings.php:342
167
  msgid "Select which pages are blocked."
168
  msgstr ""
169
 
170
+ #: libs/blockcountry-settings.php:349
171
  msgid "Do you want to block individual pages:"
172
  msgstr ""
173
 
174
+ #: libs/blockcountry-settings.php:350
175
  msgid "If you do not select this option all pages will be blocked."
176
  msgstr ""
177
 
178
+ #: libs/blockcountry-settings.php:355
179
  msgid "Select pages you want to block:"
180
  msgstr ""
181
 
182
+ #: libs/blockcountry-settings.php:377 libs/blockcountry-settings.php:431
183
+ #: libs/blockcountry-settings.php:474 libs/blockcountry-settings.php:570
184
+ #: libs/blockcountry-settings.php:674 libs/blockcountry-settings.php:808
185
  msgid "Save Changes"
186
  msgstr ""
187
 
188
+ #: libs/blockcountry-settings.php:390
189
  msgid "Select which categories are blocked."
190
  msgstr ""
191
 
192
+ #: libs/blockcountry-settings.php:397
193
  msgid "Do you want to block individual categories:"
194
  msgstr ""
195
 
196
+ #: libs/blockcountry-settings.php:398
197
  msgid "If you do not select this option all blog articles will be blocked."
198
  msgstr ""
199
 
200
+ #: libs/blockcountry-settings.php:403
201
  msgid "Do you want to block the homepage:"
202
  msgstr ""
203
 
204
+ #: libs/blockcountry-settings.php:404
205
  msgid ""
206
  "If you do not select this option visitors will not be blocked from your "
207
  "homepage regardless of the categories you select."
208
  msgstr ""
209
 
210
+ #: libs/blockcountry-settings.php:409
211
  msgid "Select categories you want to block:"
212
  msgstr ""
213
 
214
+ #: libs/blockcountry-settings.php:444
215
+ msgid "Select which search engines are allowed."
216
+ msgstr ""
217
+
218
+ #: libs/blockcountry-settings.php:451
219
+ msgid "Select which search engines you want to allow:"
220
+ msgstr ""
221
+
222
+ #: libs/blockcountry-settings.php:452
223
+ msgid ""
224
+ "This will allow a search engine to your site despite if you blocked the "
225
+ "country."
226
+ msgstr ""
227
+
228
+ #: libs/blockcountry-settings.php:489
229
  msgid "Frontend options"
230
  msgstr ""
231
 
232
+ #: libs/blockcountry-settings.php:524
233
  msgid ""
234
  "Do not block visitors that are logged in from visiting frontend website:"
235
  msgstr ""
236
 
237
+ #: libs/blockcountry-settings.php:530
238
  msgid "Block visitors from visiting the frontend of your website:"
239
  msgstr ""
240
 
241
+ #: libs/blockcountry-settings.php:536
242
  msgid ""
243
  "Select the countries that should be blocked from visiting your frontend:"
244
  msgstr ""
245
 
246
+ #: libs/blockcountry-settings.php:537
247
  msgid "Use the CTRL key to select multiple countries"
248
  msgstr ""
249
 
250
+ #: libs/blockcountry-settings.php:553
251
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
252
  msgstr ""
253
 
254
+ #: libs/blockcountry-settings.php:553 libs/blockcountry-settings.php:561
255
+ #: libs/blockcountry-settings.php:657 libs/blockcountry-settings.php:665
256
  msgid "Use a semicolon (;) to separate IP addresses"
257
  msgstr ""
258
 
259
+ #: libs/blockcountry-settings.php:561
260
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
261
  msgstr ""
262
 
263
+ #: libs/blockcountry-settings.php:590
264
  msgid "Backend Options"
265
  msgstr ""
266
 
267
+ #: libs/blockcountry-settings.php:624
268
  msgid ""
269
  "Block visitors from visiting the backend (administrator) of your website:"
270
  msgstr ""
271
 
272
+ #: libs/blockcountry-settings.php:632
273
  msgid "Your IP address is"
274
  msgstr ""
275
 
276
+ #: libs/blockcountry-settings.php:632
277
  msgid "The country that is listed for this IP address is"
278
  msgstr ""
279
 
280
+ #: libs/blockcountry-settings.php:633
281
  msgid ""
282
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
283
  "(administrator) of your website' and also select"
284
  msgstr ""
285
 
286
+ #: libs/blockcountry-settings.php:633
287
  msgid "below."
288
  msgstr ""
289
 
290
+ #: libs/blockcountry-settings.php:634
291
  msgid ""
292
  "You will NOT be able to login the next time if you DO block your own country "
293
  "from visiting the backend."
294
  msgstr ""
295
 
296
+ #: libs/blockcountry-settings.php:639
297
  msgid "Select the countries that should be blocked from visiting your backend:"
298
  msgstr ""
299
 
300
+ #: libs/blockcountry-settings.php:640
301
  msgid "Use the x behind the country to remove a country from this blocklist."
302
  msgstr ""
303
 
304
+ #: libs/blockcountry-settings.php:657
305
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
306
  msgstr ""
307
 
308
+ #: libs/blockcountry-settings.php:665
309
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
310
  msgstr ""
311
 
312
+ #: libs/blockcountry-settings.php:695
313
  msgid "Overall statistics since start"
314
  msgstr ""
315
 
316
+ #: libs/blockcountry-settings.php:698
317
  msgid "visitors blocked from the backend."
318
  msgstr ""
319
 
320
+ #: libs/blockcountry-settings.php:700
321
  msgid "visitors blocked from the frontend."
322
  msgstr ""
323
 
324
+ #: libs/blockcountry-settings.php:704
325
  msgid "Basic Options"
326
  msgstr ""
327
 
328
+ #: libs/blockcountry-settings.php:739
329
  msgid "Message to display when people are blocked:"
330
  msgstr ""
331
 
332
+ #: libs/blockcountry-settings.php:749
333
  msgid "Page to redirect to:"
334
  msgstr ""
335
 
336
+ #: libs/blockcountry-settings.php:750
337
  msgid ""
338
  "If you select a page here blocked visitors will be redirected to this page "
339
  "instead of displaying above block message."
340
  msgstr ""
341
 
342
+ #: libs/blockcountry-settings.php:756
343
  msgid "Choose a page..."
344
  msgstr ""
345
 
346
+ #: libs/blockcountry-settings.php:771
347
  msgid "Send headers when user is blocked:"
348
  msgstr ""
349
 
350
+ #: libs/blockcountry-settings.php:772
351
  msgid ""
352
  "Under normal circumstances you should keep this selected! Only if you have "
353
  "\"Cannot modify header information - headers already sent\" errors or if you "
354
  "know what you are doing uncheck this."
355
  msgstr ""
356
 
357
+ #: libs/blockcountry-settings.php:778
358
  msgid "Number of rows on statistics page:"
359
  msgstr ""
360
 
361
+ #: libs/blockcountry-settings.php:779
362
  msgid "How many rows do you want to display on each tab the statistics page."
363
  msgstr ""
364
 
365
+ #: libs/blockcountry-settings.php:794
366
  msgid "Allow tracking:"
367
  msgstr ""
368
 
369
+ #: libs/blockcountry-settings.php:795
370
  msgid ""
371
  "This sends only the IP address and the number of attempts this ip address "
372
  "tried to login to your backend and was blocked doing so to a central server. "
374
  "countries."
375
  msgstr ""
376
 
377
+ #: libs/blockcountry-settings.php:801
378
  msgid "API Key:"
379
  msgstr ""
380
 
381
+ #: libs/blockcountry-settings.php:826
382
  msgid "Last blocked visits"
383
  msgstr ""
384
 
385
+ #: libs/blockcountry-settings.php:836
386
  msgid "Date / Time"
387
  msgstr ""
388
 
389
+ #: libs/blockcountry-settings.php:836 libs/blockcountry-settings.php:868
390
  msgid "IP Address"
391
  msgstr ""
392
 
393
+ #: libs/blockcountry-settings.php:836 libs/blockcountry-settings.php:868
394
  msgid "Hostname"
395
  msgstr ""
396
 
397
+ #: libs/blockcountry-settings.php:836 libs/blockcountry-settings.php:855
398
  msgid "Country"
399
  msgstr ""
400
 
401
+ #: libs/blockcountry-settings.php:836
402
  msgid "Frontend/Backend"
403
  msgstr ""
404
 
405
+ #: libs/blockcountry-settings.php:846 libs/blockcountry-settings.php:907
406
  msgid "Frontend"
407
  msgstr ""
408
 
409
+ #: libs/blockcountry-settings.php:846
410
  msgid "Backend banlist"
411
  msgstr ""
412
 
413
+ #: libs/blockcountry-settings.php:846
414
+ msgid "Backend & Backend banlist"
415
+ msgstr ""
416
+
417
+ #: libs/blockcountry-settings.php:846 libs/blockcountry-settings.php:908
418
  msgid "Backend"
419
  msgstr ""
420
 
421
+ #: libs/blockcountry-settings.php:853
422
  msgid "Top countries that are blocked"
423
  msgstr ""
424
 
425
+ #: libs/blockcountry-settings.php:855 libs/blockcountry-settings.php:868
426
+ #: libs/blockcountry-settings.php:879
427
  msgid "# of blocked attempts"
428
  msgstr ""
429
 
430
+ #: libs/blockcountry-settings.php:866
431
  msgid "Top hosts that are blocked"
432
  msgstr ""
433
 
434
+ #: libs/blockcountry-settings.php:877
435
  msgid "Top URLs that are blocked"
436
  msgstr ""
437
 
438
+ #: libs/blockcountry-settings.php:906
439
  msgid "Home"
440
  msgstr ""
441
 
442
+ #: libs/blockcountry-settings.php:909
443
  msgid "Pages"
444
  msgstr ""
445
 
446
+ #: libs/blockcountry-settings.php:910
447
  msgid "Categories"
448
  msgstr ""
449
 
450
+ #: libs/blockcountry-settings.php:911
451
+ msgid "Search Engines"
452
+ msgstr ""
453
+
454
+ #: libs/blockcountry-settings.php:912
455
  msgid "Tools"
456
  msgstr ""
457
 
458
+ #: libs/blockcountry-settings.php:913
459
  msgid "Logging"
460
  msgstr ""
461
 
462
+ #: libs/blockcountry-settings.php:914
463
  msgid "Import/Export"
464
  msgstr ""
465
 
466
+ #: libs/blockcountry-settings.php:968
467
  msgid "GeoIP database does not exists. Trying to download it..."
468
  msgstr ""
469
 
lang/iqblockcountry-nl_NL.mo CHANGED
Binary file
lang/iqblockcountry-nl_NL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
- "POT-Creation-Date: 2014-05-28 19:11+0100\n"
5
- "PO-Revision-Date: 2014-05-28 19:23+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: Dutch\n"
@@ -15,99 +15,103 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
- #: libs/blockcountry-settings.php:121
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
24
 
25
- #: libs/blockcountry-settings.php:125
26
  msgid "IP Address to check:"
27
  msgstr "IP adres om te controleren:"
28
 
29
- #: libs/blockcountry-settings.php:135
30
  msgid "No country for"
31
  msgstr "Geen land voor"
32
 
33
- #: libs/blockcountry-settings.php:135
34
  msgid "could be found. Or"
35
  msgstr "gevonden. Of"
36
 
37
- #: libs/blockcountry-settings.php:135
38
  msgid "is not a valid IPv4 or IPv6 IP address"
39
  msgstr "is geen valide IPv4 of IPv6 ip adres."
40
 
41
- #: libs/blockcountry-settings.php:140
42
  msgid "IP Adress"
43
  msgstr "IP Adres"
44
 
45
- #: libs/blockcountry-settings.php:140
46
  msgid "belongs to"
47
  msgstr "behoort tot"
48
 
49
- #: libs/blockcountry-settings.php:143
50
  msgid "This country is not permitted to visit the frontend of this website."
51
  msgstr ""
52
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
53
 
54
- #: libs/blockcountry-settings.php:148
55
  msgid "This country is not permitted to visit the backend of this website."
56
  msgstr ""
57
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
58
 
59
- #: libs/blockcountry-settings.php:154
 
 
 
 
60
  msgid "Check IP address"
61
  msgstr "Controleer IP adres"
62
 
63
- #: libs/blockcountry-settings.php:160
64
  msgid "Download GeoIP database"
65
  msgstr "Download GeoIP database"
66
 
67
- #: libs/blockcountry-settings.php:167
68
  msgid "The GeoIP database is updated once a month. Last update: "
69
  msgstr ""
70
  "De GeoIP database wordt eenmaal per maand bijgewerkt. Laatste keer "
71
  "bijgewerkt:"
72
 
73
- #: libs/blockcountry-settings.php:168
74
  msgid "If you need a manual update please press buttons below to update."
75
  msgstr "Indien je handmatig wilt bijwerken druk je op de knoppen hier beneden."
76
 
77
- #: libs/blockcountry-settings.php:174
78
  msgid "Download new GeoIP IPv4 Database"
79
  msgstr "Download nieuwe GeoIP IPv4 database"
80
 
81
- #: libs/blockcountry-settings.php:181
82
  msgid "Download new GeoIP IPv6 Database"
83
  msgstr "Download nieuwe GeoIP IPv6 database"
84
 
85
- #: libs/blockcountry-settings.php:186 libs/blockcountry-settings.php:190
86
  msgid "Downloading..."
87
  msgstr "Downloading..."
88
 
89
- #: libs/blockcountry-settings.php:196
90
  msgid "Active plugins"
91
  msgstr "Actieve plugins"
92
 
93
- #: libs/blockcountry-settings.php:203
94
  msgid "Plugin name"
95
  msgstr "Plugin naam"
96
 
97
- #: libs/blockcountry-settings.php:203
98
  msgid "Version"
99
  msgstr "Versie"
100
 
101
- #: libs/blockcountry-settings.php:203 libs/blockcountry-settings.php:785
102
- #: libs/blockcountry-settings.php:828
103
  msgid "URL"
104
  msgstr "URL"
105
 
106
- #: libs/blockcountry-settings.php:228
107
  msgid "Export"
108
  msgstr "Exporteren"
109
 
110
- #: libs/blockcountry-settings.php:229
111
  msgid ""
112
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
113
  "Block Country configuration will be created."
@@ -115,7 +119,7 @@ msgstr ""
115
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
116
  "van alle iQ Block Country instellingen worden gecreerd."
117
 
118
- #: libs/blockcountry-settings.php:230
119
  msgid ""
120
  "After exporting, you can either use the backup file to restore your settings "
121
  "on this site again or copy the settings to another WordPress site."
@@ -124,95 +128,95 @@ msgstr ""
124
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
125
  "andere WordPress site te exporteren."
126
 
127
- #: libs/blockcountry-settings.php:234
128
  msgid "Backup all settings"
129
  msgstr "Backup alle instellingen"
130
 
131
- #: libs/blockcountry-settings.php:241
132
  msgid "Import"
133
  msgstr "Importeer"
134
 
135
- #: libs/blockcountry-settings.php:242
136
  msgid "Click the browse button and choose a zip file that you exported before."
137
  msgstr ""
138
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
139
  "geexporteerd."
140
 
141
- #: libs/blockcountry-settings.php:243
142
  msgid "Press Restore settings button, and let WordPress do the magic for you."
143
  msgstr ""
144
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
145
  "doen."
146
 
147
- #: libs/blockcountry-settings.php:248
148
  msgid "Restore settings"
149
  msgstr "Herstel instellingen"
150
 
151
- #: libs/blockcountry-settings.php:271 libs/blockcountry-settings.php:274
152
- #: libs/blockcountry-settings.php:283
153
  msgid "Something went wrong exporting this file"
154
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
155
 
156
- #: libs/blockcountry-settings.php:286
157
  msgid "Exporting settings..."
158
  msgstr "Exporteer instellingen"
159
 
160
- #: libs/blockcountry-settings.php:301
161
  msgid "Something went wrong importing this file"
162
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
163
 
164
- #: libs/blockcountry-settings.php:318
165
  msgid "All options are restored successfully."
166
  msgstr "Alle opties zijn succesvol hersteld"
167
 
168
- #: libs/blockcountry-settings.php:321
169
  msgid "Invalid file."
170
  msgstr "Ongeldig bestand"
171
 
172
- #: libs/blockcountry-settings.php:326
173
  msgid "No correct import or export option given."
174
  msgstr "Geen correcte importeer of exporteer optie gegeven."
175
 
176
- #: libs/blockcountry-settings.php:335
177
  msgid "Select which pages are blocked."
178
  msgstr "Selecteer welke pagina's geblokkeerd worden."
179
 
180
- #: libs/blockcountry-settings.php:342
181
  msgid "Do you want to block individual pages:"
182
  msgstr "Wil je individuele pagina's blokkeren:"
183
 
184
- #: libs/blockcountry-settings.php:343
185
  msgid "If you do not select this option all pages will be blocked."
186
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
187
 
188
- #: libs/blockcountry-settings.php:348
189
  msgid "Select pages you want to block:"
190
  msgstr "Selecteer welke pagina's je wil blokkeren."
191
 
192
- #: libs/blockcountry-settings.php:370 libs/blockcountry-settings.php:424
193
- #: libs/blockcountry-settings.php:519 libs/blockcountry-settings.php:623
194
- #: libs/blockcountry-settings.php:757
195
  msgid "Save Changes"
196
  msgstr "Bewaar wijzigingen"
197
 
198
- #: libs/blockcountry-settings.php:383
199
  msgid "Select which categories are blocked."
200
  msgstr "Selecteer welke categorieen geblokkeerd worden."
201
 
202
- #: libs/blockcountry-settings.php:390
203
  msgid "Do you want to block individual categories:"
204
  msgstr "Wil je individuele categorieen blokkeren:"
205
 
206
- #: libs/blockcountry-settings.php:391
207
  msgid "If you do not select this option all blog articles will be blocked."
208
  msgstr ""
209
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
210
 
211
- #: libs/blockcountry-settings.php:396
212
  msgid "Do you want to block the homepage:"
213
  msgstr "Wil je je homepage blokkeren:"
214
 
215
- #: libs/blockcountry-settings.php:397
216
  msgid ""
217
  "If you do not select this option visitors will not be blocked from your "
218
  "homepage regardless of the categories you select."
@@ -221,70 +225,86 @@ msgstr ""
221
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
222
  "selecteert."
223
 
224
- #: libs/blockcountry-settings.php:402
225
  msgid "Select categories you want to block:"
226
  msgstr "Selecteer welke categorieen je wil blokkeren."
227
 
228
- #: libs/blockcountry-settings.php:438
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  msgid "Frontend options"
230
  msgstr "Voorkant opties"
231
 
232
- #: libs/blockcountry-settings.php:473
233
  msgid ""
234
  "Do not block visitors that are logged in from visiting frontend website:"
235
  msgstr ""
236
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
237
 
238
- #: libs/blockcountry-settings.php:479
239
  msgid "Block visitors from visiting the frontend of your website:"
240
  msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
241
 
242
- #: libs/blockcountry-settings.php:485
243
  msgid ""
244
  "Select the countries that should be blocked from visiting your frontend:"
245
  msgstr ""
246
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
247
  "voorkant van je website:"
248
 
249
- #: libs/blockcountry-settings.php:486
250
  msgid "Use the CTRL key to select multiple countries"
251
  msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
252
 
253
- #: libs/blockcountry-settings.php:502
254
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
255
  msgstr ""
256
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
257
 
258
- #: libs/blockcountry-settings.php:502 libs/blockcountry-settings.php:510
259
- #: libs/blockcountry-settings.php:606 libs/blockcountry-settings.php:614
260
  msgid "Use a semicolon (;) to separate IP addresses"
261
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
262
 
263
- #: libs/blockcountry-settings.php:510
264
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
265
  msgstr ""
266
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
267
 
268
- #: libs/blockcountry-settings.php:539
269
  msgid "Backend Options"
270
  msgstr "Achterkant opties"
271
 
272
- #: libs/blockcountry-settings.php:573
273
  msgid ""
274
  "Block visitors from visiting the backend (administrator) of your website:"
275
  msgstr ""
276
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
277
  "gedeelte) van je website:"
278
 
279
- #: libs/blockcountry-settings.php:581
280
  msgid "Your IP address is"
281
  msgstr "Je IP adres is"
282
 
283
- #: libs/blockcountry-settings.php:581
284
  msgid "The country that is listed for this IP address is"
285
  msgstr "Het land waar dit adres toe behoort is"
286
 
287
- #: libs/blockcountry-settings.php:582
288
  msgid ""
289
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
290
  "(administrator) of your website' and also select"
@@ -292,11 +312,11 @@ msgstr ""
292
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
293
  "achterkant (administratie gedeelte) van je website\" en"
294
 
295
- #: libs/blockcountry-settings.php:582
296
  msgid "below."
297
  msgstr "hier beneden."
298
 
299
- #: libs/blockcountry-settings.php:583
300
  msgid ""
301
  "You will NOT be able to login the next time if you DO block your own country "
302
  "from visiting the backend."
@@ -304,52 +324,52 @@ msgstr ""
304
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
305
  "land blokkeert van het bezoeken van de achterkant van je website."
306
 
307
- #: libs/blockcountry-settings.php:588
308
  msgid "Select the countries that should be blocked from visiting your backend:"
309
  msgstr ""
310
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
311
  "achterkant (administratie gedeelte) van je website:"
312
 
313
- #: libs/blockcountry-settings.php:589
314
  msgid "Use the x behind the country to remove a country from this blocklist."
315
  msgstr ""
316
  "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
317
 
318
- #: libs/blockcountry-settings.php:606
319
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
320
  msgstr ""
321
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
322
 
323
- #: libs/blockcountry-settings.php:614
324
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
325
  msgstr ""
326
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
327
 
328
- #: libs/blockcountry-settings.php:644
329
  msgid "Overall statistics since start"
330
  msgstr "Statistieken sinds het begin"
331
 
332
- #: libs/blockcountry-settings.php:647
333
  msgid "visitors blocked from the backend."
334
  msgstr "bezoekers geblokkeerd op de achterkant."
335
 
336
- #: libs/blockcountry-settings.php:649
337
  msgid "visitors blocked from the frontend."
338
  msgstr "bezoekers geblokkeerd op de voorkant."
339
 
340
- #: libs/blockcountry-settings.php:653
341
  msgid "Basic Options"
342
  msgstr "Standaard opties"
343
 
344
- #: libs/blockcountry-settings.php:688
345
  msgid "Message to display when people are blocked:"
346
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
347
 
348
- #: libs/blockcountry-settings.php:698
349
  msgid "Page to redirect to:"
350
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
351
 
352
- #: libs/blockcountry-settings.php:699
353
  msgid ""
354
  "If you select a page here blocked visitors will be redirected to this page "
355
  "instead of displaying above block message."
@@ -358,15 +378,15 @@ msgstr ""
358
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
359
  "bezoekers."
360
 
361
- #: libs/blockcountry-settings.php:705
362
  msgid "Choose a page..."
363
  msgstr "Kies een pagina..."
364
 
365
- #: libs/blockcountry-settings.php:720
366
  msgid "Send headers when user is blocked:"
367
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
368
 
369
- #: libs/blockcountry-settings.php:721
370
  msgid ""
371
  "Under normal circumstances you should keep this selected! Only if you have "
372
  "\"Cannot modify header information - headers already sent\" errors or if you "
@@ -376,19 +396,19 @@ msgstr ""
376
  "deze alleen indien je \"Cannot modify header information - headers already "
377
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
378
 
379
- #: libs/blockcountry-settings.php:727
380
  msgid "Number of rows on statistics page:"
381
  msgstr "Aantal regels op de statistieken pagina:"
382
 
383
- #: libs/blockcountry-settings.php:728
384
  msgid "How many rows do you want to display on each tab the statistics page."
385
  msgstr "Hoeveel regels wil je tonen op de statistieken pagina."
386
 
387
- #: libs/blockcountry-settings.php:743
388
  msgid "Allow tracking:"
389
  msgstr "Sta traceren toe:"
390
 
391
- #: libs/blockcountry-settings.php:744
392
  msgid ""
393
  "This sends only the IP address and the number of attempts this ip address "
394
  "tried to login to your backend and was blocked doing so to a central server. "
@@ -401,89 +421,96 @@ msgstr ""
401
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
402
  "pogingen worden gedaan. "
403
 
404
- #: libs/blockcountry-settings.php:750
405
  msgid "API Key:"
406
  msgstr "API Key:"
407
 
408
- #: libs/blockcountry-settings.php:775
409
  msgid "Last blocked visits"
410
  msgstr "Laatste geblokkeerde bezoekers"
411
 
412
- #: libs/blockcountry-settings.php:785
413
  msgid "Date / Time"
414
  msgstr "Datum / Tijd"
415
 
416
- #: libs/blockcountry-settings.php:785 libs/blockcountry-settings.php:817
417
  msgid "IP Address"
418
  msgstr "IP adres"
419
 
420
- #: libs/blockcountry-settings.php:785 libs/blockcountry-settings.php:817
421
  msgid "Hostname"
422
  msgstr "Hostnaam"
423
 
424
- #: libs/blockcountry-settings.php:785 libs/blockcountry-settings.php:804
425
  msgid "Country"
426
  msgstr "Land"
427
 
428
- #: libs/blockcountry-settings.php:785
429
  msgid "Frontend/Backend"
430
  msgstr "Voorkant/Achterkant"
431
 
432
- #: libs/blockcountry-settings.php:795 libs/blockcountry-settings.php:856
433
  msgid "Frontend"
434
  msgstr "Voorkant"
435
 
436
- #: libs/blockcountry-settings.php:795
437
  msgid "Backend banlist"
438
  msgstr "Achterkant banlist"
439
 
440
- #: libs/blockcountry-settings.php:795 libs/blockcountry-settings.php:857
 
 
 
 
441
  msgid "Backend"
442
  msgstr "Achterkant"
443
 
444
- #: libs/blockcountry-settings.php:802
445
  msgid "Top countries that are blocked"
446
  msgstr "Top landen welke zijn geblokkeerd"
447
 
448
- #: libs/blockcountry-settings.php:804 libs/blockcountry-settings.php:817
449
- #: libs/blockcountry-settings.php:828
450
  msgid "# of blocked attempts"
451
  msgstr "# of geblokkeerde pogingen"
452
 
453
- #: libs/blockcountry-settings.php:815
454
  msgid "Top hosts that are blocked"
455
  msgstr "Top hosts welke geblokkeerd zijn"
456
 
457
- #: libs/blockcountry-settings.php:826
458
  msgid "Top URLs that are blocked"
459
  msgstr "Top URLs welke geblokkeerd zijn"
460
 
461
- #: libs/blockcountry-settings.php:855
462
  msgid "Home"
463
  msgstr "Home"
464
 
465
- #: libs/blockcountry-settings.php:858
466
  msgid "Pages"
467
  msgstr "Pagina's"
468
 
469
- #: libs/blockcountry-settings.php:859
470
  msgid "Categories"
471
  msgstr "Categorieen"
472
 
473
- #: libs/blockcountry-settings.php:860
474
- #, fuzzy
 
 
 
475
  msgid "Tools"
476
  msgstr "Gereedschap"
477
 
478
- #: libs/blockcountry-settings.php:861
479
  msgid "Logging"
480
  msgstr "Statistieken"
481
 
482
- #: libs/blockcountry-settings.php:862
483
  msgid "Import/Export"
484
  msgstr "Importeren/Exporteren"
485
 
486
- #: libs/blockcountry-settings.php:912
487
  msgid "GeoIP database does not exists. Trying to download it..."
488
  msgstr "GeoIP database bestaat niet. Probeer om nieuwe versie te downloaden"
489
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2014-07-29 20:59+0100\n"
5
+ "PO-Revision-Date: 2014-07-29 20:59+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: Dutch\n"
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
+ #: libs/blockcountry-settings.php:123
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
24
 
25
+ #: libs/blockcountry-settings.php:127
26
  msgid "IP Address to check:"
27
  msgstr "IP adres om te controleren:"
28
 
29
+ #: libs/blockcountry-settings.php:137
30
  msgid "No country for"
31
  msgstr "Geen land voor"
32
 
33
+ #: libs/blockcountry-settings.php:137
34
  msgid "could be found. Or"
35
  msgstr "gevonden. Of"
36
 
37
+ #: libs/blockcountry-settings.php:137
38
  msgid "is not a valid IPv4 or IPv6 IP address"
39
  msgstr "is geen valide IPv4 of IPv6 ip adres."
40
 
41
+ #: libs/blockcountry-settings.php:142
42
  msgid "IP Adress"
43
  msgstr "IP Adres"
44
 
45
+ #: libs/blockcountry-settings.php:142
46
  msgid "belongs to"
47
  msgstr "behoort tot"
48
 
49
+ #: libs/blockcountry-settings.php:145
50
  msgid "This country is not permitted to visit the frontend of this website."
51
  msgstr ""
52
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
53
 
54
+ #: libs/blockcountry-settings.php:150
55
  msgid "This country is not permitted to visit the backend of this website."
56
  msgstr ""
57
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
58
 
59
+ #: libs/blockcountry-settings.php:155
60
+ msgid "This ip is present in the blacklist."
61
+ msgstr "Dit ip adres staat op de zwarte lijst"
62
+
63
+ #: libs/blockcountry-settings.php:161
64
  msgid "Check IP address"
65
  msgstr "Controleer IP adres"
66
 
67
+ #: libs/blockcountry-settings.php:167
68
  msgid "Download GeoIP database"
69
  msgstr "Download GeoIP database"
70
 
71
+ #: libs/blockcountry-settings.php:174
72
  msgid "The GeoIP database is updated once a month. Last update: "
73
  msgstr ""
74
  "De GeoIP database wordt eenmaal per maand bijgewerkt. Laatste keer "
75
  "bijgewerkt:"
76
 
77
+ #: libs/blockcountry-settings.php:175
78
  msgid "If you need a manual update please press buttons below to update."
79
  msgstr "Indien je handmatig wilt bijwerken druk je op de knoppen hier beneden."
80
 
81
+ #: libs/blockcountry-settings.php:181
82
  msgid "Download new GeoIP IPv4 Database"
83
  msgstr "Download nieuwe GeoIP IPv4 database"
84
 
85
+ #: libs/blockcountry-settings.php:188
86
  msgid "Download new GeoIP IPv6 Database"
87
  msgstr "Download nieuwe GeoIP IPv6 database"
88
 
89
+ #: libs/blockcountry-settings.php:193 libs/blockcountry-settings.php:197
90
  msgid "Downloading..."
91
  msgstr "Downloading..."
92
 
93
+ #: libs/blockcountry-settings.php:203
94
  msgid "Active plugins"
95
  msgstr "Actieve plugins"
96
 
97
+ #: libs/blockcountry-settings.php:210
98
  msgid "Plugin name"
99
  msgstr "Plugin naam"
100
 
101
+ #: libs/blockcountry-settings.php:210
102
  msgid "Version"
103
  msgstr "Versie"
104
 
105
+ #: libs/blockcountry-settings.php:210 libs/blockcountry-settings.php:836
106
+ #: libs/blockcountry-settings.php:879
107
  msgid "URL"
108
  msgstr "URL"
109
 
110
+ #: libs/blockcountry-settings.php:235
111
  msgid "Export"
112
  msgstr "Exporteren"
113
 
114
+ #: libs/blockcountry-settings.php:236
115
  msgid ""
116
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
117
  "Block Country configuration will be created."
119
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
120
  "van alle iQ Block Country instellingen worden gecreerd."
121
 
122
+ #: libs/blockcountry-settings.php:237
123
  msgid ""
124
  "After exporting, you can either use the backup file to restore your settings "
125
  "on this site again or copy the settings to another WordPress site."
128
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
129
  "andere WordPress site te exporteren."
130
 
131
+ #: libs/blockcountry-settings.php:241
132
  msgid "Backup all settings"
133
  msgstr "Backup alle instellingen"
134
 
135
+ #: libs/blockcountry-settings.php:248
136
  msgid "Import"
137
  msgstr "Importeer"
138
 
139
+ #: libs/blockcountry-settings.php:249
140
  msgid "Click the browse button and choose a zip file that you exported before."
141
  msgstr ""
142
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
143
  "geexporteerd."
144
 
145
+ #: libs/blockcountry-settings.php:250
146
  msgid "Press Restore settings button, and let WordPress do the magic for you."
147
  msgstr ""
148
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
149
  "doen."
150
 
151
+ #: libs/blockcountry-settings.php:255
152
  msgid "Restore settings"
153
  msgstr "Herstel instellingen"
154
 
155
+ #: libs/blockcountry-settings.php:278 libs/blockcountry-settings.php:281
156
+ #: libs/blockcountry-settings.php:290
157
  msgid "Something went wrong exporting this file"
158
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
159
 
160
+ #: libs/blockcountry-settings.php:293
161
  msgid "Exporting settings..."
162
  msgstr "Exporteer instellingen"
163
 
164
+ #: libs/blockcountry-settings.php:308
165
  msgid "Something went wrong importing this file"
166
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
167
 
168
+ #: libs/blockcountry-settings.php:325
169
  msgid "All options are restored successfully."
170
  msgstr "Alle opties zijn succesvol hersteld"
171
 
172
+ #: libs/blockcountry-settings.php:328
173
  msgid "Invalid file."
174
  msgstr "Ongeldig bestand"
175
 
176
+ #: libs/blockcountry-settings.php:333
177
  msgid "No correct import or export option given."
178
  msgstr "Geen correcte importeer of exporteer optie gegeven."
179
 
180
+ #: libs/blockcountry-settings.php:342
181
  msgid "Select which pages are blocked."
182
  msgstr "Selecteer welke pagina's geblokkeerd worden."
183
 
184
+ #: libs/blockcountry-settings.php:349
185
  msgid "Do you want to block individual pages:"
186
  msgstr "Wil je individuele pagina's blokkeren:"
187
 
188
+ #: libs/blockcountry-settings.php:350
189
  msgid "If you do not select this option all pages will be blocked."
190
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
191
 
192
+ #: libs/blockcountry-settings.php:355
193
  msgid "Select pages you want to block:"
194
  msgstr "Selecteer welke pagina's je wil blokkeren."
195
 
196
+ #: libs/blockcountry-settings.php:377 libs/blockcountry-settings.php:431
197
+ #: libs/blockcountry-settings.php:474 libs/blockcountry-settings.php:570
198
+ #: libs/blockcountry-settings.php:674 libs/blockcountry-settings.php:808
199
  msgid "Save Changes"
200
  msgstr "Bewaar wijzigingen"
201
 
202
+ #: libs/blockcountry-settings.php:390
203
  msgid "Select which categories are blocked."
204
  msgstr "Selecteer welke categorieen geblokkeerd worden."
205
 
206
+ #: libs/blockcountry-settings.php:397
207
  msgid "Do you want to block individual categories:"
208
  msgstr "Wil je individuele categorieen blokkeren:"
209
 
210
+ #: libs/blockcountry-settings.php:398
211
  msgid "If you do not select this option all blog articles will be blocked."
212
  msgstr ""
213
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
214
 
215
+ #: libs/blockcountry-settings.php:403
216
  msgid "Do you want to block the homepage:"
217
  msgstr "Wil je je homepage blokkeren:"
218
 
219
+ #: libs/blockcountry-settings.php:404
220
  msgid ""
221
  "If you do not select this option visitors will not be blocked from your "
222
  "homepage regardless of the categories you select."
225
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
226
  "selecteert."
227
 
228
+ #: libs/blockcountry-settings.php:409
229
  msgid "Select categories you want to block:"
230
  msgstr "Selecteer welke categorieen je wil blokkeren."
231
 
232
+ #: libs/blockcountry-settings.php:444
233
+ msgid "Select which search engines are allowed."
234
+ msgstr "Selecteer welke zoek machines je wilt toestaan."
235
+
236
+ #: libs/blockcountry-settings.php:451
237
+ msgid "Select which search engines you want to allow:"
238
+ msgstr "Selecteer welke zoek machines je wilt toestaan:"
239
+
240
+ #: libs/blockcountry-settings.php:452
241
+ msgid ""
242
+ "This will allow a search engine to your site despite if you blocked the "
243
+ "country."
244
+ msgstr ""
245
+ "Deze optie staat het toe dat zoekmachines je site bezoeken ondanks dat ze "
246
+ "uit een land komen welk geblokkeerd is."
247
+
248
+ #: libs/blockcountry-settings.php:489
249
  msgid "Frontend options"
250
  msgstr "Voorkant opties"
251
 
252
+ #: libs/blockcountry-settings.php:524
253
  msgid ""
254
  "Do not block visitors that are logged in from visiting frontend website:"
255
  msgstr ""
256
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
257
 
258
+ #: libs/blockcountry-settings.php:530
259
  msgid "Block visitors from visiting the frontend of your website:"
260
  msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
261
 
262
+ #: libs/blockcountry-settings.php:536
263
  msgid ""
264
  "Select the countries that should be blocked from visiting your frontend:"
265
  msgstr ""
266
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
267
  "voorkant van je website:"
268
 
269
+ #: libs/blockcountry-settings.php:537
270
  msgid "Use the CTRL key to select multiple countries"
271
  msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
272
 
273
+ #: libs/blockcountry-settings.php:553
274
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
275
  msgstr ""
276
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
277
 
278
+ #: libs/blockcountry-settings.php:553 libs/blockcountry-settings.php:561
279
+ #: libs/blockcountry-settings.php:657 libs/blockcountry-settings.php:665
280
  msgid "Use a semicolon (;) to separate IP addresses"
281
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
282
 
283
+ #: libs/blockcountry-settings.php:561
284
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
285
  msgstr ""
286
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
287
 
288
+ #: libs/blockcountry-settings.php:590
289
  msgid "Backend Options"
290
  msgstr "Achterkant opties"
291
 
292
+ #: libs/blockcountry-settings.php:624
293
  msgid ""
294
  "Block visitors from visiting the backend (administrator) of your website:"
295
  msgstr ""
296
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
297
  "gedeelte) van je website:"
298
 
299
+ #: libs/blockcountry-settings.php:632
300
  msgid "Your IP address is"
301
  msgstr "Je IP adres is"
302
 
303
+ #: libs/blockcountry-settings.php:632
304
  msgid "The country that is listed for this IP address is"
305
  msgstr "Het land waar dit adres toe behoort is"
306
 
307
+ #: libs/blockcountry-settings.php:633
308
  msgid ""
309
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
310
  "(administrator) of your website' and also select"
312
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
313
  "achterkant (administratie gedeelte) van je website\" en"
314
 
315
+ #: libs/blockcountry-settings.php:633
316
  msgid "below."
317
  msgstr "hier beneden."
318
 
319
+ #: libs/blockcountry-settings.php:634
320
  msgid ""
321
  "You will NOT be able to login the next time if you DO block your own country "
322
  "from visiting the backend."
324
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
325
  "land blokkeert van het bezoeken van de achterkant van je website."
326
 
327
+ #: libs/blockcountry-settings.php:639
328
  msgid "Select the countries that should be blocked from visiting your backend:"
329
  msgstr ""
330
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
331
  "achterkant (administratie gedeelte) van je website:"
332
 
333
+ #: libs/blockcountry-settings.php:640
334
  msgid "Use the x behind the country to remove a country from this blocklist."
335
  msgstr ""
336
  "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
337
 
338
+ #: libs/blockcountry-settings.php:657
339
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
340
  msgstr ""
341
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
342
 
343
+ #: libs/blockcountry-settings.php:665
344
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
345
  msgstr ""
346
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
347
 
348
+ #: libs/blockcountry-settings.php:695
349
  msgid "Overall statistics since start"
350
  msgstr "Statistieken sinds het begin"
351
 
352
+ #: libs/blockcountry-settings.php:698
353
  msgid "visitors blocked from the backend."
354
  msgstr "bezoekers geblokkeerd op de achterkant."
355
 
356
+ #: libs/blockcountry-settings.php:700
357
  msgid "visitors blocked from the frontend."
358
  msgstr "bezoekers geblokkeerd op de voorkant."
359
 
360
+ #: libs/blockcountry-settings.php:704
361
  msgid "Basic Options"
362
  msgstr "Standaard opties"
363
 
364
+ #: libs/blockcountry-settings.php:739
365
  msgid "Message to display when people are blocked:"
366
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
367
 
368
+ #: libs/blockcountry-settings.php:749
369
  msgid "Page to redirect to:"
370
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
371
 
372
+ #: libs/blockcountry-settings.php:750
373
  msgid ""
374
  "If you select a page here blocked visitors will be redirected to this page "
375
  "instead of displaying above block message."
378
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
379
  "bezoekers."
380
 
381
+ #: libs/blockcountry-settings.php:756
382
  msgid "Choose a page..."
383
  msgstr "Kies een pagina..."
384
 
385
+ #: libs/blockcountry-settings.php:771
386
  msgid "Send headers when user is blocked:"
387
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
388
 
389
+ #: libs/blockcountry-settings.php:772
390
  msgid ""
391
  "Under normal circumstances you should keep this selected! Only if you have "
392
  "\"Cannot modify header information - headers already sent\" errors or if you "
396
  "deze alleen indien je \"Cannot modify header information - headers already "
397
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
398
 
399
+ #: libs/blockcountry-settings.php:778
400
  msgid "Number of rows on statistics page:"
401
  msgstr "Aantal regels op de statistieken pagina:"
402
 
403
+ #: libs/blockcountry-settings.php:779
404
  msgid "How many rows do you want to display on each tab the statistics page."
405
  msgstr "Hoeveel regels wil je tonen op de statistieken pagina."
406
 
407
+ #: libs/blockcountry-settings.php:794
408
  msgid "Allow tracking:"
409
  msgstr "Sta traceren toe:"
410
 
411
+ #: libs/blockcountry-settings.php:795
412
  msgid ""
413
  "This sends only the IP address and the number of attempts this ip address "
414
  "tried to login to your backend and was blocked doing so to a central server. "
421
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
422
  "pogingen worden gedaan. "
423
 
424
+ #: libs/blockcountry-settings.php:801
425
  msgid "API Key:"
426
  msgstr "API Key:"
427
 
428
+ #: libs/blockcountry-settings.php:826
429
  msgid "Last blocked visits"
430
  msgstr "Laatste geblokkeerde bezoekers"
431
 
432
+ #: libs/blockcountry-settings.php:836
433
  msgid "Date / Time"
434
  msgstr "Datum / Tijd"
435
 
436
+ #: libs/blockcountry-settings.php:836 libs/blockcountry-settings.php:868
437
  msgid "IP Address"
438
  msgstr "IP adres"
439
 
440
+ #: libs/blockcountry-settings.php:836 libs/blockcountry-settings.php:868
441
  msgid "Hostname"
442
  msgstr "Hostnaam"
443
 
444
+ #: libs/blockcountry-settings.php:836 libs/blockcountry-settings.php:855
445
  msgid "Country"
446
  msgstr "Land"
447
 
448
+ #: libs/blockcountry-settings.php:836
449
  msgid "Frontend/Backend"
450
  msgstr "Voorkant/Achterkant"
451
 
452
+ #: libs/blockcountry-settings.php:846 libs/blockcountry-settings.php:907
453
  msgid "Frontend"
454
  msgstr "Voorkant"
455
 
456
+ #: libs/blockcountry-settings.php:846
457
  msgid "Backend banlist"
458
  msgstr "Achterkant banlist"
459
 
460
+ #: libs/blockcountry-settings.php:846
461
+ msgid "Backend & Backend banlist"
462
+ msgstr "Achterkant & Achterkant banlist"
463
+
464
+ #: libs/blockcountry-settings.php:846 libs/blockcountry-settings.php:908
465
  msgid "Backend"
466
  msgstr "Achterkant"
467
 
468
+ #: libs/blockcountry-settings.php:853
469
  msgid "Top countries that are blocked"
470
  msgstr "Top landen welke zijn geblokkeerd"
471
 
472
+ #: libs/blockcountry-settings.php:855 libs/blockcountry-settings.php:868
473
+ #: libs/blockcountry-settings.php:879
474
  msgid "# of blocked attempts"
475
  msgstr "# of geblokkeerde pogingen"
476
 
477
+ #: libs/blockcountry-settings.php:866
478
  msgid "Top hosts that are blocked"
479
  msgstr "Top hosts welke geblokkeerd zijn"
480
 
481
+ #: libs/blockcountry-settings.php:877
482
  msgid "Top URLs that are blocked"
483
  msgstr "Top URLs welke geblokkeerd zijn"
484
 
485
+ #: libs/blockcountry-settings.php:906
486
  msgid "Home"
487
  msgstr "Home"
488
 
489
+ #: libs/blockcountry-settings.php:909
490
  msgid "Pages"
491
  msgstr "Pagina's"
492
 
493
+ #: libs/blockcountry-settings.php:910
494
  msgid "Categories"
495
  msgstr "Categorieen"
496
 
497
+ #: libs/blockcountry-settings.php:911
498
+ msgid "Search Engines"
499
+ msgstr "Zoek machines"
500
+
501
+ #: libs/blockcountry-settings.php:912
502
  msgid "Tools"
503
  msgstr "Gereedschap"
504
 
505
+ #: libs/blockcountry-settings.php:913
506
  msgid "Logging"
507
  msgstr "Statistieken"
508
 
509
+ #: libs/blockcountry-settings.php:914
510
  msgid "Import/Export"
511
  msgstr "Importeren/Exporteren"
512
 
513
+ #: libs/blockcountry-settings.php:968
514
  msgid "GeoIP database does not exists. Trying to download it..."
515
  msgstr "GeoIP database bestaat niet. Probeer om nieuwe versie te downloaden"
516
 
libs/blockcountry-checks.php CHANGED
@@ -61,7 +61,6 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
61
  if (preg_match('/;/',$frontendblacklist))
62
  {
63
  $frontendblacklistip = explode(";", $frontendblacklist);
64
- $apiblacklist = TRUE;
65
  }
66
  if (preg_match('/;/',$frontendwhitelist))
67
  {
@@ -79,6 +78,8 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
79
  /* Block if user is in a bad country from frontend or backend. Unblock may happen later */
80
  if (is_array ( $badcountries ) && in_array ( $country, $badcountries )) {
81
  $blocked = TRUE;
 
 
82
  }
83
 
84
  /* Check if requested url is not login page. Else check against frontend whitelist/blacklist. */
@@ -155,6 +156,13 @@ function iqblockcountry_check($country,$badcountries,$ip_address)
155
  {
156
  $blocked = FALSE;
157
  }
 
 
 
 
 
 
 
158
  return $blocked;
159
  }
160
 
@@ -219,14 +227,18 @@ function iqblockcountry_CheckCountry() {
219
  if (empty($blocked)) { $blocked = 0; }
220
  $blocked++;
221
  update_option('blockcountry_backendnrblocks', $blocked);
222
- global $apiblacklist;
223
  if (!$apiblacklist)
224
  {
225
  iqblockcountry_logging($ip_address, $country, "B");
226
  }
 
 
 
 
227
  else
228
  {
229
- iqblockcountry_logging($ip_address, $country, "A");
230
  }
231
  }
232
  else
61
  if (preg_match('/;/',$frontendblacklist))
62
  {
63
  $frontendblacklistip = explode(";", $frontendblacklist);
 
64
  }
65
  if (preg_match('/;/',$frontendwhitelist))
66
  {
78
  /* Block if user is in a bad country from frontend or backend. Unblock may happen later */
79
  if (is_array ( $badcountries ) && in_array ( $country, $badcountries )) {
80
  $blocked = TRUE;
81
+ global $backendblacklistcheck;
82
+ $backendblacklistcheck = TRUE;
83
  }
84
 
85
  /* Check if requested url is not login page. Else check against frontend whitelist/blacklist. */
156
  {
157
  $blocked = FALSE;
158
  }
159
+
160
+ $allowse = get_option('blockcountry_allowse');
161
+ if (!iqblockcountry_is_login_page() && iqblockcountry_check_searchengine($_SERVER['HTTP_USER_AGENT'], $allowse))
162
+ {
163
+ $blocked = FALSE;
164
+ }
165
+
166
  return $blocked;
167
  }
168
 
227
  if (empty($blocked)) { $blocked = 0; }
228
  $blocked++;
229
  update_option('blockcountry_backendnrblocks', $blocked);
230
+ global $apiblacklist,$backendblacklistcheck;
231
  if (!$apiblacklist)
232
  {
233
  iqblockcountry_logging($ip_address, $country, "B");
234
  }
235
+ elseif ($backendblacklistcheck && $apiblacklist)
236
+ {
237
+ iqblockcountry_logging($ip_address, $country, "T");
238
+ }
239
  else
240
  {
241
+ iqblockcountry_logging($ip_address, $country, "A");
242
  }
243
  }
244
  else
libs/blockcountry-logging.php CHANGED
@@ -11,7 +11,7 @@ function iqblockcountry_install_db() {
11
  ipaddress tinytext NOT NULL,
12
  country tinytext NOT NULL,
13
  url varchar(250) DEFAULT '/' NOT NULL,
14
- banned enum('F','B','A') NOT NULL,
15
  UNIQUE KEY id (id)
16
  );";
17
 
11
  ipaddress tinytext NOT NULL,
12
  country tinytext NOT NULL,
13
  url varchar(250) DEFAULT '/' NOT NULL,
14
+ banned enum('F','B','A','T') NOT NULL,
15
  UNIQUE KEY id (id)
16
  );";
17
 
libs/blockcountry-search-engines.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ global $searchengines;
4
+ $searchengines = array(
5
+ "Ask" => "ask jeeves",
6
+ "Bing" => "bingbot",
7
+ "Duck Duck Go" => "duckduckbot",
8
+ "Google" => "googlebot",
9
+ "Yahoo!" => "yahoo! slurp",
10
+ "Yandex" => "yandexbot"
11
+ );
12
+
13
+ function iqblockcountry_check_searchengine($user_agent,$allowse)
14
+ {
15
+ global $searchengines;
16
+ $issearchengine = FALSE;
17
+ foreach ( $searchengines AS $se => $seua ) {
18
+ if (is_array($allowse) && in_array($se,$allowse))
19
+ {
20
+ if(stripos($user_agent, $seua) !== false)
21
+ {
22
+ $issearchengine = TRUE;
23
+ }
24
+ }
25
+ }
26
+ return $issearchengine;
27
+ }
28
+
29
+ ?>
libs/blockcountry-settings.php CHANGED
@@ -38,6 +38,7 @@ function iqblockcountry_register_mysettings()
38
  register_setting ( 'iqblockcountry-settings-group-cat', 'blockcountry_blockcategories');
39
  register_setting ( 'iqblockcountry-settings-group-cat', 'blockcountry_categories');
40
  register_setting ( 'iqblockcountry-settings-group-cat', 'blockcountry_blockhome');
 
41
  }
42
 
43
  /**
@@ -49,7 +50,7 @@ function iqblockcountry_get_options_arr() {
49
  $optarr = array( 'blockcountry_banlist', 'blockcountry_backendbanlist','blockcountry_backendblacklist','blockcountry_backendwhitelist',
50
  'blockcountry_frontendblacklist','blockcountry_frontendwhitelist','blockcountry_blockmessage','blockcountry_blocklogin','blockcountry_blockfrontend',
51
  'blockcountry_blockbackend','blockcountry_header','blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories',
52
- 'blockcountry_tracking','blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_apikey','blockcountry_redirect');
53
  return apply_filters( 'iqblockcountry_options', $optarr );
54
  }
55
 
@@ -60,12 +61,12 @@ function iqblockcountry_get_options_arr() {
60
  function iqblockcountry_set_defaults()
61
  {
62
  update_option('blockcountry_version',VERSION);
63
- update_option('blockcountry_lastupdate' , 0);
64
- update_option('blockcountry_blockfrontend' , 'on');
65
- update_option('blockcountry_backendnrblocks', 0);
66
- update_option('blockcountry_frontendnrblocks', 0);
67
- update_option('blockcountry_header', 'on');
68
- update_option('blockcountry_nrstatistics',15);
69
  $countrylist = iqblockcountry_get_countries();
70
  $ip_address = iqblockcountry_get_ipaddress();
71
  $usercountry = iqblockcountry_check_ipaddress($ip_address);
@@ -78,7 +79,7 @@ function iqblockcountry_set_defaults()
78
  array_push($blacklist,$shortcode);
79
  }
80
  }
81
- update_option('blockcountry_backendbanlist',$blacklist);
82
  iqblockcountry_install_db();
83
  }
84
 
@@ -112,6 +113,7 @@ function iqblockcountry_uninstall() //deletes all the database entries that the
112
  delete_option('blockcountry_nrstastistics');
113
  delete_option('blockcountry_apikey');
114
  delete_option('blockcountry_redirect');
 
115
  }
116
 
117
 
@@ -148,6 +150,11 @@ function iqblockcountry_settings_tools() {
148
  _e('This country is not permitted to visit the backend of this website.', 'iqblockcountry');
149
  echo "<br />";
150
  }
 
 
 
 
 
151
  }
152
  }
153
  }
@@ -429,6 +436,50 @@ function iqblockcountry_settings_categories() {
429
  <?php
430
  }
431
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
432
  /*
433
  * Settings frontend
434
  */
@@ -745,13 +796,13 @@ function iqblockcountry_settings_home()
745
  <td width="70%">
746
  <input type="checkbox" name="blockcountry_tracking" <?php checked('on', get_option('blockcountry_tracking'), true); ?> />
747
  </td></tr>
748
- <!--
749
  <tr valign="top">
750
  <th width="30%"><?php _e('API Key:', 'iqblockcountry'); ?></th>
751
  <td width="70%">
752
  <input type="text" size="25" name="blockcountry_apikey" value="<?php echo get_option ( 'blockcountry_apikey' );?>">
753
  </td></tr>
754
- -->
755
  <tr><td></td><td>
756
  <p class="submit"><input type="submit" class="button-primary"
757
  value="<?php _e ( 'Save Changes' )?>" /></p>
@@ -792,7 +843,7 @@ function iqblockcountry_settings_logging()
792
  $datetime = strtotime($row->datetime);
793
  $mysqldate = date($format, $datetime);
794
  echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . gethostbyaddr( $row->ipaddress ) . '</td><td>' . $row->url . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
795
- if ($row->banned == "F") _e('Frontend', 'iqblockcountry'); elseif ($row->banned == "A") { _e('Backend banlist','iqblockcountry'); } else { _e('Backend', 'iqblockcountry'); }
796
  echo "</td></tr></tbody>";
797
  }
798
  echo '</table>';
@@ -857,6 +908,7 @@ function iqblockcountry_settings_page() {
857
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=backend" class="nav-tab <?php echo $active_tab == 'backend' ? 'nav-tab-active' : ''; ?>"><?php _e('Backend', 'iqblockcountry'); ?></a>
858
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=pages" class="nav-tab <?php echo $active_tab == 'pages' ? 'nav-tab-active' : ''; ?>"><?php _e('Pages', 'iqblockcountry'); ?></a>
859
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=categories" class="nav-tab <?php echo $active_tab == 'categories' ? 'nav-tab-active' : ''; ?>"><?php _e('Categories', 'iqblockcountry'); ?></a>
 
860
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=tools" class="nav-tab <?php echo $active_tab == 'tools' ? 'nav-tab-active' : ''; ?>"><?php _e('Tools', 'iqblockcountry'); ?></a>
861
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=logging" class="nav-tab <?php echo $active_tab == 'logging' ? 'nav-tab-active' : ''; ?>"><?php _e('Logging', 'iqblockcountry'); ?></a>
862
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=export" class="nav-tab <?php echo $active_tab == 'export' ? 'nav-tab-active' : ''; ?>"><?php _e('Import/Export', 'iqblockcountry'); ?></a>
@@ -892,6 +944,10 @@ function iqblockcountry_settings_page() {
892
  {
893
  iqblockcountry_settings_categories();
894
  }
 
 
 
 
895
  elseif ($active_tab == "export")
896
  {
897
  iqblockcountry_settings_importexport();
38
  register_setting ( 'iqblockcountry-settings-group-cat', 'blockcountry_blockcategories');
39
  register_setting ( 'iqblockcountry-settings-group-cat', 'blockcountry_categories');
40
  register_setting ( 'iqblockcountry-settings-group-cat', 'blockcountry_blockhome');
41
+ register_setting ( 'iqblockcountry-settings-group-se', 'blockcountry_allowse');
42
  }
43
 
44
  /**
50
  $optarr = array( 'blockcountry_banlist', 'blockcountry_backendbanlist','blockcountry_backendblacklist','blockcountry_backendwhitelist',
51
  'blockcountry_frontendblacklist','blockcountry_frontendwhitelist','blockcountry_blockmessage','blockcountry_blocklogin','blockcountry_blockfrontend',
52
  'blockcountry_blockbackend','blockcountry_header','blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories',
53
+ 'blockcountry_tracking','blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_apikey','blockcountry_redirect','blockcountry_allowse');
54
  return apply_filters( 'iqblockcountry_options', $optarr );
55
  }
56
 
61
  function iqblockcountry_set_defaults()
62
  {
63
  update_option('blockcountry_version',VERSION);
64
+ if (get_option('blockcountry_lastupdate') === FALSE) { update_option('blockcountry_lastupdate' , 0); }
65
+ if (get_option('blockcountry_blockfrontend') === FALSE) { update_option('blockcountry_blockfrontend' , 'on'); }
66
+ if (get_option('blockcountry_backendnrblocks') === FALSE) { update_option('blockcountry_backendnrblocks', 0); }
67
+ if (get_option('blockcountry_frontendnrblocks') === FALSE) { update_option('blockcountry_frontendnrblocks', 0); }
68
+ if (get_option('blockcountry_header') === FALSE) { update_option('blockcountry_header', 'on'); }
69
+ if (get_option('blockcountry_nrstatistics') === FALSE) { update_option('blockcountry_nrstatistics',15); }
70
  $countrylist = iqblockcountry_get_countries();
71
  $ip_address = iqblockcountry_get_ipaddress();
72
  $usercountry = iqblockcountry_check_ipaddress($ip_address);
79
  array_push($blacklist,$shortcode);
80
  }
81
  }
82
+ if (get_option('blockcountry_backendbanlist') === FALSE) { update_option('blockcountry_backendbanlist',$blacklist); }
83
  iqblockcountry_install_db();
84
  }
85
 
113
  delete_option('blockcountry_nrstastistics');
114
  delete_option('blockcountry_apikey');
115
  delete_option('blockcountry_redirect');
116
+ delete_option('blockcountry_allowse');
117
  }
118
 
119
 
150
  _e('This country is not permitted to visit the backend of this website.', 'iqblockcountry');
151
  echo "<br />";
152
  }
153
+ $backendbanlistip = unserialize(get_option('blockcountry_backendbanlistip'));
154
+ if (is_array($backendbanlistip) && in_array($ip_address,$backendbanlistip)) {
155
+ _e('This ip is present in the blacklist.', 'iqblockcountry');
156
+ }
157
+ // Add blacklist check
158
  }
159
  }
160
  }
436
  <?php
437
  }
438
 
439
+ /*
440
+ * Function: Categories settings
441
+ */
442
+ function iqblockcountry_settings_searchengines() {
443
+ ?>
444
+ <h3><?php _e('Select which search engines are allowed.', 'iqblockcountry'); ?></h3>
445
+ <form method="post" action="options.php">
446
+ <?php
447
+ settings_fields ( 'iqblockcountry-settings-group-se' );
448
+ ?>
449
+ <table class="form-table" cellspacing="2" cellpadding="5" width="100%">
450
+ <tr valign="top">
451
+ <th width="30%"><?php _e('Select which search engines you want to allow:', 'iqblockcountry'); ?><br />
452
+ <?php _e('This will allow a search engine to your site despite if you blocked the country.', 'iqblockcountry'); ?></th>
453
+ <td width="70%">
454
+
455
+ <ul>
456
+ <?php
457
+ global $searchengines;
458
+ $selectedse = get_option('blockcountry_allowse');
459
+ $selected = "";
460
+ foreach ( $searchengines AS $se => $seua ) {
461
+ if (is_array($selectedse)) {
462
+ if ( in_array( $se,$selectedse) ) {
463
+ $selected = " checked=\"checked\"";
464
+ } else {
465
+ $selected = "";
466
+ }
467
+ }
468
+ echo "<li><input type=\"checkbox\" " . $selected . " name=\"blockcountry_allowse[]\" value=\"" . $se . "\" id=\"" . $se . "\" /> <label for=\"" . $se . "\">" . $se . "</label></li>";
469
+ }
470
+ ?>
471
+ </td></tr>
472
+ <tr><td></td><td>
473
+ <p class="submit"><input type="submit" class="button-primary"
474
+ value="<?php _e ( 'Save Changes' )?>" /></p>
475
+ </td></tr>
476
+ </table>
477
+ </form>
478
+
479
+ <?php
480
+ }
481
+
482
+
483
  /*
484
  * Settings frontend
485
  */
796
  <td width="70%">
797
  <input type="checkbox" name="blockcountry_tracking" <?php checked('on', get_option('blockcountry_tracking'), true); ?> />
798
  </td></tr>
799
+
800
  <tr valign="top">
801
  <th width="30%"><?php _e('API Key:', 'iqblockcountry'); ?></th>
802
  <td width="70%">
803
  <input type="text" size="25" name="blockcountry_apikey" value="<?php echo get_option ( 'blockcountry_apikey' );?>">
804
  </td></tr>
805
+
806
  <tr><td></td><td>
807
  <p class="submit"><input type="submit" class="button-primary"
808
  value="<?php _e ( 'Save Changes' )?>" /></p>
843
  $datetime = strtotime($row->datetime);
844
  $mysqldate = date($format, $datetime);
845
  echo $mysqldate . '</td><td>' . $row->ipaddress . '</td><td>' . gethostbyaddr( $row->ipaddress ) . '</td><td>' . $row->url . '</td><td>' . $countryurl . $countrylist[$row->country] . '<td>';
846
+ if ($row->banned == "F") _e('Frontend', 'iqblockcountry'); elseif ($row->banned == "A") { _e('Backend banlist','iqblockcountry'); } elseif ($row->banned == "T") { _e('Backend & Backend banlist','iqblockcountry'); } else { _e('Backend', 'iqblockcountry'); }
847
  echo "</td></tr></tbody>";
848
  }
849
  echo '</table>';
908
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=backend" class="nav-tab <?php echo $active_tab == 'backend' ? 'nav-tab-active' : ''; ?>"><?php _e('Backend', 'iqblockcountry'); ?></a>
909
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=pages" class="nav-tab <?php echo $active_tab == 'pages' ? 'nav-tab-active' : ''; ?>"><?php _e('Pages', 'iqblockcountry'); ?></a>
910
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=categories" class="nav-tab <?php echo $active_tab == 'categories' ? 'nav-tab-active' : ''; ?>"><?php _e('Categories', 'iqblockcountry'); ?></a>
911
+ <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=searchengines" class="nav-tab <?php echo $active_tab == 'searchengines' ? 'nav-tab-active' : ''; ?>"><?php _e('Search Engines', 'iqblockcountry'); ?></a>
912
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=tools" class="nav-tab <?php echo $active_tab == 'tools' ? 'nav-tab-active' : ''; ?>"><?php _e('Tools', 'iqblockcountry'); ?></a>
913
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=logging" class="nav-tab <?php echo $active_tab == 'logging' ? 'nav-tab-active' : ''; ?>"><?php _e('Logging', 'iqblockcountry'); ?></a>
914
  <a href="?page=iq-block-country/libs/blockcountry-settings.php&tab=export" class="nav-tab <?php echo $active_tab == 'export' ? 'nav-tab-active' : ''; ?>"><?php _e('Import/Export', 'iqblockcountry'); ?></a>
944
  {
945
  iqblockcountry_settings_categories();
946
  }
947
+ elseif ($active_tab == "searchengines")
948
+ {
949
+ iqblockcountry_settings_searchengines();
950
+ }
951
  elseif ($active_tab == "export")
952
  {
953
  iqblockcountry_settings_importexport();
libs/blockcountry-tracking.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * iQ Block Tracking
5
+ */
6
+ function iqblockcountry_tracking_retrieve_xml()
7
+ {
8
+ $url = TRACKINGRETRIEVEURL;
9
+
10
+ $result = wp_remote_post(
11
+ $url,
12
+ array(
13
+ 'body' => array(
14
+ 'api-key' => get_option('blockcountry_apikey')
15
+
16
+ )
17
+ )
18
+ );
19
+
20
+ if ( 200 == $result['response']['code'] ) {
21
+ $body = $result['body'];
22
+ $xml = new SimpleXmlElement($body);
23
+ $banlist = array();
24
+ $i=0;
25
+ foreach ($xml->banlist->ipaddress AS $ip)
26
+ {
27
+ array_push($banlist,sprintf('%s',$ip));
28
+ $i++;
29
+ }
30
+ update_option('blockcountry_backendbanlistip', serialize($banlist));
31
+ }
32
+
33
+
34
+ }
35
+
36
+ /*
37
+ * Schedule tracking if this option was set in the admin panel
38
+ */
39
+ function iqblockcountry_schedule_retrieving($old_value, $new_value)
40
+ {
41
+ $current_schedule = wp_next_scheduled( 'blockcountry_retrievebanlist' );
42
+ if ($old_value !== $new_value)
43
+ {
44
+ if ($new_value == '')
45
+ {
46
+ wp_clear_scheduled_hook( 'blockcountry_retrievebanlist' );
47
+ }
48
+ elseif (!empty($new_value) && $current_schedule == FALSE)
49
+ {
50
+ wp_schedule_event( time(), 'twicedaily', 'blockcountry_retrievebanlist' );
51
+ }
52
+ }
53
+ }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.redeo.nl/plugins/donate
4
  Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
5
  Requires at least: 3.5.2
6
  Tested up to: 3.9.1
7
- Stable tag: 1.1.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -177,6 +177,11 @@ If storing or sharing an IP address is illegal in your country do not select thi
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
180
  = 1.1.12 =
181
 
182
  * Bugfix on the backend blacklist / whitelist
4
  Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
5
  Requires at least: 3.5.2
6
  Tested up to: 3.9.1
7
+ Stable tag: 1.1.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
177
 
178
  == Changelog ==
179
 
180
+ = 1.1.13 =
181
+
182
+ * Bugfix on setting defaults when they values already existed.
183
+ * You can now allow search engines access to your country even if they come from countries that you want to block.
184
+
185
  = 1.1.12 =
186
 
187
  * Bugfix on the backend blacklist / whitelist