Social Media Share Buttons & Social Sharing Icons - Version 2.0.3

Version Description

  • Optimized texts
Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0.3

css/sfsi-style.css CHANGED
@@ -958,6 +958,7 @@ ul.tab_3_icns li .icns_tab_3, ul.tab_3_icns li .radio {
958
  }
959
  .sfsi_Sicons .fb_iframe_widget {
960
  float: left;
 
961
  width: 73px;
962
  margin: 2px 0 0;
963
  }
958
  }
959
  .sfsi_Sicons .fb_iframe_widget {
960
  float: left;
961
+ /*min-width: 98px;*/
962
  width: 73px;
963
  margin: 2px 0 0;
964
  }
images/questionmark.png CHANGED
Binary file
images/questionmark_large.png ADDED
Binary file
images/sad_image.png ADDED
Binary file
images/smile.png ADDED
Binary file
js/custom-admin.js CHANGED
@@ -535,12 +535,7 @@ function sfsi_update_step5() {
535
  ele:SFSI(this).attr("element-id")
536
  });
537
  });
538
-
539
- // var mst = SFSI("input[name='sfsi_icons_floatMargin_top']").val(),
540
- // msb = SFSI("input[name='sfsi_icons_floatMargin_bottom']").val(),
541
- // msl = SFSI("input[name='sfsi_icons_floatMargin_left']").val(),
542
- // msr = SFSI("input[name='sfsi_icons_floatMargin_right']").val();
543
-
544
  var v = 1 == SFSI("input[name='sfsi_rss_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_rss_MouseOverText']").val(), g = 1 == SFSI("input[name='sfsi_email_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_email_MouseOverText']").val(), k = 1 == SFSI("input[name='sfsi_twitter_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_twitter_MouseOverText']").val(), y = 1 == SFSI("input[name='sfsi_facebook_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_facebook_MouseOverText']").val(), b = 1 == SFSI("input[name='sfsi_google_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_google_MouseOverText']").val(), w = 1 == SFSI("input[name='sfsi_linkedIn_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_linkedIn_MouseOverText']").val(), x = 1 == SFSI("input[name='sfsi_youtube_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_youtube_MouseOverText']").val(), C = 1 == SFSI("input[name='sfsi_pinterest_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_pinterest_MouseOverText']").val(), D = 1 == SFSI("input[name='sfsi_instagram_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_instagram_MouseOverText']").val(), O = {};
545
  SFSI("input[name='sfsi_custom_MouseOverTexts[]']").each(function() {
546
  O[SFSI(this).attr("file-id")] = this.value;
535
  ele:SFSI(this).attr("element-id")
536
  });
537
  });
538
+
 
 
 
 
 
539
  var v = 1 == SFSI("input[name='sfsi_rss_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_rss_MouseOverText']").val(), g = 1 == SFSI("input[name='sfsi_email_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_email_MouseOverText']").val(), k = 1 == SFSI("input[name='sfsi_twitter_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_twitter_MouseOverText']").val(), y = 1 == SFSI("input[name='sfsi_facebook_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_facebook_MouseOverText']").val(), b = 1 == SFSI("input[name='sfsi_google_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_google_MouseOverText']").val(), w = 1 == SFSI("input[name='sfsi_linkedIn_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_linkedIn_MouseOverText']").val(), x = 1 == SFSI("input[name='sfsi_youtube_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_youtube_MouseOverText']").val(), C = 1 == SFSI("input[name='sfsi_pinterest_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_pinterest_MouseOverText']").val(), D = 1 == SFSI("input[name='sfsi_instagram_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_instagram_MouseOverText']").val(), O = {};
540
  SFSI("input[name='sfsi_custom_MouseOverTexts[]']").each(function() {
541
  O[SFSI(this).attr("file-id")] = this.value;
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_pluginVersion", "2.02");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
@@ -222,7 +222,7 @@ function sfsi_update_plugin()
222
  }
223
 
224
 
225
- if(!isset($option5['sfsi_icons_suppress_errors'])){
226
 
227
  $sup_errors = "no";
228
  $sup_errors_banner_dismissed = true;
@@ -232,8 +232,8 @@ function sfsi_update_plugin()
232
  $sup_errors_banner_dismissed = false;
233
  }
234
 
235
- $option5['sfsi_icons_suppress_errors'] = $sup_errors;
236
- update_option('sfsi_error_reporting_notice_dismissed',$sup_errors_banner_dismissed);
237
  }
238
  }
239
 
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "2.03");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
222
  }
223
 
224
 
225
+ if(!isset($option5['sfsi_pplus_icons_suppress_errors'])){
226
 
227
  $sup_errors = "no";
228
  $sup_errors_banner_dismissed = true;
232
  $sup_errors_banner_dismissed = false;
233
  }
234
 
235
+ $option5['sfsi_pplus_icons_suppress_errors'] = $sup_errors;
236
+ update_option('sfsi_pplus_error_reporting_notice_dismissed',$sup_errors_banner_dismissed);
237
  }
238
  }
239
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialdude
3
  Tags: social media, share, buttons, social widget, 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: 2.0.2
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -275,6 +275,9 @@ You cannot use the same plugin twice, however you can install both the USM as we
275
 
276
  == Changelog ==
277
 
 
 
 
278
  = 2.0.2 =
279
  * Addthis removed due to GDPR
280
  * New option to switch debugging mode on/off
@@ -706,5 +709,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
706
 
707
  == Upgrade Notice ==
708
 
709
- = 2.0.2 =
710
  Please upgrade
3
  Tags: social media, share, buttons, social widget, 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: 2.0.3
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
275
 
276
  == Changelog ==
277
 
278
+ = 2.0.3 =
279
+ * Optimized texts
280
+
281
  = 2.0.2 =
282
  * Addthis removed due to GDPR
283
  * New option to switch debugging mode on/off
709
 
710
  == Upgrade Notice ==
711
 
712
+ = 2.0.3 =
713
  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: 2.0.2
9
  License: GPLv2 or later
10
  */
11
 
@@ -17,6 +17,8 @@ global $wpdb;
17
  define('SFSI_DOCROOT', dirname(__FILE__));
18
  define('SFSI_PLUGURL', plugin_dir_url(__FILE__));
19
  define('SFSI_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
 
 
20
 
21
  function sfsi_get_current_page_url()
22
  {
@@ -55,7 +57,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') < 2.02)
59
  {
60
  add_action("init", "sfsi_update_plugin");
61
  }
@@ -72,6 +74,7 @@ function sfsi_plugin_redirect()
72
  }
73
 
74
  //************************************** Setting error reporting STARTS ****************************************//
 
75
  function sfsi_error_reporting(){
76
 
77
  $option5 = unserialize(get_option('sfsi_section5_options',false));
@@ -86,7 +89,6 @@ function sfsi_error_reporting(){
86
  }
87
  }
88
 
89
-
90
  //************************************** Setting error reporting CLOSES ****************************************//
91
 
92
  //shortcode for the ultimate social icons {Monad}
@@ -277,6 +279,13 @@ function check_sfsfiupdatedoptions()
277
  }
278
  }
279
 
 
 
 
 
 
 
 
280
  //sanitizing values
281
  function string_sanitize($s) {
282
  $result = preg_replace("/[^a-zA-Z0-9]+/", " ", html_entity_decode($s, ENT_QUOTES));
@@ -738,17 +747,80 @@ function sfsi_actionLinks($links)
738
  {
739
  $links[] = '<a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" id="sfsi_deactivateButton" style="color:#FF0000;"><b>Need help?</b></a>';
740
  $links[] = '<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" id="sfsi_deactivateButton" style="color:#38B54A;"><b>Check out pro version</b></a>';
741
- $links[] = @$links["deactivate"];
742
-
743
- if(isset($links["edit"]) && empty($links["edit"])){
744
  $links[] = @$links["edit"];
745
  }
 
 
 
 
746
  $links[] = '<a href="'.admin_url("/admin.php?page=sfsi-options").'">Settings</a>';
747
- unset($links['deactivate']);
 
748
  unset($links['edit']);
749
  return $links;
750
  }
751
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
752
  /* redirect setting page hook */
753
 
754
  /*add_action('admin_init', 'sfsi_plugin_redirect');
@@ -1053,13 +1125,15 @@ function sfsi_error_reporting_notice(){
1053
 
1054
  if (is_admin()) :
1055
 
1056
- $sfsi_error_reporting_notice_txt = 'We noticed that you have set error reporting to "yes" in wp-config. Our plugin (Ultimate Social Media) switches this to "off" so that no errors are displayed (which may also impact error messages from your theme or other plugins). If you don\'t want that, please select the respective option under question 6 (at the bottom).';
1057
 
1058
  $isDismissed = get_option('sfsi_error_reporting_notice_dismissed',false);
1059
 
1060
  $option5 = unserialize(get_option('sfsi_section5_options',false));
1061
 
1062
- if(isset($isDismissed) && false == $isDismissed && defined('WP_DEBUG') && false != WP_DEBUG && "yes"== $option5['sfsi_icons_suppress_errors']) { ?>
 
 
1063
 
1064
  <div style="padding: 10px;margin-left: 0px;position: relative;" id="sfsi_error_reporting_notice" class="error notice">
1065
 
@@ -1109,4 +1183,4 @@ function sfsi_dismiss_error_reporting_notice(){
1109
  }
1110
  add_action( 'wp_ajax_sfsi_dismiss_error_reporting_notice', 'sfsi_dismiss_error_reporting_notice' );
1111
 
1112
- // ********************************* Notice for removal of AddThis option STARTS *******************************//
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: 2.0.3
9
  License: GPLv2 or later
10
  */
11
 
17
  define('SFSI_DOCROOT', dirname(__FILE__));
18
  define('SFSI_PLUGURL', plugin_dir_url(__FILE__));
19
  define('SFSI_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
20
+ define('SFSI_SUPPORT_FORM','https://goo.gl/wgrtUV');
21
+ define('SFSI_DOMAIN','ultimate-social-media-icons');
22
 
23
  function sfsi_get_current_page_url()
24
  {
57
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
58
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
59
 
60
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.03)
61
  {
62
  add_action("init", "sfsi_update_plugin");
63
  }
74
  }
75
 
76
  //************************************** Setting error reporting STARTS ****************************************//
77
+
78
  function sfsi_error_reporting(){
79
 
80
  $option5 = unserialize(get_option('sfsi_section5_options',false));
89
  }
90
  }
91
 
 
92
  //************************************** Setting error reporting CLOSES ****************************************//
93
 
94
  //shortcode for the ultimate social icons {Monad}
279
  }
280
  }
281
 
282
+ add_action('plugins_loaded', 'sfsi_load_domain');
283
+ function sfsi_load_domain()
284
+ {
285
+ $plugin_dir = basename(dirname(__FILE__)).'/languages';
286
+ load_plugin_textdomain( SFSI_DOMAIN, false, $plugin_dir );
287
+ }
288
+
289
  //sanitizing values
290
  function string_sanitize($s) {
291
  $result = preg_replace("/[^a-zA-Z0-9]+/", " ", html_entity_decode($s, ENT_QUOTES));
747
  {
748
  $links[] = '<a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" id="sfsi_deactivateButton" style="color:#FF0000;"><b>Need help?</b></a>';
749
  $links[] = '<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" id="sfsi_deactivateButton" style="color:#38B54A;"><b>Check out pro version</b></a>';
750
+
751
+ if(isset($links["edit"]) && !empty($links["edit"])){
 
752
  $links[] = @$links["edit"];
753
  }
754
+
755
+ $slug = plugin_basename(dirname(__FILE__));
756
+ $links[$slug] = @$links["deactivate"].'<i class="sfsi-deactivate-slug"></i>';
757
+
758
  $links[] = '<a href="'.admin_url("/admin.php?page=sfsi-options").'">Settings</a>';
759
+
760
+ unset($links["deactivate"]);
761
  unset($links['edit']);
762
  return $links;
763
  }
764
 
765
+ global $pagenow;
766
+
767
+ if( 'plugins.php' === $pagenow ){
768
+
769
+ add_action( 'admin_footer', '_sfsi_add_deactivation_feedback_dialog_box');
770
+
771
+ function _sfsi_add_deactivation_feedback_dialog_box(){
772
+
773
+ include_once(SFSI_DOCROOT.'/views/deactivation/sfsi_deactivation_popup.php'); ?>
774
+
775
+ <script type="text/javascript">
776
+
777
+ jQuery(document).ready(function($){
778
+
779
+ var _deactivationLink = $('.sfsi-deactivate-slug').prev();
780
+
781
+ $('.sfsi-deactivation-reason-link').find('a').attr('href',_deactivationLink.attr('href'));
782
+
783
+ _deactivationLink.on('click',function(e){
784
+ e.preventDefault();
785
+ $('[data-popup="popup-1"]').fadeIn(350);
786
+ });
787
+
788
+ //----- CLOSE
789
+ $('[data-popup-close]').on('click', function(e) {
790
+ e.preventDefault();
791
+ var targeted_popup_class = jQuery(this).attr('data-popup-close');
792
+ $('[data-popup="' + targeted_popup_class + '"]').fadeOut(350);
793
+ });
794
+
795
+ //----- OPEN
796
+ $('[data-popup-open]').on('click', function(e) {
797
+ e.preventDefault();
798
+ var targeted_popup_class = jQuery(this).attr('data-popup-open');
799
+ $('[data-popup="' + targeted_popup_class + '"]').fadeIn(350);
800
+ });
801
+
802
+ $('.sfsi-deactivate-radio').on('click', function(e) {
803
+
804
+ $('.sfsi-deactivate-radio').attr('checked',false);
805
+ $(this).attr('checked',true);
806
+
807
+ var val = $(this).val();
808
+
809
+ $('.sfsi-reason-section').removeClass('show').addClass('hide');
810
+ $(this).parent().find('.sfsi-reason-section').addClass('show').removeClass('hide');
811
+ });
812
+
813
+ $('.sfsi-deactivate-radio-text').on('click',function(e){
814
+ $(this).prev().trigger('click');
815
+ });
816
+
817
+ });
818
+
819
+ </script>
820
+ <?php
821
+ }
822
+ }
823
+
824
  /* redirect setting page hook */
825
 
826
  /*add_action('admin_init', 'sfsi_plugin_redirect');
1125
 
1126
  if (is_admin()) :
1127
 
1128
+ $sfsi_error_reporting_notice_txt = 'We noticed that you have set error reporting to "yes" in wp-config. Our plugin (Ultimate Social Media Icons) switches this to "off" so that no errors are displayed (which may also impact error messages from your theme or other plugins). If you don\'t want that, please select the respective option under question 6 (at the bottom).';
1129
 
1130
  $isDismissed = get_option('sfsi_error_reporting_notice_dismissed',false);
1131
 
1132
  $option5 = unserialize(get_option('sfsi_section5_options',false));
1133
 
1134
+ $sfsi_icons_suppress_errors = isset($option5['sfsi_icons_suppress_errors']) && !empty($option5['sfsi_icons_suppress_errors']) ? $option5['sfsi_icons_suppress_errors']: false;
1135
+
1136
+ if(isset($isDismissed) && false == $isDismissed && defined('WP_DEBUG') && false != WP_DEBUG && "yes"== $sfsi_icons_suppress_errors) { ?>
1137
 
1138
  <div style="padding: 10px;margin-left: 0px;position: relative;" id="sfsi_error_reporting_notice" class="error notice">
1139
 
1183
  }
1184
  add_action( 'wp_ajax_sfsi_dismiss_error_reporting_notice', 'sfsi_dismiss_error_reporting_notice' );
1185
 
1186
+ // ********************************* Notice for error reporting CLOSE *******************************//
views/deactivation/sfsi_deactivation_popup.php ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ .sfsi-top-header .sfsi-sad-image,.sfsi-top-header h2{vertical-align:middle;display:inline-block}.banner_support_forum{margin:50px auto;text-align:center;width:80%}.banner_support_forum .banner-1 img{width:100%}.sfsi-deactivation-popup{width:100%;height:100%;display:none;position:fixed;top:0;left:0;background:rgba(0,0,0,.75)}.sfsi-deactivation-popup-content{max-width:540px;width:90%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);box-shadow:0 2px 6px rgba(0,0,0,1);border-radius:3px;background:#fff}.sfsi-deactivation-popup-close{padding:0 5px 3px;display:inline-block;position:absolute;top:25px;right:25px;transition:ease .25s all;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);border-radius:100%;background:#FEFEFE;font-size:20px;text-align:center;line-height:100%;color:#acacac;border:1px solid #acacac;text-decoration:none}.sfsi-deactivation-popup-close:active,.sfsi-deactivation-popup-close:focus,.sfsi-deactivation-popup-close:hover{color:#acacac;border:1px solid #acacac}.sfsi-deactivation-popup-close:focus{box-shadow:none!important}.sfsi-top-header{text-align:center;padding:30px 30px 0}.sfsi-top-header h2{font-size:22.92px;margin-right:12px}.sfsi-popup-content{padding:0 30px}.sfsi-text{text-align:center;padding-bottom:14px}.sfsi-text .sfsi-please{font-size:16.92px;font-weight:900;display:inline;text-decoration:none!important;border-bottom:1px solid #000!important}.sfsi-text .sfsi-please-other-text{font-size:14.92px;display:inline}.sfsi-go-to-support{text-align:center}.sfsi-go-to-support .go-to-support-forum{display:inline-block;background:#26B654;padding:14px 35px;font-size:19.34px;color:#fff;text-decoration:none;font-weight:700}.sfsi-info-text{text-align:center;margin-left:auto;width:70%;margin-right:auto;padding-top:10px;padding-bottom:23px}.sfsi-info-text p{font-size:9.31px!important}.sfsi-popup-footer{border-top:2px solid #f2f2f2}.sfsi-popup-footer .sfsi-deactivation-reason-link{text-align:center;padding:28px}.sfsi-popup-footer .sfsi-deactivation-reason-link a{text-decoration:none!important;font-size:12.73px;color:#000;border-bottom:1px Solid #000}.sfsi-radio-button-content{padding:23px 30px}.sfsi-deactivate-radio-text{font-size:16.92px!important;display:inline-block;margin:10px 0;padding-top:5px;cursor:pointer}.sfsi-reason-1-section .sfsi-popup-content .sfsi-text .sfsi-please-other-text img,.sfsi-reason-2-section .sfsi-popup-content .sfsi-text .sfsi-please-other-text img{vertical-align:middle!important;width:16px!important;margin-bottom:3px!important}.sfsi-deactivate-radio-text .sfsi-bold-text{font-weight:700!important}.sfsi-reason-1-section .sfsi-popup-content .sfsi-text,.sfsi-reason-3-section .sfsi-popup-content .sfsi-text{text-align:left;padding-top:10px;padding-bottom:14px;padding-left:23px}.sfsi-reason-1-section .sfsi-popup-content,.sfsi-reason-2-section .sfsi-popup-content,.sfsi-reason-3-section .sfsi-popup-content{padding:0!important}.sfsi-reason-1-section .sfsi-popup-content .sfsi-text .sfsi-please{border-bottom:none!important}.sfsi-premium-version-text{color:#5489D0!important;text-decoration:none;font-weight:700}.sfsi-just-deactivate-it{text-align:center}.sfsi-just-deactivate-it a{text-decoration:none!important;font-size:13.73px;color:#000;border-bottom:1px solid #000}.show{display:block}.hide{display:none}.marginbottom{margin-bottom:15px}
3
+
4
+ </style>
5
+
6
+ <div class="sfsi-deactivation-popup" data-popup="popup-1">
7
+
8
+ <div class="sfsi-deactivation-popup-content">
9
+
10
+ <div class="sfsi-popup-header sfsi-top-header">
11
+ <h2><?php _e('Oh! You don\'t like our plugin?',SFSI_DOMAIN); ?></h2>
12
+ <div class="sfsi-sad-image">
13
+ <img src="<?php echo SFSI_PLUGURL; ?>images/sad_image.png">
14
+ </div>
15
+ </div>
16
+
17
+ <div class="sfsi-popup-content">
18
+ <div class="sfsi-text">
19
+ <p class="sfsi-please"><?php _e('PLEASE',SFSI_DOMAIN); ?></p>
20
+ <p class="sfsi-please-other-text"><?php _e('let us know in the Support Forum what was the issue, <br>so that we can fix it. We‘ll respond quickly!',SFSI_DOMAIN); ?></p>
21
+ </div>
22
+ <div class="sfsi-go-to-support">
23
+ <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum"><?php _e('Go to Support Forum>',SFSI_DOMAIN); ?></a>
24
+ </div>
25
+ <div class="sfsi-info-text">
26
+ <p><?php _e('If you\'re not a Wordpress user yet, please sign up – it\'s quick! Once logged in you‘ll see a section at the bottom where you can ask your question.',SFSI_DOMAIN); ?> </p>
27
+ </div>
28
+ </div>
29
+ <div class="sfsi-popup-footer">
30
+ <div class="sfsi-deactivation-reason-link">
31
+ <a href="javascript:void(0)"><?php _e('No, don\'t worry, there was a different reason, I want to de-activate it',SFSI_DOMAIN); ?></a>
32
+ </div>
33
+ </div>
34
+
35
+ <a href="javascript:void(0)" class="sfsi-deactivation-popup-close" data-popup-close="popup-1">&times;</a>
36
+
37
+ </div>
38
+
39
+ </div>
40
+
41
+ <div class="sfsi-deactivation-popup" data-popup="popup-2">
42
+
43
+ <div class="sfsi-deactivation-popup-content">
44
+
45
+ <!-- Radio buttons START-->
46
+ <div class="sfsi-radio-button-content">
47
+
48
+ <form>
49
+
50
+ <div class="sfsi-reason-container">
51
+
52
+ <input type="radio" class="sfsi-deactivate-radio" name="reason" value="0">
53
+ <p class="sfsi-deactivate-radio-text">The plugin <span class="sfsi-bold-text">doesn't work for me</span></p>
54
+
55
+ <div class="sfsi-reason-section hide">
56
+ <div class="sfsi-popup-content">
57
+ <div class="sfsi-text">
58
+ <p class="sfsi-please">PLEASE</p>
59
+ <p class="sfsi-please-other-text">let us know in the Support Forum what didn't work, <br>so that we can fix it. We‘ll respond quickly! <img src="<?php echo SFSI_PLUGURL; ?>images/smile.png"></p>
60
+ </div>
61
+ <div class="sfsi-go-to-support">
62
+ <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum">Go to Support Forum ></a>
63
+ </div>
64
+ <div class="sfsi-info-text">
65
+ <p>If you‘re not a Wordpress user yet, please sign up – it‘s quick! Once logged in you‘ll see a section at the bottom where you can ask your question. </p>
66
+ </div>
67
+ </div>
68
+ </div>
69
+
70
+ </div>
71
+
72
+ <div class="sfsi-reason-container">
73
+
74
+ <input type="radio" class="sfsi-deactivate-radio" name="reason" value="1">
75
+ <p class="sfsi-deactivate-radio-text">I got the <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium" class="sfsi-premium-version-text">premium version</a>!</p>
76
+
77
+ <div class="sfsi-reason-section hide">
78
+ <div class="sfsi-popup-content">
79
+ <div class="sfsi-text">
80
+ <p class="sfsi-please-other-text">Thumbs up to that one! <img src="<?php echo SFSI_PLUGURL; ?>images/smile.png"></p>
81
+ </div>
82
+ <div class="sfsi-go-to-support">
83
+ <a href="javascript:void(0)" class="sfsi-deactive-plugin go-to-support-forum">De-activate plugin now</a>
84
+ </div>
85
+ </div>
86
+ </div>
87
+
88
+ </div>
89
+ <div class="sfsi-reason-container">
90
+
91
+ <input type="radio" class="sfsi-deactivate-radio" name="reason" value="2">
92
+ <p class="sfsi-deactivate-radio-text"><span class="sfsi-bold-text">Other</span></p>
93
+
94
+ <div class="sfsi-reason-section hide">
95
+ <div class="sfsi-popup-content marginbottom">
96
+ <div class="sfsi-text">
97
+ <p class="sfsi-please-other-text">Cool - if it was a reason we colud learn from, please let us know in the Support Forum.</p>
98
+ </div>
99
+ <div class="sfsi-go-to-support">
100
+ <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum">Go to Support Forum ></a>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </div>
105
+
106
+ <div class="sfsi-reason-container">
107
+
108
+ <div class="sfsi-just-deactivate-it">
109
+ <a href="javascript:void(0)" class="sfsi-deactive-plugin">Just de-activate it</a>
110
+ </div>
111
+
112
+ </div>
113
+
114
+ </form>
115
+
116
+ </div>
117
+ <!-- Radio buttons END-->
118
+
119
+ <a href="javascript:void(0)" class="sfsi-deactivation-popup-close" data-popup-close="popup-2">&times;</a>
120
+
121
+ </div>
122
+ </div>
views/sfsi_option_view5.php CHANGED
@@ -214,54 +214,8 @@
214
 
215
  <h4>Sticky icons</h4>
216
 
217
- <!-- <div class="space">
218
-
219
- <p class="list">Make icons float?</p>
220
- <ul class="enough_waffling">
221
- <li><input name="sfsi_icons_float" <?php //echo ($option5['sfsi_icons_float']=='yes') ? 'checked="true"' : '' ;?> type="radio" value="yes" class="styled" /><label>Yes</label></li>
222
- <li><input name="sfsi_icons_float" <?php //echo ($option5['sfsi_icons_float']=='no') ? 'checked="true"' : '' ;?> type="radio" value="no" class="styled" /><label>No</label></li>
223
- </ul>
224
-
225
- </div> -->
226
-
227
  <div class="clear float_options" <?php if($option5['sfsi_icons_stick']=='yes') :?> style="display:none" <?php endif;?>>
228
- <!--<div class="clear float_options" <?php //if($option5['sfsi_icons_stick']=='yes' || $option5['sfsi_icons_float']=='no') :?> style="display:none" <?php //endif;?>>-->
229
 
230
- <!-- <div style="width: 100%; float: left;">
231
- <div class="float">Where shall they float?</div>
232
- <div class="field " >
233
- <select name="sfsi_icons_floatPosition" id="sfsi_icons_floatPosition" class="styled">
234
- <option value="top-left" <?php //echo ($option5['sfsi_icons_floatPosition']=='top-left') ? 'selected="selected"' : '' ;?> >Top - Left</option>
235
- <option value="top-right" <?php //echo ($option5['sfsi_icons_floatPosition']=='top-right') ? 'selected="selected"' : '' ;?> >Top - Right</option>
236
- <option value="center-left" <?php //echo ($option5['sfsi_icons_floatPosition']=='center-left') ? 'selected="selected"' : '' ;?> >Center - Left</option>
237
- <option value="center-right" <?php //echo ($option5['sfsi_icons_floatPosition']=='center-right') ? 'selected="selected"' : '' ;?> >Center - Right</option>
238
- <option value="bottom-left" <?php //echo ($option5['sfsi_icons_floatPosition']=='bottom-left') ? 'selected="selected"' : '' ;?> >Bottom - Left</option>
239
- <option value="bottom-right" <?php //echo ($option5['sfsi_icons_floatPosition']=='bottom-right') ? 'selected="selected"' : '' ;?> >Bottom - Right</option>
240
- </select>
241
- </div>
242
- </div> -->
243
-
244
- <!-- <div style="width: 88%; float: left; margin:25px 0 0 187px">
245
- <h4>Margin From :</h4>
246
- <ul class="sfsi_floaticon_margin_sec">
247
- <li>
248
- <label>Top :</label>
249
- <input name="sfsi_icons_floatMargin_top" type="text" value="<?php //echo ($option5['sfsi_icons_floatMargin_top']!='') ? $option5['sfsi_icons_floatMargin_top'] : '' ;?>" /><ins>Pixels</ins>
250
- </li>
251
- <li>
252
- <label>Bottom :</label>
253
- <input name="sfsi_icons_floatMargin_bottom" type="text" value="<?php //echo ($option5['sfsi_icons_floatMargin_bottom'] != '') ? $option5['sfsi_icons_floatMargin_bottom'] : '' ;?>" /><ins>Pixels</ins>
254
- </li>
255
- <li>
256
- <label>Left :</label>
257
- <input name="sfsi_icons_floatMargin_left" type="text" value="<?php //echo ($option5['sfsi_icons_floatMargin_left']!='') ? $option5['sfsi_icons_floatMargin_left'] : '' ;?>" /><ins>Pixels</ins>
258
- </li>
259
- <li>
260
- <label>Right :</label>
261
- <input name="sfsi_icons_floatMargin_right" type="text" value="<?php //echo ($option5['sfsi_icons_floatMargin_right']!='') ? $option5['sfsi_icons_floatMargin_right'] : '' ;?>" /><ins>Pixels</ins>
262
- </li>
263
- </ul>
264
- </div> -->
265
 
266
  </div>
267
 
@@ -292,19 +246,10 @@
292
 
293
  </div>
294
 
295
- <!--disable float icons-->
296
- <!-- <div class="space disblfltonmbl">
297
- <p class="list">Disable float icons on mobile devices</p>
298
- <ul class="enough_waffling">
299
- <li><input name="sfsi_disable_floaticons" <?php //echo ($option5['sfsi_disable_floaticons']=='yes') ? 'checked="true"' : '' ;?> type="radio" value="yes" class="styled" /><label>Yes</label></li>
300
- <li><input name="sfsi_disable_floaticons" <?php //echo ($option5['sfsi_disable_floaticons']=='no') ? 'checked="true"' : '' ;?> type="radio" value="no" class="styled" /><label>No</label></li>
301
- </ul>
302
- </div> -->
303
- <!--disable float icons-->
304
 
305
  </div><!-- END icon's floating and stick section -->
306
 
307
- <!--******************************************************* Sharing texts & pictures section STARTS *********************************************************************-->
308
 
309
  <div class="row sfsi_custom_social_data_setting" id="custom_social_data_setting">
310
 
@@ -348,7 +293,7 @@
348
  </div>
349
  </div>
350
 
351
- <!--******************************************************* Sharing texts & pictures section CLOSES *********************************************************************-->
352
 
353
  <!-- mouse over text section start here -->
354
  <div class="row mouse_txt">
214
 
215
  <h4>Sticky icons</h4>
216
 
 
 
 
 
 
 
 
 
 
 
217
  <div class="clear float_options" <?php if($option5['sfsi_icons_stick']=='yes') :?> style="display:none" <?php endif;?>>
 
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
 
220
  </div>
221
 
246
 
247
  </div>
248
 
 
 
 
 
 
 
 
 
 
249
 
250
  </div><!-- END icon's floating and stick section -->
251
 
252
+ <!--************* Sharing texts & pictures section STARTS *****************************-->
253
 
254
  <div class="row sfsi_custom_social_data_setting" id="custom_social_data_setting">
255
 
293
  </div>
294
  </div>
295
 
296
+ <!--******************** Sharing texts & pictures section CLOSES ************************************************-->
297
 
298
  <!-- mouse over text section start here -->
299
  <div class="row mouse_txt">