WD Facebook Feed – Custom Facebook Feed Plugin - Version 1.0.4

Version Description

  • Fixed: Bug in Autoupdate
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Facebook Feed – Custom Facebook Feed Plugin
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

admin/views/FFWDViewInfo_ffwd.php CHANGED
@@ -755,7 +755,7 @@ class FFWDViewInfo_ffwd
755
  version</label>
756
  </td>
757
  </tr>
758
- <tr id="<?php echo WD_FB_PREFIX; ?>_content_type_timeline_type"
759
  style="display:<?php echo($row->content_type == 'timeline' ? 'table-row' : 'none'); ?>;">
760
  <td class="ffwd_set_l"><label>Show posts by: </label></td>
761
  <td style="margin-bottom:15px">
755
  version</label>
756
  </td>
757
  </tr>
758
+ <tr <?php if($row->type=='group') echo 'style="display:none;"' ?> id="<?php echo WD_FB_PREFIX; ?>_content_type_timeline_type"
759
  style="display:<?php echo($row->content_type == 'timeline' ? 'table-row' : 'none'); ?>;">
760
  <td class="ffwd_set_l"><label>Show posts by: </label></td>
761
  <td style="margin-bottom:15px">
facebook-feed-wd.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Facebook Feed WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
6
  * Description:Facebook Feed WD is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
- * Version: 1.0.3
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -631,7 +631,7 @@ function wd_fb_update()
631
  $rows = $wpdb->get_results($query);
632
  require_once(WD_FFWD_DIR . '/framework/WDFacebookFeed.php');
633
  WDFacebookFeed::update_from_shedule($rows);
634
- return;
635
  }
636
 
637
  // Facebook feed wd Widget.
@@ -651,7 +651,7 @@ add_action('init', 'ffwd_language_load');
651
  function ffwd_version()
652
  {
653
 
654
- $version = '1.0.3';
655
 
656
  if (get_option('ffwd_version') === false) {
657
  add_option('ffwd_version', $version);
4
  * Plugin Name: Facebook Feed WD
5
  * Plugin URI: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
6
  * Description:Facebook Feed WD is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
7
+ * Version: 1.0.4
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
631
  $rows = $wpdb->get_results($query);
632
  require_once(WD_FFWD_DIR . '/framework/WDFacebookFeed.php');
633
  WDFacebookFeed::update_from_shedule($rows);
634
+ die;
635
  }
636
 
637
  // Facebook feed wd Widget.
651
  function ffwd_version()
652
  {
653
 
654
+ $version = '1.0.4';
655
 
656
  if (get_option('ffwd_version') === false) {
657
  add_option('ffwd_version', $version);
featured/featured.php CHANGED
@@ -1,6 +1,12 @@
1
  <?php
2
  function spider_featured($current_plugin = '') {
3
  $plugins = array(
 
 
 
 
 
 
4
  "form-maker" => array(
5
  'title' => 'Form Maker',
6
  'text' => 'Wordpress form builder plugin',
1
  <?php
2
  function spider_featured($current_plugin = '') {
3
  $plugins = array(
4
+ "ecommerce-wd" => array(
5
+ 'title' => 'Ecommerce',
6
+ 'text' => 'Wordpress ecommerce plugin',
7
+ 'content' => 'Ecommerce WD is a highly-functional, user friendly WordPress Ecommerce plugin, which is perfect for developing online stores for any level of complexity.',
8
+ 'href' => 'https://web-dorado.com/products/wordpress-ecommerce.html'
9
+ ),
10
  "form-maker" => array(
11
  'title' => 'Form Maker',
12
  'text' => 'Wordpress form builder plugin',
featured/images/ecommerce.png ADDED
Binary file
featured/style.css CHANGED
@@ -51,6 +51,7 @@
51
  text-align: center;
52
  margin: 0 auto;
53
  }
 
54
 
55
  #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url("images/form.png") center center no-repeat;}
56
  #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url("images/catalog.png") center center no-repeat;}
51
  text-align: center;
52
  margin: 0 auto;
53
  }
54
+ #main_featured_plugins_page #featured-plugins-list li.ecommerce-wd .product {background:url("images/ecommerce.png") center center no-repeat;}
55
 
56
  #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url("images/form.png") center center no-repeat;}
57
  #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url("images/catalog.png") center center no-repeat;}
framework/WDFacebookFeed.php CHANGED
@@ -182,6 +182,10 @@ $ffwd_info_options[$ffwd_option_db] =((isset($_POST[$ffwd_option_db])) ? esc_htm
182
  ($row->timeline_type != self::$timeline_type) ||
183
  ($row->limit != self::$limit)
184
  );
 
 
 
 
185
  $save = $wpdb->update($wpdb->prefix . 'wd_fb_info', array(
186
  'name' => $name,
187
  'type' => self::$fb_type,
@@ -863,7 +867,8 @@ $ffwd_info_options[$ffwd_option_db] =((isset($_POST[$ffwd_option_db])) ? esc_htm
863
 
864
 
865
 
866
-
 
867
  $save_fb_info = $wpdb->insert($wpdb->prefix . 'wd_fb_info', array(
868
  'name' => $name,
869
  'type' => self::$fb_type,
182
  ($row->timeline_type != self::$timeline_type) ||
183
  ($row->limit != self::$limit)
184
  );
185
+
186
+
187
+ if(self::$fb_type=='group')
188
+ self::$timeline_type='feed';
189
  $save = $wpdb->update($wpdb->prefix . 'wd_fb_info', array(
190
  'name' => $name,
191
  'type' => self::$fb_type,
867
 
868
 
869
 
870
+ if(self::$fb_type=='group')
871
+ self::$timeline_type='feed';
872
  $save_fb_info = $wpdb->insert($wpdb->prefix . 'wd_fb_info', array(
873
  'name' => $name,
874
  'type' => self::$fb_type,
js/ffwd.js CHANGED
@@ -282,6 +282,7 @@ function choose_fb_type(wd_fb_prefix, value) {
282
 
283
  jQuery('#'+wd_fb_prefix+'_content_type_specific').css('display', 'none');
284
  jQuery('#'+wd_fb_prefix+'_content_specific').css('display', 'none').next().css('display', 'none');
 
285
  choose_fb_content_type(wd_fb_prefix, 'timeline');
286
  }
287
  else if(value == 'profile') {
@@ -289,6 +290,7 @@ function choose_fb_type(wd_fb_prefix, value) {
289
 
290
  jQuery('#'+wd_fb_prefix+'_content_type_specific').css('display', 'table-row');
291
  jQuery('#'+wd_fb_prefix+'_content_specific').css('display', 'inline-block').next().css('display', 'inline-block');
 
292
  choose_fb_content_type(wd_fb_prefix, 'specific');
293
  }
294
  else {
@@ -297,6 +299,7 @@ function choose_fb_type(wd_fb_prefix, value) {
297
 
298
  jQuery('#'+wd_fb_prefix+'_content_type_specific').css('display', 'table-row');
299
  jQuery('#'+wd_fb_prefix+'_content_specific').css('display', 'inline-block').next().css('display', 'inline-block');
 
300
  choose_fb_content_type(wd_fb_prefix, 'timeline');
301
  }
302
 
@@ -310,8 +313,12 @@ function choose_fb_content_type(wd_fb_prefix, value) {
310
 
311
  jQuery('#'+wd_fb_prefix+'_content_'+value).attr('checked', 'checked');
312
  jQuery('#'+wd_fb_prefix+'_content_type_'+value).show();
313
- jQuery('#'+wd_fb_prefix+'_content_type_'+value+'_type').show();
314
 
 
 
 
 
 
315
  if( jQuery('#'+wd_fb_prefix+'_content_timeline').prop('checked'))
316
  {
317
 
282
 
283
  jQuery('#'+wd_fb_prefix+'_content_type_specific').css('display', 'none');
284
  jQuery('#'+wd_fb_prefix+'_content_specific').css('display', 'none').next().css('display', 'none');
285
+ jQuery('#'+wd_fb_prefix+'_content_type_timeline_type').css('display', 'none');
286
  choose_fb_content_type(wd_fb_prefix, 'timeline');
287
  }
288
  else if(value == 'profile') {
290
 
291
  jQuery('#'+wd_fb_prefix+'_content_type_specific').css('display', 'table-row');
292
  jQuery('#'+wd_fb_prefix+'_content_specific').css('display', 'inline-block').next().css('display', 'inline-block');
293
+ jQuery('#'+wd_fb_prefix+'_content_type_timeline_type').css('display', '');
294
  choose_fb_content_type(wd_fb_prefix, 'specific');
295
  }
296
  else {
299
 
300
  jQuery('#'+wd_fb_prefix+'_content_type_specific').css('display', 'table-row');
301
  jQuery('#'+wd_fb_prefix+'_content_specific').css('display', 'inline-block').next().css('display', 'inline-block');
302
+ jQuery('#'+wd_fb_prefix+'_content_type_timeline_type').css('display', '');
303
  choose_fb_content_type(wd_fb_prefix, 'timeline');
304
  }
305
 
313
 
314
  jQuery('#'+wd_fb_prefix+'_content_'+value).attr('checked', 'checked');
315
  jQuery('#'+wd_fb_prefix+'_content_type_'+value).show();
 
316
 
317
+
318
+
319
+ if (jQuery('#ffwd_type').val() != 'group') {
320
+ jQuery('#' + wd_fb_prefix + '_content_type_' + value + '_type').show();
321
+ }
322
  if( jQuery('#'+wd_fb_prefix+'_content_timeline').prop('checked'))
323
  {
324
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
4
  Tags: customizable, facebook, facebook events, facebook feed, facebook group, facebook like box, facebook likes, facebook page, facebook photos, facebook plugin, facebook posts, likebox
5
  Requires at least: 3.4
6
- Tested up to: 4.5
7
- Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -66,7 +66,10 @@ Upgrade to [Facebook Feed Pro](https://web-dorado.com/products/wordpress-faceboo
66
 
67
  == Changelog ==
68
 
69
- = 1.0.2 =
 
 
 
70
  * Added: Event ordering by event date
71
  * Added: Languages
72
 
3
  Donate link: https://web-dorado.com/products/wordpress-facebook-feed-plugin.html
4
  Tags: customizable, facebook, facebook events, facebook feed, facebook group, facebook like box, facebook likes, facebook page, facebook photos, facebook plugin, facebook posts, likebox
5
  Requires at least: 3.4
6
+ Tested up to: 4.6
7
+ Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
66
 
67
  == Changelog ==
68
 
69
+ = 1.0.4 =
70
+ * Fixed: Bug in Autoupdate
71
+
72
+ = 1.0.3 =
73
  * Added: Event ordering by event date
74
  * Added: Languages
75