Social Share Icons & Social Share Buttons - Version 2.8.7

Version Description

  • Various instructions optimized
Download this release

Release Info

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

Code changes from version 2.8.5 to 2.8.7

css/sfsi-admin-style.css CHANGED
@@ -1095,13 +1095,8 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
1095
  .language-field{float:left;width:24%;}
1096
  .language-field select{width:100%;}
1097
  .icons_size{clear:both;}
1098
- .plus_custom-img img, .sfsiplus_custom_section img, .sfsiplus_custom_iconOrder img, .plus_sfsi_sample_icons img{
1099
- width: 51px;
1100
- }
1101
- .cstomskins_upload span.sfsi_plus-bgimage
1102
- {
1103
- background-size: 51px 51px !important;
1104
- }
1105
 
1106
  /* poonam */
1107
  .sfsi_plus_premium_brdr_box{box-sizing: border-box;}
@@ -1168,11 +1163,8 @@ p.sfsi_plus_instagram_shared_premium{float: right;width: 41%;line-height: 20px;c
1168
  .sfsi_plus_new_notification_image{margin:0 20px 0px 20px;width: 100%;text-align: center;overflow: hidden;}
1169
  .sfsi_plus_new_notification_image img{ width:auto;}
1170
  .sfsi_plus_new_notification_learnmore{float:right;}
1171
- .sfsi_plus_new_notification_learnmore {background-color: #00c853; display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;width: 150px; margin-bottom: -4px;margin-right: -4px; position: relative;color: #fff;padding: 70px 10px;
1172
- }
1173
- .sfsi_plus_new_notification_body_link a{
1174
- display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;color: #fff;
1175
- }
1176
  /*Tab 4*/
1177
  .tab4 .sfsi_plus_tokenGenerateButton { margin: 25px 0; }
1178
  .tab4 .sfsi_plus_tokenGenerateButton p { display: inline-block; margin-bottom: 11px; vertical-align: middle;width: 100%; }
@@ -1263,16 +1255,24 @@ ul.sfsi_show_hide_section {float: right;width: 14%;}
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
1095
  .language-field{float:left;width:24%;}
1096
  .language-field select{width:100%;}
1097
  .icons_size{clear:both;}
1098
+ .plus_custom-img img, .sfsiplus_custom_section img, .sfsiplus_custom_iconOrder img, .plus_sfsi_sample_icons img{width: 51px;}
1099
+ .cstomskins_upload span.sfsi_plus-bgimage{background-size: 51px 51px !important;}
 
 
 
 
 
1100
 
1101
  /* poonam */
1102
  .sfsi_plus_premium_brdr_box{box-sizing: border-box;}
1163
  .sfsi_plus_new_notification_image{margin:0 20px 0px 20px;width: 100%;text-align: center;overflow: hidden;}
1164
  .sfsi_plus_new_notification_image img{ width:auto;}
1165
  .sfsi_plus_new_notification_learnmore{float:right;}
1166
+ .sfsi_plus_new_notification_learnmore {background-color: #00c853; display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;width: 150px; margin-bottom: -4px;margin-right: -4px; position: relative;color: #fff;padding: 70px 10px;}
1167
+ .sfsi_plus_new_notification_body_link a{display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;color: #fff;}
 
 
 
1168
  /*Tab 4*/
1169
  .tab4 .sfsi_plus_tokenGenerateButton { margin: 25px 0; }
1170
  .tab4 .sfsi_plus_tokenGenerateButton p { display: inline-block; margin-bottom: 11px; vertical-align: middle;width: 100%; }
1255
  .support-forum-green-div a{text-decoration: none !important;}
1256
  .respond-text p{margin: 10px 0 0 0px !important}
1257
  .respond-text {margin-left: 20px;float: left;margin-bottom: 8px;}
1258
+ #accordion, #accordion1 {float: left;clear: both;width: 100%;}
 
 
 
 
 
1259
 
1260
  @media (min-width: 1631px) and (max-width: 1631px){
1261
  .premiumComponent{width: 52% !important;}
1262
  .premiumButtonsContainer{width: 44% !important;}
1263
  .premiumButtonsContainer .premiumSection2{width: 41% !important;}
1264
  .premiumButtonsContainer .premiumSection3{width: 41% !important;}
1265
+ }
1266
+
1267
+ /* Link to support forum for different languages */
1268
+ #sfsi_plus_langnotice { position:relative; padding: 15px 10px;margin: 0px 15px 35px 0px;}
1269
+ #sfsi_plus_langnotice .sfsi-notice-dismiss { position: absolute;right: 1px;border: none;margin: 0;padding: 9px;background: none;color: #72777c;cursor: pointer;top: 5px;}
1270
+
1271
+ /* Link to support forum left of every Save button */
1272
+ .ui-accordion .ui-accordion-content { position: relative; }
1273
+ .sfsi_plus_askforhelp { float: left;width: 32%;position: absolute;bottom: 30px;}
1274
+ .sfsi_plus_askforhelp img { float: left;width: 35px;height: 35px;vertical-align: middle; }
1275
+ .sfsi_plus_askforhelp span{ float: left;margin-left: 6px;margin-top: 8px;}
1276
+ .askhelpInview2 { bottom: 25px; }
1277
+ .askhelpInview3 { bottom: 51px; }
1278
+ .askhelpInview7 { bottom: 50px; }
images/questionmark.png ADDED
Binary file
js/custom-admin.js CHANGED
@@ -1132,6 +1132,21 @@ var global_error = 0;
1132
  SFSI(document).ready(function(s) {
1133
  //changes done {Monad}
1134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1135
  SFSI(".lanOnchange").change(function(){
1136
  var currentDrpdown = SFSI(this).parents(".icons_size");
1137
  var data = {
1132
  SFSI(document).ready(function(s) {
1133
  //changes done {Monad}
1134
 
1135
+ SFSI(document).on("click", ".sfsi-notice-dismiss", function(){
1136
+
1137
+ SFSI.ajax({
1138
+ url:ajax_object.ajax_url,
1139
+ type:"post",
1140
+ data:{action: "sfsi_plus_dismiss_lang_notice"},
1141
+ success:function(e) {
1142
+ if(false != e){
1143
+ SFSI(".sfsi-notice-dismiss").parent().remove();
1144
+ }
1145
+ }
1146
+ });
1147
+ });
1148
+
1149
+
1150
  SFSI(".lanOnchange").change(function(){
1151
  var currentDrpdown = SFSI(this).parents(".icons_size");
1152
  var data = {
libs/controllers/sfsi_frontpopUp.php CHANGED
@@ -58,6 +58,7 @@ function sfsi_plus_check_PopUp($content)
58
  echo ob_get_clean();
59
  return $content;
60
  }
 
61
  if($sfsi_plus_section7_options['sfsi_plus_Shown_pop']=="ETscroll")
62
  {
63
  $time_popUp = (int) $sfsi_plus_section7_options['sfsi_plus_Shown_popupOnceTime'];
@@ -101,6 +102,7 @@ function sfsi_plus_check_PopUp($content)
101
  <?php
102
  echo ob_get_clean();
103
  }
 
104
  if($sfsi_plus_section7_options['sfsi_plus_Shown_pop']=="LimitPopUp")
105
  {
106
  $time_popUp = (int) $sfsi_plus_section7_options['sfsi_plus_Shown_popuplimitPerUserTime'];
58
  echo ob_get_clean();
59
  return $content;
60
  }
61
+
62
  if($sfsi_plus_section7_options['sfsi_plus_Shown_pop']=="ETscroll")
63
  {
64
  $time_popUp = (int) $sfsi_plus_section7_options['sfsi_plus_Shown_popupOnceTime'];
102
  <?php
103
  echo ob_get_clean();
104
  }
105
+
106
  if($sfsi_plus_section7_options['sfsi_plus_Shown_pop']=="LimitPopUp")
107
  {
108
  $time_popUp = (int) $sfsi_plus_section7_options['sfsi_plus_Shown_popuplimitPerUserTime'];
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.85");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_plus_pluginVersion", "2.87");
16
 
17
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
18
  {
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.8.5
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -444,6 +444,9 @@ The premium plugin offrs many more social buttons from other social media platfo
444
 
445
  == Changelog ==
446
 
 
 
 
447
  = 2.8.5 =
448
  * Cookies don't get set anymore if selected to show pop-up when user scrolls to end of page (relevant for GDPR compliance)
449
 
@@ -748,5 +751,5 @@ The premium plugin offrs many more social buttons from other social media platfo
748
 
749
  == Upgrade Notice ==
750
 
751
- = 2.8.5 =
752
  * 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.8.7
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
444
 
445
  == Changelog ==
446
 
447
+ = 2.8.7 =
448
+ * Various instructions optimized
449
+
450
  = 2.8.5 =
451
  * Cookies don't get set anymore if selected to show pop-up when user scrolls to end of page (relevant for GDPR compliance)
452
 
751
 
752
  == Upgrade Notice ==
753
 
754
+ = 2.8.7 =
755
  * Please update
ultimate_social_media_icons.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /*
3
  Plugin Name: Ultimate Social Media PLUS
4
- Plugin URI: http://socialshare.pro
5
  Description: The best social media plugin on the market. And 100% FREE. Allows you to add social media & share icons to your blog (esp. Facebook, Twitter, Email, RSS, Pinterest, Instagram, Google+, LinkedIn, Share-button). It offers a wide range of design options and other features.
6
- Author: SocialSharePro
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
- Author URI: http://socialshare.pro
10
- Version: 2.8.5
11
  License: GPLv2
12
  */
13
 
@@ -46,6 +46,7 @@ function sfsi_plus_freemius() {
46
  // Init Freemius.
47
  sfsi_plus_freemius();
48
  sfsi_plus_freemius()->add_action('after_uninstall', 'sfsi_plus_Unistall_plugin');
 
49
  // Signal that SDK was initiated.
50
  do_action('usmp_fs_loaded');
51
 
@@ -92,7 +93,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.85)
96
  {
97
  add_action("init", "sfsi_plus_update_plugin");
98
  }
@@ -627,6 +628,7 @@ function sfsi_plus_admin_notice()
627
  }
628
  ?>
629
  <?php
 
630
  if(get_option("sfsi_plus_show_premium_notification") == "yes")
631
  {
632
  ?>
@@ -715,8 +717,6 @@ function sfsi_plus_admin_notice()
715
 
716
  }
717
 
718
-
719
-
720
  if(get_option("sfsi_plus_show_Setting_mobile_notification") == "yes")
721
  {
722
  $sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
@@ -746,10 +746,10 @@ function sfsi_plus_admin_notice()
746
 
747
  </style>
748
 
749
- <!-- <div class="updated sfsi_plus_show_mobile_setting_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
750
  <div class="alignleft" style="margin: 9px 0; width: 95%; line-height: 25px;">
751
- <b><?php _e( 'Over 50% of visitors are mobile visitors:', SFSI_PLUS_DOMAIN); ?></b>
752
- <?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>
753
  </div>
754
  <div class="alignright">
755
  <form method="post" class="sfsi_plus_mobileNoticeDismiss">
@@ -761,6 +761,7 @@ function sfsi_plus_admin_notice()
761
  <?php
762
  }
763
  }
 
764
  $phpVersion = phpVersion();
765
  if($phpVersion <= '5.4')
766
  {
@@ -863,12 +864,12 @@ function sfsi_plus_action_links ( $mylinks )
863
  {
864
  $linkQuestion = '<a target="_blank" href="https://goo.gl/MU6pTN#new-topic-0" style="color:#FF0000;"><b>Need help?</b></a>';
865
  $linkProVersion = '<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" style="color:#38B54A;"><b>Check out pro version</b></a>';
866
- $mylinks[] = @$mylinks['edit'];
867
- $mylinks[] = '<a href="'.admin_url("/admin.php?page=sfsi-plus-options").'">Settings</a>';
868
  unset ($mylinks['edit']);
869
 
870
  array_unshift($mylinks, $linkProVersion);
871
- array_unshift($mylinks, $linkQuestion);
872
 
873
  return $mylinks;
874
  }
@@ -928,4 +929,210 @@ function sfsi_plus_curl_error_notification()
928
  <?php
929
  }
930
  }
931
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /*
3
  Plugin Name: Ultimate Social Media PLUS
4
+ Plugin URI: http://socialshare.pro/
5
  Description: The best social media plugin on the market. And 100% FREE. Allows you to add social media & share icons to your blog (esp. Facebook, Twitter, Email, RSS, Pinterest, Instagram, Google+, LinkedIn, Share-button). It offers a wide range of design options and other features.
6
+ Author: social share pro
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
+ Author URI: http://socialshare.pro/
10
+ Version: 2.8.7
11
  License: GPLv2
12
  */
13
 
46
  // Init Freemius.
47
  sfsi_plus_freemius();
48
  sfsi_plus_freemius()->add_action('after_uninstall', 'sfsi_plus_Unistall_plugin');
49
+
50
  // Signal that SDK was initiated.
51
  do_action('usmp_fs_loaded');
52
 
93
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
94
 
95
  /*Plugin version setup*/
96
+ if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.87)
97
  {
98
  add_action("init", "sfsi_plus_update_plugin");
99
  }
628
  }
629
  ?>
630
  <?php
631
+
632
  if(get_option("sfsi_plus_show_premium_notification") == "yes")
633
  {
634
  ?>
717
 
718
  }
719
 
 
 
720
  if(get_option("sfsi_plus_show_Setting_mobile_notification") == "yes")
721
  {
722
  $sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
746
 
747
  </style>
748
 
749
+ <!-- <div class="updated sfsi_plus_show_mobile_setting_notification" style="<?php //echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
750
  <div class="alignleft" style="margin: 9px 0; width: 95%; line-height: 25px;">
751
+ <b><?php //_e( 'Over 50% of visitors are mobile visitors:', SFSI_PLUS_DOMAIN); ?></b>
752
+ <?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>
753
  </div>
754
  <div class="alignright">
755
  <form method="post" class="sfsi_plus_mobileNoticeDismiss">
761
  <?php
762
  }
763
  }
764
+
765
  $phpVersion = phpVersion();
766
  if($phpVersion <= '5.4')
767
  {
864
  {
865
  $linkQuestion = '<a target="_blank" href="https://goo.gl/MU6pTN#new-topic-0" style="color:#FF0000;"><b>Need help?</b></a>';
866
  $linkProVersion = '<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" style="color:#38B54A;"><b>Check out pro version</b></a>';
867
+ $mylinks[] = @$mylinks['edit'];
868
+ $mylinks[] = '<a href="'.admin_url("/admin.php?page=sfsi-plus-options").'">Settings</a>';
869
  unset ($mylinks['edit']);
870
 
871
  array_unshift($mylinks, $linkProVersion);
872
+ array_unshift($mylinks, $linkQuestion);
873
 
874
  return $mylinks;
875
  }
929
  <?php
930
  }
931
  }
932
+
933
+ // ********************************* Link to support forum for different languages STARTS *******************************//
934
+
935
+ function sfsi_plus_get_language_notice_text(){
936
+
937
+ $currLang = get_locale();
938
+ $text = '';
939
+
940
+ switch ($currLang) {
941
+
942
+ // Arabic
943
+ case 'ar':
944
+
945
+ $text = "hal tatakalam alearabia? 'iidha kanat ladayk 'asyilat hawl almukawan al'iidafii l Ultimate Social Media , aitruh sualik fi muntadaa aldaem , sanuhawil alrada biallughat alearabiat: <a target='_blank' href='https://goo.gl/o42Beq'><b>'unqur huna</b></a>";
946
+ break;
947
+
948
+ // Chinese - simplified
949
+ case 'zh-Hans':
950
+
951
+ $text = "你会说中文吗?如果您有关于Ultimate Social Media插件的问题,请在支持论坛中提出您的问题,我们将尝试用中文回复:<a target='_blank' href='https://goo.gl/o42Beq'><b>点击此处</b></a>";
952
+ break;
953
+
954
+ // Chinese - traditional
955
+ case 'zh-Hant':
956
+
957
+ $text = "你會說中文嗎?如果您有關於Ultimate Social Media插件的問題,請在支持論壇中提出您的問題,我們將嘗試用中文回复:<a target='_blank' href='https://goo.gl/o42Beq'><b>點擊此處</b></a>";
958
+ break;
959
+
960
+ // Dutch, Dutch (Belgium)
961
+ case 'nl_NL': case 'nl_BE':
962
+ $text = "Jij spreekt Nederlands? Als je vragen hebt over de Ultimate Social Media-plug-in, stel je vraag in het ondersteuningsforum, we zullen proberen in het Nederlands te antwoorden: <a target='_blank' href='https://goo.gl/o42Beq'>klik hier</a>";
963
+ break;
964
+
965
+ // French (Belgium), French (France)
966
+ case 'fr_BE': case 'fr_FR':
967
+
968
+ $text = "Vous parlez français? Si vous avez des questions sur le plugin Ultimate Social Media, posez votre question sur le forum de support, nous essaierons de répondre en français: <a target='_blank' href='https://goo.gl/o42Beq'>Cliquez ici</a>";
969
+ break;
970
+
971
+ // German, German (Switzerland)
972
+ case 'de': case 'de_CH':
973
+
974
+ $text = "Du sprichst Deutsch? Wenn Du Fragen zum Ultimate Social Media-Plugins hast, einfach im Support Forum fragen. Wir antworten auch auf Deutsch! <a target='_blank' href='https://goo.gl/o42Beq'>Klicke hier</a>";
975
+ break;
976
+
977
+ // Greek
978
+ case 'el':
979
+
980
+ $text = "Μιλάτε Ελληνικά? Αν έχετε ερωτήσεις σχετικά με το plugin Ultimate Social Media, ρωτήστε την ερώτησή σας στο φόρουμ υποστήριξης, θα προσπαθήσουμε να απαντήσουμε στα ελληνικά: <a target='_blank' href='https://goo.gl/o42Beq'>Κάντε κλικ εδώ</a>";
981
+ break;
982
+
983
+ // Hebrew
984
+ case 'he_IL':
985
+
986
+ $text = "אתה מדבר עברית? אם יש לך שאלות על תוסף המדיה החברתית האולטימטיבית, שאל את השאלה שלך בפורום התמיכה, ננסה לענות בעברית: <a target='_blank' href='https://goo.gl/o42Beq'>לחץ כאן</a>";
987
+ break;
988
+
989
+ // Hindi
990
+ case 'hi_IN':
991
+
992
+ $text = "आप हिंदी बोलते हो? यदि आपके पास अल्टीमेट सोशल मीडिया प्लगइन के बारे में कोई प्रश्न है, तो समर्थन फोरम में अपना प्रश्न पूछें, हम हिंदी में जवाब देने का प्रयास करेंगे: <a target='_blank' href='https://goo.gl/o42Beq'>यहां क्लिक करें</a>";
993
+ break;
994
+
995
+ // Indonesian
996
+ case 'id':
997
+
998
+ $text = "Anda berbicara bahasa Indonesia? Jika Anda memiliki pertanyaan tentang plugin Ultimate Social Media, ajukan pertanyaan Anda di Forum Dukungan, kami akan mencoba menjawab dalam Bahasa Indonesia: <a target='_blank' href='https://goo.gl/o42Beq'>Klik di sini</a>";
999
+
1000
+ break;
1001
+
1002
+ // Italian
1003
+ case 'it_IT':
1004
+
1005
+ $text = "Tu parli italiano? Se hai domande sul plugin Ultimate Social Media, fai la tua domanda nel Forum di supporto, cercheremo di rispondere in italiano: <a target='_blank' href='https://goo.gl/o42Beq'>clicca qui</a>";
1006
+
1007
+ break;
1008
+
1009
+ // Japanese
1010
+ case 'ja':
1011
+
1012
+ $text = "あなたは日本語を話しますか?アルティメットソーシャルメディアのプラグインに関する質問がある場合は、サポートフォーラムで質問してください。日本語で対応しようと思っています:<a target='_blank' href='https://goo.gl/o42Beq'>ここをクリック</a>";
1013
+
1014
+ break;
1015
+
1016
+ // Korean
1017
+ case 'ko_KR ':
1018
+
1019
+ $text = "한국어를 할 줄 아세요? 궁극적 인 소셜 미디어 플러그인에 대해 궁금한 점이 있으면 지원 포럼에서 질문하십시오. 한국어로 답변하려고합니다 : <a target='_blank' href='https://goo.gl/o42Beq'>여기를 클릭하십시오.</a>";
1020
+
1021
+ break;
1022
+
1023
+ // Persian, Persian (Afghanistan)
1024
+ case 'fa_IR':case 'fa_AF':
1025
+
1026
+ $text = "شما فارسی صحبت می کنید؟ اگر سوالی در مورد پلاگین رسانه Ultimate Social دارید، سوال خود را در انجمن پشتیبانی بپرسید، سعی خواهیم کرد به فارسی پاسخ دهید: <a target='_blank' href='https://goo.gl/o42Beq'>اینجا را کلیک کنید</a>";
1027
+
1028
+ break;
1029
+
1030
+ // Polish
1031
+
1032
+ case 'pl_PL':
1033
+ $text = "Mówisz po polsku? Jeśli masz pytania dotyczące wtyczki Ultimate Social Media, zadaj pytanie na Forum pomocy technicznej, postaramy się odpowiedzieć po polsku: <a target='_blank' href='https://goo.gl/o42Beq'>Kliknij tutaj</a>";
1034
+ break;
1035
+
1036
+ //Portuguese (Brazil), Portuguese (Portugal)
1037
+
1038
+ case 'pt_BR': case 'pt_PT':
1039
+
1040
+ $text = "Você fala português? Se você tiver dúvidas sobre o plug-in Ultimate Social Media, faça sua pergunta no Fórum de suporte, tentaremos responder em português: <a target='_blank' href='https://goo.gl/o42Beq'>Clique aqui</a>";
1041
+
1042
+ break;
1043
+
1044
+ // Russian, Russian (Ukraine)
1045
+ case 'ru_RU': case 'ru_UA':
1046
+
1047
+ $text = "Ты говоришь по-русски? Если у вас есть вопросы о плагине Ultimate Social Media, задайте свой вопрос в форуме поддержки, мы постараемся ответить на русский: <a target='_blank' href='https://goo.gl/o42Beq'>Нажмите здесь</a>";
1048
+
1049
+ break;
1050
+
1051
+ /* Spanish (Argentina), Spanish (Chile), Spanish (Colombia), Spanish (Mexico),
1052
+ Spanish (Peru), Spanish (Puerto Rico), Spanish (Spain), Spanish (Venezuela) */
1053
+
1054
+ case 'es_AR': case 'es_CL': case 'es_CO': case 'es_MX':case 'es_PE':case 'es_PR':
1055
+ case 'es_ES': case 'es_VE':
1056
+
1057
+ $text = "¿Tu hablas español? Si tiene alguna pregunta sobre el complemento Ultimate Social Media, formule su pregunta en el foro de soporte, intentaremos responder en español: <a target='_blank' href='https://goo.gl/o42Beq'>haga clic aquí</a>";
1058
+ break;
1059
+
1060
+ // Swedish
1061
+
1062
+ case 'sv_SE':
1063
+
1064
+ $text = "Pratar du svenska? Om du har frågor om programmet Ultimate Social Media, fråga din fråga i supportforumet, vi försöker svara på svenska: <a target='_blank' href='https://goo.gl/o42Beq'>Klicka här</a>";
1065
+ break;
1066
+
1067
+ // Turkish
1068
+
1069
+ case 'tr_TR':
1070
+ $text = "Sen Türkçe konuş? Nihai Sosyal Medya eklentisi hakkında sorularınız varsa, sorunuza Destek Forumu'nda sorun, Türkçe olarak cevap vermeye çalışacağız: <a target='_blank' href='https://goo.gl/o42Beq'>Tıklayın</a>";
1071
+ break;
1072
+
1073
+ // Ukrainian
1074
+
1075
+ case 'uk':
1076
+ $text = "Ви говорите по-українськи? Якщо у вас є запитання про плагін Ultimate Social Media, задайте своє питання на Форумі підтримки, ми спробуємо відповісти українською: <a target='_blank' href='https://goo.gl/o42Beq'>натисніть тут</a>";
1077
+ break;
1078
+
1079
+ // Vietnamese
1080
+
1081
+ case 'vi':
1082
+ $text = "Bạn nói tiếng việt không Nếu bạn có câu hỏi về plugin Ultimate Social Media, hãy đặt câu hỏi của bạn trong Diễn đàn hỗ trợ, chúng tôi sẽ cố gắng trả lời bằng tiếng Việt: <a target='_blank' href='https://goo.gl/o42Beq'>Nhấp vào đây</a>";
1083
+ break;
1084
+ }
1085
+
1086
+ return $text;
1087
+ }
1088
+
1089
+ function sfsi_plus_language_notice(){
1090
+
1091
+ if (isset($_GET['page']) && "sfsi-plus-options" == $_GET['page']) :
1092
+
1093
+ $langText = sfsi_plus_get_language_notice_text();
1094
+ $isDismissed = get_option('sfsi_plus_lang_notice_dismissed');
1095
+
1096
+ if(!empty($langText) && false == $isDismissed) { ?>
1097
+
1098
+ <div id="sfsi_plus_langnotice" class="notice notice-info">
1099
+
1100
+ <p><?php _e($langText,SFSI_PLUS_DOMAIN); ?></p>
1101
+
1102
+ <button type="button" class="sfsi-notice-dismiss notice-dismiss"></button>
1103
+
1104
+ </div>
1105
+
1106
+ <?php } ?>
1107
+
1108
+ <?php endif;
1109
+ }
1110
+
1111
+
1112
+ function sfsi_plus_dismiss_lang_notice(){
1113
+ echo update_option('sfsi_plus_lang_notice_dismissed',true) ? "true" : "false";
1114
+ die;
1115
+ }
1116
+
1117
+ add_action( 'wp_ajax_sfsi_plus_dismiss_lang_notice', 'sfsi_plus_dismiss_lang_notice' );
1118
+
1119
+ // ********************************* Link to support forum for different languages CLOSES *******************************//
1120
+
1121
+
1122
+ // ********************************* Link to support forum left of every Save button STARTS *******************************//
1123
+
1124
+ function sfsi_plus_ask_for_help($viewNumber){ ?>
1125
+
1126
+ <div class="sfsi_plus_askforhelp askhelpInview<?php echo $viewNumber; ?>">
1127
+
1128
+ <img src="<?php echo SFSI_PLUS_PLUGURL."images/questionmark.png"?>"/>
1129
+
1130
+ <span>Questions? <a target="_blank" href="https://goo.gl/7TuSZX"><b>Ask us</b></a> — we will respond asap!</span>
1131
+
1132
+ </div>
1133
+
1134
+ <?php }
1135
+
1136
+ // ********************************* Link to support forum left of every Save button CLOSES *******************************//
1137
+
1138
+
views/sfsi_option_view1.php CHANGED
@@ -515,6 +515,8 @@
515
  <input type="hidden" value="<?php echo SFSI_PLUS_PLUGURL ?>" id="plugin_url" />
516
  <input type="hidden" value="" id="upload_id" />
517
 
 
 
518
  <!-- SAVE BUTTON SECTION -->
519
  <div class="save_button tab_1_sav">
520
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
515
  <input type="hidden" value="<?php echo SFSI_PLUS_PLUGURL ?>" id="plugin_url" />
516
  <input type="hidden" value="" id="upload_id" />
517
 
518
+ <?php sfsi_plus_ask_for_help(1); ?>
519
+
520
  <!-- SAVE BUTTON SECTION -->
521
  <div class="save_button tab_1_sav">
522
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view2.php CHANGED
@@ -686,6 +686,11 @@ when people click on it, they can call you, or send you an SMS). ', SFSI_PLUS_DO
686
  </div>
687
 
688
  <!-- END Custom icon section here -->
 
 
 
 
 
689
  <!-- SAVE BUTTON SECTION -->
690
  <div class="save_button tab_2_sav">
691
  <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
686
  </div>
687
 
688
  <!-- END Custom icon section here -->
689
+
690
+
691
+ <?php sfsi_plus_ask_for_help(2); ?>
692
+
693
+
694
  <!-- SAVE BUTTON SECTION -->
695
  <div class="save_button tab_2_sav">
696
  <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view3.php CHANGED
@@ -478,7 +478,11 @@
478
  </div>
479
  </div>
480
  <!--Content of 4-->
481
-
 
 
 
 
482
  <!-- SAVE BUTTON SECTION -->
483
  <div class="save_button tab_3_sav">
484
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
478
  </div>
479
  </div>
480
  <!--Content of 4-->
481
+
482
+
483
+ <?php sfsi_plus_ask_for_help(3); ?>
484
+
485
+
486
  <!-- SAVE BUTTON SECTION -->
487
  <div class="save_button tab_3_sav">
488
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view4.php CHANGED
@@ -809,6 +809,8 @@
809
  </div>
810
  <!-- END show/hide counts for all icons section -->
811
 
 
 
812
  <!-- SAVE BUTTON SECTION -->
813
  <div class="save_button">
814
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
809
  </div>
810
  <!-- END show/hide counts for all icons section -->
811
 
812
+ <?php sfsi_plus_ask_for_help(4); ?>
813
+
814
  <!-- SAVE BUTTON SECTION -->
815
  <div class="save_button">
816
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view5.php CHANGED
@@ -1031,6 +1031,9 @@
1031
  </div>
1032
  <!-- END mouse over text section -->
1033
 
 
 
 
1034
  <!-- SAVE BUTTON SECTION -->
1035
  <div class="save_button">
1036
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
1031
  </div>
1032
  <!-- END mouse over text section -->
1033
 
1034
+ <?php sfsi_plus_ask_for_help(5); ?>
1035
+
1036
+
1037
  <!-- SAVE BUTTON SECTION -->
1038
  <div class="save_button">
1039
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view6.php CHANGED
@@ -104,6 +104,8 @@
104
 
105
  </div><!-- END icons position section -->
106
 
 
 
107
  <!-- SAVE BUTTON SECTION -->
108
  <div class="save_button">
109
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
104
 
105
  </div><!-- END icons position section -->
106
 
107
+ <?php sfsi_plus_ask_for_help(6); ?>
108
+
109
  <!-- SAVE BUTTON SECTION -->
110
  <div class="save_button">
111
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view7.php CHANGED
@@ -392,6 +392,9 @@
392
 
393
  <?php } ?>
394
  </div>
 
 
 
395
  <!-- SAVE BUTTON SECTION -->
396
  <div class="save_button">
397
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
392
 
393
  <?php } ?>
394
  </div>
395
+
396
+ <?php sfsi_plus_ask_for_help(7); ?>
397
+
398
  <!-- SAVE BUTTON SECTION -->
399
  <div class="save_button">
400
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view8.php CHANGED
@@ -271,6 +271,9 @@
271
  &lt;?php echo DISPLAY_ULTIMATE_PLUS(); ?&gt;
272
 
273
  <?php _e('Or use the shortcode [DISPLAY_ULTIMATE_PLUS] to display them wherever you want.',SFSI_PLUS_DOMAIN); ?>
 
 
 
274
  </label>
275
  </p>
276
  </div>
@@ -532,6 +535,8 @@
532
  </div>
533
  <?php } ?>
534
 
 
 
535
  <!-- SAVE BUTTON SECTION -->
536
  <div class="save_button">
537
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
271
  &lt;?php echo DISPLAY_ULTIMATE_PLUS(); ?&gt;
272
 
273
  <?php _e('Or use the shortcode [DISPLAY_ULTIMATE_PLUS] to display them wherever you want.',SFSI_PLUS_DOMAIN); ?>
274
+
275
+ <?php _e('Need help with that? Ask us! <a style="color:#5a6570 !important;" target="_blank" href="https://wordpress.org/support/plugin/ultimate-social-media-plus#no-topic-0"><b>Click here</b></a>',SFSI_PLUS_DOMAIN); ?>
276
+
277
  </label>
278
  </p>
279
  </div>
535
  </div>
536
  <?php } ?>
537
 
538
+ <?php sfsi_plus_ask_for_help(8); ?>
539
+
540
  <!-- SAVE BUTTON SECTION -->
541
  <div class="save_button">
542
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_option_view9.php CHANGED
@@ -569,6 +569,8 @@
569
  <!--Section End-->
570
  </div>
571
 
 
 
572
  <!-- SAVE BUTTON SECTION -->
573
  <div class="save_button">
574
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
569
  <!--Section End-->
570
  </div>
571
 
572
+ <?php sfsi_plus_ask_for_help(9); ?>
573
+
574
  <!-- SAVE BUTTON SECTION -->
575
  <div class="save_button">
576
  <img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
views/sfsi_options_view.php CHANGED
@@ -15,8 +15,11 @@
15
  <!-- START Admin view for plugin-->
16
  <div class="wapper sfsi_mainContainer">
17
 
 
 
18
  <!-- Get notification bar-->
19
- <?php if(get_option("sfsi_plus_show_notification") == "yes") { ?>
 
20
  <script type="text/javascript">
21
  jQuery(document).ready(function(e) {
22
  jQuery(".sfsi_plus_show_notification").click(function(){
15
  <!-- START Admin view for plugin-->
16
  <div class="wapper sfsi_mainContainer">
17
 
18
+ <?php sfsi_plus_language_notice();?>
19
+
20
  <!-- Get notification bar-->
21
+ <?php if(get_option("sfsi_plus_show_notification") == "yes") { ?>
22
+
23
  <script type="text/javascript">
24
  jQuery(document).ready(function(e) {
25
  jQuery(".sfsi_plus_show_notification").click(function(){