Social Share Icons & Social Share Buttons - Version 2.4.4

Version Description

  • Updated PIN-it button to SAVE
  • Claiming process simplified
Download this release

Release Info

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

Code changes from version 2.4.3 to 2.4.4

css/sfsi-admin-style.css CHANGED
@@ -1041,6 +1041,13 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
1041
  }
1042
  }
1043
  /*poonam Style*/
 
 
 
 
 
 
 
1044
  .follows-btn{float:left;width:25%;}
1045
  .preview-btn{float:left;width:10%;}
1046
  .social-img-link{float:left;width:15%;}
1041
  }
1042
  }
1043
  /*poonam Style*/
1044
+ .feedClaiming-overlay h1 {margin-top: 7px !important;}
1045
+ .feedClaiming-overlay input[type="email"] {font-size: 20px;margin: 20px 0 0;padding: 7px;width: 85%;}
1046
+ .feedClaiming-overlay .save_button {padding: 0 !important;width: 55%;}
1047
+ .feedClaiming-overlay p {font-size: 13px !important;line-height: 20px !important;padding: 22px 0 0 !important;}
1048
+ .feedClaiming-overlay p a {display: inline-block;font-size: 13px;margin: 0;padding: 0;width: auto;}
1049
+ .feedClaiming-overlay .pop_up_box{padding: 20px 25px !important;}
1050
+
1051
  .follows-btn{float:left;width:25%;}
1052
  .preview-btn{float:left;width:10%;}
1053
  .social-img-link{float:left;width:15%;}
js/custom-admin.js CHANGED
@@ -1812,6 +1812,41 @@ SFSI(document).ready(function(s) {
1812
  SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position", "0px 0px"),
1813
  SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"), SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position", "0px 0px"));
1814
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1815
  /*SFSI(".checkbox").live("click", function()
1816
  {
1817
  var s = SFSI(this).parent().find("input:checkbox:first");
1812
  SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position", "0px 0px"),
1813
  SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"), SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position", "0px 0px"));
1814
  });
1815
+
1816
+ SFSI("body").on("click", "#getMeFullAccess", function(){
1817
+ var email = SFSI(this).parents("form").find("input[type='email']").val();
1818
+ var feedid = SFSI(this).parents("form").find("input[name='feedid']").val();
1819
+ var error = false;
1820
+ var regEx = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
1821
+
1822
+ if(email === '')
1823
+ {
1824
+ error = true;
1825
+ }
1826
+
1827
+ if(!regEx.test(email))
1828
+ {
1829
+ error = true;
1830
+ }
1831
+
1832
+ if(!error)
1833
+ {
1834
+ SFSI(this).parents("form").submit();
1835
+ }
1836
+ else
1837
+ {
1838
+ alert("Error: Please provide your email address.");
1839
+ }
1840
+ });
1841
+
1842
+ SFSI('form#calimingOptimizationForm').on('keypress', function(e) {
1843
+ var keyCode = e.keyCode || e.which;
1844
+ if (keyCode === 13) {
1845
+ e.preventDefault();
1846
+ return false;
1847
+ }
1848
+ });
1849
+
1850
  /*SFSI(".checkbox").live("click", function()
1851
  {
1852
  var s = SFSI(this).parent().find("input:checkbox:first");
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.43");
16
 
17
  /*show notification*/
18
  if(!get_option('sfsi_plus_show_notification'))
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_plus_pluginVersion", "2.44");
16
 
17
  /*show notification*/
18
  if(!get_option('sfsi_plus_show_notification'))
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=seb.r
4
  Tags: social media, facebook, instagram, youtube, twitter, share, social share, buttons, counter, pop-up, subscription, icons
5
  Requires at least: 3.0
6
  Tested up to: 4.5.2
7
- Stable tag: 2.4.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -75,6 +75,10 @@ Note: This plugin requires CURL to be activated/installed on your server (which
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 2.4.3 =
79
  * jQuery issue fixed
80
  * Counts for SpecificFeeds-subscribers are back, getting updated once a day
@@ -244,5 +248,5 @@ Note: This plugin requires CURL to be activated/installed on your server (which
244
 
245
  == Upgrade Notice ==
246
 
247
- = 2.4.3 =
248
  * Please upgrade
4
  Tags: social media, facebook, instagram, youtube, twitter, share, social share, buttons, counter, pop-up, subscription, icons
5
  Requires at least: 3.0
6
  Tested up to: 4.5.2
7
+ Stable tag: 2.4.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 2.4.4 =
79
+ * Updated PIN-it button to SAVE
80
+ * Claiming process simplified
81
+
82
  = 2.4.3 =
83
  * jQuery issue fixed
84
  * Counts for SpecificFeeds-subscribers are back, getting updated once a day
248
 
249
  == Upgrade Notice ==
250
 
251
+ = 2.4.4 =
252
  * Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://ultimatelysocial.com
10
- Version: 2.4.3
11
  License: GPLv2
12
  */
13
 
@@ -37,7 +37,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
37
  register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
38
 
39
  /*Plugin version setup*/
40
- if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.43)
41
  {
42
  add_action("init", "sfsi_plus_update_plugin");
43
  }
7
  Text Domain: ultimate-social-media-plus
8
  Domain Path: /languages
9
  Author URI: http://ultimatelysocial.com
10
+ Version: 2.4.4
11
  License: GPLv2
12
  */
13
 
37
  register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
38
 
39
  /*Plugin version setup*/
40
+ if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.44)
41
  {
42
  add_action("init", "sfsi_plus_update_plugin");
43
  }
views/sfsi_option_view2.php CHANGED
@@ -160,8 +160,8 @@
160
  <div class="inr_cont">
161
  <p>
162
  <?php _e('Sends your new posts automatically to subscribers. It`s FREE and you get full access to your subscriber`s emails and interesting statistics:', SFSI_PLUS_DOMAIN ); ?>
163
- <a target="_new" href="<?php echo $connectToFeed; ?>">
164
- <?php _e('Claim your feed to get full access.', SFSI_PLUS_DOMAIN ); ?>
165
  </a>
166
  <?php _e('It also makes sense if you already offer an email newsletter:', SFSI_PLUS_DOMAIN ); ?>
167
  <a href="http://specificfeeds.com/rss" target="_new">
160
  <div class="inr_cont">
161
  <p>
162
  <?php _e('Sends your new posts automatically to subscribers. It`s FREE and you get full access to your subscriber`s emails and interesting statistics:', SFSI_PLUS_DOMAIN ); ?>
163
+ <a class="pop-up" href="javascript:" data-id="feedClaiming-overlay">
164
+ <?php _e('Get full access now.', SFSI_PLUS_DOMAIN ); ?>
165
  </a>
166
  <?php _e('It also makes sense if you already offer an email newsletter:', SFSI_PLUS_DOMAIN ); ?>
167
  <a href="http://specificfeeds.com/rss" target="_new">
views/sfsi_option_view9.php CHANGED
@@ -98,8 +98,8 @@
98
  _e('In addition to the email- or follow-icon you can also show a subscription form which maximizes chances that people subscribe to your site. To get access to the emails who subscribe, please', SFSI_PLUS_DOMAIN);
99
  ?>
100
  <b>
101
- <a target="_new" href="<?php echo $connectToFeed; ?>">
102
- <?php _e('claim your feed.',SFSI_PLUS_DOMAIN); ?>
103
  </a>
104
  </b>
105
  </p>
98
  _e('In addition to the email- or follow-icon you can also show a subscription form which maximizes chances that people subscribe to your site. To get access to the emails who subscribe, please', SFSI_PLUS_DOMAIN);
99
  ?>
100
  <b>
101
+ <a class="pop-up" href="javascript:" data-id="feedClaiming-overlay">
102
+ <?php _e('click here.',SFSI_PLUS_DOMAIN); ?>
103
  </a>
104
  </b>
105
  </p>
views/sfsi_pop_content.php CHANGED
@@ -8,8 +8,37 @@ define('rss_readmore', $rss_readmore_text);
8
  define('ress_readmore_button', $ress_readmore_button);
9
  define('rss_readmore_text2', $rss_readmore_text2);
10
 
 
 
 
11
  ?>
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  <div class="pop-overlay read-overlay" >
14
  <div class="pop_up_box sfsi_pop_up" >
15
  <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
8
  define('ress_readmore_button', $ress_readmore_button);
9
  define('rss_readmore_text2', $rss_readmore_text2);
10
 
11
+ $feedId = sanitize_text_field(get_option('sfsi_plus_feed_id',false));
12
+ $connectToFeed = "http://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
13
+ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId."&logintype=login");
14
  ?>
15
 
16
+ <div class="pop-overlay read-overlay feedClaiming-overlay" >
17
+ <div class="pop_up_box sfsi_pop_up" >
18
+ <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
19
+ <center>
20
+ <form id="calimingOptimizationForm" method="get" action="https://www.specificfeeds.com/wpclaimfeeds/getFullAccess" target="_blank">
21
+ <h1><?php _e( 'Please enter your email', SFSI_PLUS_DOMAIN ); ?></h1>
22
+ <div class="form-field">
23
+ <input type="hidden" name="feed_id" value="<?php echo $feedId; ?>" />
24
+ <input type="email" name="email" value="<?php //echo get_option("admin_email");?>" placeholder="Your email" />
25
+ </div>
26
+ <div class="save_button">
27
+ <a href="javascript:;" id="getMeFullAccess" title="Give me access">
28
+ <?php _e( 'Give me access!', SFSI_PLUS_DOMAIN ); ?>
29
+ </a>
30
+ </div>
31
+ <p>
32
+ <?php _e( 'This will create your FREE acccount on ', SFSI_PLUS_DOMAIN ); ?><a target="_blank" href="<?php echo $connectToFeed?>"><?php _e( 'SpecificFeeds', SFSI_PLUS_DOMAIN ); ?></a>. <?php _e( 'We will treat your data (and your subscribers’ data!) highly confidentially, see our ', SFSI_PLUS_DOMAIN ); ?><a target="_blank" href="https://www.specificfeeds.com/page/privacy-policy "><?php _e( 'Privacy Policy', SFSI_PLUS_DOMAIN ); ?></a>.
33
+ </p>
34
+
35
+ <p><?php _e( 'If you already have an account, please ', SFSI_PLUS_DOMAIN ); ?><a href="<?php echo $connectFeedLgn?>" target="_blank"><?php _e( 'click here', SFSI_PLUS_DOMAIN ); ?></a>.</p>
36
+ </form>
37
+ </center>
38
+ </div>
39
+ </div>
40
+
41
+
42
  <div class="pop-overlay read-overlay" >
43
  <div class="pop_up_box sfsi_pop_up" >
44
  <img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />