Social Share Icons & Social Share Buttons - Version 3.3.5

Version Description

  • Fixed UI issues.
  • Fixed problems with moving to Follow.it
Download this release

Release Info

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

Code changes from version 3.3.4 to 3.3.5

css/sfsi-admin-style.css CHANGED
@@ -431,8 +431,8 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
431
  }
432
 
433
  ul.tab_2_email_sec .sf_arow {
434
- width: 52px;
435
- height: 52px;
436
  float: left;
437
  background: url(../images/sf_arow_icn.png) no-repeat;
438
  margin: 0 0px 0 6px;
@@ -5014,4 +5014,7 @@ text-decoration:none!important;
5014
  .save_button{
5015
  width:auto!important;
5016
  }
 
 
 
5017
  }
431
  }
432
 
433
  ul.tab_2_email_sec .sf_arow {
434
+ width: 55px;
435
+ height: 55px;
436
  float: left;
437
  background: url(../images/sf_arow_icn.png) no-repeat;
438
  margin: 0 0px 0 6px;
5014
  .save_button{
5015
  width:auto!important;
5016
  }
5017
+ }
5018
+ .tab8 .radio_section.tb_4_ck {
5019
+ margin: 0 15px 0 0 !important;
5020
  }
css/sfsi-style.css CHANGED
@@ -3549,7 +3549,7 @@ ul.cstmskin_iconlist {
3549
  }
3550
 
3551
  .tab8 .radio_section.tb_4_ck {
3552
- margin: 0 20px 0 0 !important;
3553
  }
3554
 
3555
  .tab8 .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr .row,
3549
  }
3550
 
3551
  .tab8 .radio_section.tb_4_ck {
3552
+ margin: 0 15px 0 0 !important;
3553
  }
3554
 
3555
  .tab8 .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr .row,
images/icons_theme/black/black_sf.png CHANGED
Binary file
images/icons_theme/black2/black2_sf.png CHANGED
Binary file
images/icons_theme/blackgrunge/blackgrunge_sf.png CHANGED
Binary file
images/icons_theme/chrome_blue/chrome_blue_sf.png CHANGED
Binary file
images/icons_theme/chrome_grey/chrome_grey_sf.png CHANGED
Binary file
images/icons_theme/crystal/crystal_sf.png CHANGED
Binary file
images/icons_theme/cubes/cubes_sf.png CHANGED
Binary file
images/icons_theme/cute/cute_sf.png CHANGED
Binary file
images/icons_theme/default/default_sf.png CHANGED
Binary file
images/icons_theme/flat/flat_sf.png CHANGED
Binary file
images/icons_theme/glossy/glossy_sf.png CHANGED
Binary file
images/icons_theme/glossyblack/Follow.it.png ADDED
Binary file
images/icons_theme/orange/orange_sf.png CHANGED
Binary file
images/icons_theme/shaded_dark/shaded_dark_sf.png CHANGED
Binary file
images/icons_theme/shaded_light/shaded_light_sf.png CHANGED
Binary file
images/icons_theme/silver/silver_sf.png CHANGED
Binary file
images/icons_theme/splash/splash_sf.png CHANGED
Binary file
images/icons_theme/thin/thin_sf.png CHANGED
Binary file
images/icons_theme/transparent/transparent_sf.png CHANGED
Binary file
images/sf_arow_icn.png CHANGED
Binary file
images/tab_3_icns.png CHANGED
Binary file
js/custom-admin.js CHANGED
@@ -1520,9 +1520,7 @@ SFSI(document).ready(function (s) {
1520
  SFSI("#ui-id-"+id).addClass("ui-state-active");
1521
  SFSI("#ui-id-"+id).attr("aria-expanded","false");
1522
  SFSI("#ui-id-"+id).attr("aria-selected","true");
1523
- if(SFSI("#ui-id-"+(id+1)).length>0){
1524
- SFSI("#ui-id-"+(id-2))[0].scrollIntoView();
1525
- }
1526
  }
1527
  var sfsi_plus_show_option1 = SFSI('input[name="sfsi_plus_show_via_widget"]:checked').val()||'no';
1528
  var sfsi_plus_show_option2 = SFSI('input[name="sfsi_plus_float_on_page"]:checked').val()||'no';
@@ -1548,31 +1546,59 @@ SFSI(document).ready(function (s) {
1548
  setTimeout(function(){
1549
  sfsi_plus_open_admin_section(5);
1550
  },2000);
1551
- }
 
 
 
 
1552
  },2000);
 
 
 
 
1553
  }
1554
  },2000);
 
 
 
 
1555
  }
1556
  },2000);
 
 
 
 
1557
  }
1558
  }
1559
  }else{
1560
  SFSI("#analyst-install-skip, #analyst-install-action").click(function(){
1561
  sfsi_plus_open_admin_section(5);
1562
- if(SFSI("#ui-id-5").length==1 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1563
  setTimeout(function(){
1564
  sfsi_plus_open_admin_section(5);
1565
- if(SFSI("#ui-id-5").length==1 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1566
  setTimeout(function(){
1567
  sfsi_plus_open_admin_section(5);
1568
- if(SFSI("#ui-id-5").length==1 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1569
  setTimeout(function(){
1570
  sfsi_plus_open_admin_section(5);
1571
  },2000);
1572
- }
 
 
 
 
1573
  },2000);
 
 
 
 
1574
  }
1575
  },2000);
 
 
 
 
1576
  }
1577
  })
1578
  }
@@ -2411,7 +2437,7 @@ SFSI(document).ready(function (s) {
2411
  var feedid = SFSI(this).parents("form").find("input[name='feedid']").val();
2412
  var error = false;
2413
  var regEx = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
2414
-
2415
  if (email === '') {
2416
  error = true;
2417
  }
@@ -2421,7 +2447,45 @@ SFSI(document).ready(function (s) {
2421
  }
2422
 
2423
  if (!error) {
2424
- SFSI(this).parents("form").submit();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2425
  } else {
2426
  alert("Error: Please provide your email address.");
2427
  }
1520
  SFSI("#ui-id-"+id).addClass("ui-state-active");
1521
  SFSI("#ui-id-"+id).attr("aria-expanded","false");
1522
  SFSI("#ui-id-"+id).attr("aria-selected","true");
1523
+
 
 
1524
  }
1525
  var sfsi_plus_show_option1 = SFSI('input[name="sfsi_plus_show_via_widget"]:checked').val()||'no';
1526
  var sfsi_plus_show_option2 = SFSI('input[name="sfsi_plus_float_on_page"]:checked').val()||'no';
1546
  setTimeout(function(){
1547
  sfsi_plus_open_admin_section(5);
1548
  },2000);
1549
+ }else{
1550
+ if(SFSI("#ui-id-3").length>0){
1551
+ SFSI("#ui-id-3")[0].scrollIntoView();
1552
+ }
1553
+ }
1554
  },2000);
1555
+ }else{
1556
+ if(SFSI("#ui-id-3").length>0){
1557
+ SFSI("#ui-id-3")[0].scrollIntoView();
1558
+ }
1559
  }
1560
  },2000);
1561
+ }else{
1562
+ if(SFSI("#ui-id-3").length>0){
1563
+ SFSI("#ui-id-3")[0].scrollIntoView();
1564
+ }
1565
  }
1566
  },2000);
1567
+ }else{
1568
+ if(SFSI("#ui-id-3").length>0){
1569
+ SFSI("#ui-id-3")[0].scrollIntoView();
1570
+ }
1571
  }
1572
  }
1573
  }else{
1574
  SFSI("#analyst-install-skip, #analyst-install-action").click(function(){
1575
  sfsi_plus_open_admin_section(5);
1576
+ if(SFSI("#ui-id-3").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1577
  setTimeout(function(){
1578
  sfsi_plus_open_admin_section(5);
1579
+ if(SFSI("#ui-id-3").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1580
  setTimeout(function(){
1581
  sfsi_plus_open_admin_section(5);
1582
+ if(SFSI("#ui-id-3").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1583
  setTimeout(function(){
1584
  sfsi_plus_open_admin_section(5);
1585
  },2000);
1586
+ }else{
1587
+ if(SFSI("#ui-id-3").length>0){
1588
+ SFSI("#ui-id-3")[0].scrollIntoView();
1589
+ }
1590
+ }
1591
  },2000);
1592
+ }else{
1593
+ if(SFSI("#ui-id-6").length>0){
1594
+ SFSI("#ui-id-3")[0].scrollIntoView();
1595
+ }
1596
  }
1597
  },2000);
1598
+ }else{
1599
+ if(SFSI("#ui-id-6").length>0){
1600
+ SFSI("#ui-id-3")[0].scrollIntoView();
1601
+ }
1602
  }
1603
  })
1604
  }
2437
  var feedid = SFSI(this).parents("form").find("input[name='feedid']").val();
2438
  var error = false;
2439
  var regEx = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
2440
+ console.log("email",email,"feedid",feedid);
2441
  if (email === '') {
2442
  error = true;
2443
  }
2447
  }
2448
 
2449
  if (!error) {
2450
+ if (feedid=="" || undefined==feedid){
2451
+ var nonce = SFSI(this).attr('data-nonce-fetch-feed-id');
2452
+ e = {
2453
+ action: "sfsi_plus_get_feed_id",
2454
+ nonce: nonce,
2455
+ };
2456
+ SFSI.ajax({
2457
+ url: sfsi_plus_ajax_object.ajax_url,
2458
+ type: "post",
2459
+ data: e,
2460
+ dataType: "json",
2461
+ async: !0,
2462
+ success: function (s) {
2463
+ if (s.res == "wrong_nonce") {
2464
+ alert("Error: Unauthorised Request, Try again after refreshing page.");
2465
+ } else {
2466
+ if("success" == s.res){
2467
+ var feedid = s.feed_id;
2468
+ if(feedid=="" || null == feedid){
2469
+ alert("Error: Claiming didn't work. Please try again later.")
2470
+ }else{
2471
+ jQuery('#calimingOptimizationForm input[name="feed_id"]').val(feedid);
2472
+ // console.log("feedid",feedid,SFSI("#calimingOptimizationForm input[name='feed_id']"),SFSI('#calimingOptimizationForm input[name="feedid"]').val());
2473
+ SFSI('#calimingOptimizationForm').submit();
2474
+ }
2475
+ }else{
2476
+ if("failed"==s.res){
2477
+ alert("Error: "+s.message+".");
2478
+
2479
+ }else{
2480
+ alert("Error: Please try again.");
2481
+ }
2482
+ }
2483
+ }
2484
+ }
2485
+ });
2486
+ }else{
2487
+ SFSI(this).parents("form").submit();
2488
+ }
2489
  } else {
2490
  alert("Error: Please provide your email address.");
2491
  }
libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -1614,4 +1614,31 @@ if(!function_exists("sfsi_plus_worker_plugin_installed")){
1614
  }
1615
  }
1616
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1617
  ?>
1614
  }
1615
  }
1616
  }
1617
+ add_action('wp_ajax_sfsi_plus_get_feed_id', 'sfsi_plus_get_feed_id');
1618
+
1619
+ function sfsi_plus_get_feed_id()
1620
+ {
1621
+ if (!wp_verify_nonce($_POST['nonce'], "sfsi_plus_get_feed_id")) {
1622
+ echo json_encode(array('res' => 'wrong_nonce'));
1623
+ exit;
1624
+ }
1625
+ if (!current_user_can('manage_options')) {
1626
+ echo json_encode(array("res"=>"Failed",'message'=>"You should be admin to take this action"));
1627
+ exit;
1628
+ }
1629
+ $feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
1630
+ if(""==$feed_id){
1631
+ $sfsiId = SFSI_PLUS_getFeedUrl();
1632
+ update_option('sfsi_plus_feed_id' , sanitize_text_field($sfsiId->feed_id));
1633
+ update_option('sfsi_plus_redirect_url' , sanitize_text_field($sfsiId->redirect_url));
1634
+ echo json_encode(array("res"=>"success",'feed_id'=>$sfsiId->feed_id));
1635
+ sfsi_getverification_code();
1636
+ exit;
1637
+ }else{
1638
+ echo json_encode(array("res"=>"success","feed_id"=>$feed_id));
1639
+ exit;
1640
+ }
1641
+ wp_die();
1642
+ }
1643
+
1644
  ?>
libs/sfsi_install_uninstall.php CHANGED
@@ -17,7 +17,7 @@ function sfsi_plus_update_plugin()
17
  }
18
 
19
  //Install version
20
- update_option("sfsi_plus_pluginVersion", "3.34");
21
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
22
  {
23
  add_option("sfsi_plus_serverphpVersionnotification", "yes");
@@ -696,6 +696,36 @@ function sfsi_plus_activate_plugin()
696
  );
697
  add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
698
  sfsi_plus_remove_google();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  }
700
  /* end function */
701
  /* deactivate plugin */
@@ -767,7 +797,8 @@ function sfsi_plus_updateFeedPing($status,$feed_id)
767
 
768
  $args = array(
769
  'body' => $body,
770
- 'timeout' => '5',
 
771
  'redirection' => '5',
772
  'httpversion' => '1.0',
773
  'blocking' => true,
@@ -857,23 +888,24 @@ function SFSI_PLUS_getFeedUrl()
857
 
858
  $args = array(
859
  'body' => $body,
860
- 'blocking' => true,
 
 
861
  'user-agent' => 'sf rss request',
862
- 'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
863
- 'sslverify' => false
864
  );
865
  $resp = wp_remote_post( 'https://api.follow.it/wordpress/plugin_setup', $args );
866
- if ( is_wp_error( $resp ) ) {
867
- // var_dump($resp);
868
- // update_option("sfsi_plus_curlErrorNotices", "yes");
869
- // update_option("sfsi_plus_curlErrorMessage", $resp->get_error_message());
870
- } else {
871
- update_option("sfsi_plus_curlErrorNotices", "no");
872
- update_option("sfsi_plus_curlErrorMessage", "");
873
  $resp = json_decode($resp['body']);
874
  }
875
- $feed_url = stripslashes_deep($resp->redirect_url);
876
- return $resp;exit;
 
 
 
 
 
877
  }
878
  /* fetch rss url from specificfeeds on */
879
  function SFSI_PLUS_updateFeedUrl()
@@ -890,7 +922,8 @@ function SFSI_PLUS_updateFeedUrl()
890
  'blocking' => true,
891
  'user-agent' => 'sf rss request',
892
  'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
893
- 'sslverify' => false
 
894
  );
895
  $resp = wp_remote_post( 'https://api.follow.it/wordpress/updateFeedPlugin', $args );
896
  if ( is_wp_error( $resp ) ) {
@@ -908,7 +941,8 @@ function sfsi_plus_setUpfeeds($feed_id)
908
  'blocking' => true,
909
  'user-agent' => 'sf rss request',
910
  'header' => array("Content-Type"=>"application/json"),
911
- 'sslverify' => true
 
912
  );
913
  $resp = wp_remote_get( 'https://api.follow.it/rssegtcrons/download_rssmorefeed_data_single/'.$feed_id."/Y", $args );
914
  }
17
  }
18
 
19
  //Install version
20
+ update_option("sfsi_plus_pluginVersion", "3.35");
21
  if(!get_option('sfsi_plus_serverphpVersionnotification'))
22
  {
23
  add_option("sfsi_plus_serverphpVersionnotification", "yes");
696
  );
697
  add_option('sfsi_plus_instagram_sf_count', serialize($sfsi_plus_instagram_sf_count));
698
  sfsi_plus_remove_google();
699
+
700
+ $sfsi_plus_responsive_icons_end_post = 'no';
701
+ $sfsi_plus_responsive_icons_default = array(
702
+ "default_icons" => array(
703
+ "facebook" => array("active" => "yes", "text" => "Share on Facebook", "url" => ""),
704
+ "Twitter" => array("active" => "yes", "text" => "Tweet", "url" => ""),
705
+ "Follow" => array("active" => "yes", "text" => "Follow us", "url" => "")
706
+ ),
707
+ "settings" => array(
708
+ "icon_size" => "Medium",
709
+ "icon_width_type" => "Fully responsive",
710
+ "icon_width_size" => 240,
711
+ "edge_type" => "Round",
712
+ "edge_radius" => 5,
713
+ "style" => "Gradient",
714
+ "margin" => 10,
715
+ "text_align" => "Centered",
716
+ "show_count" => "no",
717
+ "counter_color" => "#aaaaaa",
718
+ "counter_bg_color" => "#fff",
719
+ "share_count_text" => "SHARES",
720
+ "margin_above" => 10,
721
+ "margin_below" => 10
722
+
723
+ )
724
+ );
725
+ $up_option8= unserialize(get_option('sfsi_plus_section8_options',false));
726
+ $up_option8["sfsi_plus_responsive_icons_end_post"]="no";
727
+ $up_option8["sfsi_plus_responsive_icons"] = $sfsi_plus_responsive_icons_default;
728
+ update_option('sfsi_plus_section8_options', serialize($up_option8));
729
  }
730
  /* end function */
731
  /* deactivate plugin */
797
 
798
  $args = array(
799
  'body' => $body,
800
+ 'timeout' => 30,
801
+ 'sslverify' => true,
802
  'redirection' => '5',
803
  'httpversion' => '1.0',
804
  'blocking' => true,
888
 
889
  $args = array(
890
  'body' => $body,
891
+ 'blocking' => true,
892
+ 'timeout' => 30,
893
+ 'sslverify' => true,
894
  'user-agent' => 'sf rss request',
895
+ 'header' => array("Content-Type"=>"application/x-www-form-urlencoded")
896
+
897
  );
898
  $resp = wp_remote_post( 'https://api.follow.it/wordpress/plugin_setup', $args );
899
+ if ( !is_wp_error( $resp ) ) {
 
 
 
 
 
 
900
  $resp = json_decode($resp['body']);
901
  }
902
+ if(isset($resp->redirect_url) && isset($resp->feed_id)){
903
+ $feed_url = stripslashes_deep($resp->redirect_url);
904
+ return $resp;
905
+ }else{
906
+ return (Object)array('redirect_url'=>'https://follow.it/now','feed_id'=>'');
907
+ }
908
+ exit;
909
  }
910
  /* fetch rss url from specificfeeds on */
911
  function SFSI_PLUS_updateFeedUrl()
922
  'blocking' => true,
923
  'user-agent' => 'sf rss request',
924
  'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
925
+ 'timeout' => 30,
926
+ 'sslverify' => true
927
  );
928
  $resp = wp_remote_post( 'https://api.follow.it/wordpress/updateFeedPlugin', $args );
929
  if ( is_wp_error( $resp ) ) {
941
  'blocking' => true,
942
  'user-agent' => 'sf rss request',
943
  'header' => array("Content-Type"=>"application/json"),
944
+ 'timeout' => 30,
945
+ 'sslverify' => true
946
  );
947
  $resp = wp_remote_get( 'https://api.follow.it/rssegtcrons/download_rssmorefeed_data_single/'.$feed_id."/Y", $args );
948
  }
libs/sfsi_plus_subscribe_widget.php CHANGED
@@ -5,7 +5,7 @@ function sfsi_plus_addStyleFunction()
5
  {
6
  $option9 = unserialize(get_option('sfsi_plus_section9_options', false));
7
  $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id'));
8
- $url = "https://api.follow.it/widgets/subscribeWidget/";
9
  echo $return = '';
10
  ?>
11
 
@@ -24,7 +24,7 @@ function sfsi_plus_addStyleFunction()
24
  function sfsi_plus_processfurther(ref) {
25
  var feed_id = '<?php echo $sfsi_plus_feediid ?>';
26
  var feedtype = 8;
27
- var email = jQuery(ref).find('input[name="data[Widget][email]"]').val();
28
  var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
29
  if ((email != "Enter your email") && (filter.test(email))) {
30
  if (feed_id != "") {
@@ -40,7 +40,7 @@ function sfsi_plus_addStyleFunction()
40
  }
41
  } else {
42
  alert("Please enter email address");
43
- jQuery(ref).find('input[name="data[Widget][email]"]').focus();
44
  return false;
45
  }
46
  }
@@ -270,18 +270,17 @@ function sfsi_plus_get_subscriberForm()
270
  {
271
  $option9 = unserialize(get_option('sfsi_plus_section9_options', false));
272
  $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id'));
273
- $url = "https://api.follow.it/widgets/subscribeWidget/";
274
-
275
  $return = '';
276
  $return .= '<div class="sfsi_plus_subscribe_Popinner">
277
- <form method="post" onsubmit="return sfsi_plus_processfurther(this);" action="' . $url . '">
278
  <h5>' . __(trim($option9['sfsi_plus_form_heading_text']), SFSI_PLUS_DOMAIN) . '</h5>
279
  <div class="sfsi_plus_subscription_form_field">
280
- <input type="email" name="data[Widget][email]" value="" placeholder="' . trim($option9['sfsi_plus_form_field_text']) . '"/>
281
  </div>
282
  <div class="sfsi_plus_subscription_form_field">
283
- <input type="hidden" name="data[Widget][feed_id]" value="' . $sfsi_plus_feediid . '">
284
- <input type="hidden" name="data[Widget][feedtype]" value="8">
285
  <input type="submit" name="subscribe" value="' . __($option9['sfsi_plus_form_button_text'], SFSI_PLUS_DOMAIN) . '" />
286
  </div>
287
  </form>
5
  {
6
  $option9 = unserialize(get_option('sfsi_plus_section9_options', false));
7
  $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id'));
8
+ $url = "https://api.follow.it/subscription-form/";
9
  echo $return = '';
10
  ?>
11
 
24
  function sfsi_plus_processfurther(ref) {
25
  var feed_id = '<?php echo $sfsi_plus_feediid ?>';
26
  var feedtype = 8;
27
+ var email = jQuery(ref).find('input[name="email"]').val();
28
  var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
29
  if ((email != "Enter your email") && (filter.test(email))) {
30
  if (feed_id != "") {
40
  }
41
  } else {
42
  alert("Please enter email address");
43
+ jQuery(ref).find('input[name="email"]').focus();
44
  return false;
45
  }
46
  }
270
  {
271
  $option9 = unserialize(get_option('sfsi_plus_section9_options', false));
272
  $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id'));
273
+ $url = "https://api.follow.it/subscription-form/";
274
+ $url = $url.$sfsi_plus_feediid.'/8/';
275
  $return = '';
276
  $return .= '<div class="sfsi_plus_subscribe_Popinner">
277
+ <form method="post" action="' . $url . '">
278
  <h5>' . __(trim($option9['sfsi_plus_form_heading_text']), SFSI_PLUS_DOMAIN) . '</h5>
279
  <div class="sfsi_plus_subscription_form_field">
280
+ <input type="email" name="email" value="" placeholder="' . trim($option9['sfsi_plus_form_field_text']) . '"/>
281
  </div>
282
  <div class="sfsi_plus_subscription_form_field">
283
+ <input type="hidden" name="feedtype" value="8">
 
284
  <input type="submit" name="subscribe" value="' . __($option9['sfsi_plus_form_button_text'], SFSI_PLUS_DOMAIN) . '" />
285
  </div>
286
  </form>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialsharepro, socialtech
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: 5.4.0
6
- Stable tag: 3.3.4
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  
@@ -293,14 +293,16 @@ The premium plugin offrs many more social buttons from other social media platfo
293
 
294
  9. You can also display a pop-up (designed to your liking) which asks users to like & share your site
295
 
296
-
297
  == Changelog ==
 
 
 
 
298
  = 3.3.4 =
299
- * Updated Banners to make them less annoying
300
  * Updated to follow.it
301
- * Quick purchase updated
302
- * Some Style and typo corrections
303
-
304
 
305
  = 3.3.3 =
306
  * Updated texts
@@ -818,5 +820,5 @@ The premium plugin offrs many more social buttons from other social media platfo
818
 
819
  == Upgrade Notice ==
820
 
821
- = 3.3.4 =
822
  * 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: 5.4.0
6
+ Stable tag: 3.3.5
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  
293
 
294
  9. You can also display a pop-up (designed to your liking) which asks users to like & share your site
295
 
 
296
  == Changelog ==
297
+ = 3.3.5 =
298
+ * Fixed UI issues.
299
+ * Fixed problems with moving to Follow.it
300
+
301
  = 3.3.4 =
302
+ * Updated Banners to make them less annoying.
303
  * Updated to follow.it
304
+ * Quick purchase updaed.
305
+ * Some Style and typo corrections.
 
306
 
307
  = 3.3.3 =
308
  * Updated texts
820
 
821
  == Upgrade Notice ==
822
 
823
+ = 3.3.5 =
824
  * Please update
ultimate_social_media_icons.php CHANGED
@@ -7,7 +7,7 @@ Author: social share pro
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://socialshare.pro/
10
- Version: 3.3.4
11
  License: GPLv2
12
  */
13
 
@@ -76,7 +76,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
76
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
77
 
78
  /*Plugin version setup*/
79
- if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.34) {
80
  add_action("init", "sfsi_plus_update_plugin");
81
  }
82
 
@@ -255,7 +255,8 @@ function sfsi_plus_getverification_code()
255
  $url = $http_url = 'https://api.follow.it/wordpress/getVerifiedCode_plugin';
256
 
257
  $args = array(
258
- 'timeout' => 15,
 
259
  'body' => array(
260
  'feed_id' => $feed_id
261
  )
@@ -443,7 +444,7 @@ function sfsi_plus_beforeafterblogposts($content)
443
  if (!isset($sfsiLikeWithtwtr)) {
444
  $sfsiLikeWithtwtr = $sfsiLikeWith;
445
  }
446
- $icons_before .= "<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>" . sfsi_twitterShare($permalink, $post_title) . "</div>";
447
  }
448
  if ($sfsi_section8['sfsi_plus_rectpinit'] == 'yes') {
449
  if ($show_count) {
@@ -600,14 +601,14 @@ add_action('admin_notices', 'sfsi_plus_admin_notice', 10);
600
  function sfsi_plus_admin_notice()
601
  {
602
  if (isset($_GET['page']) && $_GET['page'] == "sfsi-plus-options") {
603
- $style = "overflow: hidden; margin:12px 3px 0px;";
604
  } else {
605
  $style = "overflow: hidden;";
606
  }
607
  ?>
608
  <?php
609
 
610
- if (get_option("sfsi_plus_show_premium_notification") == "yes") {
611
  ?>
612
  <style>
613
  .sfsi_plus_show_prem_notification a {
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://socialshare.pro/
10
+ Version: 3.3.5
11
  License: GPLv2
12
  */
13
 
76
  //register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
77
 
78
  /*Plugin version setup*/
79
+ if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.35) {
80
  add_action("init", "sfsi_plus_update_plugin");
81
  }
82
 
255
  $url = $http_url = 'https://api.follow.it/wordpress/getVerifiedCode_plugin';
256
 
257
  $args = array(
258
+ 'timeout' => 30,
259
+ 'sslverify' => true,
260
  'body' => array(
261
  'feed_id' => $feed_id
262
  )
444
  if (!isset($sfsiLikeWithtwtr)) {
445
  $sfsiLikeWithtwtr = $sfsiLikeWith;
446
  }
447
+ $icons_before .= sfsi_twitterShare($permalink, $post_title,'', true);
448
  }
449
  if ($sfsi_section8['sfsi_plus_rectpinit'] == 'yes') {
450
  if ($show_count) {
601
  function sfsi_plus_admin_notice()
602
  {
603
  if (isset($_GET['page']) && $_GET['page'] == "sfsi-plus-options") {
604
+ $style = "overflow: hidden; margin:12px 3px 0px;display:none;";
605
  } else {
606
  $style = "overflow: hidden;";
607
  }
608
  ?>
609
  <?php
610
 
611
+ if (get_option("sfsi_plus_show_premium_notification") == "yes" && isset($_GET['page']) && $_GET['page'] == "sfsi-plus-options") {
612
  ?>
613
  <style>
614
  .sfsi_plus_show_prem_notification a {
views/sfsi_option_view2.php CHANGED
@@ -281,7 +281,7 @@
281
  <input type="email" name="email" value="<?php echo bloginfo('admin_email'); ?>" />
282
  </div>
283
  <div class='sfsi_plus_more_services_link'>
284
- <a class="pop-up" href="javascript:" id="getMeFullAccess" title="Give me access">
285
  <?php _e('Click here to benefit from all advantages >', SFSI_PLUS_DOMAIN ); ?>
286
  </a>
287
  </div>
281
  <input type="email" name="email" value="<?php echo bloginfo('admin_email'); ?>" />
282
  </div>
283
  <div class='sfsi_plus_more_services_link'>
284
+ <a class="pop-up" href="javascript:" id="getMeFullAccess" data-nonce-fetch-feed-id="<?php echo wp_create_nonce( 'sfsi_plus_get_feed_id' );?>" title="Give me access">
285
  <?php _e('Click here to benefit from all advantages >', SFSI_PLUS_DOMAIN ); ?>
286
  </a>
287
  </div>
views/sfsi_option_view9.php CHANGED
@@ -155,7 +155,7 @@
155
  <div class="sfsi_plus_html" style="display: none;">
156
  <?php
157
  $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id'));
158
- $url = "https://api.follow.it/widgets/subscribeWidget/";
159
  $url = $url.$sfsi_plus_feediid.'/8/';
160
  ?>
161
  <div class="sfsi_plus_subscribe_Popinner" style="padding: 18px 0px;">
@@ -164,10 +164,12 @@
164
  <?php _e( 'Get new posts by email:', SFSI_PLUS_DOMAIN ); ?>
165
  </h5>
166
  <div style="margin: 5px 0; width: 100%;">
167
- <input style="padding: 10px 0px !important; width: 100% !important;" type="email" placeholder="Enter your email" value="" name="data[Widget][email]" />
168
  </div>
169
  <div style="margin: 5px 0; width: 100%;">
170
- <input style="padding: 10px 0px !important; width: 100% !important;" type="submit" name="subscribe" value="Subscribe" /><input type="hidden" name="data[Widget][feed_id]" value="<?php echo $sfsi_plus_feediid ?>"><input type="hidden" name="data[Widget][feedtype]" value="8">
 
 
171
  </div>
172
  </form>
173
  </div>
155
  <div class="sfsi_plus_html" style="display: none;">
156
  <?php
157
  $sfsi_plus_feediid = sanitize_text_field(get_option('sfsi_plus_feed_id'));
158
+ $url = "https://api.follow.it/subscription-form/";
159
  $url = $url.$sfsi_plus_feediid.'/8/';
160
  ?>
161
  <div class="sfsi_plus_subscribe_Popinner" style="padding: 18px 0px;">
164
  <?php _e( 'Get new posts by email:', SFSI_PLUS_DOMAIN ); ?>
165
  </h5>
166
  <div style="margin: 5px 0; width: 100%;">
167
+ <input style="padding: 10px 0px !important; width: 100% !important;" type="email" placeholder="Enter your email" value="" name="email" />
168
  </div>
169
  <div style="margin: 5px 0; width: 100%;">
170
+ <input style="padding: 10px 0px !important; width: 100% !important;" type="submit" name="subscribe" value="Subscribe" />
171
+
172
+ <input type="hidden" name="feedtype" value="8">
173
  </div>
174
  </form>
175
  </div>
views/sfsi_options_view.php CHANGED
@@ -81,8 +81,8 @@
81
  <div class="d-none d-lg-flex row">
82
  <div class="col-9 col-xxl-10" >
83
  <p class="sfsi-top-banner-higligted-text"><?php _e('If you want ', SFSI_PLUS_DOMAIN); ?><span class='font-weight-bold font-italic'><?php _e('more likes & shares', SFSI_PLUS_DOMAIN); ?></span><?php _e(', more placement options, better sharing features (eg: define the text and image that gets shared), optimization for mobile, ', SFSI_PLUS_DOMAIN); ?><a target="_blank" href="https://www.ultimatelysocial.com/extra-icon-styles/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="font-italic text-success" style="font-family: helvetica-light;"><?php _e('more icon design styles,', SFSI_PLUS_DOMAIN); ?></a> <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=" text-success font-italic" style="font-family:helvetica-light"><?php _e('animated icons,', SFSI_PLUS_DOMAIN); ?></a> <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=' text-success font-italic' style="font-family: helvetica-light;"><?php _e('themed icons,', SFSI_PLUS_DOMAIN); ?></a><?php _e(' and', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank" class=" text-success font-italic" style="font-family: helvetica-light;"><?php _e('much more', SFSI_PLUS_DOMAIN); ?></a><?php _e(', then', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" style="cursor:pointer; color: #12a252 !important;border-bottom: 1px solid #12a252;text-decoration: none;font-weight: bold;" target="_blank">
84
- <?php _e('go premium', SFSI_PLUS_DOMAIN); ?>
85
- </a>.</p>
86
  </div>
87
  <div class="col-3 text-center px-0 col-xxl-2">
88
  <div class='d-table' style='width:100%;height:100%'>
81
  <div class="d-none d-lg-flex row">
82
  <div class="col-9 col-xxl-10" >
83
  <p class="sfsi-top-banner-higligted-text"><?php _e('If you want ', SFSI_PLUS_DOMAIN); ?><span class='font-weight-bold font-italic'><?php _e('more likes & shares', SFSI_PLUS_DOMAIN); ?></span><?php _e(', more placement options, better sharing features (eg: define the text and image that gets shared), optimization for mobile, ', SFSI_PLUS_DOMAIN); ?><a target="_blank" href="https://www.ultimatelysocial.com/extra-icon-styles/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="font-italic text-success" style="font-family: helvetica-light;"><?php _e('more icon design styles,', SFSI_PLUS_DOMAIN); ?></a> <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=" text-success font-italic" style="font-family:helvetica-light"><?php _e('animated icons,', SFSI_PLUS_DOMAIN); ?></a> <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=' text-success font-italic' style="font-family: helvetica-light;"><?php _e('themed icons,', SFSI_PLUS_DOMAIN); ?></a><?php _e(' and', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank" class=" text-success font-italic" style="font-family: helvetica-light;"><?php _e('much more', SFSI_PLUS_DOMAIN); ?></a><?php _e(', then', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" style="cursor:pointer; color: #12a252 !important;border-bottom: 1px solid #12a252;text-decoration: none;font-weight: bold;" target="_blank">
84
+ <?php _e('go premium.', SFSI_PLUS_DOMAIN); ?>
85
+ </a></p>
86
  </div>
87
  <div class="col-3 text-center px-0 col-xxl-2">
88
  <div class='d-table' style='width:100%;height:100%'>