WD Instagram Feed – Instagram Gallery - Version 1.1.27

Version Description

Fixed: Overriding window.onload function
Changed: Some strings on frontend are translatable now

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Instagram Feed – Instagram Gallery
Version 1.1.27
Comparing to
See all releases

Code changes from version 1.1.26 to 1.1.27

changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 1.1.26 =
2
  Fixed: Conflict with Beaver Builder
3
  Fixed: Frontend error messages in old Chrome and Safari browsers
1
+ = 1.1.27 =
2
+ Fixed: Overriding window.onload function
3
+ Changed: Some strings on frontend are translatable now
4
+
5
  = 1.1.26 =
6
  Fixed: Conflict with Beaver Builder
7
  Fixed: Frontend error messages in old Chrome and Safari browsers
frontend/shortcode.php CHANGED
@@ -157,6 +157,9 @@ function wdi_load_frontend_scripts()
157
  'network_error' => __('Network error, please try again later :(', 'wd-instagram-feed'),
158
  'hashtag_nodata' => __('There is no data for that hashtag', 'wd-instagram-feed'),
159
  'filter_title' => __('Click to filter images by this user', 'wd-instagram-feed'),
 
 
 
160
  'show_alerts' => $user_is_admin,
161
  ), WDI_VERSION);
162
 
@@ -232,6 +235,9 @@ function wdi_load_frontend_scripts_styles_ajax()
232
  'network_error' => __('Network error, please try again later :(', 'wd-instagram-feed'),
233
  'hashtag_nodata' => __('There is no data for that hashtag', 'wd-instagram-feed'),
234
  'filter_title' => __('Click to filter images by this user', 'wd-instagram-feed'),
 
 
 
235
  'show_alerts' => $user_is_admin,
236
  ), WDI_VERSION);
237
 
157
  'network_error' => __('Network error, please try again later :(', 'wd-instagram-feed'),
158
  'hashtag_nodata' => __('There is no data for that hashtag', 'wd-instagram-feed'),
159
  'filter_title' => __('Click to filter images by this user', 'wd-instagram-feed'),
160
+ 'invalid_users_format' => __('Provided feed users are invalid or obsolete for this version of plugin','wd-instagram-feed'),
161
+ 'feed_nomedia' => __('There is no media in this feed', 'wd-instagram-feed'),
162
+ 'follow' => __('Follow', 'wd-instagram-feed'),
163
  'show_alerts' => $user_is_admin,
164
  ), WDI_VERSION);
165
 
235
  'network_error' => __('Network error, please try again later :(', 'wd-instagram-feed'),
236
  'hashtag_nodata' => __('There is no data for that hashtag', 'wd-instagram-feed'),
237
  'filter_title' => __('Click to filter images by this user', 'wd-instagram-feed'),
238
+ 'invalid_users_format' => __('Provided feed users are invalid or obsolete for this version of plugin','wd-instagram-feed'),
239
+ 'feed_nomedia' => __('There is no media in this feed', 'wd-instagram-feed'),
240
+ 'follow' => __('Follow', 'wd-instagram-feed'),
241
  'show_alerts' => $user_is_admin,
242
  ), WDI_VERSION);
243
 
js/gallerybox/wdi_gallery_box.js CHANGED
@@ -14,23 +14,27 @@ function wdi_spider_createpopup(url, current_view, width, height, duration, desc
14
  }
15
 
16
  jQuery("html").attr("style", "overflow:hidden !important;");
17
- jQuery("#wdi_spider_popup_loading_" + current_view).css({display: "block"});
18
- jQuery("#wdi_spider_popup_overlay_" + current_view).css({display: "block"});
 
 
 
 
19
 
20
  // jQuery.get(url, function(data) {
21
  // ;
22
- // var popup = jQuery(
23
- // '<div id="wdi_spider_popup_wrap" class="wdi_spider_popup_wrap" style="' +
24
  // ' width:' + width + 'px;' +
25
- // ' height:' + height + 'px;' +
26
- // ' margin-top:-' + height / 2 + 'px;' +
27
- // ' margin-left: -' + width / 2 + 'px; ">' +
28
- // data +
29
  // '</div>')
30
- // .hide()
31
- // .appendTo("body");
32
 
33
- // wdi_spider_showpopup(description, lifetime, popup, duration);
34
  // }).success(function(jqXHR, textStatus, errorThrown) {
35
  // jQuery("#wdi_spider_popup_loading_" + current_view).css({display: "none !important;"});
36
  // });
@@ -61,7 +65,9 @@ function wdi_spider_createpopup(url, current_view, width, height, duration, desc
61
  .hide()
62
  .appendTo("body");
63
  wdi_spider_showpopup(description, lifetime, popup, duration);
64
- jQuery("#wdi_spider_popup_loading_" + current_view).css({display: "none !important;"});
 
 
65
  }
66
  });
67
  /////////////////////////////////////////
@@ -113,8 +119,12 @@ function wdi_spider_destroypopup(duration)
113
  setTimeout(function ()
114
  {
115
  jQuery(".wdi_spider_popup_wrap").remove();
116
- jQuery(".wdi_spider_popup_loading").css({display: "none"});
117
- jQuery(".wdi_spider_popup_overlay").css({display: "none"});
 
 
 
 
118
  jQuery(document).off("keydown");
119
  jQuery("html").attr("style", "");
120
  }, 20);
@@ -128,18 +138,24 @@ function wdi_spider_destroypopup(duration)
128
  var scrrr = jQuery(document).scrollTop();
129
  window.location.hash = "";
130
  jQuery(document).scrollTop(scrrr);
131
- clearInterval(wdi_playInterval);
 
 
 
 
132
  }
133
 
134
 
135
  Object.size = function (obj)
136
  {
137
- var size = 0, key;
 
138
  for (key in obj) {
139
  if (obj.hasOwnProperty(key)) size++;
140
  }
141
  return size;
142
  };
 
143
  function wdi_spider_ajax_save(form_id, image_id)
144
  {
145
 
@@ -192,19 +208,27 @@ function wdi_spider_ajax_save(form_id, image_id)
192
 
193
  wdi_comments_manager = {
194
  media_id: '',
195
- mediaComments: [], /*all comments*/
 
196
  load_more_count: 10,
197
- commentCounter: 0, /* current comments counter*/
198
- currentKey: -1, /*iamge id*/
 
 
199
  init: function (image_id)
200
  {
201
 
 
 
 
 
 
 
202
  if (this.currentKey != image_id) {
203
  this.currentKey = image_id;
204
 
205
  this.reset_comments();
206
- }
207
- else {
208
  /*open close*/
209
  /*do nothing*/
210
  }
@@ -216,6 +240,7 @@ wdi_comments_manager = {
216
  //currentImage = wdi_data[this.currentKey];
217
  this.commentCounter = 0;
218
  this.media_id = wdi_data[this.currentKey]['id'];
 
219
  this.getAjaxComments(this.currentKey);
220
 
221
 
@@ -253,6 +278,7 @@ wdi_comments_manager = {
253
  singleComment.append(jQuery('<div class="wdi_comment_body_p"><span class="wdi_comment_body"><p>' + commentText + '</p></span></div>'));
254
  jQuery('#wdi_added_comments').prepend(singleComment);
255
  }
 
256
  this.updateScrollbar();
257
 
258
  },
@@ -280,7 +306,9 @@ wdi_comments_manager = {
280
 
281
  if (typeof jQuery().mCustomScrollbar !== 'undefined') {
282
  if (jQuery.isFunction(jQuery().mCustomScrollbar)) {
283
- jQuery(".wdi_comments").mCustomScrollbar({scrollInertia: 250});
 
 
284
  }
285
  }
286
 
@@ -293,11 +321,8 @@ wdi_comments_manager = {
293
  //get recent media comments
294
  getAjaxComments: function ()
295
  {
296
- var access_token = wdi_front.access_token;
297
- jQuery.ajax({
298
- type: "POST",
299
- url: 'https://api.instagram.com/v1/media/' + this.media_id + '/comments?access_token=' + access_token,
300
- dataType: 'jsonp',
301
  success: function (response)
302
  {
303
  if (response == '' || response == undefined || response == null) {
@@ -312,18 +337,20 @@ wdi_comments_manager = {
312
  }
313
 
314
  wdi_comments_manager.mediaComments = response['data'];
 
 
315
  //ttt
316
  var currentImage = wdi_data[wdi_comments_manager.currentKey];
317
  currentImage['comments_data'] = response['data'];
318
 
319
  wdi_comments_manager.showComments(currentImage['comments_data'], wdi_comments_manager.load_more_count);
320
  wdi_comments_manager.ajax_comments_ready(response['data']);
321
-
322
  }
323
  });
324
  },
325
  ajax_comments_ready: function (response)
326
  {
 
327
  this.createLoadMoreAndBindEvent();
328
  },
329
  createLoadMoreAndBindEvent: function ()
@@ -332,6 +359,7 @@ wdi_comments_manager = {
332
  jQuery('.wdi_comment_container #wdi_load_more_comments').on('click', function ()
333
  {
334
  jQuery(this).remove();
 
335
  wdi_comments_manager.showComments(wdi_comments_manager.mediaComments, wdi_comments_manager.load_more_count);
336
  wdi_comments_manager.createLoadMoreAndBindEvent();
337
  });
@@ -410,8 +438,7 @@ function wdi_spider_form_submit(event, form_id)
410
  }
411
  if (event.preventDefault) {
412
  event.preventDefault();
413
- }
414
- else {
415
  event.returnValue = false;
416
  }
417
  }
@@ -424,8 +451,7 @@ function wdi_spider_check_required(id, name)
424
  jQuery('#' + id).attr('style', 'border-color: #FF0000;');
425
  jQuery('#' + id).focus();
426
  return true;
427
- }
428
- else {
429
  return false;
430
  }
431
  }
@@ -473,6 +499,7 @@ function wdi_play_pause($this)
473
 
474
  }
475
 
 
476
  /*server side analogue is function display_embed in WDWLibraryEmbed*/
477
  /*params
478
  embed_type: string , one of predefined accepted types
@@ -690,5 +717,7 @@ function wdi_spider_display_embed(embed_type, embed_id, attrs){
690
  return html_to_insert;
691
 
692
  }
693
-
694
-
 
 
14
  }
15
 
16
  jQuery("html").attr("style", "overflow:hidden !important;");
17
+ jQuery("#wdi_spider_popup_loading_" + current_view).css({
18
+ display: "block"
19
+ });
20
+ jQuery("#wdi_spider_popup_overlay_" + current_view).css({
21
+ display: "block"
22
+ });
23
 
24
  // jQuery.get(url, function(data) {
25
  // ;
26
+ // var popup = jQuery(
27
+ // '<div id="wdi_spider_popup_wrap" class="wdi_spider_popup_wrap" style="' +
28
  // ' width:' + width + 'px;' +
29
+ // ' height:' + height + 'px;' +
30
+ // ' margin-top:-' + height / 2 + 'px;' +
31
+ // ' margin-left: -' + width / 2 + 'px; ">' +
32
+ // data +
33
  // '</div>')
34
+ // .hide()
35
+ // .appendTo("body");
36
 
37
+ // wdi_spider_showpopup(description, lifetime, popup, duration);
38
  // }).success(function(jqXHR, textStatus, errorThrown) {
39
  // jQuery("#wdi_spider_popup_loading_" + current_view).css({display: "none !important;"});
40
  // });
65
  .hide()
66
  .appendTo("body");
67
  wdi_spider_showpopup(description, lifetime, popup, duration);
68
+ jQuery("#wdi_spider_popup_loading_" + current_view).css({
69
+ display: "none !important;"
70
+ });
71
  }
72
  });
73
  /////////////////////////////////////////
119
  setTimeout(function ()
120
  {
121
  jQuery(".wdi_spider_popup_wrap").remove();
122
+ jQuery(".wdi_spider_popup_loading").css({
123
+ display: "none"
124
+ });
125
+ jQuery(".wdi_spider_popup_overlay").css({
126
+ display: "none"
127
+ });
128
  jQuery(document).off("keydown");
129
  jQuery("html").attr("style", "");
130
  }, 20);
138
  var scrrr = jQuery(document).scrollTop();
139
  window.location.hash = "";
140
  jQuery(document).scrollTop(scrrr);
141
+ if(typeof wdi_playInterval != 'undefined'){
142
+ clearInterval(wdi_playInterval);
143
+ }
144
+
145
+
146
  }
147
 
148
 
149
  Object.size = function (obj)
150
  {
151
+ var size = 0,
152
+ key;
153
  for (key in obj) {
154
  if (obj.hasOwnProperty(key)) size++;
155
  }
156
  return size;
157
  };
158
+
159
  function wdi_spider_ajax_save(form_id, image_id)
160
  {
161
 
208
 
209
  wdi_comments_manager = {
210
  media_id: '',
211
+ mediaComments: [],
212
+ /*all comments*/
213
  load_more_count: 10,
214
+ commentCounter: 0,
215
+ /* current comments counter*/
216
+ currentKey: -1,
217
+ /*iamge id*/
218
  init: function (image_id)
219
  {
220
 
221
+
222
+ /*initializing instagram object which will handle all instagram api requests*/
223
+ this.instagram = new WDIInstagram();
224
+ this.instagram.addToken(wdi_front.access_token);
225
+
226
+
227
  if (this.currentKey != image_id) {
228
  this.currentKey = image_id;
229
 
230
  this.reset_comments();
231
+ } else {
 
232
  /*open close*/
233
  /*do nothing*/
234
  }
240
  //currentImage = wdi_data[this.currentKey];
241
  this.commentCounter = 0;
242
  this.media_id = wdi_data[this.currentKey]['id'];
243
+
244
  this.getAjaxComments(this.currentKey);
245
 
246
 
278
  singleComment.append(jQuery('<div class="wdi_comment_body_p"><span class="wdi_comment_body"><p>' + commentText + '</p></span></div>'));
279
  jQuery('#wdi_added_comments').prepend(singleComment);
280
  }
281
+
282
  this.updateScrollbar();
283
 
284
  },
306
 
307
  if (typeof jQuery().mCustomScrollbar !== 'undefined') {
308
  if (jQuery.isFunction(jQuery().mCustomScrollbar)) {
309
+ jQuery(".wdi_comments").mCustomScrollbar({
310
+ scrollInertia: 250
311
+ });
312
  }
313
  }
314
 
321
  //get recent media comments
322
  getAjaxComments: function ()
323
  {
324
+
325
+ this.instagram.getRecentMediaComments(this.media_id, {
 
 
 
326
  success: function (response)
327
  {
328
  if (response == '' || response == undefined || response == null) {
337
  }
338
 
339
  wdi_comments_manager.mediaComments = response['data'];
340
+
341
+
342
  //ttt
343
  var currentImage = wdi_data[wdi_comments_manager.currentKey];
344
  currentImage['comments_data'] = response['data'];
345
 
346
  wdi_comments_manager.showComments(currentImage['comments_data'], wdi_comments_manager.load_more_count);
347
  wdi_comments_manager.ajax_comments_ready(response['data']);
 
348
  }
349
  });
350
  },
351
  ajax_comments_ready: function (response)
352
  {
353
+
354
  this.createLoadMoreAndBindEvent();
355
  },
356
  createLoadMoreAndBindEvent: function ()
359
  jQuery('.wdi_comment_container #wdi_load_more_comments').on('click', function ()
360
  {
361
  jQuery(this).remove();
362
+
363
  wdi_comments_manager.showComments(wdi_comments_manager.mediaComments, wdi_comments_manager.load_more_count);
364
  wdi_comments_manager.createLoadMoreAndBindEvent();
365
  });
438
  }
439
  if (event.preventDefault) {
440
  event.preventDefault();
441
+ } else {
 
442
  event.returnValue = false;
443
  }
444
  }
451
  jQuery('#' + id).attr('style', 'border-color: #FF0000;');
452
  jQuery('#' + id).focus();
453
  return true;
454
+ } else {
 
455
  return false;
456
  }
457
  }
499
 
500
  }
501
 
502
+
503
  /*server side analogue is function display_embed in WDWLibraryEmbed*/
504
  /*params
505
  embed_type: string , one of predefined accepted types
717
  return html_to_insert;
718
 
719
  }
720
+ /**
721
+ * @param from_popup: optional, true if from bulk embed popup, false(default) if from instagram gallery
722
+ * @return "ok" if adds instagram gallery, false if any error when adding instagram gallery
723
+ */
js/wdi_frontend.js CHANGED
@@ -4,6 +4,7 @@ if (typeof wdi_front == 'undefined') {
4
  };
5
  }
6
 
 
7
  wdi_front.detectEvent = function ()
8
  {
9
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
@@ -27,7 +28,7 @@ wdi_front.show_alert = function (message)
27
 
28
  wdi_front.globalInit = function ()
29
  {
30
-
31
  var num = wdi_front['feed_counter'];
32
 
33
  if (typeof wdi_ajax.ajax_response != "undefined") {
@@ -100,6 +101,7 @@ wdi_front.globalInit = function ()
100
  currentFeed.temproraryUsersData = [];
101
 
102
  currentFeed.removedUsers = 0;
 
103
  currentFeed.nowLoadingImages = true;
104
  currentFeed.imageIndex = 0; //index for image indexes
105
  currentFeed.resIndex = 0; //responsive indexes used for pagination
@@ -139,13 +141,6 @@ wdi_front.globalInit = function ()
139
 
140
  currentFeed.stopInfiniteScrollFlag = false;
141
 
142
- window.onload = function ()
143
- {
144
- for (var i = init_feed_counter; i <= wdi_front.feed_counter; i++) {
145
- window['wdi_feed_' + i]['nowLoadingImages'] = false;
146
- }
147
- }
148
-
149
  if (currentFeed.feed_row.feed_type == 'masonry') {
150
  currentFeed.displayedData = [];
151
  }
@@ -191,6 +186,8 @@ wdi_front.globalInit = function ()
191
  wdi_front.init(currentFeed);
192
  } //endfor
193
 
 
 
194
  }
195
 
196
  wdi_front.init = function (currentFeed)
@@ -224,7 +221,7 @@ wdi_front.init = function (currentFeed)
224
 
225
 
226
  } else {
227
- wdi_front.show_alert('provided feed users are invalid or obsolete for this version of plugin');
228
  return;
229
  }
230
 
@@ -362,8 +359,8 @@ wdi_front.saveUserData = function (data, user, currentFeed)
362
  //if getted objects is not enough then recuest new ones
363
  if (currentFeed.currentResponseLength < currentFeed.feed_row.number_of_photos && !wdi_front.userHasNoPhoto(currentFeed)) {
364
  //console.log('initial recursion');
365
- /*here we are calling loadMore function out of recursion cylce, after this initial-keep call
366
- loadMore will be called with 'initial' recursivly until the desired number of photos is reached
367
  if possible*/
368
 
369
  wdi_front.loadMore('initial-keep', currentFeed);
@@ -2201,7 +2198,7 @@ wdi_front.allImagesLoaded = function (currentFeed)
2201
  var dataLength = wdi_front.getDataLength(currentFeed);
2202
  /* display message if feed contains no image at all */
2203
  if (dataLength == 0 && (currentFeed.feed_row.conditional_filters.length == 0 || currentFeed.feed_row.conditional_filter_enable == 0)) {
2204
- jQuery('#wdi_feed_' + currentFeed.feed_row.wdi_feed_counter + " .wdi_feed_wrapper").append("<p>There is no media in this feed</p>");
2205
  }
2206
 
2207
  //if all images loaded then enable load more button and hide spinner
@@ -2455,7 +2452,7 @@ wdi_front.getUserTemplate = function (currentFeed, username)
2455
  if (username[0] !== '#') {
2456
  if (currentFeed.feed_row.follow_on_instagram_btn == '1') {
2457
  source += '<div class="wdi_user_controls">' +
2458
- '<div class="wdi_follow_btn" onclick="window.open(\'//instagram.com/<%= user_name%>\',\'_blank\')"><span> Follow</span></div>' +
2459
  '</div>';
2460
  }
2461
  source += '<div class="wdi_media_info">' +
@@ -2911,10 +2908,24 @@ wdi_front.isEmptyObject = function (obj)
2911
 
2912
  var WDIFeed = function (obj)
2913
  {
2914
- this['data'] = obj['data']
2915
- this['dataCount'] = obj['dataCount']
2916
- this['feed_row'] = obj['feed_row']
2917
- this['usersData'] = obj['usersData']
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2918
  };
2919
 
2920
  /**
@@ -3518,11 +3529,9 @@ wdi_front.updateUsersIfNecessary = function (currentFeed)
3518
  return ifUpdateNecessary;
3519
  }
3520
 
3521
-
3522
  if (typeof wdi_ajax.ajax_response != "undefined") {
3523
  jQuery(document).one('ajaxStop', function ()
3524
  {
3525
-
3526
  if (wdi_front['type'] != 'not_declared') {
3527
 
3528
  wdi_front.clickOrTouch = wdi_front.detectEvent();
@@ -3539,7 +3548,6 @@ else {
3539
  jQuery(document).ready(function ()
3540
  {
3541
 
3542
-
3543
  if (wdi_front['type'] != 'not_declared') {
3544
  wdi_front.clickOrTouch = wdi_front.detectEvent();
3545
  //initializing all feeds in the page
4
  };
5
  }
6
 
7
+
8
  wdi_front.detectEvent = function ()
9
  {
10
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
28
 
29
  wdi_front.globalInit = function ()
30
  {
31
+
32
  var num = wdi_front['feed_counter'];
33
 
34
  if (typeof wdi_ajax.ajax_response != "undefined") {
101
  currentFeed.temproraryUsersData = [];
102
 
103
  currentFeed.removedUsers = 0;
104
+ /*flag for indicating that not all images are loaded yet*/
105
  currentFeed.nowLoadingImages = true;
106
  currentFeed.imageIndex = 0; //index for image indexes
107
  currentFeed.resIndex = 0; //responsive indexes used for pagination
141
 
142
  currentFeed.stopInfiniteScrollFlag = false;
143
 
 
 
 
 
 
 
 
144
  if (currentFeed.feed_row.feed_type == 'masonry') {
145
  currentFeed.displayedData = [];
146
  }
186
  wdi_front.init(currentFeed);
187
  } //endfor
188
 
189
+
190
+
191
  }
192
 
193
  wdi_front.init = function (currentFeed)
221
 
222
 
223
  } else {
224
+ wdi_front.show_alert(wdi_front_messages.invalid_users_format);
225
  return;
226
  }
227
 
359
  //if getted objects is not enough then recuest new ones
360
  if (currentFeed.currentResponseLength < currentFeed.feed_row.number_of_photos && !wdi_front.userHasNoPhoto(currentFeed)) {
361
  //console.log('initial recursion');
362
+ /*here we are calling loadMore function out of recursion cycle, after this initial-keep call
363
+ loadMore will be called with 'initial' recursively until the desired number of photos is reached
364
  if possible*/
365
 
366
  wdi_front.loadMore('initial-keep', currentFeed);
2198
  var dataLength = wdi_front.getDataLength(currentFeed);
2199
  /* display message if feed contains no image at all */
2200
  if (dataLength == 0 && (currentFeed.feed_row.conditional_filters.length == 0 || currentFeed.feed_row.conditional_filter_enable == 0)) {
2201
+ jQuery('#wdi_feed_' + currentFeed.feed_row.wdi_feed_counter + " .wdi_feed_wrapper").append("<p>" + wdi_front_messages.feed_nomedia + "</p>");
2202
  }
2203
 
2204
  //if all images loaded then enable load more button and hide spinner
2452
  if (username[0] !== '#') {
2453
  if (currentFeed.feed_row.follow_on_instagram_btn == '1') {
2454
  source += '<div class="wdi_user_controls">' +
2455
+ '<div class="wdi_follow_btn" onclick="window.open(\'//instagram.com/<%= user_name%>\',\'_blank\')"><span> '+ wdi_front_messages.follow + '</span></div>' +
2456
  '</div>';
2457
  }
2458
  source += '<div class="wdi_media_info">' +
2908
 
2909
  var WDIFeed = function (obj)
2910
  {
2911
+ this['data'] = obj['data'];
2912
+ this['dataCount'] = obj['dataCount'];
2913
+ this['feed_row'] = obj['feed_row'];
2914
+ this['usersData'] = obj['usersData'];
2915
+ _this = this;
2916
+
2917
+ this.set_images_loading_flag = function (_this)
2918
+ {
2919
+ window.addEventListener('load', function ()
2920
+ {
2921
+ //debugger;
2922
+ _this.nowLoadingImages = false;
2923
+ });
2924
+ }
2925
+
2926
+ this.set_images_loading_flag(_this);
2927
+
2928
+
2929
  };
2930
 
2931
  /**
3529
  return ifUpdateNecessary;
3530
  }
3531
 
 
3532
  if (typeof wdi_ajax.ajax_response != "undefined") {
3533
  jQuery(document).one('ajaxStop', function ()
3534
  {
 
3535
  if (wdi_front['type'] != 'not_declared') {
3536
 
3537
  wdi_front.clickOrTouch = wdi_front.detectEvent();
3548
  jQuery(document).ready(function ()
3549
  {
3550
 
 
3551
  if (wdi_front['type'] != 'not_declared') {
3552
  wdi_front.clickOrTouch = wdi_front.detectEvent();
3553
  //initializing all feeds in the page
languages/wd-instagram-feed-en_GB.mo CHANGED
Binary file
languages/wd-instagram-feed-en_GB.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
- "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_GB\n"
@@ -1003,46 +1003,58 @@ msgstr ""
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
- #: frontend/shortcode.php:155 frontend/shortcode.php:230
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
- #: frontend/shortcode.php:156 frontend/shortcode.php:231
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
- #: frontend/shortcode.php:157 frontend/shortcode.php:232
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
- #: frontend/shortcode.php:158 frontend/shortcode.php:233
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
- #: frontend/shortcode.php:159 frontend/shortcode.php:234
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
- #: frontend/shortcode.php:198 frontend/shortcode.php:246
 
 
 
 
 
 
 
 
 
 
 
 
1027
  msgid "Field is required."
1028
  msgstr ""
1029
 
1030
- #: frontend/shortcode.php:199 frontend/shortcode.php:247
1031
  #: frontend/views/WDIViewGalleryBox.php:1342
1032
  msgid "This is not a valid email address."
1033
  msgstr ""
1034
 
1035
- #: frontend/shortcode.php:200 frontend/shortcode.php:248
1036
  msgid "There are no images matching your search."
1037
  msgstr ""
1038
 
1039
- #: frontend/shortcode.php:260
1040
  msgid ""
1041
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1042
  "+Shift+J or Cmd+Shift+J on a Mac."
1043
  msgstr ""
1044
 
1045
- #: frontend/shortcode.php:261
1046
  msgid ""
1047
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1048
  "properly."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-15 16:16+0400\n"
5
+ "PO-Revision-Date: 2017-04-15 16:16+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_GB\n"
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
+ #: frontend/shortcode.php:155 frontend/shortcode.php:233
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
+ #: frontend/shortcode.php:156 frontend/shortcode.php:234
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
+ #: frontend/shortcode.php:157 frontend/shortcode.php:235
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
+ #: frontend/shortcode.php:158 frontend/shortcode.php:236
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
+ #: frontend/shortcode.php:159 frontend/shortcode.php:237
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
+ #: frontend/shortcode.php:160 frontend/shortcode.php:238
1027
+ msgid "Provided feed users are invalid or obsolete for this version of plugin"
1028
+ msgstr ""
1029
+
1030
+ #: frontend/shortcode.php:161 frontend/shortcode.php:239
1031
+ msgid "There is no media in this feed"
1032
+ msgstr ""
1033
+
1034
+ #: frontend/shortcode.php:162 frontend/shortcode.php:240
1035
+ msgid "Follow"
1036
+ msgstr ""
1037
+
1038
+ #: frontend/shortcode.php:201 frontend/shortcode.php:252
1039
  msgid "Field is required."
1040
  msgstr ""
1041
 
1042
+ #: frontend/shortcode.php:202 frontend/shortcode.php:253
1043
  #: frontend/views/WDIViewGalleryBox.php:1342
1044
  msgid "This is not a valid email address."
1045
  msgstr ""
1046
 
1047
+ #: frontend/shortcode.php:203 frontend/shortcode.php:254
1048
  msgid "There are no images matching your search."
1049
  msgstr ""
1050
 
1051
+ #: frontend/shortcode.php:266
1052
  msgid ""
1053
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1054
  "+Shift+J or Cmd+Shift+J on a Mac."
1055
  msgstr ""
1056
 
1057
+ #: frontend/shortcode.php:267
1058
  msgid ""
1059
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1060
  "properly."
languages/wd-instagram-feed-en_US.mo CHANGED
Binary file
languages/wd-instagram-feed-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
- "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
@@ -1003,46 +1003,58 @@ msgstr ""
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
- #: frontend/shortcode.php:155 frontend/shortcode.php:230
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
- #: frontend/shortcode.php:156 frontend/shortcode.php:231
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
- #: frontend/shortcode.php:157 frontend/shortcode.php:232
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
- #: frontend/shortcode.php:158 frontend/shortcode.php:233
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
- #: frontend/shortcode.php:159 frontend/shortcode.php:234
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
- #: frontend/shortcode.php:198 frontend/shortcode.php:246
 
 
 
 
 
 
 
 
 
 
 
 
1027
  msgid "Field is required."
1028
  msgstr ""
1029
 
1030
- #: frontend/shortcode.php:199 frontend/shortcode.php:247
1031
  #: frontend/views/WDIViewGalleryBox.php:1342
1032
  msgid "This is not a valid email address."
1033
  msgstr ""
1034
 
1035
- #: frontend/shortcode.php:200 frontend/shortcode.php:248
1036
  msgid "There are no images matching your search."
1037
  msgstr ""
1038
 
1039
- #: frontend/shortcode.php:260
1040
  msgid ""
1041
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1042
  "+Shift+J or Cmd+Shift+J on a Mac."
1043
  msgstr ""
1044
 
1045
- #: frontend/shortcode.php:261
1046
  msgid ""
1047
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1048
  "properly."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-15 16:16+0400\n"
5
+ "PO-Revision-Date: 2017-04-15 16:16+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
+ #: frontend/shortcode.php:155 frontend/shortcode.php:233
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
+ #: frontend/shortcode.php:156 frontend/shortcode.php:234
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
+ #: frontend/shortcode.php:157 frontend/shortcode.php:235
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
+ #: frontend/shortcode.php:158 frontend/shortcode.php:236
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
+ #: frontend/shortcode.php:159 frontend/shortcode.php:237
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
+ #: frontend/shortcode.php:160 frontend/shortcode.php:238
1027
+ msgid "Provided feed users are invalid or obsolete for this version of plugin"
1028
+ msgstr ""
1029
+
1030
+ #: frontend/shortcode.php:161 frontend/shortcode.php:239
1031
+ msgid "There is no media in this feed"
1032
+ msgstr ""
1033
+
1034
+ #: frontend/shortcode.php:162 frontend/shortcode.php:240
1035
+ msgid "Follow"
1036
+ msgstr ""
1037
+
1038
+ #: frontend/shortcode.php:201 frontend/shortcode.php:252
1039
  msgid "Field is required."
1040
  msgstr ""
1041
 
1042
+ #: frontend/shortcode.php:202 frontend/shortcode.php:253
1043
  #: frontend/views/WDIViewGalleryBox.php:1342
1044
  msgid "This is not a valid email address."
1045
  msgstr ""
1046
 
1047
+ #: frontend/shortcode.php:203 frontend/shortcode.php:254
1048
  msgid "There are no images matching your search."
1049
  msgstr ""
1050
 
1051
+ #: frontend/shortcode.php:266
1052
  msgid ""
1053
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1054
  "+Shift+J or Cmd+Shift+J on a Mac."
1055
  msgstr ""
1056
 
1057
+ #: frontend/shortcode.php:267
1058
  msgid ""
1059
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1060
  "properly."
languages/wd-instagram-feed-es_ES.mo CHANGED
Binary file
languages/wd-instagram-feed-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
- "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es_ES\n"
@@ -1024,46 +1024,58 @@ msgstr "Imposible mostrar un feed no publicado."
1024
  msgid "Invalid feed type"
1025
  msgstr "Tipo de feed inválido"
1026
 
1027
- #: frontend/shortcode.php:155 frontend/shortcode.php:230
1028
  msgid "Connection Error, try again later :("
1029
  msgstr "Error de conexión, inténtalo de nuevo más adelante :("
1030
 
1031
- #: frontend/shortcode.php:156 frontend/shortcode.php:231
1032
  msgid "Username not found"
1033
  msgstr "Nombre de usuario no encontrado"
1034
 
1035
- #: frontend/shortcode.php:157 frontend/shortcode.php:232
1036
  msgid "Network error, please try again later :("
1037
  msgstr "Error de red, por favor inténtalo de nuevo después :("
1038
 
1039
- #: frontend/shortcode.php:158 frontend/shortcode.php:233
1040
  msgid "There is no data for that hashtag"
1041
  msgstr "No hay datos para ese hashtag"
1042
 
1043
- #: frontend/shortcode.php:159 frontend/shortcode.php:234
1044
  msgid "Click to filter images by this user"
1045
  msgstr "Haz clic para filtrar las imágenes de este usuario"
1046
 
1047
- #: frontend/shortcode.php:198 frontend/shortcode.php:246
 
 
 
 
 
 
 
 
 
 
 
 
1048
  msgid "Field is required."
1049
  msgstr "El campo es obligatorio."
1050
 
1051
- #: frontend/shortcode.php:199 frontend/shortcode.php:247
1052
  #: frontend/views/WDIViewGalleryBox.php:1342
1053
  msgid "This is not a valid email address."
1054
  msgstr "No es una dirección de correo electrónico correcta."
1055
 
1056
- #: frontend/shortcode.php:200 frontend/shortcode.php:248
1057
  msgid "There are no images matching your search."
1058
  msgstr "No hay ninguna imagen que coincida con tu búsqueda."
1059
 
1060
- #: frontend/shortcode.php:260
1061
  msgid ""
1062
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1063
  "+Shift+J or Cmd+Shift+J on a Mac."
1064
  msgstr ""
1065
 
1066
- #: frontend/shortcode.php:261
1067
  msgid ""
1068
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1069
  "properly."
@@ -1829,6 +1841,3 @@ msgstr ""
1829
  #: wd/wd.php:74
1830
  msgid "Overview"
1831
  msgstr ""
1832
-
1833
- #~ msgid "Feed Doesn't exists "
1834
- #~ msgstr "No existe el feed"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-15 16:16+0400\n"
5
+ "PO-Revision-Date: 2017-04-15 16:17+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es_ES\n"
1024
  msgid "Invalid feed type"
1025
  msgstr "Tipo de feed inválido"
1026
 
1027
+ #: frontend/shortcode.php:155 frontend/shortcode.php:233
1028
  msgid "Connection Error, try again later :("
1029
  msgstr "Error de conexión, inténtalo de nuevo más adelante :("
1030
 
1031
+ #: frontend/shortcode.php:156 frontend/shortcode.php:234
1032
  msgid "Username not found"
1033
  msgstr "Nombre de usuario no encontrado"
1034
 
1035
+ #: frontend/shortcode.php:157 frontend/shortcode.php:235
1036
  msgid "Network error, please try again later :("
1037
  msgstr "Error de red, por favor inténtalo de nuevo después :("
1038
 
1039
+ #: frontend/shortcode.php:158 frontend/shortcode.php:236
1040
  msgid "There is no data for that hashtag"
1041
  msgstr "No hay datos para ese hashtag"
1042
 
1043
+ #: frontend/shortcode.php:159 frontend/shortcode.php:237
1044
  msgid "Click to filter images by this user"
1045
  msgstr "Haz clic para filtrar las imágenes de este usuario"
1046
 
1047
+ #: frontend/shortcode.php:160 frontend/shortcode.php:238
1048
+ msgid "Provided feed users are invalid or obsolete for this version of plugin"
1049
+ msgstr ""
1050
+
1051
+ #: frontend/shortcode.php:161 frontend/shortcode.php:239
1052
+ msgid "There is no media in this feed"
1053
+ msgstr ""
1054
+
1055
+ #: frontend/shortcode.php:162 frontend/shortcode.php:240
1056
+ msgid "Follow"
1057
+ msgstr ""
1058
+
1059
+ #: frontend/shortcode.php:201 frontend/shortcode.php:252
1060
  msgid "Field is required."
1061
  msgstr "El campo es obligatorio."
1062
 
1063
+ #: frontend/shortcode.php:202 frontend/shortcode.php:253
1064
  #: frontend/views/WDIViewGalleryBox.php:1342
1065
  msgid "This is not a valid email address."
1066
  msgstr "No es una dirección de correo electrónico correcta."
1067
 
1068
+ #: frontend/shortcode.php:203 frontend/shortcode.php:254
1069
  msgid "There are no images matching your search."
1070
  msgstr "No hay ninguna imagen que coincida con tu búsqueda."
1071
 
1072
+ #: frontend/shortcode.php:266
1073
  msgid ""
1074
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1075
  "+Shift+J or Cmd+Shift+J on a Mac."
1076
  msgstr ""
1077
 
1078
+ #: frontend/shortcode.php:267
1079
  msgid ""
1080
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1081
  "properly."
1841
  #: wd/wd.php:74
1842
  msgid "Overview"
1843
  msgstr ""
 
 
 
languages/wd-instagram-feed-fr_FR.mo CHANGED
Binary file
languages/wd-instagram-feed-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
- "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
@@ -1022,46 +1022,58 @@ msgstr "Impossible d'afficher un flux non publié"
1022
  msgid "Invalid feed type"
1023
  msgstr "Type de flux invalide"
1024
 
1025
- #: frontend/shortcode.php:155 frontend/shortcode.php:230
1026
  msgid "Connection Error, try again later :("
1027
  msgstr "Erreur de connexion, ré-essayez plus tard :("
1028
 
1029
- #: frontend/shortcode.php:156 frontend/shortcode.php:231
1030
  msgid "Username not found"
1031
  msgstr "Nom d'utilisateur non trouvé"
1032
 
1033
- #: frontend/shortcode.php:157 frontend/shortcode.php:232
1034
  msgid "Network error, please try again later :("
1035
  msgstr "Erreur réseau, ré-essayez plus tard :("
1036
 
1037
- #: frontend/shortcode.php:158 frontend/shortcode.php:233
1038
  msgid "There is no data for that hashtag"
1039
  msgstr "Pas de données pour ce hashtag"
1040
 
1041
- #: frontend/shortcode.php:159 frontend/shortcode.php:234
1042
  msgid "Click to filter images by this user"
1043
  msgstr "Cliquer pour filtrer les images de cet utilisateur"
1044
 
1045
- #: frontend/shortcode.php:198 frontend/shortcode.php:246
 
 
 
 
 
 
 
 
 
 
 
 
1046
  msgid "Field is required."
1047
  msgstr "Champ requis."
1048
 
1049
- #: frontend/shortcode.php:199 frontend/shortcode.php:247
1050
  #: frontend/views/WDIViewGalleryBox.php:1342
1051
  msgid "This is not a valid email address."
1052
  msgstr "Adresse email invalide."
1053
 
1054
- #: frontend/shortcode.php:200 frontend/shortcode.php:248
1055
  msgid "There are no images matching your search."
1056
  msgstr "Aucune image correspondant à votre recherche."
1057
 
1058
- #: frontend/shortcode.php:260
1059
  msgid ""
1060
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1061
  "+Shift+J or Cmd+Shift+J on a Mac."
1062
  msgstr ""
1063
 
1064
- #: frontend/shortcode.php:261
1065
  msgid ""
1066
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1067
  "properly."
@@ -1827,6 +1839,3 @@ msgstr ""
1827
  #: wd/wd.php:74
1828
  msgid "Overview"
1829
  msgstr ""
1830
-
1831
- #~ msgid "Feed Doesn't exists "
1832
- #~ msgstr "Flux non existant"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-15 16:17+0400\n"
5
+ "PO-Revision-Date: 2017-04-15 16:17+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
1022
  msgid "Invalid feed type"
1023
  msgstr "Type de flux invalide"
1024
 
1025
+ #: frontend/shortcode.php:155 frontend/shortcode.php:233
1026
  msgid "Connection Error, try again later :("
1027
  msgstr "Erreur de connexion, ré-essayez plus tard :("
1028
 
1029
+ #: frontend/shortcode.php:156 frontend/shortcode.php:234
1030
  msgid "Username not found"
1031
  msgstr "Nom d'utilisateur non trouvé"
1032
 
1033
+ #: frontend/shortcode.php:157 frontend/shortcode.php:235
1034
  msgid "Network error, please try again later :("
1035
  msgstr "Erreur réseau, ré-essayez plus tard :("
1036
 
1037
+ #: frontend/shortcode.php:158 frontend/shortcode.php:236
1038
  msgid "There is no data for that hashtag"
1039
  msgstr "Pas de données pour ce hashtag"
1040
 
1041
+ #: frontend/shortcode.php:159 frontend/shortcode.php:237
1042
  msgid "Click to filter images by this user"
1043
  msgstr "Cliquer pour filtrer les images de cet utilisateur"
1044
 
1045
+ #: frontend/shortcode.php:160 frontend/shortcode.php:238
1046
+ msgid "Provided feed users are invalid or obsolete for this version of plugin"
1047
+ msgstr ""
1048
+
1049
+ #: frontend/shortcode.php:161 frontend/shortcode.php:239
1050
+ msgid "There is no media in this feed"
1051
+ msgstr ""
1052
+
1053
+ #: frontend/shortcode.php:162 frontend/shortcode.php:240
1054
+ msgid "Follow"
1055
+ msgstr ""
1056
+
1057
+ #: frontend/shortcode.php:201 frontend/shortcode.php:252
1058
  msgid "Field is required."
1059
  msgstr "Champ requis."
1060
 
1061
+ #: frontend/shortcode.php:202 frontend/shortcode.php:253
1062
  #: frontend/views/WDIViewGalleryBox.php:1342
1063
  msgid "This is not a valid email address."
1064
  msgstr "Adresse email invalide."
1065
 
1066
+ #: frontend/shortcode.php:203 frontend/shortcode.php:254
1067
  msgid "There are no images matching your search."
1068
  msgstr "Aucune image correspondant à votre recherche."
1069
 
1070
+ #: frontend/shortcode.php:266
1071
  msgid ""
1072
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1073
  "+Shift+J or Cmd+Shift+J on a Mac."
1074
  msgstr ""
1075
 
1076
+ #: frontend/shortcode.php:267
1077
  msgid ""
1078
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1079
  "properly."
1839
  #: wd/wd.php:74
1840
  msgid "Overview"
1841
  msgstr ""
 
 
 
languages/wd-instagram-feed-ru_RU.mo CHANGED
Binary file
languages/wd-instagram-feed-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
- "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: Alex Petrin <shoroop.spb@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
@@ -1023,46 +1023,58 @@ msgstr "Отображение неопубликованного фида не
1023
  msgid "Invalid feed type"
1024
  msgstr "Неверный тип фида"
1025
 
1026
- #: frontend/shortcode.php:155 frontend/shortcode.php:230
1027
  msgid "Connection Error, try again later :("
1028
  msgstr "Ошибка соединения. Пожалуйста, попробуйте позднее :С"
1029
 
1030
- #: frontend/shortcode.php:156 frontend/shortcode.php:231
1031
  msgid "Username not found"
1032
  msgstr "Пользователь не найден"
1033
 
1034
- #: frontend/shortcode.php:157 frontend/shortcode.php:232
1035
  msgid "Network error, please try again later :("
1036
  msgstr "Ошибка соединения с Сетью. Пожалуйста, попробуйте позднее :С"
1037
 
1038
- #: frontend/shortcode.php:158 frontend/shortcode.php:233
1039
  msgid "There is no data for that hashtag"
1040
  msgstr "По этому хэштегу нет данных"
1041
 
1042
- #: frontend/shortcode.php:159 frontend/shortcode.php:234
1043
  msgid "Click to filter images by this user"
1044
  msgstr "Кликните для фильтрации изображений по этому имени пользователя"
1045
 
1046
- #: frontend/shortcode.php:198 frontend/shortcode.php:246
 
 
 
 
 
 
 
 
 
 
 
 
1047
  msgid "Field is required."
1048
  msgstr "Поле обязательно для заполнения."
1049
 
1050
- #: frontend/shortcode.php:199 frontend/shortcode.php:247
1051
  #: frontend/views/WDIViewGalleryBox.php:1342
1052
  msgid "This is not a valid email address."
1053
  msgstr "Это неправильный адрес электронной почты."
1054
 
1055
- #: frontend/shortcode.php:200 frontend/shortcode.php:248
1056
  msgid "There are no images matching your search."
1057
  msgstr "По вашему поиску изображений не найдено"
1058
 
1059
- #: frontend/shortcode.php:260
1060
  msgid ""
1061
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1062
  "+Shift+J or Cmd+Shift+J on a Mac."
1063
  msgstr ""
1064
 
1065
- #: frontend/shortcode.php:261
1066
  msgid ""
1067
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1068
  "properly."
@@ -1828,6 +1840,3 @@ msgstr ""
1828
  #: wd/wd.php:74
1829
  msgid "Overview"
1830
  msgstr ""
1831
-
1832
- #~ msgid "Feed Doesn't exists "
1833
- #~ msgstr "Фид не существует"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-15 16:17+0400\n"
5
+ "PO-Revision-Date: 2017-04-15 16:17+0400\n"
6
  "Last-Translator: Alex Petrin <shoroop.spb@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
1023
  msgid "Invalid feed type"
1024
  msgstr "Неверный тип фида"
1025
 
1026
+ #: frontend/shortcode.php:155 frontend/shortcode.php:233
1027
  msgid "Connection Error, try again later :("
1028
  msgstr "Ошибка соединения. Пожалуйста, попробуйте позднее :С"
1029
 
1030
+ #: frontend/shortcode.php:156 frontend/shortcode.php:234
1031
  msgid "Username not found"
1032
  msgstr "Пользователь не найден"
1033
 
1034
+ #: frontend/shortcode.php:157 frontend/shortcode.php:235
1035
  msgid "Network error, please try again later :("
1036
  msgstr "Ошибка соединения с Сетью. Пожалуйста, попробуйте позднее :С"
1037
 
1038
+ #: frontend/shortcode.php:158 frontend/shortcode.php:236
1039
  msgid "There is no data for that hashtag"
1040
  msgstr "По этому хэштегу нет данных"
1041
 
1042
+ #: frontend/shortcode.php:159 frontend/shortcode.php:237
1043
  msgid "Click to filter images by this user"
1044
  msgstr "Кликните для фильтрации изображений по этому имени пользователя"
1045
 
1046
+ #: frontend/shortcode.php:160 frontend/shortcode.php:238
1047
+ msgid "Provided feed users are invalid or obsolete for this version of plugin"
1048
+ msgstr ""
1049
+
1050
+ #: frontend/shortcode.php:161 frontend/shortcode.php:239
1051
+ msgid "There is no media in this feed"
1052
+ msgstr ""
1053
+
1054
+ #: frontend/shortcode.php:162 frontend/shortcode.php:240
1055
+ msgid "Follow"
1056
+ msgstr "Подписаться"
1057
+
1058
+ #: frontend/shortcode.php:201 frontend/shortcode.php:252
1059
  msgid "Field is required."
1060
  msgstr "Поле обязательно для заполнения."
1061
 
1062
+ #: frontend/shortcode.php:202 frontend/shortcode.php:253
1063
  #: frontend/views/WDIViewGalleryBox.php:1342
1064
  msgid "This is not a valid email address."
1065
  msgstr "Это неправильный адрес электронной почты."
1066
 
1067
+ #: frontend/shortcode.php:203 frontend/shortcode.php:254
1068
  msgid "There are no images matching your search."
1069
  msgstr "По вашему поиску изображений не найдено"
1070
 
1071
+ #: frontend/shortcode.php:266
1072
  msgid ""
1073
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1074
  "+Shift+J or Cmd+Shift+J on a Mac."
1075
  msgstr ""
1076
 
1077
+ #: frontend/shortcode.php:267
1078
  msgid ""
1079
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1080
  "properly."
1840
  #: wd/wd.php:74
1841
  msgid "Overview"
1842
  msgstr ""
 
 
 
languages/wd-instagram-feed-sv_SE.mo CHANGED
Binary file
languages/wd-instagram-feed-sv_SE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
- "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: sv_SE\n"
@@ -1018,46 +1018,58 @@ msgstr "Kan ej visa opublicerad feed"
1018
  msgid "Invalid feed type"
1019
  msgstr "Ogiltig feed-typ"
1020
 
1021
- #: frontend/shortcode.php:155 frontend/shortcode.php:230
1022
  msgid "Connection Error, try again later :("
1023
  msgstr "Anslutningsfel. Vänligen försök senare :("
1024
 
1025
- #: frontend/shortcode.php:156 frontend/shortcode.php:231
1026
  msgid "Username not found"
1027
  msgstr "Användarnamn hittas inte"
1028
 
1029
- #: frontend/shortcode.php:157 frontend/shortcode.php:232
1030
  msgid "Network error, please try again later :("
1031
  msgstr "Anslutningsfel. Vänligen försök senare :("
1032
 
1033
- #: frontend/shortcode.php:158 frontend/shortcode.php:233
1034
  msgid "There is no data for that hashtag"
1035
  msgstr "Data saknas för den hashtagen"
1036
 
1037
- #: frontend/shortcode.php:159 frontend/shortcode.php:234
1038
  msgid "Click to filter images by this user"
1039
  msgstr "Klicka för att filtrera bilder från denna användare"
1040
 
1041
- #: frontend/shortcode.php:198 frontend/shortcode.php:246
 
 
 
 
 
 
 
 
 
 
 
 
1042
  msgid "Field is required."
1043
  msgstr "Fält obligatoriskt"
1044
 
1045
- #: frontend/shortcode.php:199 frontend/shortcode.php:247
1046
  #: frontend/views/WDIViewGalleryBox.php:1342
1047
  msgid "This is not a valid email address."
1048
  msgstr "Ogiltig emailadress."
1049
 
1050
- #: frontend/shortcode.php:200 frontend/shortcode.php:248
1051
  msgid "There are no images matching your search."
1052
  msgstr "Det finns inga matchande bilder"
1053
 
1054
- #: frontend/shortcode.php:260
1055
  msgid ""
1056
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1057
  "+Shift+J or Cmd+Shift+J on a Mac."
1058
  msgstr ""
1059
 
1060
- #: frontend/shortcode.php:261
1061
  msgid ""
1062
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1063
  "properly."
@@ -1819,6 +1831,3 @@ msgstr ""
1819
  #: wd/wd.php:74
1820
  msgid "Overview"
1821
  msgstr ""
1822
-
1823
- #~ msgid "Feed Doesn't exists "
1824
- #~ msgstr "Feed existerar inte"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-15 16:18+0400\n"
5
+ "PO-Revision-Date: 2017-04-15 16:18+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: sv_SE\n"
1018
  msgid "Invalid feed type"
1019
  msgstr "Ogiltig feed-typ"
1020
 
1021
+ #: frontend/shortcode.php:155 frontend/shortcode.php:233
1022
  msgid "Connection Error, try again later :("
1023
  msgstr "Anslutningsfel. Vänligen försök senare :("
1024
 
1025
+ #: frontend/shortcode.php:156 frontend/shortcode.php:234
1026
  msgid "Username not found"
1027
  msgstr "Användarnamn hittas inte"
1028
 
1029
+ #: frontend/shortcode.php:157 frontend/shortcode.php:235
1030
  msgid "Network error, please try again later :("
1031
  msgstr "Anslutningsfel. Vänligen försök senare :("
1032
 
1033
+ #: frontend/shortcode.php:158 frontend/shortcode.php:236
1034
  msgid "There is no data for that hashtag"
1035
  msgstr "Data saknas för den hashtagen"
1036
 
1037
+ #: frontend/shortcode.php:159 frontend/shortcode.php:237
1038
  msgid "Click to filter images by this user"
1039
  msgstr "Klicka för att filtrera bilder från denna användare"
1040
 
1041
+ #: frontend/shortcode.php:160 frontend/shortcode.php:238
1042
+ msgid "Provided feed users are invalid or obsolete for this version of plugin"
1043
+ msgstr ""
1044
+
1045
+ #: frontend/shortcode.php:161 frontend/shortcode.php:239
1046
+ msgid "There is no media in this feed"
1047
+ msgstr ""
1048
+
1049
+ #: frontend/shortcode.php:162 frontend/shortcode.php:240
1050
+ msgid "Follow"
1051
+ msgstr ""
1052
+
1053
+ #: frontend/shortcode.php:201 frontend/shortcode.php:252
1054
  msgid "Field is required."
1055
  msgstr "Fält obligatoriskt"
1056
 
1057
+ #: frontend/shortcode.php:202 frontend/shortcode.php:253
1058
  #: frontend/views/WDIViewGalleryBox.php:1342
1059
  msgid "This is not a valid email address."
1060
  msgstr "Ogiltig emailadress."
1061
 
1062
+ #: frontend/shortcode.php:203 frontend/shortcode.php:254
1063
  msgid "There are no images matching your search."
1064
  msgstr "Det finns inga matchande bilder"
1065
 
1066
+ #: frontend/shortcode.php:266
1067
  msgid ""
1068
  "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1069
  "+Shift+J or Cmd+Shift+J on a Mac."
1070
  msgstr ""
1071
 
1072
+ #: frontend/shortcode.php:267
1073
  msgid ""
1074
  "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1075
  "properly."
1831
  #: wd/wd.php:74
1832
  msgid "Overview"
1833
  msgstr ""
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado, progmastery
3
  Donate link: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
4
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
5
  Requires at least: 3.9
6
- Tested up to: 4.7
7
- Stable tag: 1.1.26
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -109,6 +109,11 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
109
  5. WordPress Instagram Feed WD - Theme Settings
110
 
111
  == Changelog ==
 
 
 
 
 
112
  = 1.1.26 =
113
  Fixed: Conflict with Beaver Builder
114
  Fixed: Frontend error messages in old Chrome and Safari browsers
3
  Donate link: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
4
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
5
  Requires at least: 3.9
6
+ Tested up to: 4.7.4
7
+ Stable tag: 1.1.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
109
  5. WordPress Instagram Feed WD - Theme Settings
110
 
111
  == Changelog ==
112
+
113
+ = 1.1.27 =
114
+ Fixed: Overriding window.onload function
115
+ Changed: Some strings on frontend are translatable now
116
+
117
  = 1.1.26 =
118
  Fixed: Conflict with Beaver Builder
119
  Fixed: Frontend error messages in old Chrome and Safari browsers
wd-instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Instagram Feed WD
4
  Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
5
  Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
- Version: 1.1.26
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
@@ -21,7 +21,7 @@ define("WDI_META", "_".WDI_VAR."_meta");
21
  //define("wdi",'wdi');
22
  define('WDI_FEED_TABLE','wdi_feeds');
23
  define('WDI_THEME_TABLE','wdi_themes');
24
- define('WDI_VERSION','1.1.26');
25
  define('WDI_IS_PRO','false');
26
 
27
 
3
  Plugin Name: Instagram Feed WD
4
  Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
5
  Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
+ Version: 1.1.27
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
21
  //define("wdi",'wdi');
22
  define('WDI_FEED_TABLE','wdi_feeds');
23
  define('WDI_THEME_TABLE','wdi_themes');
24
+ define('WDI_VERSION','1.1.27');
25
  define('WDI_IS_PRO','false');
26
 
27