WP Statistics - Version 3.0.1

Version Description

  • Bug Fix: Table plugin problem.
Download this release

Release Info

Developer mostafa.s1990
Plugin Icon 128x128 WP Statistics
Version 3.0.1
Comparing to
See all releases

Code changes from version 3.0 to 3.0.1

includes/log/log.php CHANGED
@@ -173,8 +173,6 @@
173
  </tr>
174
 
175
  <?php
176
- global $wpdb, $table_prefix;
177
-
178
  $result = $wpdb->get_results("SELECT `referred` FROM `{$table_prefix}statistics_visitor`");
179
 
180
  $urls = array();
173
  </tr>
174
 
175
  <?php
 
 
176
  $result = $wpdb->get_results("SELECT `referred` FROM `{$table_prefix}statistics_visitor`");
177
 
178
  $urls = array();
languages/default.mo CHANGED
Binary file
languages/default.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wp-statistics\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-01-28 19:18+0330\n"
6
- "PO-Revision-Date: 2013-01-28 19:18+0330\n"
7
  "Last-Translator: Mostafa Soufi <mst404@gmail.com>\n"
8
  "Language-Team: \n"
9
  "Language: en\n"
@@ -198,18 +198,23 @@ msgstr ""
198
 
199
  #: F:\Program
200
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:134
201
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:151
202
  msgid "You do not have sufficient permissions to access this page."
203
  msgstr ""
204
 
 
 
 
 
 
205
  #: F:\Program
206
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:8
207
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:69
208
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:165
209
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:209
210
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:244
211
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:334
212
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:374
213
  msgid "Click to toggle"
214
  msgstr ""
215
 
@@ -220,13 +225,13 @@ msgstr ""
220
 
221
  #: F:\Program
222
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:20
223
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:305
224
  msgid "Visitor"
225
  msgstr ""
226
 
227
  #: F:\Program
228
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:21
229
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:315
230
  msgid "Visit"
231
  msgstr ""
232
 
@@ -329,8 +334,7 @@ msgstr ""
329
 
330
  #: F:\Program
331
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:171
332
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:342
333
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:386
334
  msgid "Reference"
335
  msgstr ""
336
 
@@ -340,127 +344,132 @@ msgid "Address"
340
  msgstr ""
341
 
342
  #: F:\Program
343
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:210
344
  msgid "About plugin"
345
  msgstr ""
346
 
347
  #: F:\Program
348
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:213
349
  #, php-format
350
  msgid "Plugin version: %s"
351
  msgstr ""
352
 
353
  #: F:\Program
354
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:214
355
  msgid "Translation plugin languages"
356
  msgstr ""
357
 
358
  #: F:\Program
359
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:215
360
  msgid "Support plugin"
361
  msgstr ""
362
 
363
  #: F:\Program
364
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:216
365
  msgid "Weblog"
366
  msgstr ""
367
 
368
  #: F:\Program
369
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:221
370
  msgid ""
371
  "Please donate to the plugin. With the help of plug-ins you can quickly "
372
  "spread."
373
  msgstr ""
374
 
375
  #: F:\Program
376
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:224
377
  msgid "Donate"
378
  msgstr ""
379
 
380
  #: F:\Program
381
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:245
382
  msgid "Statistical Chart"
383
  msgstr ""
384
 
385
  #: F:\Program
386
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:260
387
  msgid "Chart hit in the last 20 days"
388
  msgstr ""
389
 
390
  #: F:\Program
391
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:279
392
  msgid "Number of visits and visitors"
393
  msgstr ""
394
 
395
  #: F:\Program
396
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:335
397
  msgid "Latest search words"
398
  msgstr ""
399
 
400
  #: F:\Program
401
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:339
402
  msgid "Word"
403
  msgstr ""
404
 
405
  #: F:\Program
406
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:340
407
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:384
408
  msgid "Date"
409
  msgstr ""
410
 
411
  #: F:\Program
412
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:341
413
  msgid "Site"
414
  msgstr ""
415
 
416
  #: F:\Program
417
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:354
 
 
 
 
 
418
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:44
419
  msgid "Google"
420
  msgstr ""
421
 
422
  #: F:\Program
423
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:356
424
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:47
425
  msgid "Yahoo!"
426
  msgstr ""
427
 
428
  #: F:\Program
429
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:358
430
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:50
431
  msgid "Bing"
432
  msgstr ""
433
 
434
  #: F:\Program
435
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:363
436
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:400
437
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:408
438
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:420
439
  msgid "Unknown"
440
  msgstr ""
441
 
442
  #: F:\Program
443
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:375
444
  msgid "Recent Visitors"
445
  msgstr ""
446
 
447
  #: F:\Program
448
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:379
449
  msgid "IP"
450
  msgstr ""
451
 
452
  #: F:\Program
453
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:381
454
  msgid "Country"
455
  msgstr ""
456
 
457
  #: F:\Program
458
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:382
459
  msgid "Province"
460
  msgstr ""
461
 
462
  #: F:\Program
463
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:385
464
  msgid "Browser"
465
  msgstr ""
466
 
2
  msgstr ""
3
  "Project-Id-Version: wp-statistics\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-02-03 19:30+0330\n"
6
+ "PO-Revision-Date: 2013-02-03 19:30+0330\n"
7
  "Last-Translator: Mostafa Soufi <mst404@gmail.com>\n"
8
  "Language-Team: \n"
9
  "Language: en\n"
198
 
199
  #: F:\Program
200
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:134
201
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:161
202
  msgid "You do not have sufficient permissions to access this page."
203
  msgstr ""
204
 
205
+ #: F:\Program
206
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:144
207
+ msgid "Table plugin does not exist! Please disable and re-enable the plugin."
208
+ msgstr ""
209
+
210
  #: F:\Program
211
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:8
212
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:69
213
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:165
214
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:207
215
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:242
216
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:332
217
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:372
218
  msgid "Click to toggle"
219
  msgstr ""
220
 
225
 
226
  #: F:\Program
227
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:20
228
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:303
229
  msgid "Visitor"
230
  msgstr ""
231
 
232
  #: F:\Program
233
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:21
234
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:313
235
  msgid "Visit"
236
  msgstr ""
237
 
334
 
335
  #: F:\Program
336
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:171
337
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:384
 
338
  msgid "Reference"
339
  msgstr ""
340
 
344
  msgstr ""
345
 
346
  #: F:\Program
347
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:208
348
  msgid "About plugin"
349
  msgstr ""
350
 
351
  #: F:\Program
352
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:211
353
  #, php-format
354
  msgid "Plugin version: %s"
355
  msgstr ""
356
 
357
  #: F:\Program
358
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:212
359
  msgid "Translation plugin languages"
360
  msgstr ""
361
 
362
  #: F:\Program
363
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:213
364
  msgid "Support plugin"
365
  msgstr ""
366
 
367
  #: F:\Program
368
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:214
369
  msgid "Weblog"
370
  msgstr ""
371
 
372
  #: F:\Program
373
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:219
374
  msgid ""
375
  "Please donate to the plugin. With the help of plug-ins you can quickly "
376
  "spread."
377
  msgstr ""
378
 
379
  #: F:\Program
380
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:222
381
  msgid "Donate"
382
  msgstr ""
383
 
384
  #: F:\Program
385
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:243
386
  msgid "Statistical Chart"
387
  msgstr ""
388
 
389
  #: F:\Program
390
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:258
391
  msgid "Chart hit in the last 20 days"
392
  msgstr ""
393
 
394
  #: F:\Program
395
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:277
396
  msgid "Number of visits and visitors"
397
  msgstr ""
398
 
399
  #: F:\Program
400
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:333
401
  msgid "Latest search words"
402
  msgstr ""
403
 
404
  #: F:\Program
405
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:337
406
  msgid "Word"
407
  msgstr ""
408
 
409
  #: F:\Program
410
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:338
411
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:382
412
  msgid "Date"
413
  msgstr ""
414
 
415
  #: F:\Program
416
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:339
417
  msgid "Site"
418
  msgstr ""
419
 
420
  #: F:\Program
421
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:340
422
+ msgid "Referrer"
423
+ msgstr ""
424
+
425
+ #: F:\Program
426
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:352
427
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:44
428
  msgid "Google"
429
  msgstr ""
430
 
431
  #: F:\Program
432
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:354
433
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:47
434
  msgid "Yahoo!"
435
  msgstr ""
436
 
437
  #: F:\Program
438
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:356
439
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:50
440
  msgid "Bing"
441
  msgstr ""
442
 
443
  #: F:\Program
444
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:361
445
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:398
446
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:406
447
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:418
448
  msgid "Unknown"
449
  msgstr ""
450
 
451
  #: F:\Program
452
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:373
453
  msgid "Recent Visitors"
454
  msgstr ""
455
 
456
  #: F:\Program
457
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:377
458
  msgid "IP"
459
  msgstr ""
460
 
461
  #: F:\Program
462
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:379
463
  msgid "Country"
464
  msgstr ""
465
 
466
  #: F:\Program
467
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:380
468
  msgid "Province"
469
  msgstr ""
470
 
471
  #: F:\Program
472
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:383
473
  msgid "Browser"
474
  msgstr ""
475
 
languages/wp_statistics-fa_IR.mo CHANGED
Binary file
languages/wp_statistics-fa_IR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wp-statistics\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-01-29 00:33+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Mostafa Soufi <mst404@gmail.com>\n"
8
  "Language-Team: <mat404@gmail.com>\n"
@@ -198,18 +198,23 @@ msgstr "بازدید دیروز"
198
 
199
  #: F:\Program
200
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:134
201
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:151
202
  msgid "You do not have sufficient permissions to access this page."
203
  msgstr "شما مجوز کافی برای مشاهده‌ی این قسمت را ندارید."
204
 
 
 
 
 
 
205
  #: F:\Program
206
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:8
207
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:69
208
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:165
209
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:209
210
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:244
211
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:334
212
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:374
213
  msgid "Click to toggle"
214
  msgstr "برای باز و بستن کلیک کنید"
215
 
@@ -220,13 +225,13 @@ msgstr "خلاصه آمار"
220
 
221
  #: F:\Program
222
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:20
223
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:305
224
  msgid "Visitor"
225
  msgstr "بازدیدکننده"
226
 
227
  #: F:\Program
228
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:21
229
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:315
230
  msgid "Visit"
231
  msgstr "بازدید"
232
 
@@ -329,7 +334,7 @@ msgstr "بهترین سایت های ارجاع دهنده"
329
 
330
  #: F:\Program
331
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:171
332
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:386
333
  msgid "Reference"
334
  msgstr "ارجاع"
335
 
@@ -339,33 +344,33 @@ msgid "Address"
339
  msgstr "آدرس"
340
 
341
  #: F:\Program
342
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:210
343
  msgid "About plugin"
344
  msgstr "درباره افزونه آماره"
345
 
346
  #: F:\Program
347
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:213
348
  #, php-format
349
  msgid "Plugin version: %s"
350
  msgstr "نگارش افزونه: %s"
351
 
352
  #: F:\Program
353
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:214
354
  msgid "Translation plugin languages"
355
  msgstr "ترجمه زبان‌های افزونه"
356
 
357
  #: F:\Program
358
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:215
359
  msgid "Support plugin"
360
  msgstr "پشتیبانی افزونه"
361
 
362
  #: F:\Program
363
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:216
364
  msgid "Weblog"
365
  msgstr "وبلاگ"
366
 
367
  #: F:\Program
368
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:221
369
  msgid ""
370
  "Please donate to the plugin. With the help of plug-ins you can quickly "
371
  "spread."
@@ -374,99 +379,99 @@ msgstr ""
374
  "گسترش یابد."
375
 
376
  #: F:\Program
377
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:224
378
  msgid "Donate"
379
  msgstr "حمایت"
380
 
381
  #: F:\Program
382
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:245
383
  msgid "Statistical Chart"
384
  msgstr "نمودارهای آماری"
385
 
386
  #: F:\Program
387
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:260
388
  msgid "Chart hit in the last 20 days"
389
  msgstr "نمودار آمار در 20 روز گذشته"
390
 
391
  #: F:\Program
392
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:279
393
  msgid "Number of visits and visitors"
394
  msgstr "تعداد بازدید و بازدید کننده"
395
 
396
  #: F:\Program
397
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:335
398
  msgid "Latest search words"
399
  msgstr "آخرین کلمات جستجو شده"
400
 
401
  #: F:\Program
402
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:339
403
  msgid "Word"
404
  msgstr "کلمه"
405
 
406
  #: F:\Program
407
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:340
408
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:384
409
  msgid "Date"
410
  msgstr "تاریخ"
411
 
412
  #: F:\Program
413
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:341
414
  msgid "Site"
415
  msgstr "سایت"
416
 
417
  #: F:\Program
418
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:342
419
  msgid "Referrer"
420
  msgstr "ارجاع"
421
 
422
  #: F:\Program
423
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:354
424
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:44
425
  msgid "Google"
426
  msgstr "گوگل"
427
 
428
  #: F:\Program
429
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:356
430
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:47
431
  msgid "Yahoo!"
432
  msgstr "یاهو!"
433
 
434
  #: F:\Program
435
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:358
436
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:50
437
  msgid "Bing"
438
  msgstr "بینگ"
439
 
440
  #: F:\Program
441
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:363
442
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:400
443
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:408
444
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:420
445
  msgid "Unknown"
446
  msgstr "نا معلوم"
447
 
448
  #: F:\Program
449
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:375
450
  msgid "Recent Visitors"
451
  msgstr "آخرین بازدیدکنندگان"
452
 
453
  #: F:\Program
454
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:379
455
  msgid "IP"
456
  msgstr "آی‌پی"
457
 
458
  #: F:\Program
459
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:381
460
  msgid "Country"
461
  msgstr "کشور"
462
 
463
  #: F:\Program
464
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:382
465
  msgid "Province"
466
  msgstr "استان"
467
 
468
  #: F:\Program
469
- #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:385
470
  msgid "Browser"
471
  msgstr "مرورگر"
472
 
2
  msgstr ""
3
  "Project-Id-Version: wp-statistics\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-02-03 19:30+0330\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Mostafa Soufi <mst404@gmail.com>\n"
8
  "Language-Team: <mat404@gmail.com>\n"
198
 
199
  #: F:\Program
200
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:134
201
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:161
202
  msgid "You do not have sufficient permissions to access this page."
203
  msgstr "شما مجوز کافی برای مشاهده‌ی این قسمت را ندارید."
204
 
205
+ #: F:\Program
206
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:144
207
+ msgid "Table plugin does not exist! Please disable and re-enable the plugin."
208
+ msgstr "جدول های پلاگین وجود ندارد! لطفا پلاگین را غیر فعال و مجدد فعال کنید."
209
+
210
  #: F:\Program
211
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:8
212
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:69
213
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:165
214
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:207
215
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:242
216
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:332
217
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:372
218
  msgid "Click to toggle"
219
  msgstr "برای باز و بستن کلیک کنید"
220
 
225
 
226
  #: F:\Program
227
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:20
228
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:303
229
  msgid "Visitor"
230
  msgstr "بازدیدکننده"
231
 
232
  #: F:\Program
233
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:21
234
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:313
235
  msgid "Visit"
236
  msgstr "بازدید"
237
 
334
 
335
  #: F:\Program
336
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:171
337
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:384
338
  msgid "Reference"
339
  msgstr "ارجاع"
340
 
344
  msgstr "آدرس"
345
 
346
  #: F:\Program
347
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:208
348
  msgid "About plugin"
349
  msgstr "درباره افزونه آماره"
350
 
351
  #: F:\Program
352
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:211
353
  #, php-format
354
  msgid "Plugin version: %s"
355
  msgstr "نگارش افزونه: %s"
356
 
357
  #: F:\Program
358
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:212
359
  msgid "Translation plugin languages"
360
  msgstr "ترجمه زبان‌های افزونه"
361
 
362
  #: F:\Program
363
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:213
364
  msgid "Support plugin"
365
  msgstr "پشتیبانی افزونه"
366
 
367
  #: F:\Program
368
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:214
369
  msgid "Weblog"
370
  msgstr "وبلاگ"
371
 
372
  #: F:\Program
373
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:219
374
  msgid ""
375
  "Please donate to the plugin. With the help of plug-ins you can quickly "
376
  "spread."
379
  "گسترش یابد."
380
 
381
  #: F:\Program
382
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:222
383
  msgid "Donate"
384
  msgstr "حمایت"
385
 
386
  #: F:\Program
387
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:243
388
  msgid "Statistical Chart"
389
  msgstr "نمودارهای آماری"
390
 
391
  #: F:\Program
392
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:258
393
  msgid "Chart hit in the last 20 days"
394
  msgstr "نمودار آمار در 20 روز گذشته"
395
 
396
  #: F:\Program
397
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:277
398
  msgid "Number of visits and visitors"
399
  msgstr "تعداد بازدید و بازدید کننده"
400
 
401
  #: F:\Program
402
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:333
403
  msgid "Latest search words"
404
  msgstr "آخرین کلمات جستجو شده"
405
 
406
  #: F:\Program
407
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:337
408
  msgid "Word"
409
  msgstr "کلمه"
410
 
411
  #: F:\Program
412
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:338
413
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:382
414
  msgid "Date"
415
  msgstr "تاریخ"
416
 
417
  #: F:\Program
418
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:339
419
  msgid "Site"
420
  msgstr "سایت"
421
 
422
  #: F:\Program
423
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:340
424
  msgid "Referrer"
425
  msgstr "ارجاع"
426
 
427
  #: F:\Program
428
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:352
429
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:44
430
  msgid "Google"
431
  msgstr "گوگل"
432
 
433
  #: F:\Program
434
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:354
435
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:47
436
  msgid "Yahoo!"
437
  msgstr "یاهو!"
438
 
439
  #: F:\Program
440
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:356
441
  #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/setting/widget.php:50
442
  msgid "Bing"
443
  msgstr "بینگ"
444
 
445
  #: F:\Program
446
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:361
447
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:398
448
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:406
449
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:418
450
  msgid "Unknown"
451
  msgstr "نا معلوم"
452
 
453
  #: F:\Program
454
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:373
455
  msgid "Recent Visitors"
456
  msgstr "آخرین بازدیدکنندگان"
457
 
458
  #: F:\Program
459
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:377
460
  msgid "IP"
461
  msgstr "آی‌پی"
462
 
463
  #: F:\Program
464
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:379
465
  msgid "Country"
466
  msgstr "کشور"
467
 
468
  #: F:\Program
469
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:380
470
  msgid "Province"
471
  msgstr "استان"
472
 
473
  #: F:\Program
474
+ #: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/includes/log/log.php:383
475
  msgid "Browser"
476
  msgstr "مرورگر"
477
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://iran98.org/donate/
4
  Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, yearl, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 3.0
8
 
9
  Complete statistics for your blog.
10
 
@@ -118,6 +118,9 @@ Disable / Enable the plugin.
118
  1. Screen shot (screenshot-3.png) in Widget page.
119
 
120
  == Upgrade Notice ==
 
 
 
121
  = 3.0 =
122
  * Bug Fix: problem in calculating Statistics.
123
  * Enhancement: Optimize and speed up the process.
@@ -259,6 +262,9 @@ Disable / Enable the plugin.
259
  * Start plugin
260
 
261
  == Changelog ==
 
 
 
262
  = 3.0 =
263
  * Bug Fix: problem in calculating Statistics.
264
  * Enhancement: Optimize and speed up the process.
4
  Tags: statistics, stats, visit, visitors, chart, browser, blog, today, yesterday, week, month, yearl, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 3.0.1
8
 
9
  Complete statistics for your blog.
10
 
118
  1. Screen shot (screenshot-3.png) in Widget page.
119
 
120
  == Upgrade Notice ==
121
+ = 3.0.1 =
122
+ * Bug Fix: Table plugin problem.
123
+
124
  = 3.0 =
125
  * Bug Fix: problem in calculating Statistics.
126
  * Enhancement: Optimize and speed up the process.
262
  * Start plugin
263
 
264
  == Changelog ==
265
+ = 3.0.1 =
266
+ * Bug Fix: Table plugin problem.
267
+
268
  = 3.0 =
269
  * Bug Fix: problem in calculating Statistics.
270
  * Enhancement: Optimize and speed up the process.
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Wordpress Statistics
4
  Plugin URI: http://iran98.org/category/wordpress/wp-statistics/
5
  Description: Summary statistics of blog.
6
- Version: 3.0
7
  Author: Mostafa Soufi
8
  Author URI: http://iran98.org/
9
  License: GPL2
@@ -134,6 +134,16 @@ License: GPL2
134
  wp_die(__('You do not have sufficient permissions to access this page.'));
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
137
  wp_enqueue_script('dashboard');
138
  wp_enqueue_script('highcharts', plugin_dir_url(__FILE__) . 'js/highcharts.js', true, '2.3.5');
139
 
3
  Plugin Name: Wordpress Statistics
4
  Plugin URI: http://iran98.org/category/wordpress/wp-statistics/
5
  Description: Summary statistics of blog.
6
+ Version: 3.0.1
7
  Author: Mostafa Soufi
8
  Author URI: http://iran98.org/
9
  License: GPL2
134
  wp_die(__('You do not have sufficient permissions to access this page.'));
135
  }
136
 
137
+ global $wpdb, $table_prefix;
138
+
139
+ $result[] = $wpdb->query("SELECT * FROM {$table_prefix}statistics_useronline");
140
+ $result[] = $wpdb->query("SELECT * FROM {$table_prefix}statistics_visit");
141
+ $result[] = $wpdb->query("SELECT * FROM {$table_prefix}statistics_visitor");
142
+
143
+ if( !$result[0] || !$result[1] || !$result[2] ) {
144
+ wp_die(__('Table plugin does not exist! Please disable and re-enable the plugin.', 'wp_statistics'));
145
+ }
146
+
147
  wp_enqueue_script('dashboard');
148
  wp_enqueue_script('highcharts', plugin_dir_url(__FILE__) . 'js/highcharts.js', true, '2.3.5');
149