Social Media Share Buttons & Social Sharing Icons - Version 1.9.5

Version Description

  • Facebook like count fixed (previously only fixed for likes of user's website, not likes of Facebook page)
Download this release

Release Info

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

Code changes from version 1.9.4 to 1.9.5

libs/controllers/sfsi_socialhelper.php CHANGED
@@ -62,10 +62,10 @@ class sfsi_SocialHelper
62
  {
63
  $appid = '959456867427268';
64
  $appsecret = '7cc27f382c47fd5cc3a7203e40d70bf1';
65
- $json_url ='https://graph.facebook.com/'.$url.'?access_token='.$appid.'|'.$appsecret;
66
  $json_string = $this->file_get_contents_curl($json_url);
67
  $json = json_decode($json_string, true);
68
- return isset($json['likes'])? $json['likes']:0;
69
  }
70
 
71
  /* get google+ follwers */
62
  {
63
  $appid = '959456867427268';
64
  $appsecret = '7cc27f382c47fd5cc3a7203e40d70bf1';
65
+ $json_url ='https://graph.facebook.com/'.$url.'?fields=fan_count&access_token='.$appid.'|'.$appsecret;
66
  $json_string = $this->file_get_contents_curl($json_url);
67
  $json = json_decode($json_string, true);
68
+ return isset($json['fan_count'])? $json['fan_count']:0;
69
  }
70
 
71
  /* get google+ follwers */
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.94");
16
 
17
 
18
  if(!get_option('sfsi_serverphpVersionnotification'))
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "1.95");
16
 
17
 
18
  if(!get_option('sfsi_serverphpVersionnotification'))
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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,6 +267,10 @@ You cannot use the same plugin twice, however you can install both the USM as we
267
 
268
  == Changelog ==
269
 
 
 
 
 
270
  = 1.9.4 =
271
  * Youtube count and direct follow issues fixed
272
 
@@ -679,5 +683,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
679
 
680
  == Upgrade Notice ==
681
 
682
- = 1.9.4 =
683
  Please upgrade
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.5
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
267
 
268
  == Changelog ==
269
 
270
+
271
+ = 1.9.5 =
272
+ * Facebook like count fixed (previously only fixed for likes of user's website, not likes of Facebook page)
273
+
274
  = 1.9.4 =
275
  * Youtube count and direct follow issues fixed
276
 
683
 
684
  == Upgrade Notice ==
685
 
686
+ = 1.9.5 =
687
  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.4
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.94)
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.5
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.95)
59
  {
60
  add_action("init", "sfsi_update_plugin");
61
  }
views/sfsi_option_view1.php CHANGED
@@ -221,11 +221,173 @@
221
  <!-- END Custom icon section here -->
222
 
223
  </ul>
224
- <ul>
225
- <li class="sfsi_premium_brdr_box">
226
- <div class="sfsi_prem_icons_added" style="padding: 12px 38px 6px 40px;">
227
- <div class="sf_si_prmium_head sfsi_need_another_tell_us"><h2><span>Need an icon for another platform? Let us know in the <a style="font-size: 26px;" href="https://wordpress.org/support/plugin/ultimate-social-media-icons/#new-topic-0" target="_blank" href="">Support Forum</a></span></h2></div>
228
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  </li>
230
  </ul>
231
  <input type="hidden" value="<?php echo SFSI_PLUGURL ?>" id="plugin_url" />
221
  <!-- END Custom icon section here -->
222
 
223
  </ul>
224
+ <ul>
225
+ <li class="sfsi_premium_brdr_box">
226
+ <div class="sfsi_prem_icons_added">
227
+ <div class="sf_si_prmium_head"><h2>New: <span> In our Premium Plugin we added icons for:</span></h2></div>
228
+ <div class="sfsi_premium_row">
229
+ <div class = "sfsi_prem_cmn_rowlisting">
230
+ <span>
231
+ <img src="<?php echo SFSI_PLUGURL.'images/snapchat.png';?>" id="CImg" />
232
+ </span>
233
+ <span class="sfsicls_prem_text">Snapchat</span>
234
+ </div>
235
+
236
+ <div class = "sfsi_prem_cmn_rowlisting">
237
+ <span>
238
+ <img src="<?php echo SFSI_PLUGURL.'images/whatsapp.png';?>" id="CImg" />
239
+ </span>
240
+ <span class="sfsicls_prem_text">WhatsApp or Phone</span>
241
+ </div>
242
+
243
+ <div class = "sfsi_prem_cmn_rowlisting" >
244
+ <span>
245
+ <img src="<?php echo SFSI_PLUGURL.'images/yummly.png';?>" id="CImg" />
246
+ </span>
247
+ <span class="sfsicls_prem_text">Yummly</span>
248
+ </div>
249
+
250
+ <div class = "sfsi_prem_cmn_rowlisting" >
251
+ <span>
252
+ <img src="<?php echo SFSI_PLUGURL.'images/yelp.png';?>" id="CImg" />
253
+ </span>
254
+ <span class="sfsicls_prem_text">Yelp</span>
255
+ </div>
256
+
257
+ <div class = "sfsi_prem_cmn_rowlisting" >
258
+ <span>
259
+ <img src="<?php echo SFSI_PLUGURL.'images/print.png';?>" id="CImg" />
260
+ </span>
261
+ <span class="sfsicls_prem_text">Print</span>
262
+ </div>
263
+ </div>
264
+ <div class="sfsi_premium_row">
265
+ <div class = "sfsi_prem_cmn_rowlisting" >
266
+ <span>
267
+ <img src="<?php echo SFSI_PLUGURL.'images/soundcloud.png';?>" id="CImg" />
268
+ </span>
269
+ <span class="sfsicls_prem_text">Soundcloud</span>
270
+ </div>
271
+
272
+ <div class = "sfsi_prem_cmn_rowlisting" >
273
+ <span>
274
+ <img src="<?php echo SFSI_PLUGURL.'images/skype.png';?>" id="CImg" />
275
+ </span>
276
+ <span class="sfsicls_prem_text">Skype</span>
277
+ </div>
278
+
279
+ <div class = "sfsi_prem_cmn_rowlisting" >
280
+ <span>
281
+ <img src="<?php echo SFSI_PLUGURL.'images/flickr.png';?>" id="CImg" />
282
+ </span>
283
+ <span class="sfsicls_prem_text">Flickr</span>
284
+ </div>
285
+
286
+ <div class = "sfsi_prem_cmn_rowlisting" >
287
+ <span>
288
+ <img src="<?php echo SFSI_PLUGURL.'images/buffer.png';?>" id="CImg" />
289
+ </span>
290
+ <span class="sfsicls_prem_text">Buffer</span>
291
+ </div>
292
+
293
+ <div class = "sfsi_prem_cmn_rowlisting" >
294
+ <span>
295
+ <img src="<?php echo SFSI_PLUGURL.'images/blogger.png';?>" id="CImg" />
296
+ </span>
297
+ <span class="sfsicls_prem_text">Blogger</span>
298
+ </div>
299
+
300
+
301
+ </div>
302
+ <div class="sfsi_premium_row">
303
+ <div class = "sfsi_prem_cmn_rowlisting" >
304
+ <span>
305
+ <img src="<?php echo SFSI_PLUGURL.'images/reddit.png';?>" id="CImg" />
306
+ </span>
307
+ <span class="sfsicls_prem_text">Reddit</span>
308
+ </div>
309
+
310
+ <div class = "sfsi_prem_cmn_rowlisting" >
311
+ <span>
312
+ <img src="<?php echo SFSI_PLUGURL.'images/vimeo.png';?>" id="CImg" />
313
+ </span>
314
+ <span class="sfsicls_prem_text">Vimeo</span>
315
+ </div>
316
+
317
+ <div class = "sfsi_prem_cmn_rowlisting" >
318
+ <span>
319
+ <img src="<?php echo SFSI_PLUGURL.'images/tumblr.png';?>" id="CImg" />
320
+ </span>
321
+ <span class="sfsicls_prem_text">Tumblr</span>
322
+ </div>
323
+
324
+ <div class = "sfsi_prem_cmn_rowlisting" >
325
+ <span>
326
+ <img src="<?php echo SFSI_PLUGURL.'images/houzz.png';?>" id="CImg" />
327
+ </span>
328
+ <span class="sfsicls_prem_text">Houzz</span>
329
+ </div>
330
+
331
+ <div class = "sfsi_prem_cmn_rowlisting" >
332
+ <span>
333
+ <img src="<?php echo SFSI_PLUGURL.'images/xing.png';?>" id="CImg" />
334
+ </span>
335
+ <span class="sfsicls_prem_text">Xing</span>
336
+ </div>
337
+ </div>
338
+ <div class="sfsi_premium_row">
339
+ <div class = "sfsi_prem_cmn_rowlisting" >
340
+ <span>
341
+ <img src="<?php echo SFSI_PLUGURL.'images/vk.png';?>" id="CImg" />
342
+ </span>
343
+ <span class="sfsicls_prem_text">VK</span>
344
+ </div>
345
+
346
+ <div class = "sfsi_prem_cmn_rowlisting" >
347
+ <span>
348
+ <img src="<?php echo SFSI_PLUGURL.'images/telegram.png';?>" id="CImg" />
349
+ </span>
350
+ <span class="sfsicls_prem_text">Telegram</span>
351
+ </div>
352
+
353
+ <div class = "sfsi_prem_cmn_rowlisting" >
354
+ <span>
355
+ <img src="<?php echo SFSI_PLUGURL.'images/amazon.png';?>" id="CImg" />
356
+ </span>
357
+ <span class="sfsicls_prem_text">Amazon</span>
358
+ </div>
359
+
360
+ <div class = "sfsi_prem_cmn_rowlisting" >
361
+ <span>
362
+ <img src="<?php echo SFSI_PLUGURL.'images/angieslist.png';?>" id="CImg" />
363
+ </span>
364
+ <span class="sfsicls_prem_text">Angie’s List</span>
365
+ </div>
366
+
367
+ <div class = "sfsi_prem_cmn_rowlisting" >
368
+ <span>
369
+ <img src="<?php echo SFSI_PLUGURL.'images/steam.png';?>" id="CImg" />
370
+ </span>
371
+ <span class="sfsicls_prem_text">Steam</span>
372
+ </div>
373
+ </div>
374
+ <div class="sfsi_premium_row">
375
+ <div class = "sfsi_prem_cmn_rowlisting" >
376
+ <span>
377
+ <img src="<?php echo SFSI_PLUGURL.'images/twitch.png';?>" id="CImg" />
378
+ </span>
379
+ <span class="sfsicls_prem_text">Twitch</span>
380
+ </div>
381
+ </div>
382
+
383
+ <!--<div class="sfsi_need_another_one_link">
384
+ <p>Need another one?<a href="mailto:biz@ultimatelysocial.com"> Tell us</a></p>
385
+ </div>-->
386
+ <div class="sfsi_need_another_tell_us">
387
+ <a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank">...and many more! See them here</a>
388
+ <!--<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank">See all features Premium Plugin</a>-->
389
+ </div>
390
+ </div>
391
  </li>
392
  </ul>
393
  <input type="hidden" value="<?php echo SFSI_PLUGURL ?>" id="plugin_url" />