Social Share Icons & Social Share Buttons - Version 2.8.4

Version Description

  • Like count issue fixed
  • Youtube subscribe issue fixed
Download this release

Release Info

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

Code changes from version 2.8.3 to 2.8.4

images/banner_support_forum.png ADDED
Binary file
libs/controllers/sfsi_socialhelper.php CHANGED
@@ -63,10 +63,10 @@ class sfsi_plus_SocialHelper
63
  {
64
  $appid = '954871214567352';
65
  $appsecret = 'a780eb3d3687a084d6e5919585cc6a12';
66
- $json_url ='https://graph.facebook.com/'.$url.'?fields=likes&access_token='.$appid.'|'.$appsecret;
67
- $json_string = $this->file_get_contents_curl($json_url);
68
- $json = json_decode($json_string, true);
69
- return isset($json['likes'])? $json['likes']:0;
70
  }
71
 
72
  /* get google+ follwers */
63
  {
64
  $appid = '954871214567352';
65
  $appsecret = 'a780eb3d3687a084d6e5919585cc6a12';
66
+ $json_url ='https://graph.facebook.com/'.$url.'?fields=fan_count&access_token='.$appid.'|'.$appsecret;
67
+ $json_string = $this->file_get_contents_curl($json_url);
68
+ $json = json_decode($json_string, true);
69
+ return isset($json['fan_count'])? $json['fan_count']:0;
70
  }
71
 
72
  /* get google+ follwers */
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_plus_pluginVersion", "2.83");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_plus_pluginVersion", "2.84");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
libs/sfsi_widget.php CHANGED
@@ -638,7 +638,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
638
  else if($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom']=="likes")
639
  {
640
  $fb_data=$socialObj->sfsi_get_fb($current_url);
641
- $counts=$socialObj->format_num($fb_data['like_count']);
642
  if(empty($counts))
643
  {
644
  $counts=(string) "0";
638
  else if($sfsi_plus_section4_options['sfsi_plus_facebook_countsFrom']=="likes")
639
  {
640
  $fb_data=$socialObj->sfsi_get_fb($current_url);
641
+ $counts=$socialObj->format_num($fb_data);
642
  if(empty($counts))
643
  {
644
  $counts=(string) "0";
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Social Icons Social Buttons ===
2
  Contributors: socialsharepro
3
  Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
4
  Requires at least: 3.0
5
  Tested up to: 4.9.4
6
- Stable tag: 2.8.3
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -13,7 +13,13 @@ Social sharing plugin adding social buttons.
13
 
14
  This social plugin makes placing social share icons on your site REALLY easy.
15
 
16
- Key features:
 
 
 
 
 
 
17
 
18
  - Select from a **wide range of social share platforms** (see a list of them below)
19
  - Pick from **16 stylish design styles** for your social share buttons
@@ -25,6 +31,11 @@ Key features:
25
  - Allow visitors to **subscribe to your site** and receive new posts automatically by email
26
  - Select from **many other customization features** for your social share buttons
27
 
 
 
 
 
 
28
  The plugin takes you through eight easy-to-answer questions so that configuring your social share icons becomes a no-brainer:
29
 
30
  = Question 1: Which social share buttons do you want to display? =
@@ -188,7 +199,6 @@ In addition to an email button you can also place a subscription form on your si
188
 
189
  You can define the detailed layout of the subscription form, and have various options how to place it (via widget, shortcodes, or by copy/pasting HTML code on your site).
190
 
191
-
192
  == Premium Plugin ==
193
 
194
  The free plugin already provides tons of options for social sharing (as outlined above). In our Premium Plugin, even more is possible. Some examples for additional features in the Premium Plugin:
@@ -206,6 +216,8 @@ The free plugin already provides tons of options for social sharing (as outlined
206
 
207
  See [all features of the Premium Plugin](https://www.ultimatelysocial.com/usm-premium).
208
 
 
 
209
  == Installation ==
210
  Extract the zip file and drop the contents into the wp-content/plugins/ directory of your WordPress installation. Then activate the plugin from the plugins page.
211
 
@@ -432,6 +444,10 @@ The premium plugin offrs many more social buttons from other social media platfo
432
 
433
  == Changelog ==
434
 
 
 
 
 
435
  = 2.8.3 =
436
  * Instagram followers count issue fixed
437
  * Twitter count issue fixed
@@ -729,5 +745,5 @@ The premium plugin offrs many more social buttons from other social media platfo
729
 
730
  == Upgrade Notice ==
731
 
732
- = 2.8.3 =
733
  * Please update
1
+ === Social Share Icons & Social Share Buttons ===
2
  Contributors: socialsharepro
3
  Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
4
  Requires at least: 3.0
5
  Tested up to: 4.9.4
6
+ Stable tag: 2.8.4
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
13
 
14
  This social plugin makes placing social share icons on your site REALLY easy.
15
 
16
+ This free plugin has a lot to offer. Even more can be found in the Premium Plugin, please watch this short video:
17
+
18
+ [vimeo https://vimeo.com/269140798]
19
+
20
+ See [all features of the Premium plugin](https://www.ultimatelysocial.com/usm-premium/).
21
+
22
+ Key features of the free plugin:
23
 
24
  - Select from a **wide range of social share platforms** (see a list of them below)
25
  - Pick from **16 stylish design styles** for your social share buttons
31
  - Allow visitors to **subscribe to your site** and receive new posts automatically by email
32
  - Select from **many other customization features** for your social share buttons
33
 
34
+ For GDPR compliance, please have a look at our [Social Media GDPR Compliance page](https://ultimatelysocial.com/gdpr/).
35
+
36
+ In case of issues or questions please ask in the [Support forum] (https://wordpress.org/support/plugin/ultimate-social-media-plus).
37
+
38
+
39
  The plugin takes you through eight easy-to-answer questions so that configuring your social share icons becomes a no-brainer:
40
 
41
  = Question 1: Which social share buttons do you want to display? =
199
 
200
  You can define the detailed layout of the subscription form, and have various options how to place it (via widget, shortcodes, or by copy/pasting HTML code on your site).
201
 
 
202
  == Premium Plugin ==
203
 
204
  The free plugin already provides tons of options for social sharing (as outlined above). In our Premium Plugin, even more is possible. Some examples for additional features in the Premium Plugin:
216
 
217
  See [all features of the Premium Plugin](https://www.ultimatelysocial.com/usm-premium).
218
 
219
+ In case of issues or questions please ask in the [Support forum] (https://wordpress.org/support/plugin/ultimate-social-media-plus).
220
+
221
  == Installation ==
222
  Extract the zip file and drop the contents into the wp-content/plugins/ directory of your WordPress installation. Then activate the plugin from the plugins page.
223
 
444
 
445
  == Changelog ==
446
 
447
+ = 2.8.4 =
448
+ * Like count issue fixed
449
+ * Youtube subscribe issue fixed
450
+
451
  = 2.8.3 =
452
  * Instagram followers count issue fixed
453
  * Twitter count issue fixed
745
 
746
  == Upgrade Notice ==
747
 
748
+ = 2.8.4 =
749
  * Please update
ultimate_social_media_icons.php CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://ultimatelysocial.com
10
- Version: 2.8.3
11
  License: GPLv2
12
  */
13
 
@@ -92,7 +92,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
92
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
93
 
94
  /*Plugin version setup*/
95
- if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.83)
96
  {
97
  add_action("init", "sfsi_plus_update_plugin");
98
  }
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://ultimatelysocial.com
10
+ Version: 2.8.4
11
  License: GPLv2
12
  */
13
 
92
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
93
 
94
  /*Plugin version setup*/
95
+ if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.84)
96
  {
97
  add_action("init", "sfsi_plus_update_plugin");
98
  }
views/sfsi_option_view1.php CHANGED
@@ -364,8 +364,151 @@
364
  </ul>
365
  <ul>
366
  <li class="sfsi_plus_premium_brdr_box">
367
- <div class="sfsi_plus_prem_icons_added" style="padding: 12px 38px 6px 40px;">
368
- <div class="sf_si_plus_prmium_head sfsi_plus_need_another_tell_us"><h2><span> <?php _e( 'Need an icon for another platform? Let us know in the ', SFSI_PLUS_DOMAIN); ?><a style="font-size: 26px;" href="https://wordpress.org/support/plugin/ultimate-social-media-plus/#new-topic-0" target="_blank" href=""><?php _e('Support Forum',SFSI_PLUS_DOMAIN); ?></a>.</span></h2></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
  </div>
370
  </li>
371
  </ul>
364
  </ul>
365
  <ul>
366
  <li class="sfsi_plus_premium_brdr_box">
367
+ <div class="sfsi_plus_prem_icons_added">
368
+ <div class="sf_si_plus_prmium_head"><h2><?php _e( 'New: ', SFSI_PLUS_DOMAIN); ?><span> <?php _e( 'In our Premium Plugin we added icons for:', SFSI_PLUS_DOMAIN); ?></span></h2></div>
369
+ <div class="sfsi_plus_premium_row">
370
+ <div class = "sfsi_plus_prem_cmn_rowlisting">
371
+ <span>
372
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/snapchat.png';?>" id="CImg" />
373
+ </span>
374
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Snapchat', SFSI_PLUS_DOMAIN); ?></span>
375
+ </div>
376
+
377
+ <div class = "sfsi_plus_prem_cmn_rowlisting">
378
+ <span>
379
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/whatsapp.png';?>" id="CImg" />
380
+ </span>
381
+ <span class="sfsicls_plus_prem_text"><?php _e( 'WhatsApp or Phone', SFSI_PLUS_DOMAIN); ?></span>
382
+ </div>
383
+
384
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
385
+ <span>
386
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/yummly.png';?>" id="CImg" />
387
+ </span>
388
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Yummly', SFSI_PLUS_DOMAIN); ?></span>
389
+ </div>
390
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
391
+ <span>
392
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/yelp.png';?>" id="CImg" />
393
+ </span>
394
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Yelp', SFSI_PLUS_DOMAIN); ?></span>
395
+ </div>
396
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
397
+ <span>
398
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/print.png';?>" id="CImg" />
399
+ </span>
400
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Print', SFSI_PLUS_DOMAIN); ?></span>
401
+ </div>
402
+ </div>
403
+ <div class="sfsi_plus_premium_row">
404
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
405
+ <span>
406
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/soundcloud.png';?>" id="CImg" />
407
+ </span>
408
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Soundcloud', SFSI_PLUS_DOMAIN); ?></span>
409
+ </div>
410
+
411
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
412
+ <span>
413
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/skype.png';?>" id="CImg" />
414
+ </span>
415
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Skype', SFSI_PLUS_DOMAIN); ?></span>
416
+ </div>
417
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
418
+ <span>
419
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/flickr.png';?>" id="CImg" />
420
+ </span>
421
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Flickr', SFSI_PLUS_DOMAIN); ?></span>
422
+ </div>
423
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
424
+ <span>
425
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/vk.png';?>" id="CImg" />
426
+ </span>
427
+ <span class="sfsicls_plus_prem_text"><?php _e( 'VK', SFSI_PLUS_DOMAIN); ?></span>
428
+ </div>
429
+
430
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
431
+ <span>
432
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/angieslist.png';?>" id="CImg" />
433
+ </span>
434
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Angie’s List', SFSI_PLUS_DOMAIN); ?></span>
435
+ </div>
436
+ </div>
437
+ <div class="sfsi_plus_premium_row">
438
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
439
+ <span>
440
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/reddit.png';?>" id="CImg" />
441
+ </span>
442
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Reddit', SFSI_PLUS_DOMAIN); ?></span>
443
+ </div>
444
+
445
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
446
+ <span>
447
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/vimeo.png';?>" id="CImg" />
448
+ </span>
449
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Vimeo', SFSI_PLUS_DOMAIN); ?></span>
450
+ </div>
451
+
452
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
453
+ <span>
454
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/tumblr.png';?>" id="CImg" />
455
+ </span>
456
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Tumblr', SFSI_PLUS_DOMAIN); ?></span>
457
+ </div>
458
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
459
+ <span>
460
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/buffer.png';?>" id="CImg" />
461
+ </span>
462
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Buffer', SFSI_PLUS_DOMAIN); ?></span>
463
+ </div>
464
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
465
+ <span>
466
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/blogger.png';?>" id="CImg" />
467
+ </span>
468
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Blogger', SFSI_PLUS_DOMAIN); ?></span>
469
+ </div>
470
+ </div>
471
+ <div class="sfsi_plus_premium_row">
472
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
473
+ <span>
474
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/telegram.png';?>" id="CImg" />
475
+ </span>
476
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Telegram', SFSI_PLUS_DOMAIN); ?></span>
477
+ </div>
478
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
479
+ <span>
480
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/steam.png';?>" id="CImg" />
481
+ </span>
482
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Steam', SFSI_PLUS_DOMAIN); ?></span>
483
+ </div>
484
+
485
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
486
+ <span>
487
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/xing.png';?>" id="CImg" />
488
+ </span>
489
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Xing', SFSI_PLUS_DOMAIN); ?></span>
490
+ </div>
491
+
492
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
493
+ <span>
494
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/amazon.png';?>" id="CImg" />
495
+ </span>
496
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Amazon', SFSI_PLUS_DOMAIN); ?></span>
497
+ </div>
498
+ <div class = "sfsi_plus_prem_cmn_rowlisting" >
499
+ <span>
500
+ <img src="<?php echo SFSI_PLUS_PLUGURL.'images/twitch.png';?>" id="CImg" />
501
+ </span>
502
+ <span class="sfsicls_plus_prem_text"><?php _e( 'Twitch', SFSI_PLUS_DOMAIN); ?></span>
503
+ </div>
504
+ </div>
505
+ <div class="sfsi_plus_need_another_one_link">
506
+ <!-- <p><?php _e('Need another one?', SFSI_PLUS_DOMAIN); ?><a href="mailto:biz@ultimatelysocial.com" target="_blank"> <?php _e( 'Tell us', SFSI_PLUS_DOMAIN); ?></a></p> -->
507
+ </div>
508
+ <div class="sfsi_plus_need_another_tell_us">
509
+ <a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank"><?php _e( '...and many more! See them here', SFSI_PLUS_DOMAIN); ?></a>
510
+ <!-- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank"><?php _e( 'See all features Premium Plugin', SFSI_PLUS_DOMAIN); ?></a>
511
+ --> </div>
512
  </div>
513
  </li>
514
  </ul>
views/sfsi_option_view2.php CHANGED
@@ -471,7 +471,7 @@
471
  <input name="sfsi_plus_ytube_user" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_user']) && $option2['sfsi_plus_ytube_user']!='') ? $option2['sfsi_plus_ytube_user'] : '' ;?>" placeholder="Youtube username" class="add" />
472
  </p>
473
  <div class="utbe_instruction">
474
- <?php _e( 'To find your Username go to "My channel" in Youtube menu bar on the left & Select the "About" tab and take your user name from URL there (e.g. https://www.youtube.com/user/Tommy it is "Tommy").', SFSI_PLUS_DOMAIN ); ?>
475
  </div>
476
  </div>
477
  <div class="cstmutbchnlidwpr" <?php if($sfsi_plus_youtubeusernameorid == 'id'){echo 'style="display: block"';}?>>
@@ -482,7 +482,7 @@
482
  <input name="sfsi_plus_ytube_chnlid" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_chnlid']) && $option2['sfsi_plus_ytube_chnlid']!='') ? $option2['sfsi_plus_ytube_chnlid'] : '' ;?>" placeholder="youtube_channel_id" class="add" />
483
  </p>
484
  <div class="utbe_instruction">
485
- <?php _e( 'To find your Channel name go to "My Channel" in Youtube menu bar on the left and take your channel name from there.', SFSI_PLUS_DOMAIN ); ?>
486
  </div>
487
  </div>
488
  </div>
471
  <input name="sfsi_plus_ytube_user" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_user']) && $option2['sfsi_plus_ytube_user']!='') ? $option2['sfsi_plus_ytube_user'] : '' ;?>" placeholder="Youtube username" class="add" />
472
  </p>
473
  <div class="utbe_instruction">
474
+ <?php _e( '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".', SFSI_PLUS_DOMAIN ); ?>
475
  </div>
476
  </div>
477
  <div class="cstmutbchnlidwpr" <?php if($sfsi_plus_youtubeusernameorid == 'id'){echo 'style="display: block"';}?>>
482
  <input name="sfsi_plus_ytube_chnlid" type="url" value="<?php echo (isset($option2['sfsi_plus_ytube_chnlid']) && $option2['sfsi_plus_ytube_chnlid']!='') ? $option2['sfsi_plus_ytube_chnlid'] : '' ;?>" placeholder="youtube_channel_id" class="add" />
483
  </p>
484
  <div class="utbe_instruction">
485
+ <?php _e( '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".', SFSI_PLUS_DOMAIN ); ?>
486
  </div>
487
  </div>
488
  </div>
views/sfsi_section_for_premium.php CHANGED
@@ -5,6 +5,6 @@
5
 
6
  <div class="banner_support_forum">
7
  <a target="_blank" href="https://goo.gl/MU6pTN#no-topic-0" class="banner-1">
8
- <img src="<?php echo SFSI_PLUGURL; ?>images/banner_support_forum.png">
9
  </a>
10
  </div>
5
 
6
  <div class="banner_support_forum">
7
  <a target="_blank" href="https://goo.gl/MU6pTN#no-topic-0" class="banner-1">
8
+ <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/banner_support_forum.png">
9
  </a>
10
  </div>