Social Media Share Buttons & Social Sharing Icons - Version 1.9.4

Version Description

  • Youtube count and direct follow issues fixed
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Media Share Buttons & Social Sharing Icons
Version 1.9.4
Comparing to
See all releases

Code changes from version 1.9.3 to 1.9.4

libs/controllers/sfsi_socialhelper.php CHANGED
@@ -372,16 +372,15 @@ class sfsi_SocialHelper
372
  {
373
  $option4= unserialize(get_option('sfsi_section4_options',false));
374
  $option2= unserialize(get_option('sfsi_section2_options',false));
375
- if($option4['sfsi_youtubeusernameorid'] == 'name')
 
376
  {
377
  $yuser = $option2['sfsi_ytube_user'];
378
- if(!isset($yuser))
379
- $yuser = $option4['sfsi_youtube_user'];
380
  $youtube_html = '<div class="g-ytsubscribe" data-channel="'.$yuser.'" data-layout="default" data-count="hidden"></div>';
381
  }
382
  else
383
  {
384
- $yuser = $option4['sfsi_ytube_chnlid'];
385
  $youtube_html = '<div class="g-ytsubscribe" data-channelid="'.$yuser.'" data-layout="default" data-count="hidden"></div>';
386
  }
387
  return $youtube_html;
372
  {
373
  $option4= unserialize(get_option('sfsi_section4_options',false));
374
  $option2= unserialize(get_option('sfsi_section2_options',false));
375
+
376
+ if($option2['sfsi_youtubeusernameorid'] == 'name')
377
  {
378
  $yuser = $option2['sfsi_ytube_user'];
 
 
379
  $youtube_html = '<div class="g-ytsubscribe" data-channel="'.$yuser.'" data-layout="default" data-count="hidden"></div>';
380
  }
381
  else
382
  {
383
+ $yuser = $option2['sfsi_ytube_chnlid'];
384
  $youtube_html = '<div class="g-ytsubscribe" data-channelid="'.$yuser.'" data-layout="default" data-count="hidden"></div>';
385
  }
386
  return $youtube_html;
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_pluginVersion", "1.93");
16
 
17
 
18
  if(!get_option('sfsi_serverphpVersionnotification'))
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "1.94");
16
 
17
 
18
  if(!get_option('sfsi_serverphpVersionnotification'))
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Share Icons Share Buttons ===
2
  Contributors: socialdude
3
  Tags: social media, share, buttons, social, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 2.8
5
  Tested up to: 4.9.4
6
- Stable tag: 1.9.3
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -267,6 +267,9 @@ You cannot use the same plugin twice, however you can install both the USM as we
267
 
268
  == Changelog ==
269
 
 
 
 
270
  = 1.9.3 =
271
  * Facebook like count issue fixed
272
  * Youtube saving issue when clicked on "Save all settings" - fixed now
@@ -676,5 +679,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
676
 
677
  == Upgrade Notice ==
678
 
679
- = 1.9.3 =
680
  Please upgrade
1
+ === Social Media Share Buttons & Social Sharing Icons ===
2
  Contributors: socialdude
3
  Tags: social media, share, buttons, social, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 2.8
5
  Tested up to: 4.9.4
6
+ Stable tag: 1.9.4
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
267
 
268
  == Changelog ==
269
 
270
+ = 1.9.4 =
271
+ * Youtube count and direct follow issues fixed
272
+
273
  = 1.9.3 =
274
  * Facebook like count issue fixed
275
  * Youtube saving issue when clicked on "Save all settings" - fixed now
679
 
680
  == Upgrade Notice ==
681
 
682
+ = 1.9.4 =
683
  Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
- Version: 1.9.3
9
  License: GPLv2 or later
10
  */
11
 
@@ -55,7 +55,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
55
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
56
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
57
 
58
- if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 1.93)
59
  {
60
  add_action("init", "sfsi_update_plugin");
61
  }
5
  Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
6
  Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
+ Version: 1.9.4
9
  License: GPLv2 or later
10
  */
11
 
55
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
56
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
57
 
58
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 1.94)
59
  {
60
  add_action("init", "sfsi_update_plugin");
61
  }
views/sfsi_option_view2.php CHANGED
@@ -315,7 +315,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
315
  </div>
316
  </div>
317
  <div class="cstmutbchnlidwpr" <?php if($sfsi_youtubeusernameorid == 'id'){echo 'style="display: block;"';}?>>
318
- <p class="extra_pp"><label>ChannelId:</label><input name="sfsi_ytube_chnlid" type="url" value="<?php echo (isset($option4['sfsi_ytube_chnlid']) && $option4['sfsi_ytube_chnlid']!='') ? $option4['sfsi_ytube_chnlid'] : '' ;?>" placeholder="youtube_channel_id" class="add" /></p>
319
  <div class="utbe_instruction">
320
  To find your User ID/Channel ID, login to your YouTube account, click the user icon at the top right corner and select "Settings", then click "Advanced" under "Name" and you will find both your "Channel ID" and "User ID" under "Account Information".
321
  </div>
315
  </div>
316
  </div>
317
  <div class="cstmutbchnlidwpr" <?php if($sfsi_youtubeusernameorid == 'id'){echo 'style="display: block;"';}?>>
318
+ <p class="extra_pp"><label>ChannelId:</label><input name="sfsi_ytube_chnlid" type="url" value="<?php echo (isset($option2['sfsi_ytube_chnlid']) && $option2['sfsi_ytube_chnlid']!='') ? $option2['sfsi_ytube_chnlid'] : '' ;?>" placeholder="youtube_channel_id" class="add" /></p>
319
  <div class="utbe_instruction">
320
  To find your User ID/Channel ID, login to your YouTube account, click the user icon at the top right corner and select "Settings", then click "Advanced" under "Name" and you will find both your "Channel ID" and "User ID" under "Account Information".
321
  </div>