Version Description
- Duplicate IDs removed from icon's link
- Facebook share counts (rectangle icons) do not show - fixed
- Google like removed
- Click on G+ in firefox opens a new window - fixed
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.9.9 |
Comparing to | |
See all releases |
Code changes from version 2.9.8 to 2.9.9
- css/sfsi-admin-style.css +4 -2
- css/sfsi-style.css +3 -0
- js/custom-admin.js +4 -4
- js/custom.js +2 -2
- libs/controllers/sfsi_buttons_controller.php +2 -2
- libs/controllers/sfsi_socialhelper.php +1 -1
- libs/controllers/sfsiocns_OnPosts.php +39 -18
- libs/sfsi_install_uninstall.php +7 -7
- libs/sfsi_widget.php +22 -15
- readme.txt +10 -5
- ultimate_social_media_icons.php +10 -10
- views/sfsi_option_view2.php +11 -9
- views/sfsi_option_view8.php +16 -1
- views/sfsi_option_view9.php +1 -1
- views/sfsi_pop_content.php +4 -4
css/sfsi-admin-style.css
CHANGED
@@ -983,9 +983,11 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
983 |
display: inline-block;
|
984 |
width: 100px !important;
|
985 |
}
|
986 |
-
|
987 |
-
|
|
|
988 |
}
|
|
|
989 |
.sfsi_plus_subscription_html xmp {
|
990 |
display: block;
|
991 |
padding: 0 10px;
|
983 |
display: inline-block;
|
984 |
width: 100px !important;
|
985 |
}
|
986 |
+
|
987 |
+
.disabled_checkbox .sfsiplus_right_info .sfsiplus_toglepstpgspn{
|
988 |
+
color:rgba(0,0,0,.3);
|
989 |
}
|
990 |
+
|
991 |
.sfsi_plus_subscription_html xmp {
|
992 |
display: block;
|
993 |
padding: 0 10px;
|
css/sfsi-style.css
CHANGED
@@ -3235,3 +3235,6 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
3235 |
margin-bottom: 0;
|
3236 |
vertical-align: bottom!important;
|
3237 |
}
|
|
|
|
|
|
3235 |
margin-bottom: 0;
|
3236 |
vertical-align: bottom!important;
|
3237 |
}
|
3238 |
+
.sfsi_plus_Sicons .sf_pinit{
|
3239 |
+
margin:0 0 0 10px;
|
3240 |
+
}
|
js/custom-admin.js
CHANGED
@@ -291,7 +291,7 @@ function sfsi_plus_update_step2()
|
|
291 |
var s = sfsi_plus_validationStep2();
|
292 |
if (!s) return global_error = 1, !1;
|
293 |
sfsiplus_beForeLoad();
|
294 |
-
var i = 1 == SFSI("input[name='sfsi_plus_rss_url']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_url']").val(), e = 1 == SFSI("input[name='sfsi_plus_rss_icons']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_icons']:checked").val(), t = 1 == SFSI("input[name='sfsi_plus_facebookPage_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookPage_option']:checked").val(), n = 1 == SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(), o = 1 == SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(), a = SFSI("input[name='sfsi_plus_facebookPage_url']").val(), r = 1 == SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(), c = 1 == SFSI("input[name='sfsi_plus_twitter_followUserName']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followUserName']").val(), p = 1 == SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_aboutPage']:checked").val(), _ = 1 == SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_page']:checked").val(), l = SFSI("input[name='sfsi_plus_twitter_pageURL']").val(), S = SFSI("textarea[name='sfsi_plus_twitter_aboutPageText']").val(), u = 1 == SFSI("input[name='sfsi_plus_google_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_google_page']:checked").val(), f = 1 == SFSI("input[name='sfsi_plus_googleLike_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_googleLike_option']:checked").val()
|
295 |
SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function() {
|
296 |
P[SFSI(this).attr("file-id")] = this.value;
|
297 |
});
|
@@ -310,7 +310,7 @@ function sfsi_plus_update_step2()
|
|
310 |
sfsi_plus_twitter_pageURL:l,
|
311 |
sfsi_plus_twitter_aboutPageText:S,
|
312 |
sfsi_plus_google_page:u,
|
313 |
-
sfsi_plus_googleLike_option:f
|
314 |
sfsi_plus_google_pageURL:d,
|
315 |
sfsi_plus_googleShare_option:I,
|
316 |
sfsi_plus_youtube_page:m,
|
@@ -1008,7 +1008,7 @@ function sfsfi_plus_getCookie(s)
|
|
1008 |
}
|
1009 |
function sfsi_plus_hideFooter() {}
|
1010 |
|
1011 |
-
window.onerror = function() {}, SFSI = jQuery.noConflict(), SFSI(window).load
|
1012 |
SFSI("#sfpluspageLoad").fadeOut(2e3);
|
1013 |
});
|
1014 |
|
@@ -1868,7 +1868,7 @@ SFSI(document).ready(function(s) {
|
|
1868 |
SFSI("body").on("click", function() {
|
1869 |
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
1870 |
}),
|
1871 |
-
SFSI(".adminTooltip >a").on("
|
1872 |
SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "1"),
|
1873 |
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show();
|
1874 |
}),
|
291 |
var s = sfsi_plus_validationStep2();
|
292 |
if (!s) return global_error = 1, !1;
|
293 |
sfsiplus_beForeLoad();
|
294 |
+
var i = 1 == SFSI("input[name='sfsi_plus_rss_url']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_url']").val(), e = 1 == SFSI("input[name='sfsi_plus_rss_icons']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_icons']:checked").val(), t = 1 == SFSI("input[name='sfsi_plus_facebookPage_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookPage_option']:checked").val(), n = 1 == SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(), o = 1 == SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(), a = SFSI("input[name='sfsi_plus_facebookPage_url']").val(), r = 1 == SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(), c = 1 == SFSI("input[name='sfsi_plus_twitter_followUserName']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_followUserName']").val(), p = 1 == SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_aboutPage']:checked").val(), _ = 1 == SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_twitter_page']:checked").val(), l = SFSI("input[name='sfsi_plus_twitter_pageURL']").val(), S = SFSI("textarea[name='sfsi_plus_twitter_aboutPageText']").val(), u = 1 == SFSI("input[name='sfsi_plus_google_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_google_page']:checked").val(), /* f = 1 == SFSI("input[name='sfsi_plus_googleLike_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_googleLike_option']:checked").val(),*/ d = SFSI("input[name='sfsi_plus_google_pageURL']").val(), I = 1 == SFSI("input[name='sfsi_plus_googleShare_option']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_googleShare_option']:checked").val(), m = 1 == SFSI("input[name='sfsi_plus_youtube_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_page']:checked").val(), F = 1 == SFSI("input[name='sfsi_plus_youtube_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_pageUrl']").val(), h = 1 == SFSI("input[name='sfsi_plus_youtube_follow']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_youtube_follow']:checked").val(), cls = SFSI("input[name='sfsi_plus_youtubeusernameorid']:checked").val(), v = SFSI("input[name='sfsi_plus_ytube_user']").val(), vchid = SFSI("input[name='sfsi_plus_ytube_chnlid']").val(), g = 1 == SFSI("input[name='sfsi_plus_pinterest_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_page']:checked").val(), k = 1 == SFSI("input[name='sfsi_plus_pinterest_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_pageUrl']").val(), y = 1 == SFSI("input[name='sfsi_plus_pinterest_pingBlog']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_pinterest_pingBlog']:checked").val(), b = 1 == SFSI("input[name='sfsi_plus_instagram_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_instagram_pageUrl']").val(), houzz = 1 == SFSI("input[name='sfsi_plus_houzz_pageUrl']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_houzz_pageUrl']").val(), w = 1 == SFSI("input[name='sfsi_plus_linkedin_page']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_page']:checked").val(), x = 1 == SFSI("input[name='sfsi_plus_linkedin_pageURL']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_pageURL']").val(), C = 1 == SFSI("input[name='sfsi_plus_linkedin_follow']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_follow']:checked").val(), D = SFSI("input[name='sfsi_plus_linkedin_followCompany']").val(), U = 1 == SFSI("input[name='sfsi_plus_linkedin_SharePage']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_linkedin_SharePage']:checked").val(), O = SFSI("input[name='sfsi_plus_linkedin_recommendBusines']:checked").val(), T = SFSI("input[name='sfsi_plus_linkedin_recommendProductId']").val(), j = SFSI("input[name='sfsi_plus_linkedin_recommendCompany']").val(), P = {};
|
295 |
SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function() {
|
296 |
P[SFSI(this).attr("file-id")] = this.value;
|
297 |
});
|
310 |
sfsi_plus_twitter_pageURL:l,
|
311 |
sfsi_plus_twitter_aboutPageText:S,
|
312 |
sfsi_plus_google_page:u,
|
313 |
+
/*sfsi_plus_googleLike_option:f,*/
|
314 |
sfsi_plus_google_pageURL:d,
|
315 |
sfsi_plus_googleShare_option:I,
|
316 |
sfsi_plus_youtube_page:m,
|
1008 |
}
|
1009 |
function sfsi_plus_hideFooter() {}
|
1010 |
|
1011 |
+
window.onerror = function() {}, SFSI = jQuery.noConflict(), SFSI(window).on('load',function() {
|
1012 |
SFSI("#sfpluspageLoad").fadeOut(2e3);
|
1013 |
});
|
1014 |
|
1868 |
SFSI("body").on("click", function() {
|
1869 |
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
1870 |
}),
|
1871 |
+
SFSI(".adminTooltip >a").on("mouseenter", function() {
|
1872 |
SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "1"),
|
1873 |
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show();
|
1874 |
}),
|
js/custom.js
CHANGED
@@ -113,7 +113,7 @@ function sfsi_plus_float_widget(s) {
|
|
113 |
}
|
114 |
else if ("bottom" == s)
|
115 |
{
|
116 |
-
var t = window.innerHeight - SFSI("#sfsi_plus_floater").height();
|
117 |
}
|
118 |
else
|
119 |
{
|
@@ -156,7 +156,7 @@ function sfsfi_plus_getCookie(s) {
|
|
156 |
|
157 |
function sfsi_plus_hideFooter() {}
|
158 |
|
159 |
-
window.onerror = function() {}, SFSI = jQuery.noConflict(), SFSI(window).load
|
160 |
SFSI("#sfpluspageLoad").fadeOut(2e3);
|
161 |
});
|
162 |
|
113 |
}
|
114 |
else if ("bottom" == s)
|
115 |
{
|
116 |
+
var t = window.innerHeight - ( SFSI("#sfsi_plus_floater").height() + parseInt(SFSI('#sfsi_plus_floater').css('margin-bottom')));
|
117 |
}
|
118 |
else
|
119 |
{
|
156 |
|
157 |
function sfsi_plus_hideFooter() {}
|
158 |
|
159 |
+
window.onerror = function() {}, SFSI = jQuery.noConflict(), SFSI(window).on('load',function() {
|
160 |
SFSI("#sfpluspageLoad").fadeOut(2e3);
|
161 |
});
|
162 |
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -63,7 +63,7 @@ function sfsi_plus_options_updater2()
|
|
63 |
|
64 |
$sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? $_POST["sfsi_plus_google_page"] : 'no';
|
65 |
$sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? trim($_POST["sfsi_plus_google_pageURL"]) : '';
|
66 |
-
$sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? $_POST["sfsi_plus_googleLike_option"] : 'no';
|
67 |
$sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? $_POST["sfsi_plus_googleShare_option"] : 'no';
|
68 |
|
69 |
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? trim($_POST["sfsi_plus_youtube_pageUrl"]) : '';
|
@@ -145,7 +145,7 @@ function sfsi_plus_options_updater2()
|
|
145 |
/* google + options */
|
146 |
'sfsi_plus_google_page' => sanitize_text_field($sfsi_plus_google_page),
|
147 |
'sfsi_plus_google_pageURL' => esc_url($sfsi_plus_google_pageURL),
|
148 |
-
'sfsi_plus_googleLike_option' => sanitize_text_field($sfsi_plus_googleLike_option),
|
149 |
'sfsi_plus_googleShare_option' => sanitize_text_field($sfsi_plus_googleShare_option),
|
150 |
|
151 |
/* youtube options */
|
63 |
|
64 |
$sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? $_POST["sfsi_plus_google_page"] : 'no';
|
65 |
$sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? trim($_POST["sfsi_plus_google_pageURL"]) : '';
|
66 |
+
// $sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? $_POST["sfsi_plus_googleLike_option"] : 'no';
|
67 |
$sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? $_POST["sfsi_plus_googleShare_option"] : 'no';
|
68 |
|
69 |
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? trim($_POST["sfsi_plus_youtube_pageUrl"]) : '';
|
145 |
/* google + options */
|
146 |
'sfsi_plus_google_page' => sanitize_text_field($sfsi_plus_google_page),
|
147 |
'sfsi_plus_google_pageURL' => esc_url($sfsi_plus_google_pageURL),
|
148 |
+
// 'sfsi_plus_googleLike_option' => sanitize_text_field($sfsi_plus_googleLike_option),
|
149 |
'sfsi_plus_googleShare_option' => sanitize_text_field($sfsi_plus_googleShare_option),
|
150 |
|
151 |
/* youtube options */
|
libs/controllers/sfsi_socialhelper.php
CHANGED
@@ -524,7 +524,7 @@ class sfsi_plus_SocialHelper
|
|
524 |
|
525 |
curl_setopt_array($curl, array(
|
526 |
CURLOPT_RETURNTRANSFER => 1,
|
527 |
-
CURLOPT_URL => '
|
528 |
CURLOPT_USERAGENT => 'sf rss request',
|
529 |
CURLOPT_POST => 1,
|
530 |
CURLOPT_TIMEOUT => 30,
|
524 |
|
525 |
curl_setopt_array($curl, array(
|
526 |
CURLOPT_RETURNTRANSFER => 1,
|
527 |
+
CURLOPT_URL => 'https://www.specificfeeds.com/wordpress/wpCountSubscriber',
|
528 |
CURLOPT_USERAGENT => 'sf rss request',
|
529 |
CURLOPT_POST => 1,
|
530 |
CURLOPT_TIMEOUT => 30,
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -75,13 +75,16 @@ function sfsi_plus_social_buttons_below($content)
|
|
75 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
76 |
$icons.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
77 |
}
|
78 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes'
|
79 |
{
|
80 |
-
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
81 |
-
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
82 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
83 |
}
|
84 |
|
|
|
|
|
|
|
|
|
|
|
85 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
86 |
{
|
87 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
@@ -194,21 +197,12 @@ function sfsi_plus_FBlike($permalink,$show_count)
|
|
194 |
{
|
195 |
$send = 'false';
|
196 |
$width = 180;
|
197 |
-
|
198 |
$fb_like_html = '';
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
else if($option8['sfsi_plus_rectfb'] == 'no' && $option8['sfsi_plus_rectfbshare'] == 'yes')
|
204 |
-
{
|
205 |
-
$fb_like_html .= '<div class="fb-share-button" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" ';
|
206 |
-
}
|
207 |
-
else
|
208 |
-
{
|
209 |
-
$fb_like_html .= '<div class="fb-like" href="'.$permalink.'" width="'.$width.'" send="'.$send.'" showfaces="false" action="like" data-share="false"';
|
210 |
-
}
|
211 |
-
if($show_count==1)
|
212 |
{
|
213 |
$fb_like_html .= 'data-layout="button_count"';
|
214 |
}
|
@@ -216,14 +210,40 @@ function sfsi_plus_FBlike($permalink,$show_count)
|
|
216 |
{
|
217 |
$fb_like_html .= 'data-layout="button"';
|
218 |
}
|
|
|
219 |
$fb_like_html .= ' ></div>';
|
220 |
-
|
|
|
221 |
}
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
/* create pinit button */
|
224 |
function sfsi_plus_pinitpinterest($permalink,$show_count)
|
225 |
{
|
226 |
$pinit_html = '<a href="https://www.pinterest.com/pin/create/button/?url=&media=&description=" data-pin-do="buttonPin" data-pin-save="true"';
|
|
|
227 |
if($show_count)
|
228 |
{
|
229 |
$pinit_html .= 'data-pin-count="beside"';
|
@@ -232,6 +252,7 @@ function sfsi_plus_pinitpinterest($permalink,$show_count)
|
|
232 |
{
|
233 |
$pinit_html .= 'data-pin-count="none"';
|
234 |
}
|
|
|
235 |
$pinit_html .= '></a>';
|
236 |
|
237 |
return $pinit_html;
|
75 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
76 |
$icons.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
77 |
}
|
78 |
+
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes')
|
79 |
{
|
|
|
|
|
80 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
81 |
}
|
82 |
|
83 |
+
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
84 |
+
{
|
85 |
+
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
86 |
+
}
|
87 |
+
|
88 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
89 |
{
|
90 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
197 |
{
|
198 |
$send = 'false';
|
199 |
$width = 180;
|
200 |
+
|
201 |
$fb_like_html = '';
|
202 |
+
|
203 |
+
$fb_like_html .= '<div class="fb-like" data-href="'.$permalink.'" data-action="like" data-size="small" data-show-faces="false" data-share="false"';
|
204 |
+
|
205 |
+
if(1 == $show_count)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
{
|
207 |
$fb_like_html .= 'data-layout="button_count"';
|
208 |
}
|
210 |
{
|
211 |
$fb_like_html .= 'data-layout="button"';
|
212 |
}
|
213 |
+
|
214 |
$fb_like_html .= ' ></div>';
|
215 |
+
|
216 |
+
return $fb_like_html;
|
217 |
}
|
218 |
|
219 |
+
function sfsi_plus_FBshare($permalink,$show_count){
|
220 |
+
|
221 |
+
$send = 'false';
|
222 |
+
$width = 180;
|
223 |
+
|
224 |
+
$fb_share_html = '';
|
225 |
+
|
226 |
+
$fb_share_html .= '<div class="fb-share-button" data-action="share" data-href="'.$permalink.'" data-size="small" data-mobile-iframe="true"';
|
227 |
+
|
228 |
+
if(1 == $show_count)
|
229 |
+
{
|
230 |
+
$fb_share_html .= 'data-layout="button_count"';
|
231 |
+
}
|
232 |
+
else
|
233 |
+
{
|
234 |
+
$fb_share_html .= 'data-layout="button"';
|
235 |
+
}
|
236 |
+
|
237 |
+
$fb_share_html .= '><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u='.$permalink.';src=sdkpreparse" class="fb-xfbml-parse-ignore"></a></div>';
|
238 |
+
|
239 |
+
return $fb_share_html;
|
240 |
+
|
241 |
+
}
|
242 |
/* create pinit button */
|
243 |
function sfsi_plus_pinitpinterest($permalink,$show_count)
|
244 |
{
|
245 |
$pinit_html = '<a href="https://www.pinterest.com/pin/create/button/?url=&media=&description=" data-pin-do="buttonPin" data-pin-save="true"';
|
246 |
+
|
247 |
if($show_count)
|
248 |
{
|
249 |
$pinit_html .= 'data-pin-count="beside"';
|
252 |
{
|
253 |
$pinit_html .= 'data-pin-count="none"';
|
254 |
}
|
255 |
+
|
256 |
$pinit_html .= '></a>';
|
257 |
|
258 |
return $pinit_html;
|
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.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -287,7 +287,7 @@ function sfsi_plus_activate_plugin()
|
|
287 |
'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name',
|
288 |
'sfsi_plus_google_page'=>'no',
|
289 |
'sfsi_plus_google_pageURL'=>'',
|
290 |
-
'sfsi_plus_googleLike_option'=>'yes'
|
291 |
'sfsi_plus_googleShare_option'=>'yes',
|
292 |
'sfsi_plus_youtube_pageUrl'=>'',
|
293 |
'sfsi_plus_youtube_page'=>'no',
|
@@ -552,7 +552,7 @@ function sfsi_plus_updateFeedPing($status,$feed_id)
|
|
552 |
|
553 |
curl_setopt_array($curl, array(
|
554 |
CURLOPT_RETURNTRANSFER => 1,
|
555 |
-
CURLOPT_URL => '
|
556 |
CURLOPT_USERAGENT => 'sf rss request',
|
557 |
CURLOPT_POST => 1,
|
558 |
CURLOPT_POSTFIELDS => array(
|
@@ -639,7 +639,7 @@ function SFSI_PLUS_getFeedUrl()
|
|
639 |
|
640 |
curl_setopt_array($curl, array(
|
641 |
CURLOPT_RETURNTRANSFER => 1,
|
642 |
-
CURLOPT_URL => '
|
643 |
CURLOPT_USERAGENT => 'sf rss request',
|
644 |
CURLOPT_POST => 1,
|
645 |
CURLOPT_POSTFIELDS => array(
|
@@ -669,7 +669,7 @@ function SFSI_PLUS_updateFeedUrl()
|
|
669 |
|
670 |
curl_setopt_array($curl, array(
|
671 |
CURLOPT_RETURNTRANSFER => 1,
|
672 |
-
CURLOPT_URL => '
|
673 |
CURLOPT_USERAGENT => 'sf rss request',
|
674 |
CURLOPT_POST => 1,
|
675 |
CURLOPT_POSTFIELDS => array(
|
@@ -693,7 +693,7 @@ function sfsi_plus_setUpfeeds($feed_id)
|
|
693 |
$curl = curl_init();
|
694 |
curl_setopt_array($curl, array(
|
695 |
CURLOPT_RETURNTRANSFER => 1,
|
696 |
-
CURLOPT_URL => '
|
697 |
CURLOPT_USERAGENT => 'sf rss request',
|
698 |
CURLOPT_POST => 0
|
699 |
));
|
@@ -903,7 +903,7 @@ function sfsi_plus_pingVendor( $post_id )
|
|
903 |
$curl = curl_init();
|
904 |
curl_setopt_array($curl, array(
|
905 |
CURLOPT_RETURNTRANSFER => 1,
|
906 |
-
CURLOPT_URL => '
|
907 |
CURLOPT_USERAGENT => 'sf rss request',
|
908 |
CURLOPT_POST => 1,
|
909 |
CURLOPT_POSTFIELDS => $postto_array
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.99");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
287 |
'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name',
|
288 |
'sfsi_plus_google_page'=>'no',
|
289 |
'sfsi_plus_google_pageURL'=>'',
|
290 |
+
/*'sfsi_plus_googleLike_option'=>'yes',*/
|
291 |
'sfsi_plus_googleShare_option'=>'yes',
|
292 |
'sfsi_plus_youtube_pageUrl'=>'',
|
293 |
'sfsi_plus_youtube_page'=>'no',
|
552 |
|
553 |
curl_setopt_array($curl, array(
|
554 |
CURLOPT_RETURNTRANSFER => 1,
|
555 |
+
CURLOPT_URL => 'https://www.specificfeeds.com/wordpress/pingfeed',
|
556 |
CURLOPT_USERAGENT => 'sf rss request',
|
557 |
CURLOPT_POST => 1,
|
558 |
CURLOPT_POSTFIELDS => array(
|
639 |
|
640 |
curl_setopt_array($curl, array(
|
641 |
CURLOPT_RETURNTRANSFER => 1,
|
642 |
+
CURLOPT_URL => 'https://www.specificfeeds.com/wordpress/plugin_setup',
|
643 |
CURLOPT_USERAGENT => 'sf rss request',
|
644 |
CURLOPT_POST => 1,
|
645 |
CURLOPT_POSTFIELDS => array(
|
669 |
|
670 |
curl_setopt_array($curl, array(
|
671 |
CURLOPT_RETURNTRANSFER => 1,
|
672 |
+
CURLOPT_URL => 'https://www.specificfeeds.com/wordpress/updateFeedPlugin',
|
673 |
CURLOPT_USERAGENT => 'sf rss request',
|
674 |
CURLOPT_POST => 1,
|
675 |
CURLOPT_POSTFIELDS => array(
|
693 |
$curl = curl_init();
|
694 |
curl_setopt_array($curl, array(
|
695 |
CURLOPT_RETURNTRANSFER => 1,
|
696 |
+
CURLOPT_URL => 'https//www.specificfeeds.com/rssegtcrons/download_rssmorefeed_data_single/'.$feed_id."/Y",
|
697 |
CURLOPT_USERAGENT => 'sf rss request',
|
698 |
CURLOPT_POST => 0
|
699 |
));
|
903 |
$curl = curl_init();
|
904 |
curl_setopt_array($curl, array(
|
905 |
CURLOPT_RETURNTRANSFER => 1,
|
906 |
+
CURLOPT_URL => 'https://www.specificfeeds.com/wordpress/addpostdata ',
|
907 |
CURLOPT_USERAGENT => 'sf rss request',
|
908 |
CURLOPT_POST => 1,
|
909 |
CURLOPT_POSTFIELDS => $postto_array
|
libs/sfsi_widget.php
CHANGED
@@ -579,10 +579,11 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
579 |
}
|
580 |
|
581 |
$facebook_icons_lang = $sfsi_plus_section5_options['sfsi_plus_facebook_icons_language'];
|
582 |
-
|
|
|
583 |
if(file_exists($visit_icon))
|
584 |
{
|
585 |
-
$visit_icon = $visit_iconsUrl."Visit_us_fb/icon_".$facebook_icons_lang.".
|
586 |
}
|
587 |
else
|
588 |
{
|
@@ -716,21 +717,26 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
716 |
$url = ($sfsi_plus_section2_options['sfsi_plus_google_pageURL']) ? $sfsi_plus_section2_options['sfsi_plus_google_pageURL'] : 'javascript:void(0);';
|
717 |
|
718 |
/* check for icons to display */
|
719 |
-
if($sfsi_plus_section2_options['sfsi_plus_googleLike_option']=="yes"
|
|
|
|
|
|
|
|
|
720 |
{
|
721 |
-
$hoverSHow=1;
|
722 |
-
$hoverdiv='';
|
|
|
723 |
if($sfsi_plus_section2_options['sfsi_plus_google_page']=="yes")
|
724 |
{
|
725 |
$hoverdiv.="<div class='icon1'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img alt='".$alt_text."' title='".$alt_text."' src='".$visit_icon."' /></a></div>";
|
726 |
}
|
727 |
-
if($sfsi_plus_section2_options['sfsi_plus_googleLike_option']=="yes")
|
728 |
-
{
|
729 |
-
|
730 |
-
}
|
731 |
if($sfsi_plus_section2_options['sfsi_plus_googleShare_option']=="yes")
|
732 |
{
|
733 |
-
$hoverdiv.="<div class='
|
734 |
}
|
735 |
}
|
736 |
|
@@ -1364,25 +1370,26 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
1364 |
if($toolClass=="rss_tool_bdr" || $toolClass=='email_tool_bdr' || $toolClass=="custom_lkn" || $toolClass=="instagram_tool_bdr" )
|
1365 |
{
|
1366 |
$new_window = sfsi_plus_checkNewWindow();
|
1367 |
-
$url = $url;
|
1368 |
}
|
1369 |
else if($hoverSHow)
|
1370 |
{
|
1371 |
if(!wp_is_mobile())
|
1372 |
{
|
1373 |
$new_window = sfsi_plus_checkNewWindow();
|
1374 |
-
$url = $url;
|
1375 |
}
|
1376 |
else
|
1377 |
{
|
1378 |
$new_window = '';
|
1379 |
-
$url = "javascript:void(0)";
|
1380 |
}
|
1381 |
}
|
1382 |
else
|
1383 |
{
|
1384 |
$new_window = sfsi_plus_checkNewWindow();
|
1385 |
-
|
|
|
|
|
|
|
1386 |
}
|
1387 |
|
1388 |
$margin_bot="5px;";
|
@@ -1397,7 +1404,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
1397 |
|
1398 |
$icons.= "<div class='sfsiplus_inerCnt'>";
|
1399 |
|
1400 |
-
$icons.= "<a class='".$class." sficn' effect='".$mouse_hover_effect."' $new_window href='".$url."'
|
1401 |
|
1402 |
$icons.= "<img alt='".$alt_text."' title='".$alt_text."' src='".$icon."' width='".$icons_size."' height='".$icons_size."' style='".$border_radius.$padding_top."' class='sfcm sfsi_wicon' effect='".$mouse_hover_effect."' />";
|
1403 |
|
579 |
}
|
580 |
|
581 |
$facebook_icons_lang = $sfsi_plus_section5_options['sfsi_plus_facebook_icons_language'];
|
582 |
+
// return $facebook_icons_lang;die();wp_die();
|
583 |
+
$visit_icon = SFSI_PLUS_DOCROOT.'/images/visit_icons/Visit_us_fb/icon_'.$facebook_icons_lang.'.png';
|
584 |
if(file_exists($visit_icon))
|
585 |
{
|
586 |
+
$visit_icon = $visit_iconsUrl."Visit_us_fb/icon_".$facebook_icons_lang.".png";
|
587 |
}
|
588 |
else
|
589 |
{
|
717 |
$url = ($sfsi_plus_section2_options['sfsi_plus_google_pageURL']) ? $sfsi_plus_section2_options['sfsi_plus_google_pageURL'] : 'javascript:void(0);';
|
718 |
|
719 |
/* check for icons to display */
|
720 |
+
// if($sfsi_plus_section2_options['sfsi_plus_googleLike_option']=="yes"
|
721 |
+
// || $sfsi_plus_section2_options['sfsi_plus_googleShare_option']=="yes")
|
722 |
+
// {
|
723 |
+
|
724 |
+
if($sfsi_plus_section2_options['sfsi_plus_googleShare_option']=="yes")
|
725 |
{
|
726 |
+
$hoverSHow = 1;
|
727 |
+
$hoverdiv = '';
|
728 |
+
|
729 |
if($sfsi_plus_section2_options['sfsi_plus_google_page']=="yes")
|
730 |
{
|
731 |
$hoverdiv.="<div class='icon1'><a href='".$url."' ".sfsi_plus_checkNewWindow($url)."><img alt='".$alt_text."' title='".$alt_text."' src='".$visit_icon."' /></a></div>";
|
732 |
}
|
733 |
+
// if($sfsi_plus_section2_options['sfsi_plus_googleLike_option']=="yes")
|
734 |
+
// {
|
735 |
+
// $hoverdiv.="<div class='icon2'>".$socialObj->sfsi_Googlelike($current_url,$icons_language)."</div>";
|
736 |
+
// }
|
737 |
if($sfsi_plus_section2_options['sfsi_plus_googleShare_option']=="yes")
|
738 |
{
|
739 |
+
$hoverdiv.="<div class='icon2'>".$socialObj->sfsi_GoogleShare($current_url,$icons_language)."</div>";
|
740 |
}
|
741 |
}
|
742 |
|
1370 |
if($toolClass=="rss_tool_bdr" || $toolClass=='email_tool_bdr' || $toolClass=="custom_lkn" || $toolClass=="instagram_tool_bdr" )
|
1371 |
{
|
1372 |
$new_window = sfsi_plus_checkNewWindow();
|
|
|
1373 |
}
|
1374 |
else if($hoverSHow)
|
1375 |
{
|
1376 |
if(!wp_is_mobile())
|
1377 |
{
|
1378 |
$new_window = sfsi_plus_checkNewWindow();
|
|
|
1379 |
}
|
1380 |
else
|
1381 |
{
|
1382 |
$new_window = '';
|
1383 |
+
$url = "javascript:void(0);";
|
1384 |
}
|
1385 |
}
|
1386 |
else
|
1387 |
{
|
1388 |
$new_window = sfsi_plus_checkNewWindow();
|
1389 |
+
}
|
1390 |
+
|
1391 |
+
if("javascript:void(0);" == $url){
|
1392 |
+
$new_window = "";
|
1393 |
}
|
1394 |
|
1395 |
$margin_bot="5px;";
|
1404 |
|
1405 |
$icons.= "<div class='sfsiplus_inerCnt'>";
|
1406 |
|
1407 |
+
$icons.= "<a class='".$class." sficn' effect='".$mouse_hover_effect."' $new_window href='".$url."' style='opacity:".$icon_opacity."' >";
|
1408 |
|
1409 |
$icons.= "<img alt='".$alt_text."' title='".$alt_text."' src='".$icon."' width='".$icons_size."' height='".$icons_size."' style='".$border_radius.$padding_top."' class='sfcm sfsi_wicon' effect='".$mouse_hover_effect."' />";
|
1410 |
|
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: 5.0
|
6 |
-
Stable tag: 2.9.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -445,12 +445,17 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
445 |
|
446 |
== Changelog ==
|
447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
= 2.9.8 =
|
449 |
-
*
|
450 |
-
* Fixed: Rectangle icon alignment issues on some themes
|
451 |
|
452 |
= 2.9.7 =
|
453 |
-
*
|
454 |
|
455 |
= 2.9.6 =
|
456 |
* Image not showing error fixed for banner in animation section in Question 4 added
|
@@ -791,5 +796,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
791 |
|
792 |
== Upgrade Notice ==
|
793 |
|
794 |
-
= 2.9.
|
795 |
* 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.0
|
6 |
+
Stable tag: 2.9.9
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
445 |
|
446 |
== Changelog ==
|
447 |
|
448 |
+
= 2.9.9 =
|
449 |
+
* Duplicate IDs removed from icon's link
|
450 |
+
* Facebook share counts (rectangle icons) do not show - fixed
|
451 |
+
* Google like removed
|
452 |
+
* Click on G+ in firefox opens a new window - fixed
|
453 |
+
|
454 |
= 2.9.8 =
|
455 |
+
* Update: Display counts can’t be manually updated
|
|
|
456 |
|
457 |
= 2.9.7 =
|
458 |
+
* New Feature: Direct chat added to the plugins settings page.
|
459 |
|
460 |
= 2.9.6 =
|
461 |
* Image not showing error fixed for banner in animation section in Question 4 added
|
796 |
|
797 |
== Upgrade Notice ==
|
798 |
|
799 |
+
= 2.9.9 =
|
800 |
* 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: 2.9.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -103,7 +103,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
103 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
104 |
|
105 |
/*Plugin version setup*/
|
106 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
107 |
{
|
108 |
add_action("init", "sfsi_plus_update_plugin");
|
109 |
}
|
@@ -305,7 +305,7 @@ function sfsi_plus_getverification_code()
|
|
305 |
$curl = curl_init();
|
306 |
curl_setopt_array($curl, array(
|
307 |
CURLOPT_RETURNTRANSFER => 1,
|
308 |
-
CURLOPT_URL => '
|
309 |
CURLOPT_USERAGENT => 'sf get verification',
|
310 |
CURLOPT_POST => 1,
|
311 |
CURLOPT_POSTFIELDS => array(
|
@@ -486,12 +486,12 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
486 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
487 |
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
488 |
}
|
489 |
-
|
490 |
{
|
491 |
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
492 |
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
493 |
-
$icons_before .= "<div class='
|
494 |
-
}
|
495 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
496 |
{
|
497 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
@@ -558,12 +558,12 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
558 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
559 |
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
560 |
}
|
561 |
-
|
562 |
{
|
563 |
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
564 |
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
565 |
-
$
|
566 |
-
}
|
567 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
568 |
{
|
569 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
@@ -1205,7 +1205,7 @@ function sfsi_plus_ask_for_help($viewNumber){ ?>
|
|
1205 |
|
1206 |
<img src="<?php echo SFSI_PLUS_PLUGURL."images/questionmark.png"?>"/>
|
1207 |
|
1208 |
-
<span>Questions? <a target="_blank" href="
|
1209 |
|
1210 |
</div>
|
1211 |
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 2.9.9
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
103 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
104 |
|
105 |
/*Plugin version setup*/
|
106 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.99)
|
107 |
{
|
108 |
add_action("init", "sfsi_plus_update_plugin");
|
109 |
}
|
305 |
$curl = curl_init();
|
306 |
curl_setopt_array($curl, array(
|
307 |
CURLOPT_RETURNTRANSFER => 1,
|
308 |
+
CURLOPT_URL => 'https://www.specificfeeds.com/wordpress/getVerifiedCode_plugin',
|
309 |
CURLOPT_USERAGENT => 'sf get verification',
|
310 |
CURLOPT_POST => 1,
|
311 |
CURLOPT_POSTFIELDS => array(
|
486 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
487 |
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
488 |
}
|
489 |
+
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
490 |
{
|
491 |
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
492 |
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
493 |
+
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
494 |
+
}
|
495 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
496 |
{
|
497 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
558 |
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
559 |
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
560 |
}
|
561 |
+
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
562 |
{
|
563 |
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
564 |
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
565 |
+
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
566 |
+
}
|
567 |
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
568 |
{
|
569 |
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
1205 |
|
1206 |
<img src="<?php echo SFSI_PLUS_PLUGURL."images/questionmark.png"?>"/>
|
1207 |
|
1208 |
+
<span>Questions? <a target="_blank" href="#" onclick="event.preventDefault();sfsi_open_chat(event);"><b>Ask us</b></a></span>
|
1209 |
|
1210 |
</div>
|
1211 |
|
views/sfsi_option_view2.php
CHANGED
@@ -54,9 +54,9 @@
|
|
54 |
$option2['sfsi_plus_google_pageURL'] = (isset($option2['sfsi_plus_google_pageURL']))
|
55 |
? esc_url($option2['sfsi_plus_google_pageURL'])
|
56 |
: '';
|
57 |
-
$option2['sfsi_plus_googleLike_option'] = (isset($option2['sfsi_plus_googleLike_option']))
|
58 |
-
|
59 |
-
|
60 |
$option2['sfsi_plus_googleShare_option'] = (isset($option2['sfsi_plus_googleShare_option']))
|
61 |
? sanitize_text_field($option2['sfsi_plus_googleShare_option'])
|
62 |
: '';
|
@@ -164,7 +164,7 @@
|
|
164 |
<!-- EMAIL ICON -->
|
165 |
<?php
|
166 |
$feedId = sanitize_text_field(get_option('sfsi_plus_feed_id',false));
|
167 |
-
$connectToFeed = "
|
168 |
|
169 |
?>
|
170 |
<div class="row sfsiplus_email_section">
|
@@ -176,7 +176,7 @@
|
|
176 |
|
177 |
<div class="inr_cont">
|
178 |
<p class="sfsi_plus_specificfeedlink">
|
179 |
-
<?php _e('Allows your visitors to subscribe to your site (on ', SFSI_PLUS_DOMAIN ); ?><a href="
|
180 |
</p>
|
181 |
<p><?php _e( 'Please pick which icon type you want to use:', SFSI_PLUS_DOMAIN); ?></p>
|
182 |
<ul class="tab_2_email_sec">
|
@@ -387,12 +387,14 @@
|
|
387 |
<input name="sfsi_plus_google_pageURL" type="url" placeholder="http://" value="<?php echo ($option2['sfsi_plus_google_pageURL']!='') ? $option2['sfsi_plus_google_pageURL'] : '' ;?>" class="add" />
|
388 |
|
389 |
</p>
|
390 |
-
|
391 |
-
|
|
|
392 |
<label>
|
393 |
-
<?php _e( 'Like my blog on Google+ (+1)', SFSI_PLUS_DOMAIN ); ?>
|
394 |
</label>
|
395 |
-
</p
|
|
|
396 |
<p class="radio_section fb_url">
|
397 |
<input name="sfsi_plus_googleShare_option" <?php echo ($option2['sfsi_plus_googleShare_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
398 |
|
54 |
$option2['sfsi_plus_google_pageURL'] = (isset($option2['sfsi_plus_google_pageURL']))
|
55 |
? esc_url($option2['sfsi_plus_google_pageURL'])
|
56 |
: '';
|
57 |
+
// $option2['sfsi_plus_googleLike_option'] = (isset($option2['sfsi_plus_googleLike_option']))
|
58 |
+
// ? sanitize_text_field($option2['sfsi_plus_googleLike_option'])
|
59 |
+
// : '';
|
60 |
$option2['sfsi_plus_googleShare_option'] = (isset($option2['sfsi_plus_googleShare_option']))
|
61 |
? sanitize_text_field($option2['sfsi_plus_googleShare_option'])
|
62 |
: '';
|
164 |
<!-- EMAIL ICON -->
|
165 |
<?php
|
166 |
$feedId = sanitize_text_field(get_option('sfsi_plus_feed_id',false));
|
167 |
+
$connectToFeed = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
|
168 |
|
169 |
?>
|
170 |
<div class="row sfsiplus_email_section">
|
176 |
|
177 |
<div class="inr_cont">
|
178 |
<p class="sfsi_plus_specificfeedlink">
|
179 |
+
<?php _e('Allows your visitors to subscribe to your site (on ', SFSI_PLUS_DOMAIN ); ?><a href="https://www.specificfeeds.com/widgets/emailSubscribeEncFeed/<?php echo $feedId; ?>/<?php echo base64_encode(8); ?>" target="_new"><?php _e( 'this screen', SFSI_PLUS_DOMAIN); ?></a><?php _e(") and receive new posts automatically by email.", SFSI_PLUS_DOMAIN); ?>
|
180 |
</p>
|
181 |
<p><?php _e( 'Please pick which icon type you want to use:', SFSI_PLUS_DOMAIN); ?></p>
|
182 |
<ul class="tab_2_email_sec">
|
387 |
<input name="sfsi_plus_google_pageURL" type="url" placeholder="http://" value="<?php echo ($option2['sfsi_plus_google_pageURL']!='') ? $option2['sfsi_plus_google_pageURL'] : '' ;?>" class="add" />
|
388 |
|
389 |
</p>
|
390 |
+
|
391 |
+
<!--<p class="radio_section fb_url">
|
392 |
+
<input name="sfsi_plus_googleLike_option" <?php //echo ($option2['sfsi_plus_googleLike_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
393 |
<label>
|
394 |
+
<?php //_e( 'Like my blog on Google+ (+1)', SFSI_PLUS_DOMAIN ); ?>
|
395 |
</label>
|
396 |
+
</p>-->
|
397 |
+
|
398 |
<p class="radio_section fb_url">
|
399 |
<input name="sfsi_plus_googleShare_option" <?php echo ($option2['sfsi_plus_googleShare_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
400 |
|
views/sfsi_option_view8.php
CHANGED
@@ -502,10 +502,25 @@
|
|
502 |
</div>-->
|
503 |
|
504 |
</li>
|
505 |
-
|
506 |
</ul>
|
507 |
</div>
|
508 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
509 |
</ul>
|
510 |
<?php if($option8['sfsi_plus_show_premium_placement_box'] == 'yes'){ ?>
|
511 |
<div class ="sfsi_plus_new_prmium_follw">
|
502 |
</div>-->
|
503 |
|
504 |
</li>
|
505 |
+
|
506 |
</ul>
|
507 |
</div>
|
508 |
</li>
|
509 |
+
<!-- pinterest on image over icon -->
|
510 |
+
<li class="row sfsiplus_show_via_onhover disabled_checkbox">
|
511 |
+
|
512 |
+
<div class="radio_section tb_4_ck">
|
513 |
+
<span class="checkbox" style="background-position:0px 0px!important;width:31px"></span>
|
514 |
+
<input name="" type="checkbox" disable value="" class="hide" style="display:none;" /></div>
|
515 |
+
|
516 |
+
<div class="sfsiplus_right_info">
|
517 |
+
|
518 |
+
<p style="display:block">
|
519 |
+
<span class="sfsiplus_toglepstpgspn" style="width:50%;display:inline-block" >Show a Pinterest icon over images on mouse-over </span> <span><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=pinterest_icon_mouse_over&utm_medium=link" target="_blank" style="font-weight:800;color:#777">Premium feature</a></span>
|
520 |
+
</p>
|
521 |
+
|
522 |
+
</div>
|
523 |
+
</li>
|
524 |
</ul>
|
525 |
<?php if($option8['sfsi_plus_show_premium_placement_box'] == 'yes'){ ?>
|
526 |
<div class ="sfsi_plus_new_prmium_follw">
|
views/sfsi_option_view9.php
CHANGED
@@ -94,7 +94,7 @@
|
|
94 |
<?php sfsi_plus_curl_error_notification(); ?>
|
95 |
</div>
|
96 |
<?php
|
97 |
-
$connectToFeed = "
|
98 |
?>
|
99 |
<p>
|
100 |
<?php
|
94 |
<?php sfsi_plus_curl_error_notification(); ?>
|
95 |
</div>
|
96 |
<?php
|
97 |
+
$connectToFeed = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
|
98 |
?>
|
99 |
<p>
|
100 |
<?php
|
views/sfsi_pop_content.php
CHANGED
@@ -9,8 +9,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 = "
|
13 |
-
$connectFeedLgn = "
|
14 |
?>
|
15 |
|
16 |
<div class="pop-overlay read-overlay feedClaiming-overlay" >
|
@@ -104,7 +104,7 @@ $connectFeedLgn = "http://www.specificfeeds.com/?".base64_encode("userprofile=wo
|
|
104 |
$icons_baseUrl=SFSI_PLUS_PLUGURL."/images/icons_theme/".$active_theme."/";
|
105 |
$visit_iconsUrl= SFSI_PLUS_PLUGURL."/images/visit_icons/";
|
106 |
$soicalObj=new sfsi_plus_SocialHelper();
|
107 |
-
$twitetr_share=($option2['sfsi_plus_twitter_followUserName']!='') ? "https://twitter.com/".$option2['sfsi_plus_twitter_followUserName'] : '
|
108 |
$twitter_text=($option2['sfsi_plus_twitter_followUserName']!='') ? $option2['sfsi_plus_twitter_aboutPageText'] : 'Create Your Perfect Newspaper for free';
|
109 |
?>
|
110 |
|
@@ -275,7 +275,7 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
275 |
<div class="pop_up_box sfsi_pop_up" >
|
276 |
<h4>
|
277 |
<?php _e('Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you more readers as explained', SFSI_PLUS_DOMAIN ); ?>
|
278 |
-
(<a href="
|
279 |
<?php _e( 'learn more', SFSI_PLUS_DOMAIN ); ?>
|
280 |
</a>).
|
281 |
</h4>
|
9 |
define('rss_readmore_text2', $rss_readmore_text2);
|
10 |
|
11 |
$feedId = sanitize_text_field(get_option('sfsi_plus_feed_id',false));
|
12 |
+
$connectToFeed = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
|
13 |
+
$connectFeedLgn = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId."&logintype=login");
|
14 |
?>
|
15 |
|
16 |
<div class="pop-overlay read-overlay feedClaiming-overlay" >
|
104 |
$icons_baseUrl=SFSI_PLUS_PLUGURL."/images/icons_theme/".$active_theme."/";
|
105 |
$visit_iconsUrl= SFSI_PLUS_PLUGURL."/images/visit_icons/";
|
106 |
$soicalObj=new sfsi_plus_SocialHelper();
|
107 |
+
$twitetr_share=($option2['sfsi_plus_twitter_followUserName']!='') ? "https://twitter.com/".$option2['sfsi_plus_twitter_followUserName'] : 'https://specificfeeds.com';
|
108 |
$twitter_text=($option2['sfsi_plus_twitter_followUserName']!='') ? $option2['sfsi_plus_twitter_aboutPageText'] : 'Create Your Perfect Newspaper for free';
|
109 |
?>
|
110 |
|
275 |
<div class="pop_up_box sfsi_pop_up" >
|
276 |
<h4>
|
277 |
<?php _e('Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you more readers as explained', SFSI_PLUS_DOMAIN ); ?>
|
278 |
+
(<a href="https://www.specificfeeds.com/rss" target="_new" style="color:#5A6570;display: inline;text-decoration:underline">
|
279 |
<?php _e( 'learn more', SFSI_PLUS_DOMAIN ); ?>
|
280 |
</a>).
|
281 |
</h4>
|