Version Description
- Banners added
- Spelling mistakes corrected
Download this release
Release Info
Developer | socialdude |
Plugin | Social Media Share Buttons & Social Sharing Icons |
Version | 1.7.9 |
Comparing to | |
See all releases |
Code changes from version 1.7.8 to 1.7.9
- css/sfsi-admin-style.css +10 -3
- css/sfsi-style.css +1 -1
- images/heart.png +0 -0
- images/noBtnBg.png +0 -0
- images/single_heart.png +0 -0
- images/tick.png +0 -0
- images/ultimate-icon.png +0 -0
- images/yesBtnBg.png +0 -0
- js/custom-admin.js +12 -3
- libs/controllers/sfsi_socialhelper.php +14 -5
- libs/sfsi_install_uninstall.php +15 -7
- libs/sfsi_widget.php +6 -2
- readme.txt +7 -3
- ultimate_social_media_icons.php +74 -10
- views/sfsi_option_view1.php +1 -1
- views/sfsi_option_view2.php +10 -2
- views/sfsi_option_view5.php +3 -0
- views/sfsi_option_view6.php +12 -4
- views/sfsi_option_view7.php +8 -2
- views/sfsi_options_view.php +4 -1
- views/sfsi_section_for_premium.php +516 -0
css/sfsi-admin-style.css
CHANGED
@@ -1651,7 +1651,9 @@ ul.sfsi_floaticon_margin_sec li ins {
|
|
1651 |
}
|
1652 |
|
1653 |
/*poonam */
|
1654 |
-
.sf_si_our_prmium_plugin-add, .sfsi_prem_icons_added
|
|
|
|
|
1655 |
.sf_si_our_prmium_plugin-add{padding: 25px 38px 45px 44px;}
|
1656 |
.sf_si_default_design ul{padding:0;margin:0;}
|
1657 |
.sf_si_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
|
@@ -1671,7 +1673,7 @@ ul.sfsi_floaticon_margin_sec li ins {
|
|
1671 |
.sfsi_need_another_one_link{padding:23px 0 20px 5px; }
|
1672 |
.sfsi_need_another_tell_us {padding-top: 15px;}
|
1673 |
.sfsi_need_another_tell_us a{margin-left:5px;}
|
1674 |
-
.sfsi_new_prmium_follw {margin-top:20px;
|
1675 |
.sfsi_new_prmium_follw p{margin: 0 !important;}
|
1676 |
.sfsi_new_prmium_follw p{color: #1a1d20 !important;font-size: 20px !important;font-family: helveticaregular !important;}
|
1677 |
.sfsi_new_prmium_follw p a{color:#12a252 !important;border-bottom: 1px solid #12a252; text-decoration: none;}
|
@@ -1924,4 +1926,9 @@ color: #38B54A
|
|
1924 |
ul.sfsi_show_hide_section {float: right;width: 14%;}
|
1925 |
|
1926 |
.sfsi_social_sharing{margin-bottom: 15px;float: left;width: 51%;}
|
1927 |
-
.socialPostTypesUl span {pointer-events: none}
|
|
|
|
|
|
|
|
|
|
1651 |
}
|
1652 |
|
1653 |
/*poonam */
|
1654 |
+
.sf_si_our_prmium_plugin-add, .sfsi_prem_icons_added {background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;clear: both;}
|
1655 |
+
.sfsi_new_prmium_follw{background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;float:left;clear: both;}
|
1656 |
+
.notice_custom_icons_premium.sfsi_new_prmium_follw {margin-left: 96px;}
|
1657 |
.sf_si_our_prmium_plugin-add{padding: 25px 38px 45px 44px;}
|
1658 |
.sf_si_default_design ul{padding:0;margin:0;}
|
1659 |
.sf_si_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
|
1673 |
.sfsi_need_another_one_link{padding:23px 0 20px 5px; }
|
1674 |
.sfsi_need_another_tell_us {padding-top: 15px;}
|
1675 |
.sfsi_need_another_tell_us a{margin-left:5px;}
|
1676 |
+
.sfsi_new_prmium_follw {margin-top:20px;display: inline-block;padding:15px 75px 20px 24px;float: left;}
|
1677 |
.sfsi_new_prmium_follw p{margin: 0 !important;}
|
1678 |
.sfsi_new_prmium_follw p{color: #1a1d20 !important;font-size: 20px !important;font-family: helveticaregular !important;}
|
1679 |
.sfsi_new_prmium_follw p a{color:#12a252 !important;border-bottom: 1px solid #12a252; text-decoration: none;}
|
1926 |
ul.sfsi_show_hide_section {float: right;width: 14%;}
|
1927 |
|
1928 |
.sfsi_social_sharing{margin-bottom: 15px;float: left;width: 51%;}
|
1929 |
+
.socialPostTypesUl span {pointer-events: none}
|
1930 |
+
.bannerPopupQue6 {
|
1931 |
+
width: 98% !important;
|
1932 |
+
float: left!important;
|
1933 |
+
padding: 15px!important;
|
1934 |
+
}
|
css/sfsi-style.css
CHANGED
@@ -2248,7 +2248,7 @@ ul.cstmskin_iconlist {
|
|
2248 |
{
|
2249 |
max-width: none;
|
2250 |
}
|
2251 |
-
.sfsi_mainContainer p.bldtxtmsg{float: left; font-size: 15px; font-weight: bold; margin-top: 12px; width: 100%;}
|
2252 |
.addthis_toolbox a{border: medium none !important; float: left;}
|
2253 |
.sfsinewplgndesc
|
2254 |
{
|
2248 |
{
|
2249 |
max-width: none;
|
2250 |
}
|
2251 |
+
.sfsi_mainContainer p.bldtxtmsg{float: left; font-size: 15px; font-weight: bold; margin-top: 12px; width: 100%;text-align: center;}
|
2252 |
.addthis_toolbox a{border: medium none !important; float: left;}
|
2253 |
.sfsinewplgndesc
|
2254 |
{
|
images/heart.png
ADDED
Binary file
|
images/noBtnBg.png
ADDED
Binary file
|
images/single_heart.png
ADDED
Binary file
|
images/tick.png
ADDED
Binary file
|
images/ultimate-icon.png
ADDED
Binary file
|
images/yesBtnBg.png
ADDED
Binary file
|
js/custom-admin.js
CHANGED
@@ -36,6 +36,10 @@ function sfsi_delete_CusIcon(s, i) {
|
|
36 |
SFSI("li.custom:last-child").addClass("bdr_btm_non"), SFSI(".custom-links").find("div." + i.attr("name")).remove(),
|
37 |
SFSI(".custom_m").find("div." + i.attr("name")).remove(), SFSI(".share_icon_order").children("li." + i.attr("name")).remove(),
|
38 |
SFSI("ul.sfsi_sample_icons").children("li." + i.attr("name")).remove();
|
|
|
|
|
|
|
|
|
39 |
var n = e.total_up + 1;
|
40 |
4 == e.total_up && SFSI(".icn_listing").append('<li id="c' + t + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + t + '" /> </span> <span class="custom custom-txt">Custom' + n + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>');
|
41 |
} else showErrorSuc("error", "Unkown error , please try again", 1);
|
@@ -1304,7 +1308,9 @@ function afterIconSuccess(s)
|
|
1304 |
SFSI(".uperror").html("");
|
1305 |
showErrorSuc("success", "Custom Icon updated successfully", 1);
|
1306 |
d = new Date();
|
1307 |
-
|
|
|
|
|
1308 |
SFSI("li.custom:last-child").removeClass("bdr_btm_non");
|
1309 |
SFSI("li.custom:last-child").children("span.custom-img").children("img").attr("src", s.img_path+ "?" + d.getTime());
|
1310 |
SFSI("input[name=sfsiICON_" + s.key + "]").removeAttr("ele-type");
|
@@ -1312,11 +1318,14 @@ function afterIconSuccess(s)
|
|
1312 |
icons_name = SFSI("li.custom:last-child").find("input.styled").attr("name");
|
1313 |
var n = icons_name.split("_");
|
1314 |
s.key = s.key, s.img_path += "?" + d.getTime(), 5 > e && SFSI(".icn_listing").append('<li id="c' + i + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + i + '" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + i + '" /> </span> <span class="custom custom-txt">Custom' + t + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),
|
1315 |
-
SFSI(".custom_section").show(),
|
|
|
|
|
|
|
1316 |
var o = SFSI("div.custom_m").find("div.mouseover_field").length;
|
1317 |
SFSI("div.custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
|
1318 |
SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
|
1319 |
-
SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
1320 |
sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step2(),
|
1321 |
sfsi_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_showPreviewCounts(),
|
1322 |
afterLoad();
|
36 |
SFSI("li.custom:last-child").addClass("bdr_btm_non"), SFSI(".custom-links").find("div." + i.attr("name")).remove(),
|
37 |
SFSI(".custom_m").find("div." + i.attr("name")).remove(), SFSI(".share_icon_order").children("li." + i.attr("name")).remove(),
|
38 |
SFSI("ul.sfsi_sample_icons").children("li." + i.attr("name")).remove();
|
39 |
+
|
40 |
+
if(e.total_up==0){
|
41 |
+
SFSI(".notice_custom_icons_premium").hide();
|
42 |
+
}
|
43 |
var n = e.total_up + 1;
|
44 |
4 == e.total_up && SFSI(".icn_listing").append('<li id="c' + t + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + t + '" /> </span> <span class="custom custom-txt">Custom' + n + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>');
|
45 |
} else showErrorSuc("error", "Unkown error , please try again", 1);
|
1308 |
SFSI(".uperror").html("");
|
1309 |
showErrorSuc("success", "Custom Icon updated successfully", 1);
|
1310 |
d = new Date();
|
1311 |
+
|
1312 |
+
var ele = SFSI(".notice_custom_icons_premium");
|
1313 |
+
|
1314 |
SFSI("li.custom:last-child").removeClass("bdr_btm_non");
|
1315 |
SFSI("li.custom:last-child").children("span.custom-img").children("img").attr("src", s.img_path+ "?" + d.getTime());
|
1316 |
SFSI("input[name=sfsiICON_" + s.key + "]").removeAttr("ele-type");
|
1318 |
icons_name = SFSI("li.custom:last-child").find("input.styled").attr("name");
|
1319 |
var n = icons_name.split("_");
|
1320 |
s.key = s.key, s.img_path += "?" + d.getTime(), 5 > e && SFSI(".icn_listing").append('<li id="c' + i + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="sfsiICON_' + i + '" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + i + '" /> </span> <span class="custom custom-txt">Custom' + t + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),
|
1321 |
+
SFSI(".custom_section").show(),
|
1322 |
+
SFSI('<div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>').insertBefore('.notice_custom_icons_premium');
|
1323 |
+
//SFSI(".custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
|
1324 |
+
SFSI(".notice_custom_icons_premium").show();
|
1325 |
var o = SFSI("div.custom_m").find("div.mouseover_field").length;
|
1326 |
SFSI("div.custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
|
1327 |
SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
|
1328 |
+
SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
1329 |
sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step2(),
|
1330 |
sfsi_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_showPreviewCounts(),
|
1331 |
afterLoad();
|
libs/controllers/sfsi_socialhelper.php
CHANGED
@@ -47,8 +47,12 @@ class sfsi_SocialHelper
|
|
47 |
function sfsi_getlinkedin_follower($ln_company,$APIsettings)
|
48 |
{
|
49 |
require_once(SFSI_DOCROOT.'/helpers/linkedin-api/linkedin-api.php');
|
50 |
-
|
51 |
-
$
|
|
|
|
|
|
|
|
|
52 |
$linkedin = new LinkedIn(
|
53 |
$APIsettings['ln_api_key'],
|
54 |
$APIsettings['ln_secret_key'],
|
@@ -178,8 +182,11 @@ class sfsi_SocialHelper
|
|
178 |
/* get addthis counts */
|
179 |
function sfsi_get_atthis()
|
180 |
{
|
181 |
-
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" :"http";
|
182 |
-
$url=$scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
|
|
|
|
|
|
183 |
$json_string = $this->file_get_contents_curl('http://api-public.addthis.com/url/shares.json?url='.$url);
|
184 |
$json = json_decode($json_string, true);
|
185 |
return isset($json['shares'])? $this->format_num((int) $json['shares']):0;
|
@@ -216,9 +223,11 @@ class sfsi_SocialHelper
|
|
216 |
/* send curl request */
|
217 |
private function file_get_contents_curl($url)
|
218 |
{
|
|
|
|
|
219 |
$ch=curl_init();
|
220 |
curl_setopt($ch, CURLOPT_URL, $url);
|
221 |
-
curl_setopt($ch, CURLOPT_USERAGENT, $
|
222 |
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
|
223 |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
|
224 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
|
47 |
function sfsi_getlinkedin_follower($ln_company,$APIsettings)
|
48 |
{
|
49 |
require_once(SFSI_DOCROOT.'/helpers/linkedin-api/linkedin-api.php');
|
50 |
+
|
51 |
+
// $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
52 |
+
// $url=$scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
53 |
+
|
54 |
+
$url= sfsi_get_current_page_url();
|
55 |
+
|
56 |
$linkedin = new LinkedIn(
|
57 |
$APIsettings['ln_api_key'],
|
58 |
$APIsettings['ln_secret_key'],
|
182 |
/* get addthis counts */
|
183 |
function sfsi_get_atthis()
|
184 |
{
|
185 |
+
// $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" :"http";
|
186 |
+
// $url=$scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
187 |
+
|
188 |
+
$url= sfsi_get_current_page_url();
|
189 |
+
|
190 |
$json_string = $this->file_get_contents_curl('http://api-public.addthis.com/url/shares.json?url='.$url);
|
191 |
$json = json_decode($json_string, true);
|
192 |
return isset($json['shares'])? $this->format_num((int) $json['shares']):0;
|
223 |
/* send curl request */
|
224 |
private function file_get_contents_curl($url)
|
225 |
{
|
226 |
+
$user_Agent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] :'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)';
|
227 |
+
|
228 |
$ch=curl_init();
|
229 |
curl_setopt($ch, CURLOPT_URL, $url);
|
230 |
+
curl_setopt($ch, CURLOPT_USERAGENT, $user_Agent);
|
231 |
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
|
232 |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
|
233 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_pluginVersion", "1.
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
@@ -27,7 +27,12 @@ function sfsi_update_plugin()
|
|
27 |
{
|
28 |
add_option("show_premium_notification", "yes");
|
29 |
}
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
31 |
/*show notification*/
|
32 |
if(!get_option('show_notification'))
|
33 |
{
|
@@ -144,11 +149,18 @@ function sfsi_activate_plugin()
|
|
144 |
add_option('sfsi_plugin_do_activation_redirect', true);
|
145 |
/* check for CURL enable at server */
|
146 |
curl_enable_notice();
|
|
|
147 |
if(!get_option('show_new_notification'))
|
148 |
{
|
149 |
add_option("show_new_notification", "yes");
|
150 |
}
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
$options1=array('sfsi_rss_display'=>'yes',
|
153 |
'sfsi_email_display'=>'yes',
|
154 |
'sfsi_facebook_display'=>'yes',
|
@@ -435,14 +447,10 @@ function sfsi_Unistall_plugin()
|
|
435 |
delete_option("show_notification");
|
436 |
delete_option("show_new_notification");
|
437 |
delete_option('sfsi_serverphpVersionnotification');
|
|
|
438 |
|
439 |
delete_option('widget_sfsi_widget');
|
440 |
delete_option('widget_subscriber_widget');
|
441 |
-
|
442 |
-
delete_option('fs_active_plugins');
|
443 |
-
delete_option('fs_accounts');
|
444 |
-
delete_option('fs_api_cache');
|
445 |
-
delete_option('fs_debug_mode');
|
446 |
}
|
447 |
/* end function */
|
448 |
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_pluginVersion", "1.79");
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
27 |
{
|
28 |
add_option("show_premium_notification", "yes");
|
29 |
}
|
30 |
+
|
31 |
+
if(!get_option('show_premium_cumulative_count_notification'))
|
32 |
+
{
|
33 |
+
add_option("show_premium_cumulative_count_notification", "yes");
|
34 |
+
}
|
35 |
+
|
36 |
/*show notification*/
|
37 |
if(!get_option('show_notification'))
|
38 |
{
|
149 |
add_option('sfsi_plugin_do_activation_redirect', true);
|
150 |
/* check for CURL enable at server */
|
151 |
curl_enable_notice();
|
152 |
+
|
153 |
if(!get_option('show_new_notification'))
|
154 |
{
|
155 |
add_option("show_new_notification", "yes");
|
156 |
}
|
157 |
|
158 |
+
if(!get_option('show_premium_cumulative_count_notification'))
|
159 |
+
{
|
160 |
+
add_option("show_premium_cumulative_count_notification", "yes");
|
161 |
+
}
|
162 |
+
|
163 |
+
|
164 |
$options1=array('sfsi_rss_display'=>'yes',
|
165 |
'sfsi_email_display'=>'yes',
|
166 |
'sfsi_facebook_display'=>'yes',
|
447 |
delete_option("show_notification");
|
448 |
delete_option("show_new_notification");
|
449 |
delete_option('sfsi_serverphpVersionnotification');
|
450 |
+
delete_option("show_premium_cumulative_count_notification");
|
451 |
|
452 |
delete_option('widget_sfsi_widget');
|
453 |
delete_option('widget_subscriber_widget');
|
|
|
|
|
|
|
|
|
|
|
454 |
}
|
455 |
/* end function */
|
456 |
|
libs/sfsi_widget.php
CHANGED
@@ -367,8 +367,12 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
367 |
$twt_margin = "";
|
368 |
$icons_space = $sfsi_section5_options['sfsi_icons_spacing'];
|
369 |
$padding_top = '';
|
370 |
-
|
371 |
-
|
|
|
|
|
|
|
|
|
372 |
$url = "#";
|
373 |
$cmcls = '';
|
374 |
$toolClass = '';
|
367 |
$twt_margin = "";
|
368 |
$icons_space = $sfsi_section5_options['sfsi_icons_spacing'];
|
369 |
$padding_top = '';
|
370 |
+
|
371 |
+
// $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
372 |
+
// $current_url = $scheme.'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
|
373 |
+
|
374 |
+
$current_url = sfsi_get_current_page_url();
|
375 |
+
|
376 |
$url = "#";
|
377 |
$cmcls = '';
|
378 |
$toolClass = '';
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: socialdude
|
3 |
Tags: social media, share, buttons, social, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
|
4 |
Requires at least: 2.8
|
5 |
-
Tested up to: 4.8.
|
6 |
-
Stable tag: 1.7.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -267,6 +267,10 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
267 |
|
268 |
== Changelog ==
|
269 |
|
|
|
|
|
|
|
|
|
270 |
= 1.7.8 =
|
271 |
* Added more themed icon banners
|
272 |
|
@@ -633,5 +637,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
633 |
|
634 |
== Upgrade Notice ==
|
635 |
|
636 |
-
= 1.7.
|
637 |
Please upgrade
|
2 |
Contributors: socialdude
|
3 |
Tags: social media, share, buttons, social, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 4.8.2
|
6 |
+
Stable tag: 1.7.9
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
267 |
|
268 |
== Changelog ==
|
269 |
|
270 |
+
= 1.7.9 =
|
271 |
+
* Banners added
|
272 |
+
* Spelling mistakes corrected
|
273 |
+
|
274 |
= 1.7.8 =
|
275 |
* Added more themed icon banners
|
276 |
|
637 |
|
638 |
== Upgrade Notice ==
|
639 |
|
640 |
+
= 1.7.9 =
|
641 |
Please upgrade
|
ultimate_social_media_icons.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://ultimatelysocial.com
|
|
5 |
Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
-
Version: 1.7.
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
global $wpdb;
|
@@ -15,6 +15,23 @@ define('SFSI_DOCROOT', dirname(__FILE__));
|
|
15 |
define('SFSI_PLUGURL', plugin_dir_url(__FILE__));
|
16 |
define('SFSI_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
/* load all files */
|
19 |
include(SFSI_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
20 |
include(SFSI_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
@@ -35,7 +52,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
|
|
35 |
register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
36 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
37 |
|
38 |
-
if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 1.
|
39 |
{
|
40 |
add_action("init", "sfsi_update_plugin");
|
41 |
}
|
@@ -387,15 +404,17 @@ function sfsi_admin_notice()
|
|
387 |
{
|
388 |
$language = get_option("WPLANG");
|
389 |
|
390 |
-
if(isset($_GET['page']) && $_GET['page'] == "sfsi-options")
|
391 |
-
{
|
392 |
-
|
393 |
-
}
|
394 |
-
else
|
395 |
-
{
|
396 |
-
|
397 |
-
}
|
398 |
|
|
|
|
|
399 |
/**
|
400 |
* if wordpress uses other language
|
401 |
*/
|
@@ -487,6 +506,46 @@ function sfsi_admin_notice()
|
|
487 |
<?php
|
488 |
}
|
489 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
/* show mobile notification */
|
491 |
if(get_option("show_mobile_notification") == "yes"){
|
492 |
$sfsi_install_date = strtotime(get_option( 'sfsi_installDate' ));
|
@@ -611,6 +670,11 @@ function sfsi_dismiss_admin_notice()
|
|
611 |
{
|
612 |
update_option( 'sfsi_serverphpVersionnotification', "no" );
|
613 |
}
|
|
|
|
|
|
|
|
|
|
|
614 |
}
|
615 |
|
616 |
function sfsi_get_bloginfo($url)
|
5 |
Description: Easy to use and 100% FREE social media plugin which adds social media icons to your website with tons of customization features!.
|
6 |
Author: UltimatelySocial
|
7 |
Author URI: http://ultimatelysocial.com
|
8 |
+
Version: 1.7.9
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
global $wpdb;
|
15 |
define('SFSI_PLUGURL', plugin_dir_url(__FILE__));
|
16 |
define('SFSI_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
|
17 |
|
18 |
+
function sfsi_get_current_page_url()
|
19 |
+
{
|
20 |
+
global $post, $wp;
|
21 |
+
|
22 |
+
if (!empty($wp)) {
|
23 |
+
return home_url(add_query_arg(array(),$wp->request));
|
24 |
+
}
|
25 |
+
elseif(!empty($post))
|
26 |
+
{
|
27 |
+
return get_permalink($post->ID);
|
28 |
+
}
|
29 |
+
else
|
30 |
+
{
|
31 |
+
return site_url();
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
/* load all files */
|
36 |
include(SFSI_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
37 |
include(SFSI_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
52 |
register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
|
53 |
register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
|
54 |
|
55 |
+
if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 1.79)
|
56 |
{
|
57 |
add_action("init", "sfsi_update_plugin");
|
58 |
}
|
404 |
{
|
405 |
$language = get_option("WPLANG");
|
406 |
|
407 |
+
// if(isset($_GET['page']) && $_GET['page'] == "sfsi-options")
|
408 |
+
// {
|
409 |
+
// $style = "overflow: hidden; margin:12px 3px 0px;";
|
410 |
+
// }
|
411 |
+
// else
|
412 |
+
// {
|
413 |
+
// $style = "overflow: hidden;";
|
414 |
+
// }
|
415 |
|
416 |
+
$style = "overflow: hidden;";
|
417 |
+
|
418 |
/**
|
419 |
* if wordpress uses other language
|
420 |
*/
|
506 |
<?php
|
507 |
}
|
508 |
|
509 |
+
|
510 |
+
if(is_ssl()){
|
511 |
+
|
512 |
+
if(get_option("show_premium_cumulative_count_notification") == "yes")
|
513 |
+
{
|
514 |
+
?>
|
515 |
+
<style type="text/css">
|
516 |
+
.sfsi_show_premium_cumulative_count_notification a{
|
517 |
+
color: #fff;
|
518 |
+
}
|
519 |
+
form.sfsi_premiumCumulativeCountNoticeDismiss {
|
520 |
+
display: inline-block;
|
521 |
+
margin: 5px 0 0;
|
522 |
+
vertical-align: middle;
|
523 |
+
}
|
524 |
+
.sfsi_premiumCumulativeCountNoticeDismiss input[type='submit']{
|
525 |
+
background-color: transparent;
|
526 |
+
border: medium none;
|
527 |
+
color: #fff;
|
528 |
+
margin: 0;
|
529 |
+
padding: 0;
|
530 |
+
cursor: pointer;
|
531 |
+
}
|
532 |
+
</style>
|
533 |
+
<div class="updated sfsi_show_premium_cumulative_count_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
|
534 |
+
<div class="alignleft" style="margin: 9px 0;">
|
535 |
+
<b>Recently switched to https?</b> If you don’t want to lose the Facebook share & like counts <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=https_share_counts&utm_medium=banner" target="_blank">have a look at our Premium Plugin</a>, we found a fix for that: <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=https_share_counts&utm_medium=banner" target="_blank">Check it out</a>
|
536 |
+
</div>
|
537 |
+
<div class="alignright">
|
538 |
+
<form method="post" class="sfsi_premiumCumulativeCountNoticeDismiss">
|
539 |
+
<input type="hidden" name="sfsi-dismiss-premiumCumulativeCountNoticeDismiss" value="true">
|
540 |
+
<input type="submit" name="dismiss" value="Dismiss" />
|
541 |
+
</form>
|
542 |
+
</div>
|
543 |
+
</div>
|
544 |
+
<?php
|
545 |
+
}
|
546 |
+
}
|
547 |
+
|
548 |
+
|
549 |
/* show mobile notification */
|
550 |
if(get_option("show_mobile_notification") == "yes"){
|
551 |
$sfsi_install_date = strtotime(get_option( 'sfsi_installDate' ));
|
670 |
{
|
671 |
update_option( 'sfsi_serverphpVersionnotification', "no" );
|
672 |
}
|
673 |
+
if ( isset($_REQUEST['sfsi-dismiss-premiumCumulativeCountNoticeDismiss']) && $_REQUEST['sfsi-dismiss-premiumCumulativeCountNoticeDismiss'] == 'true' )
|
674 |
+
{
|
675 |
+
update_option( 'show_premium_cumulative_count_notification', "no" );
|
676 |
+
}
|
677 |
+
|
678 |
}
|
679 |
|
680 |
function sfsi_get_bloginfo($url)
|
views/sfsi_option_view1.php
CHANGED
@@ -384,7 +384,7 @@
|
|
384 |
<p>Need another one?<a href="mailto:biz@ultimatelysocial.com"> Tell us</a></p>
|
385 |
</div>-->
|
386 |
<div class="sfsi_need_another_tell_us">
|
387 |
-
<a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank"
|
388 |
<!--<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank">See all features Premium Plugin</a>-->
|
389 |
</div>
|
390 |
</div>
|
384 |
<p>Need another one?<a href="mailto:biz@ultimatelysocial.com"> Tell us</a></p>
|
385 |
</div>-->
|
386 |
<div class="sfsi_need_another_tell_us">
|
387 |
+
<a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank">...and many more! See them here</a>
|
388 |
<!--<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank">See all features Premium Plugin</a>-->
|
389 |
</div>
|
390 |
</div>
|
views/sfsi_option_view2.php
CHANGED
@@ -269,6 +269,7 @@ $option4['sfsi_ytube_chnlid'] = (isset($option2['sfsi_ytube_chnlid']))
|
|
269 |
<p class="radio_section fb_url"><input name="sfsi_googleLike_option" <?php echo ($option2['sfsi_googleLike_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Like my blog on Google+ (+1)</label></p>
|
270 |
|
271 |
<p class="radio_section fb_url"><input name="sfsi_googleShare_option" <?php echo ($option2['sfsi_googleShare_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Share my blog with friends (on Google+)</label></p>
|
|
|
272 |
<div class ="sfsi_new_prmium_follw" >
|
273 |
<p><b>New: </b>In our Premium Plugin you can also allow users to follow you on Google+ <b>directly from your site </b>(without leaving your page, increasing followers). <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=direct_follow_google&utm_medium=banner" target="_blank">See all features</a></p>
|
274 |
</div>
|
@@ -376,9 +377,12 @@ $option4['sfsi_ytube_chnlid'] = (isset($option2['sfsi_ytube_chnlid']))
|
|
376 |
<?php
|
377 |
$costom_links = unserialize($option2['sfsi_CustomIcon_links']);
|
378 |
$count = 1;
|
|
|
379 |
for($i = $first_key; $i <= $endkey; $i++) :
|
380 |
?>
|
381 |
-
<?php if(!empty( $icons[$i])) :
|
|
|
|
|
382 |
<div class="row sfsiICON_<?php echo $i; ?> cm_lnk">
|
383 |
<h2 class="custom">
|
384 |
<span class="customstep2-img">
|
@@ -394,7 +398,11 @@ $option4['sfsi_ytube_chnlid'] = (isset($option2['sfsi_ytube_chnlid']))
|
|
394 |
</p>
|
395 |
</div>
|
396 |
</div>
|
397 |
-
<?php $count++; endif; endfor; ?>
|
|
|
|
|
|
|
|
|
398 |
</div>
|
399 |
<!-- END Custom icon section here -->
|
400 |
|
269 |
<p class="radio_section fb_url"><input name="sfsi_googleLike_option" <?php echo ($option2['sfsi_googleLike_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Like my blog on Google+ (+1)</label></p>
|
270 |
|
271 |
<p class="radio_section fb_url"><input name="sfsi_googleShare_option" <?php echo ($option2['sfsi_googleShare_option']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" /><label>Share my blog with friends (on Google+)</label></p>
|
272 |
+
|
273 |
<div class ="sfsi_new_prmium_follw" >
|
274 |
<p><b>New: </b>In our Premium Plugin you can also allow users to follow you on Google+ <b>directly from your site </b>(without leaving your page, increasing followers). <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=direct_follow_google&utm_medium=banner" target="_blank">See all features</a></p>
|
275 |
</div>
|
377 |
<?php
|
378 |
$costom_links = unserialize($option2['sfsi_CustomIcon_links']);
|
379 |
$count = 1;
|
380 |
+
$bannerDisplay= "display:none;";
|
381 |
for($i = $first_key; $i <= $endkey; $i++) :
|
382 |
?>
|
383 |
+
<?php if(!empty( $icons[$i])) :
|
384 |
+
$bannerDisplay= "display:block;";
|
385 |
+
?>
|
386 |
<div class="row sfsiICON_<?php echo $i; ?> cm_lnk">
|
387 |
<h2 class="custom">
|
388 |
<span class="customstep2-img">
|
398 |
</p>
|
399 |
</div>
|
400 |
</div>
|
401 |
+
<?php $count++; endif; endfor; ?>
|
402 |
+
|
403 |
+
<div class ="notice_custom_icons_premium sfsi_new_prmium_follw" style="<?php echo $bannerDisplay; ?>">
|
404 |
+
<p><b>New: </b>In the Premium Plugin you can also give custom icons the feature that when people click on it, they can call you, or send you an SMS. <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=call_or_sms_feature_custom_icons&utm_medium=banner" target="_blank">See all features</a></p>
|
405 |
+
</div>
|
406 |
</div>
|
407 |
<!-- END Custom icon section here -->
|
408 |
|
views/sfsi_option_view5.php
CHANGED
@@ -188,9 +188,11 @@
|
|
188 |
<div class="row">
|
189 |
<h4>Size & spacing of your icons</h4>
|
190 |
<div class="icons_size"><span>Size:</span><input name="sfsi_icons_size" value="<?php echo ($option5['sfsi_icons_size']!='') ? $option5['sfsi_icons_size'] : '' ;?>" type="text" /><ins>pixels wide & tall</ins> <span class="last">Spacing between icons:</span><input name="sfsi_icons_spacing" type="text" value="<?php echo ($option5['sfsi_icons_spacing']!='') ? $option5['sfsi_icons_spacing'] : '' ;?>" /><ins>Pixels</ins></div>
|
|
|
191 |
<div class="icons_prem_disc">
|
192 |
<p class="sfsi_prem_plu_desc"><b>New: </b>The Premium Plugin also allows you to define the vertical distance between the icons (and set this differently for mobile vs. desktop): <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_spacings&utm_medium=banner" target="_blank">Check it out</a></p>
|
193 |
</div>
|
|
|
194 |
</div>
|
195 |
|
196 |
<div class="row">
|
@@ -217,6 +219,7 @@
|
|
217 |
<div class= "sfsi_new_prmium_follw" style="margin-top: 38px;">
|
218 |
<p><b>New: </b>The Premium Plugin gives several more alignment options: <br>- Show icons vertically<br>- Align icons within a widget (left, right, centered)<br>- Align icons within the «container» where you place them via shortcode (left, right, centered) <br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_alignment_options&utm_medium=banner" target="_blank">See all features</a></p>
|
219 |
</div>
|
|
|
220 |
</div>
|
221 |
|
222 |
<div class="row new_wind">
|
188 |
<div class="row">
|
189 |
<h4>Size & spacing of your icons</h4>
|
190 |
<div class="icons_size"><span>Size:</span><input name="sfsi_icons_size" value="<?php echo ($option5['sfsi_icons_size']!='') ? $option5['sfsi_icons_size'] : '' ;?>" type="text" /><ins>pixels wide & tall</ins> <span class="last">Spacing between icons:</span><input name="sfsi_icons_spacing" type="text" value="<?php echo ($option5['sfsi_icons_spacing']!='') ? $option5['sfsi_icons_spacing'] : '' ;?>" /><ins>Pixels</ins></div>
|
191 |
+
|
192 |
<div class="icons_prem_disc">
|
193 |
<p class="sfsi_prem_plu_desc"><b>New: </b>The Premium Plugin also allows you to define the vertical distance between the icons (and set this differently for mobile vs. desktop): <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_spacings&utm_medium=banner" target="_blank">Check it out</a></p>
|
194 |
</div>
|
195 |
+
|
196 |
</div>
|
197 |
|
198 |
<div class="row">
|
219 |
<div class= "sfsi_new_prmium_follw" style="margin-top: 38px;">
|
220 |
<p><b>New: </b>The Premium Plugin gives several more alignment options: <br>- Show icons vertically<br>- Align icons within a widget (left, right, centered)<br>- Align icons within the «container» where you place them via shortcode (left, right, centered) <br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_alignment_options&utm_medium=banner" target="_blank">See all features</a></p>
|
221 |
</div>
|
222 |
+
|
223 |
</div>
|
224 |
|
225 |
<div class="row new_wind">
|
views/sfsi_option_view6.php
CHANGED
@@ -119,7 +119,13 @@ if(!isset($option6['sfsi_rectfbshare']))
|
|
119 |
<li>5. The share-button covers all other platforms for sharing</li>
|
120 |
<li></li>
|
121 |
</ul>
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
<!-- icons display section -->
|
124 |
<h4 class="sfsi_dsplyatend">So: do you want to display those at the end of every post?</h4>
|
125 |
<ul class="enough_waffling sfsi_dsplyatend">
|
@@ -133,9 +139,11 @@ if(!isset($option6['sfsi_rectfbshare']))
|
|
133 |
<div class="options">
|
134 |
<label class="first">Text to appear before the sharing icons:</label><input name="sfsi_textBefor_icons" type="text" value="<?php echo ($option6['sfsi_textBefor_icons']!='') ? $option6['sfsi_textBefor_icons'] : '' ; ?>" />
|
135 |
</div>
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
|
|
139 |
<div class="options">
|
140 |
<label>Alignment of share icons: </label><div class="field"><select name="sfsi_icons_alignment" id="sfsi_icons_alignment" class="styled"><option value="left" <?php echo ($option6['sfsi_icons_alignment']=='left') ? 'selected="selected"' : '' ;?>>Left</option><!--<option value="center" <?php //echo ($option6['sfsi_icons_alignment']=='center') ? 'selected="selected"' : '' ;?>>Center</option>--><option value="right" <?php echo ($option6['sfsi_icons_alignment']=='right') ? 'selected="selected"' : '' ;?>>Right</option></select></div>
|
141 |
</div>
|
119 |
<li>5. The share-button covers all other platforms for sharing</li>
|
120 |
<li></li>
|
121 |
</ul>
|
122 |
+
|
123 |
+
<p class ="sfsi_prem_plu_desc"><b>New:</b> We also added a Linkedin share-icon in the Premium Plugin, also you can place those icons via shortcode. <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=linkedin_icon&utm_medium=banner" target="_blank">Check it out.</a></p>
|
124 |
+
|
125 |
+
<!-- <div class= "sfsi_new_prmium_follw">
|
126 |
+
<p><b>New:</b> We also added a Linkedin share-icon in the Premium Plugin. <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=linkedin_icon&utm_medium=banner" target="_blank">See all features</a></p>
|
127 |
+
</div> -->
|
128 |
+
|
129 |
<!-- icons display section -->
|
130 |
<h4 class="sfsi_dsplyatend">So: do you want to display those at the end of every post?</h4>
|
131 |
<ul class="enough_waffling sfsi_dsplyatend">
|
139 |
<div class="options">
|
140 |
<label class="first">Text to appear before the sharing icons:</label><input name="sfsi_textBefor_icons" type="text" value="<?php echo ($option6['sfsi_textBefor_icons']!='') ? $option6['sfsi_textBefor_icons'] : '' ; ?>" />
|
141 |
</div>
|
142 |
+
|
143 |
+
<div class="options">
|
144 |
+
<p><b>New:</b> In the Premium Plugin you can now also define the<b> font size, type</b>, and the <b>margins below/above the icons</b>. <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_placement_options&utm_medium=banner" target="_blank" style="color:#00a0d2 !important; text-decoration: none !important;">Check it out.</a></p>
|
145 |
+
</div>
|
146 |
+
|
147 |
<div class="options">
|
148 |
<label>Alignment of share icons: </label><div class="field"><select name="sfsi_icons_alignment" id="sfsi_icons_alignment" class="styled"><option value="left" <?php echo ($option6['sfsi_icons_alignment']=='left') ? 'selected="selected"' : '' ;?>>Left</option><!--<option value="center" <?php //echo ($option6['sfsi_icons_alignment']=='center') ? 'selected="selected"' : '' ;?>>Center</option>--><option value="right" <?php echo ($option6['sfsi_icons_alignment']=='right') ? 'selected="selected"' : '' ;?>>Right</option></select></div>
|
149 |
</div>
|
views/sfsi_option_view7.php
CHANGED
@@ -230,9 +230,15 @@ $option7['sfsi_Shown_popupOnceTime'] = (isset($option7['sfsi_Shown_popupOnceTim
|
|
230 |
<div class="pop_up_show">
|
231 |
<input name="sfsi_Shown_pop" <?php echo ($option7['sfsi_Shown_pop']=='ETscroll') ? 'checked="true"' : '' ;?> type="radio" value="ETscroll" class="styled"/><label>Every time user scrolls to the end of the page</label>
|
232 |
</div>
|
233 |
-
|
|
|
234 |
<p class=sfsi_prem_plu_desc><b>New :</b> The Premium Plugin also allows you to show the pop-up when a user tries to <b>leave your page</b>. Also, you can <b>limit how often the pop-up is shown </b>to the same user (e.g. only once per day) <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank">Check it out</a></p>
|
235 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
236 |
</div>
|
237 |
<!-- SAVE BUTTON SECTION -->
|
238 |
<div class="save_button">
|
230 |
<div class="pop_up_show">
|
231 |
<input name="sfsi_Shown_pop" <?php echo ($option7['sfsi_Shown_pop']=='ETscroll') ? 'checked="true"' : '' ;?> type="radio" value="ETscroll" class="styled"/><label>Every time user scrolls to the end of the page</label>
|
232 |
</div>
|
233 |
+
|
234 |
+
<!-- <div class="sfsi_prem_show">
|
235 |
<p class=sfsi_prem_plu_desc><b>New :</b> The Premium Plugin also allows you to show the pop-up when a user tries to <b>leave your page</b>. Also, you can <b>limit how often the pop-up is shown </b>to the same user (e.g. only once per day) <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank">Check it out</a></p>
|
236 |
+
</div> -->
|
237 |
+
|
238 |
+
<div class="bannerPopupQue6 sfsi_new_prmium_follw" style="margin-top: 38px;">
|
239 |
+
<p><b>New: </b>The Premium Plugin allows you to do much more with the pop-up, e.g. you can: <br>- Show it when users try to leave your page<br>- Limit how often the pop-up is shown to the same user (e.g. only once per day)<br>- Select to show the subscription form in the pop-up (which you designed in question 8) <br><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_popup_options&utm_medium=banner" target="_blank">See all features</a></p>
|
240 |
+
</div>
|
241 |
+
|
242 |
</div>
|
243 |
<!-- SAVE BUTTON SECTION -->
|
244 |
<div class="save_button">
|
views/sfsi_options_view.php
CHANGED
@@ -119,7 +119,10 @@
|
|
119 |
</div>
|
120 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
121 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
122 |
-
|
|
|
|
|
|
|
123 |
</div>
|
124 |
<!-- all pops of plugin under sfsi_pop_content.php file -->
|
125 |
<?php include(SFSI_DOCROOT.'/views/sfsi_pop_content.php'); ?>
|
119 |
</div>
|
120 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
121 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
122 |
+
|
123 |
+
<?php include(SFSI_DOCROOT.'/views/sfsi_section_for_premium.php'); ?>
|
124 |
+
|
125 |
+
<!--<p class="bldtxtmsg">Need top-notch Wordpress development work at a competitive price? Visit us at <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=footer_credit&utm_medium=banner">ultimatelysocial.com</a></p>-->
|
126 |
</div>
|
127 |
<!-- all pops of plugin under sfsi_pop_content.php file -->
|
128 |
<?php include(SFSI_DOCROOT.'/views/sfsi_pop_content.php'); ?>
|
views/sfsi_section_for_premium.php
ADDED
@@ -0,0 +1,516 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style type="text/css">
|
2 |
+
.slide{
|
3 |
+
width: 100%;
|
4 |
+
border: 1px solid #00C95E;
|
5 |
+
padding: 20px 10px 14px 20px;
|
6 |
+
text-align: center;
|
7 |
+
float: left;
|
8 |
+
background: #fff;
|
9 |
+
margin-bottom: 25px;
|
10 |
+
}
|
11 |
+
#sectionPremium{
|
12 |
+
margin: 50px auto;
|
13 |
+
text-align: center;
|
14 |
+
width: 55%;
|
15 |
+
}
|
16 |
+
.premiumButtonsContainer {
|
17 |
+
float: right;
|
18 |
+
width: 41%;
|
19 |
+
}
|
20 |
+
.premiumComponent{
|
21 |
+
width: 55%;
|
22 |
+
padding: 12px;
|
23 |
+
display: inline-block;
|
24 |
+
text-align: center;
|
25 |
+
font-size: 25px;
|
26 |
+
line-height: 28px;
|
27 |
+
cursor: pointer;
|
28 |
+
float: left;
|
29 |
+
min-height: 74px;
|
30 |
+
}
|
31 |
+
.premiumTxt {
|
32 |
+
line-height: 40px;
|
33 |
+
color: #000;
|
34 |
+
font-weight: 500;
|
35 |
+
font-size: 30px;
|
36 |
+
}
|
37 |
+
.premiumSection1 .premiumTxt {
|
38 |
+
width: 100%;
|
39 |
+
text-align: center;
|
40 |
+
font-size: 39px;
|
41 |
+
line-height: 50px;
|
42 |
+
}
|
43 |
+
.premiumSection2 .premiumTxt{
|
44 |
+
vertical-align: middle;
|
45 |
+
text-align: center;
|
46 |
+
min-height: 80px;
|
47 |
+
line-height: 80px;
|
48 |
+
color: #fff;
|
49 |
+
font-weight: 500;
|
50 |
+
letter-spacing: 2px;
|
51 |
+
}
|
52 |
+
.premiumSection2 {
|
53 |
+
vertical-align: top;
|
54 |
+
background-image: url(<?php echo SFSI_PLUGURL; ?>images/yesBtnBg.png);
|
55 |
+
background-repeat: no-repeat;
|
56 |
+
width: 41%;
|
57 |
+
padding: 18px 12px 24px 12px;
|
58 |
+
}
|
59 |
+
.premiumSection3 {
|
60 |
+
vertical-align: top;
|
61 |
+
background-image: url(<?php echo SFSI_PLUGURL; ?>images/noBtnBg.png);
|
62 |
+
background-repeat: no-repeat;
|
63 |
+
width: 41%;
|
64 |
+
padding-top: 34px;
|
65 |
+
margin-left: 9px;
|
66 |
+
}
|
67 |
+
#premiumSlide3 .premiumSection1{
|
68 |
+
width: 100%;
|
69 |
+
}
|
70 |
+
.premiumSection3 .premiumTxt{
|
71 |
+
color: #fff;
|
72 |
+
}
|
73 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1){
|
74 |
+
font-size: 39px;
|
75 |
+
}
|
76 |
+
#premiumSlide1 .premiumSection3 .premiumTxt:nth-child(2){
|
77 |
+
line-height: 21px;
|
78 |
+
}
|
79 |
+
.premiumSection3 .premiumTxt:nth-child(2),.premiumSection3 .premiumTxt:nth-child(3){
|
80 |
+
font-size: 16px;
|
81 |
+
line-height: 20px;
|
82 |
+
}
|
83 |
+
.premFrTxt{
|
84 |
+
cursor: default;
|
85 |
+
}
|
86 |
+
#premiumSlide1 .premFrTxt{
|
87 |
+
padding-top: 2px;
|
88 |
+
}
|
89 |
+
.txtb{
|
90 |
+
font-size 39px;
|
91 |
+
}
|
92 |
+
#premiumSlide2 .premiumSection3 {
|
93 |
+
padding-top:20px;
|
94 |
+
padding-bottom: 20px;
|
95 |
+
}
|
96 |
+
.show{
|
97 |
+
display: block;
|
98 |
+
}
|
99 |
+
.hide{
|
100 |
+
display: none;
|
101 |
+
}
|
102 |
+
.premiumFeatures {
|
103 |
+
float: left;
|
104 |
+
margin-top: 15px;
|
105 |
+
margin-left: 48px;
|
106 |
+
width: 64%;
|
107 |
+
}
|
108 |
+
.premiumFeatures ul{
|
109 |
+
float: left;
|
110 |
+
width: 45%;
|
111 |
+
text-align: left;
|
112 |
+
line-height: 38px;
|
113 |
+
font-size: 23px;
|
114 |
+
list-style-image: url(<?php echo SFSI_PLUGURL; ?>images/tick.png);
|
115 |
+
font-weight: 600;
|
116 |
+
color: #000;
|
117 |
+
margin-right: 27px;
|
118 |
+
}
|
119 |
+
.premiumFeatures ul li{
|
120 |
+
padding-left:4px;
|
121 |
+
}
|
122 |
+
.premiumFeatures ul:nth-child(2) li:last-child span{
|
123 |
+
color: #00b050;
|
124 |
+
}
|
125 |
+
.premiumImg {
|
126 |
+
float: left;
|
127 |
+
}
|
128 |
+
.chkbutton{
|
129 |
+
/* float: left; */
|
130 |
+
width: 90%;
|
131 |
+
/* margin-top: 40px; */
|
132 |
+
/* margin-bottom: 20px; */
|
133 |
+
text-align: center;
|
134 |
+
margin: 0px auto;
|
135 |
+
}
|
136 |
+
.chkbutton a {
|
137 |
+
width: 98%;
|
138 |
+
background: rgb(0,200,83);
|
139 |
+
float: left;
|
140 |
+
color: white;
|
141 |
+
text-decoration: none;
|
142 |
+
padding: 13px 4px 13px 5px;
|
143 |
+
margin: 24px 0 7px 0;
|
144 |
+
font-weight: 600;
|
145 |
+
letter-spacing: 2px;
|
146 |
+
font-size: 32px;
|
147 |
+
}
|
148 |
+
.priceTxt {
|
149 |
+
text-align: center;
|
150 |
+
font-size: 19px;
|
151 |
+
clear: both;
|
152 |
+
}
|
153 |
+
.premFrTxt span{
|
154 |
+
text-decoration: underline;
|
155 |
+
}
|
156 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2){
|
157 |
+
width: 88%;
|
158 |
+
line-height: 24px;
|
159 |
+
}
|
160 |
+
.premiumImg img {
|
161 |
+
width: 70%;
|
162 |
+
margin-top: 6px;
|
163 |
+
}
|
164 |
+
#premiumSlide3 .premiumSection1 .premiumTxt:first-child span{
|
165 |
+
text-decoration: underline;
|
166 |
+
}
|
167 |
+
.linkPremium{
|
168 |
+
cursor: pointer;
|
169 |
+
}
|
170 |
+
|
171 |
+
@media screen and (min-width: 360px) and (max-width: 360px){
|
172 |
+
.wapper { width: 95%; padding: 0px;}
|
173 |
+
|
174 |
+
#sectionPremium { width: 90%;margin: 50px 5px;}
|
175 |
+
.premiumComponent{ width: 88%;}
|
176 |
+
.premiumButtonsContainer { float: left;width: 100%;margin-top: 10px;}
|
177 |
+
.premiumSection2,.premiumSection3{ width: 39%;}
|
178 |
+
#premiumSlide2 .premiumSection1 .premiumTxt { font-size: 22px;line-height: 30px;width: 100%; }
|
179 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1) {font-size: 26px;}
|
180 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2) {width: 78%;line-height: 24px;font-size: 26px;}
|
181 |
+
#premiumSlide2 .premiumSection1 {padding-bottom: 0px;}
|
182 |
+
#premiumSlide2 .premiumSection1 .premiumButtonsContainer { margin-top: 10px;}
|
183 |
+
.premiumFeatures { margin-left: 6px;width: 100%;}
|
184 |
+
.premiumFeatures ul { width: 60%;float: left;font-size: 18px;margin: 0px auto;}
|
185 |
+
|
186 |
+
#premiumSlide3 .premiumSection1 {width: 89%;}
|
187 |
+
#premiumSlide3 .premiumSection1 .premiumTxt { width: 100%;font-size: 30px;line-height: 40px;}
|
188 |
+
#premiumSlide3 .premiumSection1 strong { width: 95%;text-align: center;float: left;}
|
189 |
+
.priceTxtwidth { width:79%;text-align: center;margin: 0px auto; }
|
190 |
+
.chkbutton { width:95%;}
|
191 |
+
.priceTxt { margin: 0 auto;width: 74%;line-height: 23px;font-size: 15px;}
|
192 |
+
#premiumSlide3 .premiumButtonsContainer {width: 97% !important;}
|
193 |
+
}
|
194 |
+
|
195 |
+
|
196 |
+
@media only screen and (min-width: 414px) and (max-width: 736px) and (orientation : landscape) {
|
197 |
+
#sectionPremium {
|
198 |
+
width: 90%;
|
199 |
+
margin: 50px 5px;
|
200 |
+
}
|
201 |
+
.premiumButtonsContainer {
|
202 |
+
float: left;
|
203 |
+
width: 48%;
|
204 |
+
}
|
205 |
+
.premiumSection1 {
|
206 |
+
width: 53%;
|
207 |
+
}
|
208 |
+
.premiumSection1 .premiumTxt{
|
209 |
+
font-size: 24px;
|
210 |
+
line-height: 39px;
|
211 |
+
}
|
212 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1) {
|
213 |
+
font-size: 24px;
|
214 |
+
}
|
215 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2) {
|
216 |
+
width: 81%;
|
217 |
+
line-height: 24px;
|
218 |
+
}
|
219 |
+
.premiumSection2,.premiumSection3{
|
220 |
+
width: 40%;
|
221 |
+
}
|
222 |
+
.wapper {padding: 15px;}
|
223 |
+
|
224 |
+
#premiumSlide1 .premiumSection1, #premiumSlide2 .premiumSection1{
|
225 |
+
width: 47%;
|
226 |
+
}
|
227 |
+
.premiumFeatures{
|
228 |
+
margin-left: 6px;
|
229 |
+
width: 58%;
|
230 |
+
}
|
231 |
+
.premiumFeatures ul{
|
232 |
+
width: 49%;font-size: 18px;margin-right: 0px;
|
233 |
+
}
|
234 |
+
#premiumSlide3 .premiumSection1 .premiumTxt{
|
235 |
+
font-size: 34px;
|
236 |
+
}
|
237 |
+
.priceTxt{
|
238 |
+
width: 85%;
|
239 |
+
margin: 0 auto;
|
240 |
+
line-height: 23px;
|
241 |
+
font-size: 14px;
|
242 |
+
}
|
243 |
+
}
|
244 |
+
|
245 |
+
@media only screen and (min-width: 414px) and (max-width: 736px) and (orientation : portrait){
|
246 |
+
#sectionPremium {
|
247 |
+
width: 90%;
|
248 |
+
margin: 50px 5px;
|
249 |
+
}
|
250 |
+
.premiumButtonsContainer {
|
251 |
+
float: left;
|
252 |
+
width: 100%;
|
253 |
+
}
|
254 |
+
.premiumSection1 {
|
255 |
+
width: 53%;
|
256 |
+
}
|
257 |
+
#premiumSlide1 .premiumSection1 {
|
258 |
+
margin-bottom: 10px;
|
259 |
+
}
|
260 |
+
#premiumSlide3 .premiumSection1{
|
261 |
+
width: 86%;
|
262 |
+
}
|
263 |
+
.premiumSection1 .premiumTxt{
|
264 |
+
font-size: 24px;
|
265 |
+
line-height: 39px;
|
266 |
+
}
|
267 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1) {
|
268 |
+
font-size: 24px;
|
269 |
+
}
|
270 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2) {
|
271 |
+
width: 81%;
|
272 |
+
line-height: 24px;
|
273 |
+
}
|
274 |
+
.premiumSection2,.premiumSection3{
|
275 |
+
width: 40%;
|
276 |
+
}
|
277 |
+
.wapper {padding: 15px;}
|
278 |
+
|
279 |
+
#premiumSlide1 .premiumSection1, #premiumSlide2 .premiumSection1{
|
280 |
+
width: 100%;
|
281 |
+
}
|
282 |
+
.premiumFeatures{
|
283 |
+
width: 66%;
|
284 |
+
margin: 0px auto;
|
285 |
+
text-align: center;
|
286 |
+
float: none;
|
287 |
+
}
|
288 |
+
.premiumFeatures ul {
|
289 |
+
width: 100%;
|
290 |
+
font-size: 20px;
|
291 |
+
margin-bottom: 12px;
|
292 |
+
float: left;
|
293 |
+
margin-left: 7px;
|
294 |
+
margin-top: 16px;
|
295 |
+
}
|
296 |
+
#premiumSlide3 .premiumSection1 .premiumTxt{
|
297 |
+
font-size: 29px;
|
298 |
+
}
|
299 |
+
.priceTxt{
|
300 |
+
width: 85%;
|
301 |
+
margin: 0 auto;
|
302 |
+
line-height: 23px;
|
303 |
+
font-size: 14px;
|
304 |
+
}
|
305 |
+
}
|
306 |
+
|
307 |
+
/*iPad*/
|
308 |
+
@media screen and (min-width: 768px) and (max-width: 1024px){
|
309 |
+
#sectionPremium { width: 95%;margin: 50px 5px;}
|
310 |
+
.premiumComponent{ width: 50%;}
|
311 |
+
.premiumButtonsContainer { float: left;width: 46%;}
|
312 |
+
.premiumSection2,.premiumSection3{ width: 38%;}
|
313 |
+
#premiumSlide2 .premiumSection1 .premiumTxt { font-size: 26px; }
|
314 |
+
#premiumSlide1 .premiumSection1 .premiumTxt:nth-child(1) {
|
315 |
+
font-size: 26px;
|
316 |
+
}
|
317 |
+
#premiumSlide1 .premFrTxt .premiumTxt:nth-child(2) {
|
318 |
+
width: 83%;
|
319 |
+
line-height: 24px;
|
320 |
+
font-size: 26px;
|
321 |
+
}
|
322 |
+
.premiumFeatures { margin-left: 6px;width: 58%;}
|
323 |
+
.premiumFeatures ul {width: 50%;float: left;margin-right: 0px;font-size: 18px;}
|
324 |
+
#premiumSlide3 .premiumSection1 .premiumTxt { width: 98%;font-size: 30px;}
|
325 |
+
#premiumSlide3 .premiumSection1 strong { width: 95%;text-align: center;float: left;}
|
326 |
+
.priceTxtwidth { width:79%;text-align: center;margin: 0px auto; }
|
327 |
+
.chkbutton {width:95%;}
|
328 |
+
.priceTxt {margin: 0 auto;width: 79%;}
|
329 |
+
#premiumSlide3 .premiumButtonsContainer {width: 97% !important;}
|
330 |
+
|
331 |
+
.wapper { padding: 28px; }
|
332 |
+
}
|
333 |
+
|
334 |
+
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation : landscape) {
|
335 |
+
#sectionPremium {
|
336 |
+
width: 90% !important;
|
337 |
+
}
|
338 |
+
.premiumButtonsContainer {
|
339 |
+
width: 40%;
|
340 |
+
}
|
341 |
+
#premiumSlide1 .premiumSection1 {
|
342 |
+
width: 53% !important;
|
343 |
+
}
|
344 |
+
.premiumFeatures {
|
345 |
+
width: 62% !important;
|
346 |
+
}
|
347 |
+
#premiumSlide3 .premiumButtonsContainer {
|
348 |
+
width: 100% !important;
|
349 |
+
}
|
350 |
+
#premiumSlide3 .premiumSection1 {
|
351 |
+
width: 100%;
|
352 |
+
}
|
353 |
+
}
|
354 |
+
|
355 |
+
/*iPad Pro*/
|
356 |
+
@media screen and (min-width: 1024px) and (max-width: 1366px){
|
357 |
+
#sectionPremium { width: 85%;margin: 50px auto;}
|
358 |
+
.premiumComponent{ width: 48%;}
|
359 |
+
.premiumButtonsContainer { float: left;}
|
360 |
+
.premiumSection2,.premiumSection3{ width: 40%;}
|
361 |
+
.premiumFeatures { margin-left: 6px;width: 58%;}
|
362 |
+
.premiumFeatures ul {width: 50%;float: left;margin-right: 0px;font-size: 19px;}
|
363 |
+
#premiumSlide3 .premiumSection1 .premiumTxt { width: 94%}
|
364 |
+
#premiumSlide3 .premiumSection1 strong { width: 95%;text-align: center;float: left;}
|
365 |
+
.priceTxtwidth { width:79%;text-align: center;margin: 0px auto; }
|
366 |
+
.chkbutton {width:95%;}
|
367 |
+
.priceTxt {margin: 0 auto;width: 79%;}
|
368 |
+
}
|
369 |
+
@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation : landscape) {
|
370 |
+
#sectionPremium {
|
371 |
+
width: 80%;
|
372 |
+
}
|
373 |
+
.premiumButtonsContainer {
|
374 |
+
float: right;
|
375 |
+
}
|
376 |
+
.premiumComponent {
|
377 |
+
width: 56%;
|
378 |
+
}
|
379 |
+
#premiumSlide3 .premiumSection1 {
|
380 |
+
width: 95%;
|
381 |
+
}
|
382 |
+
.premiumFeatures{
|
383 |
+
width: 69%;
|
384 |
+
}
|
385 |
+
.premiumSection2,.premiumSection3{ width: 38%;}
|
386 |
+
.premiumFeatures ul {
|
387 |
+
width: 50%;
|
388 |
+
float: left;
|
389 |
+
margin-right: 0px;
|
390 |
+
font-size: 23px;
|
391 |
+
line-height: 40px;
|
392 |
+
}
|
393 |
+
}
|
394 |
+
</style>
|
395 |
+
|
396 |
+
<script type="text/javascript">
|
397 |
+
|
398 |
+
jQuery(document).ready(function(){
|
399 |
+
|
400 |
+
jQuery("#premiumSlide1 .premiumSection2 .premiumTxt").click(function(){
|
401 |
+
jQuery("#premiumSlide1").removeClass("show");
|
402 |
+
jQuery("#premiumSlide1").addClass("hide");
|
403 |
+
jQuery("#premiumSlide2").removeClass("hide");
|
404 |
+
jQuery("#premiumSlide2").addClass("show");
|
405 |
+
});
|
406 |
+
|
407 |
+
jQuery("#premiumSlide1 .premiumSection3 .premiumTxt").click(function(){
|
408 |
+
jQuery("#premiumSlide1").removeClass("show");
|
409 |
+
jQuery("#premiumSlide1").addClass("hide");
|
410 |
+
jQuery("#premiumSlide3").removeClass("hide");
|
411 |
+
jQuery("#premiumSlide3").addClass("show");
|
412 |
+
|
413 |
+
jQuery("#premiumSlide3 .premiumSection1 .premiumTxt:first-child").text("Then make your site much better with our");
|
414 |
+
});
|
415 |
+
|
416 |
+
jQuery("#premiumSlide2 .premiumSection2 .premiumTxt").click(function(){
|
417 |
+
jQuery("#premiumSlide2").removeClass("show");
|
418 |
+
jQuery("#premiumSlide2").addClass("hide");
|
419 |
+
jQuery("#premiumSlide3").removeClass("hide");
|
420 |
+
jQuery("#premiumSlide3").addClass("show");
|
421 |
+
});
|
422 |
+
|
423 |
+
jQuery("#premiumSlide2 .premiumSection3 .premiumTxt").click(function(){
|
424 |
+
jQuery("#premiumSlide2").removeClass("show");
|
425 |
+
jQuery("#premiumSlide2").addClass("hide");
|
426 |
+
jQuery("#premiumSlide3").removeClass("hide");
|
427 |
+
jQuery("#premiumSlide3").addClass("show");
|
428 |
+
|
429 |
+
jQuery("#premiumSlide3 .premiumSection1 .premiumTxt:first-child").html("Then do <span>yourself</span> a favor by getting our");
|
430 |
+
});
|
431 |
+
|
432 |
+
jQuery(".linkPremium").click(function(){
|
433 |
+
window.open('https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=do_you_like_your_website&utm_medium=banner','_blank');
|
434 |
+
});
|
435 |
+
});
|
436 |
+
</script>
|
437 |
+
|
438 |
+
<div id="sectionPremium">
|
439 |
+
|
440 |
+
<div id="premiumSlide1" class="show slide">
|
441 |
+
|
442 |
+
<div class="premiumSection1 premiumComponent premFrTxt">
|
443 |
+
<div class="premiumTxt">Do you love <img src="<?php echo SFSI_PLUGURL; ?>images/heart.png"></div>
|
444 |
+
<div class="premiumTxt"><span>your</span> website?</div>
|
445 |
+
</div>
|
446 |
+
|
447 |
+
<div class="premiumButtonsContainer">
|
448 |
+
|
449 |
+
<div class="premiumSection2 premiumComponent"><div class="premiumTxt">Yes!</div></div>
|
450 |
+
|
451 |
+
<div class="premiumSection3 premiumComponent">
|
452 |
+
<div class="premiumTxt">No,</div>
|
453 |
+
<div class="premiumTxt">it's horrible</div>
|
454 |
+
</div>
|
455 |
+
</div>
|
456 |
+
|
457 |
+
</div>
|
458 |
+
|
459 |
+
<div id="premiumSlide2" class="hide slide">
|
460 |
+
|
461 |
+
<div class="premiumSection1 premiumComponent premFrTxt">
|
462 |
+
<div class="premiumTxt txtb">And things you love should</div>
|
463 |
+
<div class="premiumTxt"><strong>only get the best,</strong> right?</div>
|
464 |
+
</div>
|
465 |
+
|
466 |
+
<div class="premiumButtonsContainer">
|
467 |
+
<div class="premiumSection2 premiumComponent"><div class="premiumTxt">Yes!</div></div>
|
468 |
+
|
469 |
+
<div class="premiumSection3 premiumComponent">
|
470 |
+
<div class="premiumTxt">No,</div>
|
471 |
+
<div class="premiumTxt">it’s only about</div>
|
472 |
+
<div class="premiumTxt">me me me</div>
|
473 |
+
</div>
|
474 |
+
</div>
|
475 |
+
|
476 |
+
</div>
|
477 |
+
|
478 |
+
<div id="premiumSlide3" class="hide slide">
|
479 |
+
|
480 |
+
<div class="premiumSection1 premiumComponent premFrTxt">
|
481 |
+
<div class="premiumTxt">Then give your site a treat with our</div>
|
482 |
+
<div class="premiumTxt"><strong>premium plugin</strong></div>
|
483 |
+
</div>
|
484 |
+
|
485 |
+
<div class="premiumButtonsContainer" style="width: 100%;">
|
486 |
+
<div class="premiumImg"><img src="<?php echo SFSI_PLUGURL; ?>images/ultimate-icon.png" /></div>
|
487 |
+
<div class="premiumFeatures">
|
488 |
+
<ul>
|
489 |
+
<li>Better design</li>
|
490 |
+
<li>Faster loading</li>
|
491 |
+
<li>Mobile optimized</li>
|
492 |
+
<li>Better placement</li>
|
493 |
+
</ul>
|
494 |
+
|
495 |
+
<ul>
|
496 |
+
<li>More platforms</li>
|
497 |
+
<li>Friendly support</li>
|
498 |
+
<li>More shares</li>
|
499 |
+
<li>…and <span class="linkPremium">so much more</span></li>
|
500 |
+
</ul>
|
501 |
+
</div>
|
502 |
+
</div>
|
503 |
+
|
504 |
+
<div class="premiumTxt chkbutton"><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=do_you_like_your_website&utm_medium=banner" target="_blank">Check it out ></a></div>
|
505 |
+
<div class="premiumTxt priceTxt">To make it available for all people pricing is <strong>super-fair</strong>, starting at 15.98 USD only</div>
|
506 |
+
</div>
|
507 |
+
</div>
|
508 |
+
|
509 |
+
|
510 |
+
|
511 |
+
<!-- <div class="pop-overlay read-overlay" >
|
512 |
+
<div class="pop_up_box sfsi_pop_up" >
|
513 |
+
<img src="<?php echo SFSI_PLUGURL; ?>images/close.jpg" id="close_popup" class="sfsicloseBtn" />
|
514 |
+
<h4 id="readmore_text">Note: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</h4>
|
515 |
+
</div>
|
516 |
+
</div> -->
|