Social Share Icons & Social Share Buttons - Version 2.5.6

Version Description

  • Activation/de-activation links optimized
Download this release

Release Info

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

Code changes from version 2.5.5 to 2.5.6

libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,13 @@ function sfsi_plus_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_plus_pluginVersion", "2.55");
 
 
 
 
 
 
16
  /* show premium notification */
17
  if(!get_option('sfsi_plus_show_premium_notification'))
18
  {
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_plus_pluginVersion", "2.56");
16
+
17
+ /* show notification on about mobile setting */
18
+ if(!get_option('sfsi_plus_show_Setting_mobile_notification'))
19
+ {
20
+ add_option("sfsi_plus_show_Setting_mobile_notification", "yes");
21
+ }
22
  /* show premium notification */
23
  if(!get_option('sfsi_plus_show_premium_notification'))
24
  {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: socialdude
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZWYMA8LFHGHCC
4
  Tags: social media, facebook, instagram, youtube, twitter, share, social share, buttons, counter, pop-up, subscription, icons
5
  Requires at least: 3.0
6
- Tested up to: 4.7.1
7
- Stable tag: 2.5.5
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -75,6 +75,9 @@ Note: This plugin requires CURL to be activated/installed on your server (which
75
 
76
  == Changelog ==
77
 
 
 
 
78
  = 2.5.5 =
79
  * Notifications activated
80
 
@@ -277,5 +280,5 @@ Note: This plugin requires CURL to be activated/installed on your server (which
277
 
278
  == Upgrade Notice ==
279
 
280
- = 2.5.5 =
281
  * Please upgrade!
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZWYMA8LFHGHCC
4
  Tags: social media, facebook, instagram, youtube, twitter, share, social share, buttons, counter, pop-up, subscription, icons
5
  Requires at least: 3.0
6
+ Tested up to: 4.7.2
7
+ Stable tag: 2.5.6
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 2.5.6 =
79
+ * Activation/de-activation links optimized
80
+
81
  = 2.5.5 =
82
  * Notifications activated
83
 
280
 
281
  == Upgrade Notice ==
282
 
283
+ = 2.5.6 =
284
  * Please upgrade!
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.5.5
11
  License: GPLv2
12
  */
13
 
@@ -37,7 +37,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
37
  register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
38
 
39
  /*Plugin version setup*/
40
- if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.55)
41
  {
42
  add_action("init", "sfsi_plus_update_plugin");
43
  }
@@ -642,7 +642,7 @@ function sfsi_plus_admin_notice()
642
  </style>
643
  <div class="updated sfsi_plus_show_prem_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
644
  <div class="alignleft" style="margin: 9px 0;">
645
- <?php _e( 'BIG NEWS : There is now a ', SFSI_PLUS_DOMAIN); ?><b><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=notification_banner&utm_medium=banner" target="_blank"><?php _e( 'Premium Ultimate Social Media Plugin', SFSI_PLUS_DOMAIN); ?></a></b><?php _e( ' available with many more cool features: ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=notification_banner&utm_medium=banner" target="_blank"><?php _e( 'Check it out', SFSI_PLUS_DOMAIN); ?></a>
646
  </div>
647
  <div class="alignright">
648
  <form method="post" class="sfsi_plus_premiumNoticeDismiss">
@@ -652,7 +652,52 @@ function sfsi_plus_admin_notice()
652
  </div>
653
  </div>
654
  <?php
655
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  }
657
 
658
  add_action('admin_init', 'sfsi_plus_dismiss_admin_notice');
@@ -675,6 +720,11 @@ function sfsi_plus_dismiss_admin_notice()
675
  update_option( 'sfsi_plus_show_premium_notification', "no" );
676
  //header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
677
  }
 
 
 
 
 
678
  }
679
 
680
  add_action('plugins_loaded', 'sfsi_plus_load_domain');
@@ -695,4 +745,14 @@ function sfsi_plus_get_bloginfo($url)
695
  }
696
  return $web_url;
697
  }
 
 
 
 
 
 
 
 
 
 
698
  ?>
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://ultimatelysocial.com
10
+ Version: 2.5.6
11
  License: GPLv2
12
  */
13
 
37
  register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
38
 
39
  /*Plugin version setup*/
40
+ if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.56)
41
  {
42
  add_action("init", "sfsi_plus_update_plugin");
43
  }
642
  </style>
643
  <div class="updated sfsi_plus_show_prem_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
644
  <div class="alignleft" style="margin: 9px 0;">
645
+ <?php _e( 'BIG NEWS : There is now a Premium Ultimate Social Media Plugin available with many more cool features: ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=notification_banner&utm_medium=banner" target="_blank"><?php _e( 'Check it out', SFSI_PLUS_DOMAIN); ?></a>
646
  </div>
647
  <div class="alignright">
648
  <form method="post" class="sfsi_plus_premiumNoticeDismiss">
652
  </div>
653
  </div>
654
  <?php
655
+ }
656
+
657
+ if(get_option("sfsi_plus_show_Setting_mobile_notification") == "yes")
658
+ {
659
+ $sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
660
+ $sfsi_plus_future_date = strtotime( '14 days',$sfsi_plus_install_date );
661
+ $sfsi_plus_past_date = strtotime("now");
662
+ if($sfsi_plus_past_date >= $sfsi_plus_future_date)
663
+ {
664
+ ?>
665
+ <style type="text/css">
666
+ .sfsi_plus_show_mobile_setting_notification a{
667
+ color: #fff;
668
+ text-decoration: underline;
669
+ }
670
+ form.sfsi_plus_mobileNoticeDismiss {
671
+ display: inline-block;
672
+ margin: 5px 0 0;
673
+ vertical-align: middle;
674
+ }
675
+ .sfsi_plus_mobileNoticeDismiss input[type='submit']{
676
+ background-color: transparent;
677
+ border: medium none;
678
+ color: #fff;
679
+ margin: 0;
680
+ padding: 0;
681
+ cursor: pointer;
682
+ }
683
+
684
+ </style>
685
+
686
+ <!-- <div class="updated sfsi_plus_show_mobile_setting_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
687
+ <div class="alignleft" style="margin: 9px 0; width: 95%; line-height: 25px;">
688
+ <b><?php _e( 'Over 50% of visitors are mobile visitors:', SFSI_PLUS_DOMAIN); ?></b>
689
+ <?php _e( ' Make sure your social media icons look good on mobile too, so that people like & share your site. With the premium plugin you can define the location of the icons separately on mobile: ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usmpremium/?utm_expid=92383224-1.TfahStjhTrSpmi_nxkXt1w.1&utm_source=usmplus_settings_page&utm_campaign=check_mobile&utm_medium=banner" target="_blank"><?php _e( 'Check it out', SFSI_PLUS_DOMAIN); ?></a>
690
+ </div>
691
+ <div class="alignright">
692
+ <form method="post" class="sfsi_plus_mobileNoticeDismiss">
693
+ <input type="hidden" name="sfsi-plus_dismiss-settingmobileNotice" value="true">
694
+ <input type="submit" name="dismiss" value="Dismiss" />
695
+ </form>
696
+ </div>
697
+ </div> -->
698
+ <?php
699
+ }
700
+ }
701
  }
702
 
703
  add_action('admin_init', 'sfsi_plus_dismiss_admin_notice');
720
  update_option( 'sfsi_plus_show_premium_notification', "no" );
721
  //header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
722
  }
723
+ if ( isset($_REQUEST['sfsi-plus_dismiss-settingmobileNotice']) && $_REQUEST['sfsi-plus_dismiss-settingmobileNotice'] == 'true' )
724
+ {
725
+ update_option( 'sfsi_plus_show_Setting_mobile_notification', "no" );
726
+ //header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
727
+ }
728
  }
729
 
730
  add_action('plugins_loaded', 'sfsi_plus_load_domain');
745
  }
746
  return $web_url;
747
  }
748
+
749
+ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'sfsi_plus_action_links', -10 );
750
+ function sfsi_plus_action_links ( $mylinks ){
751
+ $mylinks[] ='<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_manage_plugin_page&utm_campaign=upgrade_to_pro&utm_medium=banner" style="color:#FF0000;"><b>Upgrade to pro</b></a>';
752
+ $mylinks[] =$mylinks['deactivate'];
753
+ $mylinks[] =$mylinks['edit'];
754
+ unset ($mylinks['deactivate']);
755
+ unset ($mylinks['edit']);
756
+ return $mylinks;
757
+ }
758
  ?>
views/sfsi_option_view1.php CHANGED
@@ -38,6 +38,9 @@
38
  $option1['sfsi_plus_houzz_display'] = (isset($option1['sfsi_plus_houzz_display']))
39
  ? sanitize_text_field($option1['sfsi_plus_houzz_display'])
40
  : '';
 
 
 
41
  ?>
42
 
43
  <!-- Section 1 "Which icons do you want to show on your site? " main div Start -->
38
  $option1['sfsi_plus_houzz_display'] = (isset($option1['sfsi_plus_houzz_display']))
39
  ? sanitize_text_field($option1['sfsi_plus_houzz_display'])
40
  : '';
41
+ $option1['sfsi_plus_premium_icons_box'] = (isset($option1['sfsi_plus_premium_icons_box']))
42
+ ? sanitize_text_field($option1['sfsi_plus_premium_icons_box'])
43
+ : 'yes';
44
  ?>
45
 
46
  <!-- Section 1 "Which icons do you want to show on your site? " main div Start -->
views/sfsi_option_view2.php CHANGED
@@ -122,6 +122,19 @@
122
  $option4['sfsi_plus_ytube_chnlid'] = (isset($option4['sfsi_plus_ytube_chnlid']))
123
  ? strip_tags(trim($option4['sfsi_plus_ytube_chnlid']))
124
  : '';
 
 
 
 
 
 
 
 
 
 
 
 
 
125
 
126
  ?>
127
  <!-- Section 2 "What do you want the icons to do?" main div Start -->
@@ -205,7 +218,7 @@
205
  <?php if($option2['sfsi_plus_premium_email_box'] =='yes') { ?>
206
  <div class ="sfsi_plus_new_prmium_follw">
207
  <p>
208
- <b><?php _e( 'New:', SFSI_PLUS_DOMAIN); ?></b><?php _e( ' In our Premium Plugin you can now give your email icon other functions too, e.g.', SFSI_PLUS_DOMAIN); ?><b><?php _e( ' contact you ', SFSI_PLUS_DOMAIN); ?></b><?php _e( ' (email),', SFSI_PLUS_DOMAIN); ?><b><?php _e( ' share by email,', SFSI_PLUS_DOMAIN); ?></b><?php _e( ' and', SFSI_PLUS_DOMAIN); ?><b><?php _e( ' link to a certain page', SFSI_PLUS_DOMAIN); ?></b><?php _e( ' (e.g. your contact form or newsletter sign-up site). ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_functions_email_icon&utm_medium=banner" target="_blank"><?php _e( 'See all features.', SFSI_PLUS_DOMAIN); ?></a>
209
  </p>
210
  </div>
211
  <?php } ?>
@@ -255,7 +268,7 @@
255
  <?php if($option2['sfsi_plus_premium_facebook_box'] =='yes') { ?>
256
  <div class="sfsi_plus_new_prmium_follw">
257
  <p>
258
- <b><?php _e( 'New:', SFSI_PLUS_DOMAIN); ?></b> <?php _e( ' In our Premium Plugin you can also allow users to follow you on Facebook ', SFSI_PLUS_DOMAIN); ?><b><?php _e( ' directly from your site', SFSI_PLUS_DOMAIN); ?></b> <?php _e( ' (without leaving your page, increasing followers). ', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=direct_follow_facebook&utm_medium=banner" target="_blank"> <?php _e( 'See all features.', SFSI_PLUS_DOMAIN); ?> </a>
259
  </p>
260
  </div>
261
  <?php } ?>
@@ -355,7 +368,7 @@
355
  <?php if($option2['sfsi_plus_premium_google_box'] =='yes') { ?>
356
  <div class ="sfsi_plus_new_prmium_follw" >
357
  <p>
358
- <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In our Premium Plugin you can also allow users to follow you on Google+ ', SFSI_PLUS_DOMAIN ); ?><b><?php _e( 'directly from your site ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( '(without leaving your page, increasing followers). ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=direct_follow_google&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
359
  </p>
360
  </div>
361
  <?php } ?>
122
  $option4['sfsi_plus_ytube_chnlid'] = (isset($option4['sfsi_plus_ytube_chnlid']))
123
  ? strip_tags(trim($option4['sfsi_plus_ytube_chnlid']))
124
  : '';
125
+ $option2['sfsi_plus_premium_email_box'] = (isset($option2['sfsi_plus_premium_email_box']))
126
+ ? sanitize_text_field($option2['sfsi_plus_premium_email_box'])
127
+ : 'yes';
128
+ $option2['sfsi_plus_premium_facebook_box'] = (isset($option2['sfsi_plus_premium_facebook_box']))
129
+ ? sanitize_text_field($option2['sfsi_plus_premium_facebook_box'])
130
+ : 'yes';
131
+ $option2['sfsi_plus_premium_twitter_box'] = (isset($option2['sfsi_plus_premium_twitter_box']))
132
+ ? sanitize_text_field($option2['sfsi_plus_premium_twitter_box'])
133
+ : 'yes';
134
+
135
+ $option2['sfsi_plus_premium_google_box'] = (isset($option2['sfsi_plus_premium_google_box']))
136
+ ? sanitize_text_field($option2['sfsi_plus_premium_google_box'])
137
+ : 'yes';
138
 
139
  ?>
140
  <!-- Section 2 "What do you want the icons to do?" main div Start -->
218
  <?php if($option2['sfsi_plus_premium_email_box'] =='yes') { ?>
219
  <div class ="sfsi_plus_new_prmium_follw">
220
  <p>
221
+ <b><?php _e( 'New:', SFSI_PLUS_DOMAIN); ?></b><?php _e( ' In our Premium Plugin you can now give your email icon other functions too, e.g. contact you (email), share by email, and link to a certain page (e.g. your contact form or newsletter sign-up site). ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_functions_email_icon&utm_medium=banner" target="_blank"><?php _e( 'See all features.', SFSI_PLUS_DOMAIN); ?></a>
222
  </p>
223
  </div>
224
  <?php } ?>
268
  <?php if($option2['sfsi_plus_premium_facebook_box'] =='yes') { ?>
269
  <div class="sfsi_plus_new_prmium_follw">
270
  <p>
271
+ <b><?php _e( 'New:', SFSI_PLUS_DOMAIN); ?></b> <?php _e( ' In our Premium Plugin you can also allow users to follow you on Facebook directly from your site (without leaving your page, increasing followers). ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=direct_follow_facebook&utm_medium=banner" target="_blank"> <?php _e( 'See all features.', SFSI_PLUS_DOMAIN); ?> </a>
272
  </p>
273
  </div>
274
  <?php } ?>
368
  <?php if($option2['sfsi_plus_premium_google_box'] =='yes') { ?>
369
  <div class ="sfsi_plus_new_prmium_follw" >
370
  <p>
371
+ <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In our Premium Plugin you can also allow users to follow you on Google+ directly from your site (without leaving your page, increasing followers). ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=direct_follow_google&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
372
  </p>
373
  </div>
374
  <?php } ?>
views/sfsi_option_view3.php CHANGED
@@ -26,6 +26,9 @@
26
  $option3['sfsi_plus_shuffle_intervalTime'] = (isset($option3['sfsi_plus_shuffle_intervalTime']))
27
  ? intval($option3['sfsi_plus_shuffle_intervalTime'])
28
  : '';
 
 
 
29
  ?>
30
  <!-- Section 3 "What design & animation do you want to give your icons?" main div Start -->
31
  <div class="tab3">
26
  $option3['sfsi_plus_shuffle_intervalTime'] = (isset($option3['sfsi_plus_shuffle_intervalTime']))
27
  ? intval($option3['sfsi_plus_shuffle_intervalTime'])
28
  : '';
29
+ $option3['sfsi_plus_premium_icons_design_box'] = (isset($option3['sfsi_plus_premium_icons_design_box']))
30
+ ? intval($option3['sfsi_plus_premium_icons_design_box'])
31
+ : 'yes';
32
  ?>
33
  <!-- Section 3 "What design & animation do you want to give your icons?" main div Start -->
34
  <div class="tab3">
views/sfsi_option_view4.php CHANGED
@@ -124,7 +124,10 @@
124
  $option4['sfsi_plus_shares_manualCounts'] = (isset($option4['sfsi_plus_shares_manualCounts']))
125
  ? intval($option4['sfsi_plus_shares_manualCounts'])
126
  : '';
127
-
 
 
 
128
  $counts = sfsi_plus_getCounts();
129
  /* fetch counts for admin sections */
130
 
@@ -341,9 +344,9 @@
341
  </ul>
342
  <?php if($option4['sfsi_plus_premium_count_box'] =='yes') { ?>
343
  <div class="sfsi_plus_facebook_pagedeasc" style="<?php echo (isset($option4['sfsi_plus_facebook_countsFrom']) && $option4['sfsi_plus_facebook_countsFrom'] =='manual') ? 'display:none;' : '' ;?>">
344
- <p class="sfsi_plus_shared_premium">
345
- <?php _e( 'Note :', SFSI_PLUS_DOMAIN ); ?><?php _e( 'This plugin uses ', SFSI_PLUS_DOMAIN ); ?><u><?php _e( 'one', SFSI_PLUS_DOMAIN ); ?></u><?php _e( ' API shared by all users of this plugin. There is a limit (set by Facebook) how often this API can get the counts per day, so it may happen that it returns “0 counts” later in the day.', SFSI_PLUS_DOMAIN ); ?><br><br><?php _e( 'Therefore we implemented a solution as part of our Premium Plugin where you can ', SFSI_PLUS_DOMAIN ); ?><b><?php _e( 'easily ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'set up your own API in a few steps, which will fix this problem.', SFSI_PLUS_DOMAIN ); ?><br><br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=facebook_counts&utm_medium=banner" target="_blank"><?php _e( 'See all features of the premium plugin', SFSI_PLUS_DOMAIN ); ?></a>
346
- </p>
347
  </div>
348
  <?php } ?>
349
  </div>
@@ -672,7 +675,7 @@
672
  <input name="sfsi_plus_instagram_User" class="input_facebook" type="text" value="<?php echo (isset($option4['sfsi_plus_instagram_User']) && $option4['sfsi_plus_instagram_User']!='') ? $option4['sfsi_plus_instagram_User'] : '' ;?>" />
673
  <?php if($option4['sfsi_plus_premium_count_box'] =='yes'){ ?>
674
  <p class="sfsi_plus_instagram_shared_premium" >
675
- <?php _e( 'Note :', SFSI_PLUS_DOMAIN ); ?><?php _e( 'This plugin uses ', SFSI_PLUS_DOMAIN ); ?><u><?php _e( 'one', SFSI_PLUS_DOMAIN ); ?></u><?php _e( ' API shared by all users of this plugin. There is a limit (set by Instagram) how often this API can get the counts per day, so it may happen that it returns “0 counts” later in the day.', SFSI_PLUS_DOMAIN ); ?><br><br><?php _e( 'Therefore we implemented a solution as part of our Premium Plugin where you can ', SFSI_PLUS_DOMAIN ); ?><b><?php _e( 'easily ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'set up your own API in a few steps, which will fix this problem.', SFSI_PLUS_DOMAIN ); ?><br><br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=instagram_counts&utm_medium=banner" target="_blank"><?php _e( 'See all features of the premium plugin', SFSI_PLUS_DOMAIN ); ?></a>
676
  </p>
677
  <?php } ?>
678
  </li>
124
  $option4['sfsi_plus_shares_manualCounts'] = (isset($option4['sfsi_plus_shares_manualCounts']))
125
  ? intval($option4['sfsi_plus_shares_manualCounts'])
126
  : '';
127
+ $option4['sfsi_plus_premium_count_box'] = (isset($option4['sfsi_plus_premium_count_box']))
128
+ ? sanitize_text_field($option4['sfsi_plus_premium_count_box'])
129
+ : 'yes';
130
+
131
  $counts = sfsi_plus_getCounts();
132
  /* fetch counts for admin sections */
133
 
344
  </ul>
345
  <?php if($option4['sfsi_plus_premium_count_box'] =='yes') { ?>
346
  <div class="sfsi_plus_facebook_pagedeasc" style="<?php echo (isset($option4['sfsi_plus_facebook_countsFrom']) && $option4['sfsi_plus_facebook_countsFrom'] =='manual') ? 'display:none;' : '' ;?>">
347
+ <p class="sfsi_plus_shared_premium">
348
+ <b><?php _e( 'Note: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'This plugin uses one API shared by all users of this plugin. There is a limit (set by Facebook) how often this API can get the counts per day, so it may happen that it returns “0 counts” later in the day.', SFSI_PLUS_DOMAIN ); ?><br><br><?php _e( 'Therefore we implemented a solution as part of our Premium Plugin where you can easily set up your own API in a few steps, which will fix this problem.', SFSI_PLUS_DOMAIN ); ?><br><br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=facebook_counts&utm_medium=banner" target="_blank"><?php _e( 'See all features of the premium plugin', SFSI_PLUS_DOMAIN ); ?></a>
349
+ </p>
350
  </div>
351
  <?php } ?>
352
  </div>
675
  <input name="sfsi_plus_instagram_User" class="input_facebook" type="text" value="<?php echo (isset($option4['sfsi_plus_instagram_User']) && $option4['sfsi_plus_instagram_User']!='') ? $option4['sfsi_plus_instagram_User'] : '' ;?>" />
676
  <?php if($option4['sfsi_plus_premium_count_box'] =='yes'){ ?>
677
  <p class="sfsi_plus_instagram_shared_premium" >
678
+ <b><?php _e( 'Note: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'This plugin uses one API shared by all users of this plugin. There is a limit (set by Instagram) how often this API can get the counts per day, so it may happen that it returns “0 counts” later in the day.', SFSI_PLUS_DOMAIN ); ?><br><br><?php _e( 'Therefore we implemented a solution as part of our Premium Plugin where you can easily set up your own API in a few steps, which will fix this problem. ', SFSI_PLUS_DOMAIN ); ?><br><br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=instagram_counts&utm_medium=banner" target="_blank"><?php _e( 'See all features of the premium plugin', SFSI_PLUS_DOMAIN ); ?></a>
679
  </p>
680
  <?php } ?>
681
  </li>
views/sfsi_option_view5.php CHANGED
@@ -90,7 +90,9 @@
90
  $option5['sfsi_plus_houzz_MouseOverText'] = (isset($option5['sfsi_plus_houzz_MouseOverText']))
91
  ? sanitize_text_field($option5['sfsi_plus_houzz_MouseOverText'])
92
  : '';
93
-
 
 
94
 
95
  $visit_iconsUrl = SFSI_PLUS_PLUGURL."images/visit_icons/";
96
  if(is_array($custom_icons_order) )
90
  $option5['sfsi_plus_houzz_MouseOverText'] = (isset($option5['sfsi_plus_houzz_MouseOverText']))
91
  ? sanitize_text_field($option5['sfsi_plus_houzz_MouseOverText'])
92
  : '';
93
+ $option5['sfsi_plus_premium_size_box'] = (isset($option5['sfsi_plus_premium_size_box']))
94
+ ? sanitize_text_field($option5['sfsi_plus_premium_size_box'])
95
+ : 'yes';
96
 
97
  $visit_iconsUrl = SFSI_PLUS_PLUGURL."images/visit_icons/";
98
  if(is_array($custom_icons_order) )
views/sfsi_option_view7.php CHANGED
@@ -41,6 +41,9 @@
41
  $option7['sfsi_plus_Shown_popupOnceTime'] = (isset($option7['sfsi_plus_Shown_popupOnceTime']))
42
  ? intval($option7['sfsi_plus_Shown_popupOnceTime'])
43
  : '';
 
 
 
44
  ?>
45
  <!-- Section 7 "Do you want to display a pop-up, asking people to subscribe?" main div Start -->
46
  <div class="tab7">
@@ -367,12 +370,8 @@
367
  <?php if($option7['sfsi_plus_premium_popup_box'] =='yes'){ ?>
368
  <div class="sfsi_plus_prem_show">
369
  <p class=sfsi_plus_prem_plu_desc>
370
- <b><?php _e( 'New :', SFSI_PLUS_DOMAIN ); ?></b>
371
- <?php _e( 'The Premium Plugin also allows you to show the pop-up when a user tries to ', SFSI_PLUS_DOMAIN ); ?>
372
- <b><?php _e( 'leave your page', SFSI_PLUS_DOMAIN ); ?></b>
373
- <?php _e( '. Also, you can ', SFSI_PLUS_DOMAIN ); ?>
374
- <b> <?php _e( 'limit how often the pop-up is shown ', SFSI_PLUS_DOMAIN ); ?></b>
375
- <?php _e( 'to the same user (e.g. only once per day) ', SFSI_PLUS_DOMAIN ); ?>
376
  <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank"> <?php _e( 'Check it out', SFSI_PLUS_DOMAIN ); ?></a>
377
  </p>
378
  </div>
41
  $option7['sfsi_plus_Shown_popupOnceTime'] = (isset($option7['sfsi_plus_Shown_popupOnceTime']))
42
  ? intval($option7['sfsi_plus_Shown_popupOnceTime'])
43
  : '';
44
+ $option7['sfsi_plus_premium_popup_box'] = (isset($option7['sfsi_plus_premium_popup_box']))
45
+ ? sanitize_text_field($option7['sfsi_plus_premium_popup_box'])
46
+ : 'yes';
47
  ?>
48
  <!-- Section 7 "Do you want to display a pop-up, asking people to subscribe?" main div Start -->
49
  <div class="tab7">
370
  <?php if($option7['sfsi_plus_premium_popup_box'] =='yes'){ ?>
371
  <div class="sfsi_plus_prem_show">
372
  <p class=sfsi_plus_prem_plu_desc>
373
+ <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b>
374
+ <?php _e( 'The Premium Plugin also allows you to show the pop-up when a user tries to leave your page . Also, you can limit how often the pop-up is shown to the same user (e.g. only once per day) ', SFSI_PLUS_DOMAIN ); ?>
 
 
 
 
375
  <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank"> <?php _e( 'Check it out', SFSI_PLUS_DOMAIN ); ?></a>
376
  </p>
377
  </div>
views/sfsi_option_view8.php CHANGED
@@ -99,7 +99,11 @@
99
  : '';
100
  $option8['sfsi_plus_rectfbshare'] = (isset($option8['sfsi_plus_rectfbshare']))
101
  ? sanitize_text_field($option8['sfsi_plus_rectfbshare'])
102
- : '';
 
 
 
 
103
  ?>
104
  <div class="tab8">
105
  <ul class="sfsiplus_icn_listing8">
@@ -490,7 +494,7 @@
490
  </label><input name="sfsi_plus_textBefor_icons" type="text" value="<?php echo ($option8['sfsi_plus_textBefor_icons']!='') ? $option8['sfsi_plus_textBefor_icons'] : '' ; ?>" />
491
  <?php if($option8['sfsi_plus_show_premium_placement_box'] == 'yes'){ ?>
492
  <p class ="sfsi_plus_prem_plu_desc_define">
493
- <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In the Premium Plugin you can now also define the ', SFSI_PLUS_DOMAIN ); ?><b><?php _e( 'font size, type,', SFSI_PLUS_DOMAIN ); ?></b><?php _e( ' and the ', SFSI_PLUS_DOMAIN ); ?><b><?php _e( 'margins below/above the icons. ', SFSI_PLUS_DOMAIN ); ?></b><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_placement_options&utm_medium=banner" target="_blank"><?php _e( 'Check it out.', SFSI_PLUS_DOMAIN ); ?></a>
494
  </p>
495
  <?php } ?>
496
  </div>
@@ -525,7 +529,7 @@
525
  <div class ="sfsi_plus_new_prmium_follw">
526
  <p>
527
  <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In our Premium Plugin you have many more placement options, e.g. place the icons statically on the page, optimize placement for mobile, don’t show them on certain pages, show them while user is scrolling down the page (or not) etc. ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_placement_options&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
528
- </p>
529
  </div>
530
  <?php } ?>
531
 
99
  : '';
100
  $option8['sfsi_plus_rectfbshare'] = (isset($option8['sfsi_plus_rectfbshare']))
101
  ? sanitize_text_field($option8['sfsi_plus_rectfbshare'])
102
+ : '';
103
+
104
+ $option8['sfsi_plus_show_premium_placement_box'] = (isset($option8['sfsi_plus_show_premium_placement_box']))
105
+ ? sanitize_text_field($option8['sfsi_plus_show_premium_placement_box'])
106
+ : 'yes';
107
  ?>
108
  <div class="tab8">
109
  <ul class="sfsiplus_icn_listing8">
494
  </label><input name="sfsi_plus_textBefor_icons" type="text" value="<?php echo ($option8['sfsi_plus_textBefor_icons']!='') ? $option8['sfsi_plus_textBefor_icons'] : '' ; ?>" />
495
  <?php if($option8['sfsi_plus_show_premium_placement_box'] == 'yes'){ ?>
496
  <p class ="sfsi_plus_prem_plu_desc_define">
497
+ <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( ' In the Premium Plugin you can now also define the font size, type, and the margins below/above the icons. ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_placement_options&utm_medium=banner" target="_blank"><?php _e( 'Check it out.', SFSI_PLUS_DOMAIN ); ?></a>
498
  </p>
499
  <?php } ?>
500
  </div>
529
  <div class ="sfsi_plus_new_prmium_follw">
530
  <p>
531
  <b><?php _e( 'New: ', SFSI_PLUS_DOMAIN ); ?></b><?php _e( 'In our Premium Plugin you have many more placement options, e.g. place the icons statically on the page, optimize placement for mobile, don’t show them on certain pages, show them while user is scrolling down the page (or not) etc. ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_placement_options&utm_medium=banner" target="_blank"><?php _e( 'See all features', SFSI_PLUS_DOMAIN ); ?></a>
532
+ </p>
533
  </div>
534
  <?php } ?>
535