Social Share Icons & Social Share Buttons - Version 2.7.9

Version Description

  • Linkedin-counter after posts corrected
Download this release

Release Info

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

Code changes from version 2.7.8 to 2.7.9

css/sfsi-admin-style.css CHANGED
@@ -1245,4 +1245,34 @@ ul.sfsi_show_hide_section {float: right;width: 14%;}
1245
 
1246
  .sfsi_social_sharing{margin-bottom: 15px;float: left;width: 51%;}
1247
  .socialPostTypesUl span {pointer-events: none}
1248
- .sfsiplus_pinterest_section .sfsi_plus_new_prmium_follw a{ font-weight: bold; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1245
 
1246
  .sfsi_social_sharing{margin-bottom: 15px;float: left;width: 51%;}
1247
  .socialPostTypesUl span {pointer-events: none}
1248
+ .sfsiplus_pinterest_section .sfsi_plus_new_prmium_follw a{ font-weight: bold; }
1249
+
1250
+ /*support forum*/
1251
+ .welcometext {float: left;width: 78%;}
1252
+ .welcometext p{margin-bottom: 8px !important;margin-top: 15px !important;}
1253
+ .supportforum {float: right;width: auto;background: #fff;text-align: center;padding: 0 20px 3px 7px;}
1254
+ .support-container p{font-family: helveticaregular !important;}
1255
+ .support-container{ padding: 7px 4px;}
1256
+ .have-questions{text-align: center;font-size: 20px;}
1257
+ .have-questions img{width: 45px;display: inline-block;}
1258
+ .have-questions .have-quest{display: inline-block;font-size: 20px;font-weight: 700;margin: 0;vertical-align: top;margin-top: 13px;}
1259
+ .have-questions .ask-question{margin-bottom: 3px !important;margin-top: 2px !important;}
1260
+ .support-forum-green-bg{ margin-top: 5px;margin-left: 20px;background: #26B654;width: 145px;border-radius: 5px;padding: 10px 16px 8px 15px;}
1261
+ .support-forum-green-bg img{display: inline-block;padding-right: 5px;vertical-align: top;margin-top: 3px;}
1262
+ .support-forum-green-div p.support-forum{display: inline-block;color: #fff;font-weight: 700;margin: 0 !important;}
1263
+ .support-forum-green-div a{text-decoration: none !important;}
1264
+ .respond-text p{margin: 10px 0 0 0px !important}
1265
+ .respond-text {margin-left: 20px;float: left;margin-bottom: 8px;}
1266
+
1267
+ #accordion, #accordion1 {
1268
+ float: left;
1269
+ clear: both;
1270
+ width: 100%;
1271
+ }
1272
+
1273
+ @media (min-width: 1631px) and (max-width: 1631px){
1274
+ .premiumComponent{width: 52% !important;}
1275
+ .premiumButtonsContainer{width: 44% !important;}
1276
+ .premiumButtonsContainer .premiumSection2{width: 41% !important;}
1277
+ .premiumButtonsContainer .premiumSection3{width: 41% !important;}
1278
+ }
css/sfsi-style.css CHANGED
@@ -1868,8 +1868,9 @@ ul.tab_3_list li span {
1868
  h2.optional {
1869
  font-family: helveticaregular;
1870
  font-size: 25px;
1871
- margin: 14px 0 19px;
1872
  color: #5a6570;
 
1873
  }
1874
  .utube_tool_bdr .utub_visit {
1875
  margin: 9px 0 0;
@@ -2324,6 +2325,7 @@ h2.optional {
2324
  .sfsi_plus_Sicons .sf_subscrbe a img
2325
  {
2326
  float: left;
 
2327
  }
2328
  .sfsi_plus_Sicons .sf_fb {
2329
  position: relative;
1868
  h2.optional {
1869
  font-family: helveticaregular;
1870
  font-size: 25px;
1871
+ margin: 25px 0 19px;
1872
  color: #5a6570;
1873
+ float: left;
1874
  }
1875
  .utube_tool_bdr .utub_visit {
1876
  margin: 9px 0 0;
2325
  .sfsi_plus_Sicons .sf_subscrbe a img
2326
  {
2327
  float: left;
2328
+ height: 20px !important;
2329
  }
2330
  .sfsi_plus_Sicons .sf_fb {
2331
  position: relative;
images/question.png ADDED
Binary file
images/support.png ADDED
Binary file
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.78");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_plus_pluginVersion", "2.79");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
libs/sfsi_widget.php CHANGED
@@ -1235,21 +1235,46 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
1235
  }
1236
 
1237
  /* fecth no of counts if active in admin section */
1238
- if(
1239
- $fromPost == 'yes' && !empty($post) &&
1240
- $sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay']=="yes" &&
1241
- $sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes"
1242
- )
1243
- {
1244
- $followers=$socialObj->sfsi_get_linkedin($current_url);
1245
- $counts=$socialObj->format_num($followers);
1246
- if(empty($counts))
1247
- {
1248
- $counts = (string) "0";
1249
- }
1250
- }
1251
- else
1252
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1253
  if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay']=="yes" && $sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes")
1254
  {
1255
  if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="manual")
@@ -1259,7 +1284,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
1259
  else if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="follower")
1260
  {
1261
  $linkedIn_compay=$sfsi_plus_section4_options['sfsi_plus_ln_company'];
1262
- $ln_settings=array('sfsi_plus_ln_api_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_api_key'],
1263
  'sfsi_plus_ln_secret_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_secret_key'],
1264
  'sfsi_plus_ln_oAuth_user_token'=>$sfsi_plus_section4_options['sfsi_plus_ln_oAuth_user_token']);
1265
 
@@ -1272,7 +1297,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
1272
  }
1273
  }
1274
  }
1275
- }
1276
  $totwith = $width+28+$icons_space;
1277
  $twt_margin = $totwith/2;
1278
 
1235
  }
1236
 
1237
  /* fecth no of counts if active in admin section */
1238
+ // if(
1239
+ // $fromPost == 'yes' && !empty($post) &&
1240
+ // $sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay']=="yes" &&
1241
+ // $sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes"
1242
+ // )
1243
+ // {
1244
+ // $followers=$socialObj->sfsi_get_linkedin($current_url);
1245
+ // $counts=$socialObj->format_num($followers);
1246
+ // if(empty($counts))
1247
+ // {
1248
+ // $counts = (string) "0";
1249
+ // }
1250
+ // }
1251
+ // else
1252
+ // {
1253
+ // if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay']=="yes" && $sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes")
1254
+ // {
1255
+ // if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="manual")
1256
+ // {
1257
+ // $counts = $socialObj->format_num($sfsi_plus_section4_options['sfsi_plus_linkedIn_manualCounts']);
1258
+ // }
1259
+ // else if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="follower")
1260
+ // {
1261
+ // $linkedIn_compay=$sfsi_plus_section4_options['sfsi_plus_ln_company'];
1262
+ // $ln_settings = array('sfsi_plus_ln_api_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_api_key'],
1263
+ // 'sfsi_plus_ln_secret_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_secret_key'],
1264
+ // 'sfsi_plus_ln_oAuth_user_token'=>$sfsi_plus_section4_options['sfsi_plus_ln_oAuth_user_token']);
1265
+
1266
+ // $followers=$socialObj->sfsi_getlinkedin_follower($linkedIn_compay,$ln_settings);
1267
+ // (int) $followers;
1268
+ // $counts=$socialObj->format_num($followers);
1269
+ // if(empty($counts))
1270
+ // {
1271
+ // $counts = (string) "0";
1272
+ // }
1273
+ // }
1274
+ // }
1275
+ // }
1276
+
1277
+
1278
  if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsDisplay']=="yes" && $sfsi_plus_section4_options['sfsi_plus_display_counts']=="yes")
1279
  {
1280
  if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="manual")
1284
  else if($sfsi_plus_section4_options['sfsi_plus_linkedIn_countsFrom']=="follower")
1285
  {
1286
  $linkedIn_compay=$sfsi_plus_section4_options['sfsi_plus_ln_company'];
1287
+ $ln_settings = array('sfsi_plus_ln_api_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_api_key'],
1288
  'sfsi_plus_ln_secret_key'=>$sfsi_plus_section4_options['sfsi_plus_ln_secret_key'],
1289
  'sfsi_plus_ln_oAuth_user_token'=>$sfsi_plus_section4_options['sfsi_plus_ln_oAuth_user_token']);
1290
 
1297
  }
1298
  }
1299
  }
1300
+
1301
  $totwith = $width+28+$icons_space;
1302
  $twt_margin = $totwith/2;
1303
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.7.8
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -432,6 +432,9 @@ The premium plugin offrs many more social buttons from other social media platfo
432
 
433
  == Changelog ==
434
 
 
 
 
435
  = 2.7.8 =
436
  * Text changes
437
 
@@ -714,5 +717,5 @@ The premium plugin offrs many more social buttons from other social media platfo
714
 
715
  == Upgrade Notice ==
716
 
717
- = 2.7.8 =
718
  * Please update
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.7.9
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
432
 
433
  == Changelog ==
434
 
435
+ = 2.7.9 =
436
+ * Linkedin-counter after posts corrected
437
+
438
  = 2.7.8 =
439
  * Text changes
440
 
717
 
718
  == Upgrade Notice ==
719
 
720
+ = 2.7.9 =
721
  * 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.7.8
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.78)
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.7.9
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.79)
96
  {
97
  add_action("init", "sfsi_plus_update_plugin");
98
  }
views/sfsi_options_view.php CHANGED
@@ -1,11 +1,11 @@
1
  <!-- Loader Image section -->
2
- <div id="sfpluspageLoad" >
3
 
4
  </div>
5
  <!-- END Loader Image section -->
6
 
7
  <!-- javascript error loader -->
8
- <div class="error" id="sfsi_onload_errors" style="margin-left: 60px;display: none;">
9
  <p>
10
  <?php _e('We found errors in your javascript which may cause the plugin to not work properly. Please fix the error:',SFSI_PLUS_DOMAIN ); ?>
11
  </p><p id="sfsi_jerrors"></p>
@@ -45,7 +45,7 @@
45
  cursor: pointer;
46
  text-align:center;
47
  }
48
- </style>
49
  <!-- <div class="sfsi_plus_show_notification" style="background-color: #38B54A; color: #fff; font-size: 18px;">
50
 
51
  <?php //_e( 'New: You can now also show a subscription form on your site, increasing sign-ups! (Question 8)', SFSI_PLUS_DOMAIN); ?>
@@ -56,18 +56,40 @@
56
  <?php } ?>
57
  <!-- Get notification bar-->
58
 
59
- <div class="sfsi_plus_notificationBannner"></div>
60
 
61
  <!-- Top content area of plugin -->
62
  <div class="main_contant">
63
  <h1>
64
  <?php _e( 'Welcome to the Ultimate Social Media Icons PLUS plugin!', SFSI_PLUS_DOMAIN ); ?>
65
  </h1>
66
- <p>
67
- <?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?>
68
- </p>
 
 
 
 
 
69
 
70
- <p><?php _e( 'Have questions? Please issue a', SFSI_PLUS_DOMAIN ); ?> <a href="https://wordpress.org/support/plugin/ultimate-social-media-plus" target="_blank"><?php _e( 'support ticket', SFSI_PLUS_DOMAIN ); ?></a> <?php _e( 'in the support forum, we\'ll try to respond quickly!',SFSI_PLUS_DOMAIN); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
  </div>
73
  <!-- END Top content area of plugin -->
@@ -79,7 +101,7 @@
79
  </h3>
80
  <!-- step 1 end here -->
81
  <?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_option_view1.php'); ?>
82
- <!-- step 1 end here -->
83
 
84
  <!-- step 2 start here -->
85
  <h3><span>2</span>
@@ -90,7 +112,7 @@
90
 
91
  <!-- step new 3 start here -->
92
  <h3><span>3</span>
93
- <?php _e( 'Where shall they be displayed?', SFSI_PLUS_DOMAIN ); ?>
94
  </h3>
95
  <?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_option_view8.php'); ?>
96
  <!-- step new3 end here -->
@@ -167,12 +189,12 @@
167
  <?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
168
  </a>
169
  </p>-->
170
- <?php
171
  /*$tra_lan = get_bloginfo( 'language' );
172
  if($tra_lan == "en-US" )
173
  {}
174
- else
175
- {
176
  ?>
177
  <p class="translatelilne">
178
  <?php _e( 'The plugin was translated by (your name). Need translation work to get done? Contact (your name) at (your email)', SFSI_PLUS_DOMAIN ); ?>
@@ -188,15 +210,15 @@
188
  <?php _e('for that so that we can send you the instructions. Thank you :)', SFSI_PLUS_DOMAIN);?>
189
  </p>
190
  </div>
191
- <!-- all pops of plugin under sfsi_pop_content.php file -->
192
  <?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_pop_content.php'); ?>
193
  </div>
194
 
195
  <!-- START Admin view for plugin-->
196
- <script type="text/javascript">
197
  var e = {
198
- action:"sfsiplusbannerOption"
199
- };
200
 
201
  jQuery.ajax({
202
  url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
@@ -205,5 +227,5 @@
205
  success:function(e) {
206
  jQuery(".sfsi_plus_notificationBannner").html(e);
207
  }
208
- });
209
  </script>
1
  <!-- Loader Image section -->
2
+ <div id="sfpluspageLoad" >
3
 
4
  </div>
5
  <!-- END Loader Image section -->
6
 
7
  <!-- javascript error loader -->
8
+ <div class="error" id="sfsi_onload_errors" style="margin-left: 60px;display: none;">
9
  <p>
10
  <?php _e('We found errors in your javascript which may cause the plugin to not work properly. Please fix the error:',SFSI_PLUS_DOMAIN ); ?>
11
  </p><p id="sfsi_jerrors"></p>
45
  cursor: pointer;
46
  text-align:center;
47
  }
48
+ </style>
49
  <!-- <div class="sfsi_plus_show_notification" style="background-color: #38B54A; color: #fff; font-size: 18px;">
50
 
51
  <?php //_e( 'New: You can now also show a subscription form on your site, increasing sign-ups! (Question 8)', SFSI_PLUS_DOMAIN); ?>
56
  <?php } ?>
57
  <!-- Get notification bar-->
58
 
59
+ <div class="sfsi_plus_notificationBannner"></div>
60
 
61
  <!-- Top content area of plugin -->
62
  <div class="main_contant">
63
  <h1>
64
  <?php _e( 'Welcome to the Ultimate Social Media Icons PLUS plugin!', SFSI_PLUS_DOMAIN ); ?>
65
  </h1>
66
+
67
+ <div class="welcometext">
68
+
69
+ <p><?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?></p>
70
+
71
+ <p><a style="text-decoration: none;" href="javascript:void(0)"><?php _e( 'New:', SFSI_PLUS_DOMAIN ); ?> </a><?php _e('Our new Premium Plugin allows many more placement options, better sharing features (e.g. define which text &amp; images will get shared), optimization for mobile, more icon design styles, themed icons, and much more.', SFSI_PLUS_DOMAIN ); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&amp;utm_campaign=notification_banner&amp;utm_medium=banner" target="_blank"><?php _e('See all features', SFSI_PLUS_DOMAIN ); ?></a></p>
72
+
73
+ </div>
74
 
75
+ <div class="supportforum">
76
+ <div class="support-container">
77
+ <div class="have-questions">
78
+ <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/question.png">
79
+ <p class="have-quest">Have questions?</p>
80
+ <p class="ask-question">Ask them in the...</p>
81
+ </div>
82
+ <div class="support-forum-green-div">
83
+ <a target="_blank" href="https://wordpress.org/support/plugin/ultimate-social-media-plus" class="support-forum-green-bg">
84
+ <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/support.png">
85
+ <p class="support-forum">Support Forum</p>
86
+ </a>
87
+ </div>
88
+ <div class="respond-text">
89
+ <p>We'll try to respond ASAP!</p>
90
+ </div>
91
+ </div>
92
+ </div>
93
 
94
  </div>
95
  <!-- END Top content area of plugin -->
101
  </h3>
102
  <!-- step 1 end here -->
103
  <?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_option_view1.php'); ?>
104
+ <!-- step 1 end here -->
105
 
106
  <!-- step 2 start here -->
107
  <h3><span>2</span>
112
 
113
  <!-- step new 3 start here -->
114
  <h3><span>3</span>
115
+ <?php _e( 'Where shall they be displayed?', SFSI_PLUS_DOMAIN ); ?>
116
  </h3>
117
  <?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_option_view8.php'); ?>
118
  <!-- step new3 end here -->
189
  <?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
190
  </a>
191
  </p>-->
192
+ <?php
193
  /*$tra_lan = get_bloginfo( 'language' );
194
  if($tra_lan == "en-US" )
195
  {}
196
+ else
197
+ {
198
  ?>
199
  <p class="translatelilne">
200
  <?php _e( 'The plugin was translated by (your name). Need translation work to get done? Contact (your name) at (your email)', SFSI_PLUS_DOMAIN ); ?>
210
  <?php _e('for that so that we can send you the instructions. Thank you :)', SFSI_PLUS_DOMAIN);?>
211
  </p>
212
  </div>
213
+ <!-- all pops of plugin under sfsi_pop_content.php file -->
214
  <?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_pop_content.php'); ?>
215
  </div>
216
 
217
  <!-- START Admin view for plugin-->
218
+ <script type="text/javascript">
219
  var e = {
220
+ action:"sfsiplusbannerOption"
221
+ };
222
 
223
  jQuery.ajax({
224
  url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
227
  success:function(e) {
228
  jQuery(".sfsi_plus_notificationBannner").html(e);
229
  }
230
+ });
231
  </script>