iQ Block Country - Version 1.1.7

Version Description

  • Added Russian (ru_RU) translation by Maxim
  • Added Serbo-Croatian (sr_RU) translation by Borisa Djuraskovic (Webostinghub)
  • Changed the logging table a bit.
Download this release

Release Info

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

Code changes from version 1.1.6 to 1.1.7

iq-block-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
5
- Version: 1.1.6
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.
@@ -290,6 +290,10 @@ function iqblockcountry_upgrade()
290
  $frontendbanlist = get_option('blockcountry_banlist');
291
  update_option('blockcountry_backendbanlist',$frontendbanlist);
292
  }
 
 
 
 
293
  iqblockcountry_update_db_check();
294
 
295
  }
@@ -312,8 +316,8 @@ define("IPV4DB","http://geolite.maxmind.com/download/geoip/database/GeoLiteCount
312
  define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIP.dat");
313
  define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
314
  define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
315
- define("VERSION","1.6h");
316
- define("DBVERSION","110");
317
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
318
 
319
 
@@ -350,4 +354,4 @@ add_filter ( 'add_option_blockcountry_tracking', 'iqblockcountry_schedule_tracki
350
  add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
351
 
352
 
353
- ?>
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.7
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.
290
  $frontendbanlist = get_option('blockcountry_banlist');
291
  update_option('blockcountry_backendbanlist',$frontendbanlist);
292
  }
293
+ elseif ($dbversion != "" && version_compare($dbversion, "1.6h", '=') )
294
+ {
295
+ update_option('blockcountry_version',VERSION);
296
+ }
297
  iqblockcountry_update_db_check();
298
 
299
  }
316
  define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIP.dat");
317
  define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
318
  define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
319
+ define("VERSION","1.1.7");
320
+ define("DBVERSION","117");
321
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
322
 
323
 
354
  add_action ( 'blockcountry_tracking', 'iqblockcountry_tracking' );
355
 
356
 
357
+ ?>
lang/iqblockcountry-sr_RS.mo ADDED
Binary file
lang/iqblockcountry-sr_RS.po ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2014-03-31 15:52+0100\n"
5
+ "PO-Revision-Date: 2014-04-10 09:43+0100\n"
6
+ "Last-Translator: Borisa Djuraskovic <borisad@webhostinghub.com>\n"
7
+ "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
+ "Language: English\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.5.7\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
+ "X-Poedit-Basepath: ../\n"
15
+ "X-Poedit-SearchPath-0: libs\n"
16
+ "X-Poedit-SearchPath-1: .\n"
17
+
18
+ #: libs/blockcountry-settings.php:113
19
+ msgid ""
20
+ "Check which country belongs to an IP Address according to the current "
21
+ "database."
22
+ msgstr ""
23
+ "Proveriti kojoj zemlji pripada IP Adresa pomoću trenutne baze podataka."
24
+
25
+ #: libs/blockcountry-settings.php:117
26
+ msgid "IP Address to check:"
27
+ msgstr "IP Adresa za proveru:"
28
+
29
+ #: libs/blockcountry-settings.php:127
30
+ msgid "No country for"
31
+ msgstr "Nijedna zemlja za"
32
+
33
+ #: libs/blockcountry-settings.php:127
34
+ msgid "could be found. Or"
35
+ msgstr "nie nadjena. Ili"
36
+
37
+ #: libs/blockcountry-settings.php:127
38
+ msgid "is not a valid IPv4 or IPv6 IP address"
39
+ msgstr "nije validna IPv4 ili IPv6 IP adresa"
40
+
41
+ #: libs/blockcountry-settings.php:132
42
+ msgid "IP Adress"
43
+ msgstr "IP Adresa za proveru:"
44
+
45
+ #: libs/blockcountry-settings.php:132
46
+ msgid "belongs to"
47
+ msgstr "pripada"
48
+
49
+ #: libs/blockcountry-settings.php:135
50
+ msgid "This country is not permitted to visit the frontend of this website."
51
+ msgstr "Ovoj zemlji nije dozvoljeno da poseti prednju stranu websajta."
52
+
53
+ #: libs/blockcountry-settings.php:140
54
+ msgid "This country is not permitted to visit the backend of this website."
55
+ msgstr "Ovoj zemlji nije dozvoljeno da poseti prednju stranu websajta."
56
+
57
+ #: libs/blockcountry-settings.php:146
58
+ msgid "Check IP address"
59
+ msgstr "Proverite IP adresu"
60
+
61
+ #: libs/blockcountry-settings.php:152
62
+ msgid "Download GeoIP database"
63
+ msgstr "Download GeoIP bazau podataka"
64
+
65
+ #: libs/blockcountry-settings.php:159
66
+ msgid "The GeoIP database is updated once a month. Last update: "
67
+ msgstr " GeoIP baza podataka se updatuje jednom mesečno. Poslednji update:"
68
+
69
+ #: libs/blockcountry-settings.php:160
70
+ msgid "If you need a manual update please press buttons below to update."
71
+ msgstr ""
72
+ "Treba ručno da updateujete kliknite na dugme ispod da biste updateovali."
73
+
74
+ #: libs/blockcountry-settings.php:166
75
+ msgid "Download new GeoIP IPv4 Database"
76
+ msgstr "Download novu GeoIP IPv4 bazu podataka"
77
+
78
+ #: libs/blockcountry-settings.php:173
79
+ msgid "Download new GeoIP IPv6 Database"
80
+ msgstr "Download novu GeoIP IPv6 bazu podataka"
81
+
82
+ #: libs/blockcountry-settings.php:178 libs/blockcountry-settings.php:182
83
+ msgid "Downloading..."
84
+ msgstr "Downloading..."
85
+
86
+ #: libs/blockcountry-settings.php:188
87
+ msgid "Active plugins"
88
+ msgstr "Aktivni pluginovi"
89
+
90
+ #: libs/blockcountry-settings.php:195
91
+ msgid "Plugin name"
92
+ msgstr "Ime plugina"
93
+
94
+ #: libs/blockcountry-settings.php:195
95
+ msgid "Version"
96
+ msgstr "Verzija"
97
+
98
+ #: libs/blockcountry-settings.php:195 libs/blockcountry-settings.php:716
99
+ #: libs/blockcountry-settings.php:759
100
+ msgid "URL"
101
+ msgstr "URL"
102
+
103
+ #: libs/blockcountry-settings.php:220
104
+ msgid "Export"
105
+ msgstr "Eksport"
106
+
107
+ #: libs/blockcountry-settings.php:221
108
+ msgid ""
109
+ "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
110
+ "Block Country configuration will be created."
111
+ msgstr ""
112
+ "Kada kliknete na <tt> Backup-ujte sva podešavanja < / tt > dugm ebackup "
113
+ "konfiguracije iQ Blokirati Zemlju će biti kreiran."
114
+
115
+ #: libs/blockcountry-settings.php:222
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
+ "Nakon eksportovanja , možete da koristite rezervnu kopiju da ponovo vratite "
121
+ "podešavanja na ovom sajtu ili kopirate postavke na drugi WordPress sajt ."
122
+
123
+ #: libs/blockcountry-settings.php:226
124
+ msgid "Backup all settings"
125
+ msgstr "Backup-ovati sve postavke"
126
+
127
+ #: libs/blockcountry-settings.php:233
128
+ msgid "Import"
129
+ msgstr "Importovati"
130
+
131
+ #: libs/blockcountry-settings.php:234
132
+ msgid "Click the browse button and choose a zip file that you exported before."
133
+ msgstr ""
134
+ "Klik na dugme za pretragu i izaberite zip fajl koji je eksportovan pre."
135
+
136
+ #: libs/blockcountry-settings.php:235
137
+ msgid "Press Restore settings button, and let WordPress do the magic for you."
138
+ msgstr ""
139
+ "Klik na Povratiti postavke dugme i ostaviti sve ostalo da uradi WordPress."
140
+
141
+ #: libs/blockcountry-settings.php:240
142
+ msgid "Restore settings"
143
+ msgstr "Povratiti postavke"
144
+
145
+ #: libs/blockcountry-settings.php:263 libs/blockcountry-settings.php:266
146
+ #: libs/blockcountry-settings.php:275
147
+ msgid "Something went wrong exporting this file"
148
+ msgstr "Nešto nije kako treba sa eksportovanjem ovog fajla"
149
+
150
+ #: libs/blockcountry-settings.php:278
151
+ msgid "Exporting settings..."
152
+ msgstr "Eksportovati postavke..."
153
+
154
+ #: libs/blockcountry-settings.php:293
155
+ msgid "Something went wrong importing this file"
156
+ msgstr "Nešto nije kako treba sa importovanjem ovog fajla"
157
+
158
+ #: libs/blockcountry-settings.php:310
159
+ msgid "All options are restored successfully."
160
+ msgstr "Sve opcije su uspešno vraćene.."
161
+
162
+ #: libs/blockcountry-settings.php:313
163
+ msgid "Invalid file."
164
+ msgstr "Nepostojeći fajl."
165
+
166
+ #: libs/blockcountry-settings.php:318
167
+ msgid "No correct import or export option given."
168
+ msgstr "Nijedna ispravna import ili export opcija nije data. "
169
+
170
+ #: libs/blockcountry-settings.php:327
171
+ msgid "Select which pages are blocked."
172
+ msgstr "Izaberite koje stranice su blokirane."
173
+
174
+ #: libs/blockcountry-settings.php:334
175
+ msgid "Do you want to block individual pages:"
176
+ msgstr "Da li želite da blokirate individualne stranic:"
177
+
178
+ #: libs/blockcountry-settings.php:335
179
+ msgid "If you do not select this option all pages will be blocked."
180
+ msgstr "Ako niste selektovali ovu opciju sve stranice će biti blokirane."
181
+
182
+ #: libs/blockcountry-settings.php:340
183
+ msgid "Select pages you want to block:"
184
+ msgstr "Izaberite stranicu koju želite da blokirate:"
185
+
186
+ #: libs/blockcountry-settings.php:362 libs/blockcountry-settings.php:416
187
+ #: libs/blockcountry-settings.php:511 libs/blockcountry-settings.php:599
188
+ #: libs/blockcountry-settings.php:689
189
+ msgid "Save Changes"
190
+ msgstr "Sačuvati promene"
191
+
192
+ #: libs/blockcountry-settings.php:375
193
+ msgid "Select which categories are blocked."
194
+ msgstr "Seletujte koje kategorije su blokirane."
195
+
196
+ #: libs/blockcountry-settings.php:382
197
+ msgid "Do you want to block individual categories:"
198
+ msgstr "Da li želite da blokirate individualne kategorije:"
199
+
200
+ #: libs/blockcountry-settings.php:383
201
+ msgid "If you do not select this option all blog articles will be blocked."
202
+ msgstr "Ako ne selektujete ovu opciju svi članci na blogu će biti blokirani."
203
+
204
+ #: libs/blockcountry-settings.php:388
205
+ msgid "Do you want to block the homepage:"
206
+ msgstr "Da li želite da blokirate počenu stranicu:"
207
+
208
+ #: libs/blockcountry-settings.php:389
209
+ msgid ""
210
+ "If you do not select this option visitors will not be blocked from your "
211
+ "homepage regardless of the categories you select."
212
+ msgstr ""
213
+ "Ako ne selektujete ovu opciju posetioci neće biti blokirani sa vaše početne "
214
+ "stranice bez obzira na kategoriju."
215
+
216
+ #: libs/blockcountry-settings.php:394
217
+ msgid "Select categories you want to block:"
218
+ msgstr "Selektujte kategoriju koju želite da blokirate:"
219
+
220
+ #: libs/blockcountry-settings.php:430
221
+ msgid "Frontend options"
222
+ msgstr "Opcije prednje strane"
223
+
224
+ #: libs/blockcountry-settings.php:465
225
+ msgid ""
226
+ "Do not block visitors that are logged in from visiting frontend website:"
227
+ msgstr ""
228
+ "Nemojte da blokirate posetioce koju su ulogovani iz prednje strane websajta:"
229
+
230
+ #: libs/blockcountry-settings.php:471
231
+ msgid "Block visitors from visiting the frontend of your website:"
232
+ msgstr "Blokiraj posetioce da posete prednju stranu vašeg sajta :"
233
+
234
+ #: libs/blockcountry-settings.php:477
235
+ msgid ""
236
+ "Select the countries that should be blocked from visiting your frontend:"
237
+ msgstr ""
238
+ "Izaberite zemlje koje bi trebalo da budu blokirane za posetu vašeg zadnje "
239
+ "strane :"
240
+
241
+ #: libs/blockcountry-settings.php:478
242
+ msgid "Use the CTRL key to select multiple countries"
243
+ msgstr "Koristite CTRL ključ da biste selektovali više zemalja"
244
+
245
+ #: libs/blockcountry-settings.php:494
246
+ msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
247
+ msgstr "Bela list prednje strane IPv4 i/ili IPv6 adrese:"
248
+
249
+ #: libs/blockcountry-settings.php:494 libs/blockcountry-settings.php:502
250
+ msgid "Use a semicolon (;) to separate IP addresses"
251
+ msgstr "Koristite tačku zarez (;) da biste odvojili IP adresu"
252
+
253
+ #: libs/blockcountry-settings.php:502
254
+ msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
255
+ msgstr "Crna lista zadnje strane IPv4 i/ili IPv6 adrese:"
256
+
257
+ #: libs/blockcountry-settings.php:531
258
+ msgid "Backend Options"
259
+ msgstr "Opcije zadnjeg dela"
260
+
261
+ #: libs/blockcountry-settings.php:565
262
+ msgid ""
263
+ "Block visitors from visiting the backend (administrator) of your website:"
264
+ msgstr ""
265
+ "Blokirati posetioce da ne posećuju zadnji deo (administratora) vašeg "
266
+ "websajta:"
267
+
268
+ #: libs/blockcountry-settings.php:573
269
+ msgid "Your IP address is"
270
+ msgstr "Vaša IP adresa je"
271
+
272
+ #: libs/blockcountry-settings.php:573
273
+ msgid "The country that is listed for this IP address is"
274
+ msgstr "Zemlja koja je zavedena pod ovu IP adresu je"
275
+
276
+ #: libs/blockcountry-settings.php:574
277
+ msgid ""
278
+ "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
279
+ "(administrator) of your website' and also select"
280
+ msgstr ""
281
+ "Uradite <strong>NIJE</strong> podešavanje 'Blokirati posetioce da ne "
282
+ "posećuju zadnji deo (administratora) vašeg websajta' i takodje izaberite"
283
+
284
+ #: libs/blockcountry-settings.php:574
285
+ msgid "below."
286
+ msgstr "ispod."
287
+
288
+ #: libs/blockcountry-settings.php:575
289
+ msgid ""
290
+ "You will NOT be able to login the next time if you DO block your own country "
291
+ "from visiting the backend."
292
+ msgstr ""
293
+ "Nećete biti u mogućnosti da se ulogujete sledeći put ako blokirate vašu "
294
+ "zemlju od posete zadnjem delu"
295
+
296
+ #: libs/blockcountry-settings.php:580
297
+ msgid "Select the countries that should be blocked from visiting your backend:"
298
+ msgstr ""
299
+ "Izaberite zemlje koje treba da budu blokirane od posećivanja vašeg zadnjeg "
300
+ "dela:"
301
+
302
+ #: libs/blockcountry-settings.php:581
303
+ msgid "Use the x behind the country to remove a country from this blocklist."
304
+ msgstr "Koristite x ispod zemlje da biste uklonili zemlju."
305
+
306
+ #: libs/blockcountry-settings.php:620
307
+ msgid "Overall statistics since start"
308
+ msgstr "Sva statistika od starta"
309
+
310
+ #: libs/blockcountry-settings.php:623
311
+ msgid "visitors blocked from the backend."
312
+ msgstr "posetioci blokirani od zadnjeg dela.."
313
+
314
+ #: libs/blockcountry-settings.php:625
315
+ msgid "visitors blocked from the frontend."
316
+ msgstr "posetioci blokirani od prednjeg dela."
317
+
318
+ #: libs/blockcountry-settings.php:629
319
+ msgid "Basic Options"
320
+ msgstr "Osnovne opcije"
321
+
322
+ #: libs/blockcountry-settings.php:664
323
+ msgid "Message to display when people are blocked:"
324
+ msgstr "Poruka za prikaz kada su ljudi blokirani:"
325
+
326
+ #: libs/blockcountry-settings.php:674
327
+ msgid "Send headers when user is blocked:"
328
+ msgstr "Poslati headere kada je korisnik blokiran:"
329
+
330
+ #: libs/blockcountry-settings.php:675
331
+ msgid ""
332
+ "Under normal circumstances you should keep this selected! Only if you have "
333
+ "\"Cannot modify header information - headers already sent\" errors or if you "
334
+ "know what you are doing uncheck this."
335
+ msgstr ""
336
+ "Pod normalnim okolnostima, trebalo bi da zadržite ovo odabrano ! Samo ako "
337
+ "imate \" Ne može se modifikovati header informacija - headersi su već poslati"
338
+ "\"greške ili ako znate šta radite odčekirajte ovo."
339
+
340
+ #: libs/blockcountry-settings.php:681
341
+ msgid "Allow tracking:"
342
+ msgstr "Dozvoliti praćenje:"
343
+
344
+ #: libs/blockcountry-settings.php:682
345
+ msgid ""
346
+ "This sends only the IP address and the number of attempts this ip address "
347
+ "tried to login to your backend and was blocked doing so to a central server. "
348
+ "No other data is being send. This helps us to get a better picture of rogue "
349
+ "countries."
350
+ msgstr ""
351
+ "Ovo šalje samo IP adresu i broj pokušaja ove IP adrese koji su pokušali da "
352
+ "se uloguju na vaš zadnji deo i bili blokirani na taj način na centralnom "
353
+ "serveru . Nijedni drugi podaci se ne šalju . Ovo nam pomaže da dobijete "
354
+ "bolju sliku o otpadničkim zemalja ."
355
+
356
+ #: libs/blockcountry-settings.php:708
357
+ msgid "Last 15 blocked visits"
358
+ msgstr "Poslednjih 15 blokiranih poseta"
359
+
360
+ #: libs/blockcountry-settings.php:716
361
+ msgid "Date / Time"
362
+ msgstr "Datum / Vreme"
363
+
364
+ #: libs/blockcountry-settings.php:716 libs/blockcountry-settings.php:748
365
+ msgid "IP Address"
366
+ msgstr "IP adresa"
367
+
368
+ #: libs/blockcountry-settings.php:716 libs/blockcountry-settings.php:748
369
+ msgid "Hostname"
370
+ msgstr "Ime hosta"
371
+
372
+ #: libs/blockcountry-settings.php:716 libs/blockcountry-settings.php:735
373
+ msgid "Country"
374
+ msgstr "Zemlja"
375
+
376
+ #: libs/blockcountry-settings.php:716
377
+ msgid "Frontend/Backend"
378
+ msgstr "Prednje/Zadnje"
379
+
380
+ #: libs/blockcountry-settings.php:726 libs/blockcountry-settings.php:787
381
+ msgid "Frontend"
382
+ msgstr "Prednje"
383
+
384
+ #: libs/blockcountry-settings.php:726 libs/blockcountry-settings.php:788
385
+ msgid "Backend"
386
+ msgstr "Zadnje"
387
+
388
+ #: libs/blockcountry-settings.php:733
389
+ msgid "Top countries that are blocked"
390
+ msgstr "Top zemlje koji su blokirani"
391
+
392
+ #: libs/blockcountry-settings.php:735 libs/blockcountry-settings.php:748
393
+ #: libs/blockcountry-settings.php:759
394
+ msgid "# of blocked attempts"
395
+ msgstr "# blokiranih pokušaja"
396
+
397
+ #: libs/blockcountry-settings.php:746
398
+ msgid "Top hosts that are blocked"
399
+ msgstr "Top hostovi koji su blokirani"
400
+
401
+ #: libs/blockcountry-settings.php:757
402
+ msgid "Top URLs that are blocked"
403
+ msgstr "Top URLs koji su blokirani"
404
+
405
+ #: libs/blockcountry-settings.php:786
406
+ msgid "Home"
407
+ msgstr "Početna stranica"
408
+
409
+ #: libs/blockcountry-settings.php:789
410
+ msgid "Pages"
411
+ msgstr "Stranice"
412
+
413
+ #: libs/blockcountry-settings.php:790
414
+ msgid "Categories"
415
+ msgstr "Kategorije"
416
+
417
+ #: libs/blockcountry-settings.php:791
418
+ msgid "Tools"
419
+ msgstr "Alatke"
420
+
421
+ #: libs/blockcountry-settings.php:792
422
+ msgid "Logging"
423
+ msgstr "Loginovanje"
424
+
425
+ #: libs/blockcountry-settings.php:793
426
+ msgid "Import/Export"
427
+ msgstr "Import/Export"
428
+
429
+ #: libs/blockcountry-settings.php:843
430
+ msgid "GeoIP database does not exists. Trying to download it..."
431
+ msgstr "GeoIP baza podataka ne postoji. Pokušavamo da downloadujemo…."
432
+
433
+ #: iq-block-country.php:142 iq-block-country.php:152
434
+ msgid "Error occured: Could not download the GeoIP database from"
435
+ msgstr "Greška se pojavila: Ne može da se downloaduje GeoIP baza podataka iz"
436
+
437
+ #: iq-block-country.php:143
438
+ msgid ""
439
+ "MaxMind has blocked requests from your IP address for 24 hours. Please check "
440
+ "again in 24 hours or download this file from your own PC"
441
+ msgstr ""
442
+ "MaxMind je blokirao zahteve iz vaše IP adrese na 24 sata. Proverite opet "
443
+ "nakon 24 sata ili downloadujte ovaj fajl iz vašeg PCija"
444
+
445
+ #: iq-block-country.php:144
446
+ msgid "Unzip this file and upload it (via FTP for instance) to:"
447
+ msgstr "Unzipujte ovaj fajl i uploadujte ga (via FTP za instancu) na:"
448
+
449
+ #: iq-block-country.php:153
450
+ msgid ""
451
+ "Please download this file from your own PC unzip this file and upload it "
452
+ "(via FTP for instance) to:"
453
+ msgstr ""
454
+ "Downloadujte ovaj fajl iz vašeg PCija unzipujteovaj fajl i uploadujte ga "
455
+ "(via FTP za instancu) na:"
456
+
457
+ #: iq-block-country.php:179
458
+ msgid "Finished downloading"
459
+ msgstr "Gotov downloading"
460
+
461
+ #: iq-block-country.php:185
462
+ msgid "Fatal error: GeoIP"
463
+ msgstr "Fatalna greška: GeoIP"
464
+
465
+ #: iq-block-country.php:185
466
+ msgid ""
467
+ "database does not exists. This plugin will not work until the database file "
468
+ "is present."
469
+ msgstr ""
470
+ "baza podataka ne postoji. Ovaj plugin neće raditi dok fajl iz baze podataka "
471
+ "ne bude prisutan."
libs/blockcountry-logging.php CHANGED
@@ -5,19 +5,18 @@ function iqblockcountry_install_db() {
5
 
6
  $table_name = $wpdb->prefix . "iqblock_logging";
7
 
8
- $sql = "CREATE TABLE IF NOT EXISTS $table_name (
9
- id mediumint(9) NOT NULL AUTO_INCREMENT,
10
  datetime datetime NOT NULL,
11
  ipaddress tinytext NOT NULL,
12
  country tinytext NOT NULL,
13
  url varchar(250) DEFAULT '/' NOT NULL,
14
  banned enum('F','B') NOT NULL,
15
- PRIMARY KEY (id),
16
  UNIQUE KEY id (id)
17
  );";
18
 
19
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
20
- dbDelta( $sql );
21
  }
22
 
23
  function iqblockcountry_uninstall_db() {
5
 
6
  $table_name = $wpdb->prefix . "iqblock_logging";
7
 
8
+ $sql = "CREATE TABLE $table_name (
9
+ id bigint(20) NOT NULL AUTO_INCREMENT,
10
  datetime datetime NOT NULL,
11
  ipaddress tinytext NOT NULL,
12
  country tinytext NOT NULL,
13
  url varchar(250) DEFAULT '/' NOT NULL,
14
  banned enum('F','B') NOT NULL,
 
15
  UNIQUE KEY id (id)
16
  );";
17
 
18
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
19
+ dbDelta( $sql );
20
  }
21
 
22
  function iqblockcountry_uninstall_db() {
libs/blockcountry-settings.php CHANGED
@@ -696,7 +696,6 @@ function iqblockcountry_settings_home()
696
  {
697
  print "<p>You are missing the GeoIP class. Perhaps geoip.inc is missing?</p>";
698
  }
699
-
700
  }
701
 
702
  /*
696
  {
697
  print "<p>You are missing the GeoIP class. Perhaps geoip.inc is missing?</p>";
698
  }
 
699
  }
700
 
701
  /*
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: iqpascal,williewonka
3
  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.8.1
7
- Stable tag: 1.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -177,6 +177,12 @@ If storing or sharing an IP address is illegal in your country do not select thi
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
 
180
  = 1.1.6 =
181
  * Added to ban categories. This works the same way as blocking pages (By request of FVCS)
182
  * Changed the admin page layout. Added tabs for frontend and backend blocking to make it look less cluttered
3
  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.8.2
7
+ Stable tag: 1.1.7
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.7 =
181
+
182
+ * Added Russian (ru_RU) translation by Maxim
183
+ * Added Serbo-Croatian (sr_RU) translation by Borisa Djuraskovic (Webostinghub)
184
+ * Changed the logging table a bit.
185
+
186
  = 1.1.6 =
187
  * Added to ban categories. This works the same way as blocking pages (By request of FVCS)
188
  * Changed the admin page layout. Added tabs for frontend and backend blocking to make it look less cluttered