Social Media Share Buttons & Social Sharing Icons - Version 2.0.9

Version Description

  • Banner for animation section in Question 4 added
  • Different icon for mouseover section pointing to premium in Question 4 added
  • Removed theme icon banner if no match
Download this release

Release Info

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

Code changes from version 2.0.8 to 2.0.9

Files changed (42) hide show
  1. css/sfsi-admin-style.css +184 -8
  2. css/sfsi-style.css +4 -25
  3. helpers/common_helper.php +205 -0
  4. images/banner/animated_facebook.gif +0 -0
  5. images/banner/animated_follow.gif +0 -0
  6. images/banner/animated_google.gif +0 -0
  7. images/banner/animated_instagram.gif +0 -0
  8. images/banner/animated_linkedin.gif +0 -0
  9. images/banner/animated_pinterest.gif +0 -0
  10. images/banner/animated_twitter.gif +0 -0
  11. images/banner/animated_whatsapp.gif +0 -0
  12. images/banner/animated_youtube.gif +0 -0
  13. images/banner/default1_facebook.png +0 -0
  14. images/banner/default1_google.png +0 -0
  15. images/banner/default1_twitter.png +0 -0
  16. images/banner/default2_facebook.png +0 -0
  17. images/banner/default2_google.png +0 -0
  18. images/banner/default2_twitter.png +0 -0
  19. images/banner/default3_facebook.png +0 -0
  20. images/banner/default3_google.png +0 -0
  21. images/banner/default3_twitter.png +0 -0
  22. images/banner/theme1_facebook.png +0 -0
  23. images/banner/theme1_google.png +0 -0
  24. images/banner/theme1_twitter.png +0 -0
  25. images/banner/theme2_facebook.png +0 -0
  26. images/banner/theme2_google.png +0 -0
  27. images/banner/theme2_twitter.png +0 -0
  28. images/banner/theme3_facebook.png +0 -0
  29. images/banner/theme3_google.png +0 -0
  30. images/banner/theme3_twitter.png +0 -0
  31. js/custom-admin.js +74 -199
  32. libs/controllers/sfsi_buttons_controller.php +26 -23
  33. libs/controllers/sfsi_class_theme_check.php +15 -11
  34. libs/sfsi_install_uninstall.php +26 -8
  35. libs/sfsi_widget.php +1 -1
  36. readme.txt +8 -3
  37. ultimate_social_media_icons.php +23 -13
  38. views/deactivation/sfsi_deactivation_popup.php +6 -6
  39. views/sfsi_option_view3.php +11 -136
  40. views/sfsi_options_view.php +1 -1
  41. views/subviews/que4/animatethem.php +171 -0
  42. views/subviews/que4/banner.php +128 -0
css/sfsi-admin-style.css CHANGED
@@ -1655,20 +1655,26 @@ ul.sfsi_floaticon_margin_sec li ins {
1655
  color: #080808;
1656
  }
1657
 
1658
- /*poonam */
 
 
 
 
 
 
1659
  .sf_si_our_prmium_plugin-add, .sfsi_prem_icons_added {background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;clear: both;}
 
 
1660
  .sfsi_new_prmium_follw{background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;float:left;clear: both;}
1661
  .notice_custom_icons_premium.sfsi_new_prmium_follw {margin-left: 96px;}
1662
- .sf_si_our_prmium_plugin-add{padding: 25px 38px 45px 44px;}
1663
  .sf_si_default_design ul{padding:0;margin:0;}
1664
  .sf_si_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
1665
  .sfsi_need_another_tell_us, .sfsi_need_another_one_link{clear:both;}
1666
  .sf_si_all_features_premium a, .sfsi_need_another_tell_us a{color:#12a252 !important;font-size:18.9px;font-weight:bold;border-bottom: 1px solid #12a252;text-decoration: none;}
1667
  .sf_si_default_design ul li b{font-weight: bold;}
1668
- .sf_si_prmium_head h2{font-size:26px;color:#000;font-weight:bold;padding-bottom:13px; margin-top: 0;}
1669
  .sf_si_our_prmium_plugin-add .sf_si_prmium_head h2{padding-bottom:23px;}
1670
- .sf_si_prmium_head span{font-weight:normal;}
1671
- .sf_si_default_design ul li img{vertical-align: middle;}
1672
  .sfsi_need_another_one_link p{color: #c1c3c5;font-size: 18.9px !important;}
1673
  .sfsi_need_another_one_link p a{color:#12a252 !important; text-decoration: none;}
1674
  .sfsi_premium_brdr_box{box-sizing: border-box;}
@@ -1694,7 +1700,6 @@ p.sfsi_shared_premium b{font-weight:bold;}
1694
  .sf_si_default_design ul li b span{font-weight:normal !important;}
1695
  p.sfsi_prem_plu_desc a{text-decoration: none; color: #00a0d2 !important;}
1696
  .sfsi_fb_popup_contain{width:50%;display:inline-block;}
1697
- .sfsi_row_table{clear:both;}
1698
  .sfsi_first_icon_field, .sfsi_second_icon_img{display:table-cell;vertical-align:middle;padding: 5px 0;}
1699
  .sfsi_first_icon_field{width:125px;}
1700
  .sfsi_first_icon_field h2{font-size:18px !important;color:#1a1d20 !important;margin:0 !important; font-weight: bold;}
@@ -2085,11 +2090,182 @@ h2.optional { float: left;clear: both;margin-top: 25px !important; }
2085
  .sfsi_askforhelp img { float: left;width: 35px;height: 35px;vertical-align: middle; }
2086
  .sfsi_askforhelp span { float: left;margin-left: 6px;margin-top: 8px;}
2087
  .askhelpInview2 { bottom: 25px; }
2088
- .askhelpInview3 { bottom: 51px; }
2089
  .askhelpInview7 { bottom: 50px; }
2090
 
2091
  div#sfsi_plus_langnotice,div#sfsi_plus_addThis_removal_notice,div#sfsi_error_reporting_notice{
2092
  padding: 10px;
2093
  margin-left: 0px;
2094
  position: relative;
2095
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1655
  color: #080808;
1656
  }
1657
 
1658
+ .sf_si_default_design ul li {
1659
+ width: auto !important;
1660
+ display: inline-block;
1661
+ float: none !important;
1662
+ }
1663
+
1664
+
1665
  .sf_si_our_prmium_plugin-add, .sfsi_prem_icons_added {background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;clear: both;}
1666
+ .sf_si_prmium_head h2{font-size:26px;color:#000;font-weight:bold;padding-bottom:13px; margin-top: 0;}
1667
+
1668
  .sfsi_new_prmium_follw{background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;float:left;clear: both;}
1669
  .notice_custom_icons_premium.sfsi_new_prmium_follw {margin-left: 96px;}
 
1670
  .sf_si_default_design ul{padding:0;margin:0;}
1671
  .sf_si_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
1672
  .sfsi_need_another_tell_us, .sfsi_need_another_one_link{clear:both;}
1673
  .sf_si_all_features_premium a, .sfsi_need_another_tell_us a{color:#12a252 !important;font-size:18.9px;font-weight:bold;border-bottom: 1px solid #12a252;text-decoration: none;}
1674
  .sf_si_default_design ul li b{font-weight: bold;}
 
1675
  .sf_si_our_prmium_plugin-add .sf_si_prmium_head h2{padding-bottom:23px;}
1676
+
1677
+ .sf_si_default_design ul li img{}
1678
  .sfsi_need_another_one_link p{color: #c1c3c5;font-size: 18.9px !important;}
1679
  .sfsi_need_another_one_link p a{color:#12a252 !important; text-decoration: none;}
1680
  .sfsi_premium_brdr_box{box-sizing: border-box;}
1700
  .sf_si_default_design ul li b span{font-weight:normal !important;}
1701
  p.sfsi_prem_plu_desc a{text-decoration: none; color: #00a0d2 !important;}
1702
  .sfsi_fb_popup_contain{width:50%;display:inline-block;}
 
1703
  .sfsi_first_icon_field, .sfsi_second_icon_img{display:table-cell;vertical-align:middle;padding: 5px 0;}
1704
  .sfsi_first_icon_field{width:125px;}
1705
  .sfsi_first_icon_field h2{font-size:18px !important;color:#1a1d20 !important;margin:0 !important; font-weight: bold;}
2090
  .sfsi_askforhelp img { float: left;width: 35px;height: 35px;vertical-align: middle; }
2091
  .sfsi_askforhelp span { float: left;margin-left: 6px;margin-top: 8px;}
2092
  .askhelpInview2 { bottom: 25px; }
2093
+ .askhelpInview3 { bottom: 12px; }
2094
  .askhelpInview7 { bottom: 50px; }
2095
 
2096
  div#sfsi_plus_langnotice,div#sfsi_plus_addThis_removal_notice,div#sfsi_error_reporting_notice{
2097
  padding: 10px;
2098
  margin-left: 0px;
2099
  position: relative;
2100
+ }
2101
+
2102
+ .clear{clear: both;}
2103
+ .show{display: block;}
2104
+ .hide{display: none;}
2105
+
2106
+ .zeropadding{padding:0px !important;}
2107
+ .zerotoppadding{padding-top:0px !important;}
2108
+ .zerobottompadding{padding-bottom:0px !important;}
2109
+ .zerotopmargin{margin-top:0px !important;}
2110
+
2111
+ .rowpadding10{padding: 10px 0 !important; }
2112
+ .rowmarginleft15 {margin-left: 15px !important;}
2113
+ .rowmarginleft25 {margin-left: 25px !important;}
2114
+ .rowmarginleft45 {margin-left: 45px !important;}
2115
+
2116
+ .bottommargin20 {margin-bottom: 20px !important;}
2117
+ .bottommargin30 {margin-bottom: 30px !important;}
2118
+ .bottommargin40 {margin-bottom: 40px !important;}
2119
+ .inactiveSection{opacity: 0.2;pointer-events: none;}
2120
+
2121
+ /* */
2122
+ .tab3 .sub_row{
2123
+ float: left;
2124
+ margin: 15px 0 0 4%;
2125
+ width: 80%;
2126
+ }
2127
+ .tab3 .sub_row label {
2128
+ float: left;
2129
+ margin: 0 0px 0 10px;
2130
+ line-height: 36px;
2131
+ font-size: 18px;
2132
+ }
2133
+ .tab3 .sub_row .effectContainer{
2134
+ float: left;
2135
+ width: 100%;
2136
+ margin-left: 45px;
2137
+ }
2138
+ .tab3 .sub_row .effectName{
2139
+ float: left;
2140
+ width: 25%;
2141
+ }
2142
+ .tab3 .tab_3_sav {
2143
+ padding-top: 0;
2144
+ margin: 0px auto 10px;
2145
+ position: relative;
2146
+ z-index: 9;
2147
+ }
2148
+ .tab3 .Shuffle_auto {
2149
+ float: left;
2150
+ width: 80%;
2151
+ clear: both;
2152
+ }
2153
+ .tab3 #animationSection label {font-family: 'helveticaneue-light';}
2154
+
2155
+ .tab3 select[name='mouseover_other_icons_transition_effect'] {
2156
+ margin-left: 10px;
2157
+ padding: 0px 11px;
2158
+ margin-top: 4px;
2159
+ font-size: 15px;
2160
+ border-radius: 5px;
2161
+ }
2162
+ .tab3 .other_icons_effects_options .mouseover_other_icon_label {
2163
+ float: left;
2164
+ width: 30%;
2165
+ font-size: 16px;
2166
+ }
2167
+ .tab3 .mouse-over-effects span.radio {
2168
+ float: left;
2169
+ display: inline-block;
2170
+ }
2171
+ .tab3 .same_icons_effects label span {
2172
+ float: left;
2173
+ clear: both;
2174
+ line-height: 20px;
2175
+ }
2176
+ .tab3 .same_icons_effects label span:nth-child(2) {
2177
+ font-size: 14px;
2178
+ }
2179
+ .tab3 .other_icons_effects_options .mouseover_other_icon_img {
2180
+ float: left;
2181
+ width: 40px;
2182
+ height: 40px;
2183
+ }
2184
+ .tab3 .other_icons_effects_options .mouseover_other_icon_change_link, .tab3 .other_icons_effects_options .mouseover_other_icon_revert_link {
2185
+ float: left;
2186
+ color: #337ab7;
2187
+ margin-left: 15px;
2188
+ padding: 5px 0px;
2189
+ font-size: 15px;
2190
+ text-decoration: underline;
2191
+ }
2192
+ .mouseover-premium-notice{
2193
+ }
2194
+ .mouseover-premium-notice label{
2195
+ width: auto !important;
2196
+ margin: 0 !important;
2197
+ }
2198
+ .mouseover-premium-notice a{
2199
+ float: left;
2200
+ color: #12a252 !important;
2201
+ padding-top: 5px;
2202
+ margin-left: 5px;
2203
+ font-size: 18px;
2204
+ }
2205
+
2206
+ @media (min-width:414px) and (max-width: 736px) and (orientation:portrait) {
2207
+ .tab3 .sub_row{
2208
+ width: 100%;
2209
+ }
2210
+ .tab3 .sub_row .effectContainer{
2211
+ margin-left: 25px;
2212
+ margin-bottom: 0px;
2213
+ clear: both;
2214
+ }
2215
+ .tab3 .sub_row .effectName{
2216
+ width: 100%;
2217
+ margin-bottom: 25px
2218
+ }
2219
+ .rowmarginleft45{
2220
+ margin-left: 0px !important;
2221
+ }
2222
+ .bottommargin40{
2223
+ margin-bottom:0px !important;
2224
+ }
2225
+ }
2226
+
2227
+ @media (min-width:414px) and (max-width: 736px) and (orientation:landscape) {
2228
+ .tab3 .sub_row{
2229
+ width: 100%;
2230
+ }
2231
+ .tab3 .sub_row .effectContainer{
2232
+ margin-left: 25px;
2233
+ margin-bottom: 0px;
2234
+ clear: both;
2235
+ }
2236
+ .tab3 .sub_row .effectName{
2237
+ width: 50%;
2238
+ margin-bottom: 25px
2239
+ }
2240
+ .rowmarginleft45{
2241
+ margin-left: 25px !important;
2242
+ }
2243
+ .bottommargin40{
2244
+ margin-bottom:0px !important;
2245
+ }
2246
+ }
2247
+ @media (min-width:768px) and (max-width: 1024px){
2248
+ .tab3 .sub_row{
2249
+ width: 100%;
2250
+ }
2251
+ .tab3 .sub_row .effectContainer{
2252
+ margin-bottom: 25px;
2253
+ clear: both;
2254
+ }
2255
+ .tab3 .sub_row .effectName{
2256
+ width: 50%;
2257
+ }
2258
+ }
2259
+
2260
+
2261
+ /* */
2262
+
2263
+ .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
2264
+ position: relative;
2265
+ min-height: 1px;
2266
+ padding-right: 15px;
2267
+ padding-left: 15px;
2268
+ }
2269
+ @media (min-width: 992px){.col-md-12 {width: 100%;}.col-md-3 {width: 25%;}.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {float: left;}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}
2270
+ @media (min-width:768px) {.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}
2271
+ @media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}
css/sfsi-style.css CHANGED
@@ -674,19 +674,11 @@ ul.tab_3_icns label {
674
  ul.tab_3_icns li .icns_tab_3, ul.tab_3_icns li .radio {
675
  float: left;
676
  }
677
- .tab3 .sub_row {
678
- float: left;
679
- margin: 35px 0 0 4%;
680
- width: 90%}
681
  .tab3 .sub_row h4 {
682
  color: #a4a9ad!important;
683
  }
684
- .tab3 .sub_row label {
685
- float: left;
686
- margin: 0 20px;
687
- line-height: 36px;
688
- font-size: 18px;
689
- }
690
  .tab3 .sub_row p {
691
  padding-top: 18px!important;
692
  clear: both;
@@ -1116,12 +1108,7 @@ ul.icn_listing li .right_info a {
1116
  ul.tab_3_list li span {
1117
  font-family: helveticabold;
1118
  }
1119
- .tab3 .Shuffle_auto {
1120
- float: left;
1121
- width: 80%;
1122
- position: relative;
1123
- top: -93px;
1124
- }
1125
  #accordion .tab4 h4, #accordion1 .tab4 h4 {
1126
  color: #414951;
1127
  font-size: 20px;
@@ -1138,9 +1125,6 @@ ul.tab_3_list li span {
1138
  padding-top: 0!important;
1139
  margin-bottom: 10px!important;
1140
  }
1141
- .tab3 .sub_row {
1142
- margin-top: 10px!important;
1143
- }
1144
  .tab4 {
1145
  padding-top: 35px!important;
1146
  }
@@ -1689,12 +1673,7 @@ h2.optional {
1689
  .linkedin_section .link_4>label.anthr_labl {
1690
  height: 94px;
1691
  }
1692
- .tab3 .tab_3_sav {
1693
- padding-top: 0;
1694
- margin: -69px auto 20px;
1695
- position: relative;
1696
- z-index: 9;
1697
- }
1698
  .mediam_txt {
1699
  font-family: helveticabold;
1700
  }
674
  ul.tab_3_icns li .icns_tab_3, ul.tab_3_icns li .radio {
675
  float: left;
676
  }
677
+
 
 
 
678
  .tab3 .sub_row h4 {
679
  color: #a4a9ad!important;
680
  }
681
+
 
 
 
 
 
682
  .tab3 .sub_row p {
683
  padding-top: 18px!important;
684
  clear: both;
1108
  ul.tab_3_list li span {
1109
  font-family: helveticabold;
1110
  }
1111
+
 
 
 
 
 
1112
  #accordion .tab4 h4, #accordion1 .tab4 h4 {
1113
  color: #414951;
1114
  font-size: 20px;
1125
  padding-top: 0!important;
1126
  margin-bottom: 10px!important;
1127
  }
 
 
 
1128
  .tab4 {
1129
  padding-top: 35px!important;
1130
  }
1673
  .linkedin_section .link_4>label.anthr_labl {
1674
  height: 94px;
1675
  }
1676
+
 
 
 
 
 
1677
  .mediam_txt {
1678
  font-family: helveticabold;
1679
  }
helpers/common_helper.php ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!function_exists('sfsi_get_displayed_std_desktop_icons')){
3
+
4
+ function sfsi_get_displayed_std_desktop_icons($option1=false){
5
+
6
+ $option1 = false !== $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_section1_options',false));
7
+
8
+ $arrDisplay = array();
9
+
10
+ if(false !== $option1 && is_array($option1) ){
11
+
12
+ foreach ($option1 as $key => $value) {
13
+
14
+ if(strpos($key, '_display') !== false){
15
+
16
+ $arrDisplay[$key] = isset($option1[$key]) ? sanitize_text_field($option1[$key]) : '';
17
+
18
+ }
19
+ }
20
+ }
21
+
22
+ return $arrDisplay;
23
+
24
+ }
25
+ }
26
+
27
+ if(!function_exists('sfsi_get_displayed_custom_desktop_icons')){
28
+
29
+ function sfsi_get_displayed_custom_desktop_icons($option1=false){
30
+
31
+ $option1 = false != $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_section1_options',false));
32
+
33
+ $arrDisplay = array();
34
+
35
+ if(!empty($option1) && is_array($option1) && isset($option1['sfsi_custom_files'])
36
+ && !empty($option1['sfsi_custom_files']) ) :
37
+
38
+ $arrdbDisplay = unserialize($option1['sfsi_custom_files']);
39
+
40
+ if(is_array($arrdbDisplay)):
41
+
42
+ $arrDisplay = $arrdbDisplay;
43
+
44
+ endif;
45
+
46
+ endif;
47
+
48
+ return $arrDisplay;
49
+ }
50
+
51
+ }
52
+
53
+ if(!function_exists('sfsi_icon_get_icon_image')){
54
+ function sfsi_icon_get_icon_image($icon_name,$iconImgName=false){
55
+
56
+ $icon = false;
57
+
58
+ $option3 = unserialize(get_option('sfsi_section3_options',false));
59
+
60
+ if(isset($option3['sfsi_actvite_theme']) && !empty($option3['sfsi_actvite_theme'])){
61
+
62
+ $active_theme = $option3['sfsi_actvite_theme'];
63
+
64
+ $icons_baseUrl = SFSI_PLUGURL."images/icons_theme/".$active_theme."/";
65
+ $visit_iconsUrl = SFSI_PLUGURL."images/visit_icons/";
66
+
67
+ if(isset($icon_name) && !empty($icon_name)):
68
+
69
+ if($active_theme == 'custom_support')
70
+ {
71
+ switch (strtolower($icon_name)) {
72
+
73
+ case 'facebook':
74
+ $custom_icon_name = "fb";
75
+ break;
76
+
77
+ case 'pinterest':
78
+ $custom_icon_name = "pintrest";
79
+ break;
80
+
81
+ default:
82
+ $custom_icon_name = $icon_name;
83
+ break;
84
+ }
85
+
86
+ $key = $custom_icon_name."_skin";
87
+
88
+ $skin = get_option($key,false);
89
+
90
+ $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
91
+
92
+ if($skin)
93
+ {
94
+ $skin_url = parse_url($skin);
95
+ if($skin_url['scheme']==='http' && $scheme==='https'){
96
+ $icon = str_replace('http','https',$skin);
97
+ }else if($skin_url['scheme']==='https' && $scheme==='http'){
98
+ $icon = str_replace('https','http',$skin);
99
+ }else{
100
+ $icon = $skin;
101
+ }
102
+ }
103
+ else
104
+ {
105
+ $active_theme = 'default';
106
+ $icons_baseUrl = SFSI_PLUGURL."images/icons_theme/default/";
107
+
108
+ $iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
109
+ $icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
110
+ }
111
+ }
112
+ else
113
+ {
114
+ $iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
115
+ $icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
116
+ }
117
+
118
+ endif;
119
+
120
+ }
121
+
122
+ return $icon;
123
+ }
124
+ }
125
+
126
+ if(!function_exists('sfsi_icon_generate_other_icon_effect_admin_html')){
127
+
128
+ function sfsi_icon_generate_other_icon_effect_admin_html($iconName,$arrActiveDesktopIcons,$customIconIndex=-1,$customIconImgUrl=null,$customIconSrNo=null){
129
+
130
+ $iconImgVal = false;
131
+ $activeIconImgUrl = false;
132
+
133
+ $classForRevertLink = 'hide';
134
+ $defaultIconImgUrl = false;
135
+
136
+ $displayIconClass = "hide";
137
+
138
+ $arruploadDir = wp_upload_dir();
139
+
140
+ if( isset($iconName) && !empty($iconName)){
141
+
142
+ if("custom" == $iconName && $customIconIndex >-1){
143
+
144
+ if(null !== $customIconImgUrl){
145
+
146
+ $activeIconImgUrl = $customIconImgUrl;
147
+ $defaultIconImgUrl = $customIconImgUrl;
148
+
149
+ // Check if icon is selected under Question 1
150
+ if(in_array($customIconImgUrl, $arrActiveDesktopIcons)){
151
+ $displayIconClass = "show";
152
+ }
153
+
154
+ $iconNameStr = $iconName.$customIconSrNo;
155
+
156
+ }
157
+
158
+ }
159
+
160
+ else{
161
+
162
+ $dbKey = "sfsi_".$iconName."_display";
163
+
164
+ if(isset($arrActiveDesktopIcons[$dbKey]) && !empty($arrActiveDesktopIcons[$dbKey])
165
+ && "yes" == $arrActiveDesktopIcons[$dbKey]){
166
+ $displayIconClass = "show";
167
+ }
168
+
169
+ $activeIconImgUrl = sfsi_icon_get_icon_image($iconName);
170
+
171
+ $iconNameStr = $iconName;
172
+ }
173
+
174
+
175
+ if(false != $iconImgVal && !filter_var($iconImgVal, FILTER_VALIDATE_URL)){
176
+
177
+ $iconImgVal = SFSI_UPLOAD_DIR_BASEURL.$iconImgVal;
178
+ }
179
+
180
+ $attrCustomIconSrNo = null !== $customIconSrNo ? 'data-customiconsrno="'.$customIconSrNo.'"': null;
181
+ $attrCustomIconIndex = -1 != $customIconIndex ? 'data-customiconindex="'.$customIconIndex.'"': null;
182
+
183
+ $attrIconName = 'data-iconname="'.$iconName.'"';
184
+
185
+ ?>
186
+ <div <?php echo $attrCustomIconIndex;?> <?php echo $attrIconName; ?> class="col-md-3 bottommargin20 <?php echo $displayIconClass; ?>">
187
+
188
+ <label <?php echo $attrCustomIconSrNo; ?> class="mouseover_other_icon_label"><?php echo ucfirst($iconNameStr); ?> </label>
189
+
190
+ <img data-defaultImg="<?php echo $defaultIconImgUrl; ?>" class="mouseover_other_icon_img" src="<?php echo $activeIconImgUrl; ?>">
191
+
192
+ <input <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> type="hidden" value="<?php echo $iconImgVal; ?>" name="mouseover_other_icon_<?php echo $iconName; ?>">
193
+
194
+ <a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> id="btn_mouseover_other_icon_<?php echo $iconName; ?>" class="mouseover_other_icon_change_link" href="javascript:void(0)" class="mouseover_other_icon">Change</a>
195
+
196
+ <a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> class="<?php echo $classForRevertLink; ?> mouseover_other_icon_revert_link" href="javascript:void(0)" class="mouseover_other_icon">Revert</a>
197
+
198
+ </div>
199
+
200
+ <?php
201
+
202
+ }
203
+
204
+ }
205
+ }
images/banner/animated_facebook.gif ADDED
Binary file
images/banner/animated_follow.gif ADDED
Binary file
images/banner/animated_google.gif ADDED
Binary file
images/banner/animated_instagram.gif ADDED
Binary file
images/banner/animated_linkedin.gif ADDED
Binary file
images/banner/animated_pinterest.gif ADDED
Binary file
images/banner/animated_twitter.gif ADDED
Binary file
images/banner/animated_whatsapp.gif ADDED
Binary file
images/banner/animated_youtube.gif ADDED
Binary file
images/banner/default1_facebook.png ADDED
Binary file
images/banner/default1_google.png ADDED
Binary file
images/banner/default1_twitter.png ADDED
Binary file
images/banner/default2_facebook.png ADDED
Binary file
images/banner/default2_google.png ADDED
Binary file
images/banner/default2_twitter.png ADDED
Binary file
images/banner/default3_facebook.png ADDED
Binary file
images/banner/default3_google.png ADDED
Binary file
images/banner/default3_twitter.png ADDED
Binary file
images/banner/theme1_facebook.png ADDED
Binary file
images/banner/theme1_google.png ADDED
Binary file
images/banner/theme1_twitter.png ADDED
Binary file
images/banner/theme2_facebook.png ADDED
Binary file
images/banner/theme2_google.png ADDED
Binary file
images/banner/theme2_twitter.png ADDED
Binary file
images/banner/theme3_facebook.png ADDED
Binary file
images/banner/theme3_google.png ADDED
Binary file
images/banner/theme3_twitter.png ADDED
Binary file
js/custom-admin.js CHANGED
@@ -359,13 +359,18 @@ function sfsi_update_step3() {
359
  var s = sfsi_validationStep3();
360
  if (!s) return global_error = 1, !1;
361
  beForeLoad();
362
- var i = SFSI("input[name='sfsi_actvite_theme']:checked").val(), e = SFSI("input[name='sfsi_mouseOver']:checked").val(), t = SFSI("input[name='sfsi_shuffle_icons']:checked").val(), n = SFSI("input[name='sfsi_shuffle_Firstload']:checked").val(), o = SFSI("#sfsi_mouseOver_effect option:selected").val(), a = SFSI("input[name='sfsi_shuffle_interval']:checked").val(), r = SFSI("input[name='sfsi_shuffle_intervalTime']").val(), c = SFSI("input[name='sfsi_specialIcon_animation']:checked").val(), p = SFSI("input[name='sfsi_specialIcon_MouseOver']:checked").val(), _ = SFSI("input[name='sfsi_specialIcon_Firstload']:checked").val(), l = SFSI("#sfsi_specialIcon_Firstload_Icons option:selected").val(), S = SFSI("input[name='sfsi_specialIcon_interval']:checked").val(), u = SFSI("input[name='sfsi_specialIcon_intervalTime']").val(), f = SFSI("#sfsi_specialIcon_intervalIcons option:selected").val(), d = {
 
 
 
 
363
  action:"updateSrcn3",
364
  sfsi_actvite_theme:i,
365
  sfsi_mouseOver:e,
366
  sfsi_shuffle_icons:t,
367
  sfsi_shuffle_Firstload:n,
368
  sfsi_mouseOver_effect:o,
 
369
  sfsi_shuffle_interval:a,
370
  sfsi_shuffle_intervalTime:r,
371
  sfsi_specialIcon_animation:c,
@@ -1687,8 +1692,13 @@ SFSI(document).ready(function(s) {
1687
 
1688
  /*SFSI(".radio").live("click", function() {*/
1689
  SFSI(document).on("click", '.radio', function () {
 
1690
  var s = SFSI(this).parent().find("input:radio:first");
1691
- switch(s.attr("name")) {
 
 
 
 
1692
  case 'sfsi_form_adjustment':
1693
  if(s.val() == 'no')
1694
  s.parents(".row_tab").next(".row_tab").show("fast");
@@ -1711,7 +1721,8 @@ SFSI(document).ready(function(s) {
1711
  SFSI('input[name="sfsi_icons_suppress_errors"][value="yes"]').attr('checked','true');
1712
  else
1713
  SFSI('input[name="sfsi_icons_suppress_errors"][value="no"]').attr('checked','true');
1714
- break;
 
1715
  default:
1716
  }
1717
  });
@@ -1751,127 +1762,6 @@ SFSI(document).ready(function(s) {
1751
  hide: true,
1752
  palettes: true
1753
  });
1754
- /*SFSI("#sfsiFormBorderColor").ColorPicker({
1755
- color:"#f80000",
1756
- onBeforeShow:function() {
1757
- s(this).ColorPickerSetColor(SFSI("#sfsi_form_border_color").val());
1758
- },
1759
- onShow:function(s) {
1760
- return SFSI(s).fadeIn(500), !1;
1761
- },
1762
- onHide:function(s) {
1763
- return SFSI(s).fadeOut(500), !1;
1764
- },
1765
- onChange:function(s, i) {
1766
- SFSI("#sfsi_form_border_color").val("#" + i), SFSI("#sfsiFormBorderColor").css("background", "#" + i);
1767
- create_suscriber_form();
1768
- },
1769
- onClick:function(s, i) {
1770
- SFSI("#sfsi_popup_background_color").val("#" + i), SFSI("#sfsiFormBorderColor").css("background", "#" + i);
1771
- create_suscriber_form();
1772
- }
1773
- }),
1774
- SFSI("#sfsiFormBackground").ColorPicker({
1775
- color:"#f80000",
1776
- onBeforeShow:function() {
1777
- s(this).ColorPickerSetColor(SFSI("#sfsi_form_background").val());
1778
- },
1779
- onShow:function(s) {
1780
- return SFSI(s).fadeIn(500), !1;
1781
- },
1782
- onHide:function(s) {
1783
- return SFSI(s).fadeOut(500), !1;
1784
- },
1785
- onChange:function(s, i) {
1786
- SFSI("#sfsi_form_background").val("#" + i), SFSI("#sfsiFormBackground").css("background", "#" + i);
1787
- create_suscriber_form();
1788
- },
1789
- onClick:function(s, i) {
1790
- SFSI("#sfsi_form_background").val("#" + i), SFSI("#sfsiFormBackground").css("background", "#" + i);
1791
- create_suscriber_form();
1792
- }
1793
- }),
1794
- SFSI("#sfsiFormHeadingFontcolor").ColorPicker({
1795
- color:"#f80000",
1796
- onBeforeShow:function() {
1797
- s(this).ColorPickerSetColor(SFSI("#sfsi_form_heading_fontcolor").val());
1798
- },
1799
- onShow:function(s) {
1800
- return SFSI(s).fadeIn(500), !1;
1801
- },
1802
- onHide:function(s) {
1803
- return SFSI(s).fadeOut(500), !1;
1804
- },
1805
- onChange:function(s, i) {
1806
- SFSI("#sfsi_form_heading_fontcolor").val("#" + i), SFSI("#sfsiFormHeadingFontcolor").css("background", "#" + i);
1807
- create_suscriber_form();
1808
- },
1809
- onClick:function(s, i) {
1810
- SFSI("#sfsi_form_heading_fontcolor").val("#" + i), SFSI("#sfsiFormHeadingFontcolor").css("background", "#" + i);
1811
- create_suscriber_form();
1812
- }
1813
- }),
1814
- SFSI("#sfsiFormFieldFontcolor").ColorPicker({
1815
- color:"#f80000",
1816
- onBeforeShow:function() {
1817
- s(this).ColorPickerSetColor(SFSI("#sfsi_form_field_fontcolor").val());
1818
- },
1819
- onShow:function(s) {
1820
- return SFSI(s).fadeIn(500), !1;
1821
- },
1822
- onHide:function(s) {
1823
- return SFSI(s).fadeOut(500), !1;
1824
- },
1825
- onChange:function(s, i) {
1826
- SFSI("#sfsi_form_field_fontcolor").val("#" + i), SFSI("#sfsiFormFieldFontcolor").css("background", "#" + i);
1827
- create_suscriber_form();
1828
- },
1829
- onClick:function(s, i) {
1830
- SFSI("#sfsi_form_field_fontcolor").val("#" + i), SFSI("#sfsiFormFieldFontcolor").css("background", "#" + i);
1831
- create_suscriber_form();
1832
- }
1833
- }),
1834
- SFSI("#sfsiFormButtonFontcolor").ColorPicker({
1835
-
1836
- color:"#f80000",
1837
- onBeforeShow:function() {
1838
- s(this).ColorPickerSetColor(SFSI("#sfsi_form_button_fontcolor").val());
1839
- },
1840
- onShow:function(s) {
1841
- return SFSI(s).fadeIn(500), !1;
1842
- },
1843
- onHide:function(s) {
1844
- return SFSI(s).fadeOut(500), !1;
1845
- },
1846
- onChange:function(s, i) {
1847
- SFSI("#sfsi_form_button_fontcolor").val("#" + i), SFSI("#sfsiFormButtonFontcolor").css("background", "#" + i);
1848
- create_suscriber_form();
1849
- },
1850
- onClick:function(s, i) {
1851
- SFSI("#sfsi_form_button_fontcolor").val("#" + i), SFSI("#sfsiFormButtonFontcolor").css("background", "#" + i);
1852
- create_suscriber_form();
1853
- }
1854
- }),
1855
- SFSI("#sfsiFormButtonBackground").ColorPicker({
1856
- color:"#f80000",
1857
- onBeforeShow:function() {
1858
- s(this).ColorPickerSetColor(SFSI("#sfsi_form_button_background").val());
1859
- },
1860
- onShow:function(s) {
1861
- return SFSI(s).fadeIn(500), !1;
1862
- },
1863
- onHide:function(s) {
1864
- return SFSI(s).fadeOut(500), !1;
1865
- },
1866
- onChange:function(s, i) {
1867
- SFSI("#sfsi_form_button_background").val("#" + i), SFSI("#sfsiFormButtonBackground").css("background", "#" + i);
1868
- create_suscriber_form();
1869
- },
1870
- onClick:function(s, i) {
1871
- SFSI("#sfsi_form_button_background").val("#" + i), SFSI("#sfsiFormButtonBackground").css("background", "#" + i);
1872
- create_suscriber_form();
1873
- }
1874
- });*/
1875
  //changes done {Monad}
1876
 
1877
  function i() {
@@ -1954,26 +1844,6 @@ SFSI(document).ready(function(s) {
1954
  hide: true,
1955
  palettes: true
1956
  }),
1957
- /*SFSI("#sfsifontCloroPicker").ColorPicker({
1958
- color:"#f80000",
1959
- onBeforeShow:function() {
1960
- s(this).ColorPickerSetColor(SFSI("#sfsi_popup_fontColor").val());
1961
- },
1962
- onShow:function(s) {
1963
- return SFSI(s).fadeIn(500), !1;
1964
- },
1965
- onHide:function(s) {
1966
- return SFSI(s).fadeOut(500), sfsi_make_popBox(), !1;
1967
- },
1968
- onChange:function(s, i) {
1969
- SFSI("#sfsi_popup_fontColor").val("#" + i), SFSI("#sfsifontCloroPicker").css("background", "#" + i),
1970
- sfsi_make_popBox();
1971
- },
1972
- onClick:function(s, i) {
1973
- SFSI("#sfsi_popup_fontColor").val("#" + i), SFSI("#sfsifontCloroPicker").css("background", "#" + i),
1974
- sfsi_make_popBox();
1975
- }
1976
- }),*/
1977
  SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function() {
1978
  SFSI(this).attr("src", ajax_object.plugin_url + "images/visit_icons/linkedIn_hover.svg");
1979
  }),
@@ -1998,47 +1868,6 @@ SFSI(document).ready(function(s) {
1998
  SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function() {
1999
  SFSI(this).css("opacity", "1");
2000
  }),
2001
- /*SFSI("#sfsiBackgroundColorPicker").ColorPicker({
2002
- color:"#f80000",
2003
- onBeforeShow:function() {
2004
- s(this).ColorPickerSetColor(SFSI("#sfsi_popup_background_color").val());
2005
- },
2006
- onShow:function(s) {
2007
- return SFSI(s).fadeIn(500), !1;
2008
- },
2009
- onHide:function(s) {
2010
- return SFSI(s).fadeOut(500), !1;
2011
- },
2012
- onChange:function(s, i) {
2013
- SFSI("#sfsi_popup_background_color").val("#" + i), SFSI("#sfsiBackgroundColorPicker").css("background", "#" + i),
2014
- sfsi_make_popBox();
2015
- },
2016
- onClick:function(s, i) {
2017
- SFSI("#sfsi_popup_background_color").val("#" + i), SFSI("#sfsiBackgroundColorPicker").css("background", "#" + i),
2018
- sfsi_make_popBox();
2019
- }
2020
- }),
2021
-
2022
- SFSI("#sfsiBorderColorPicker").ColorPicker({
2023
- color:"#f80000",
2024
- onBeforeShow:function() {
2025
- s(this).ColorPickerSetColor(SFSI("#sfsi_popup_border_color").val());
2026
- },
2027
- onShow:function(s) {
2028
- return SFSI(s).fadeIn(500), !1;
2029
- },
2030
- onHide:function(s) {
2031
- return SFSI(s).fadeOut(500), !1;
2032
- },
2033
- onChange:function(s, i) {
2034
- SFSI("#sfsi_popup_border_color").val("#" + i), SFSI("#sfsiBorderColorPicker").css("background", "#" + i),
2035
- sfsi_make_popBox();
2036
- },
2037
- onClick:function(s, i) {
2038
- SFSI("#sfsi_popup_border_color").val("#" + i), SFSI("#sfsiBorderColorPicker").css("background", "#" + i),
2039
- sfsi_make_popBox();
2040
- }
2041
- }),*/
2042
  SFSI("#sfsi_save1").on("click", function() {
2043
  sfsi_update_step1() && sfsicollapse(this);
2044
  }),
@@ -2208,26 +2037,71 @@ SFSI(document).ready(function(s) {
2208
  var backgroundPos = jQuery(this).css('background-position').split(" ");
2209
  var xPos = backgroundPos[0],yPos = backgroundPos[1];
2210
 
2211
- if(s.attr('name')== "sfsi_custom_social_hide"){
2212
- var val = (yPos=="0px") ? "no":"yes";
2213
- SFSI('input[name="sfsi_custom_social_hide"]').val(val);
2214
- }
2215
 
2216
- if("sfsi_show_via_widget" == s.attr('name')
2217
- || "sfsi_show_via_shortcode" == s.attr('name')
2218
- || "sfsi_show_via_afterposts" == s.attr('name')
2219
- || "sfsi_custom_social_hide" == s.attr('name')
2220
- )
2221
- {
2222
- var val = (yPos=="0px") ? "no":"yes";
2223
- SFSI('input[name="'+s.attr('name')+'"]').val(val);
2224
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2225
 
2226
  });
2227
 
2228
  //*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post CLOSES -------------------------------------//
2229
 
2230
- /*SFSI(".radio").live("click", function() {*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2231
  SFSI(document).on("click", '.radio', function () {
2232
 
2233
  var s = SFSI(this).parent().find("input:radio:first");
@@ -2276,6 +2150,7 @@ SFSI(document).ready(function(s) {
2276
  "manual" == SFSI("input[name='sfsi_instagram_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_instagram_manualCounts']").slideDown(),
2277
  SFSI(".instagram_userLi").slideUp()) :(SFSI("input[name='sfsi_instagram_manualCounts']").slideUp(),
2278
  SFSI(".instagram_userLi").slideDown()));
 
2279
  }),
2280
 
2281
  sfsi_make_popBox(),
359
  var s = sfsi_validationStep3();
360
  if (!s) return global_error = 1, !1;
361
  beForeLoad();
362
+ var i = SFSI("input[name='sfsi_actvite_theme']:checked").val(), e = SFSI("input[name='sfsi_mouseOver']:checked").val(), t = SFSI("input[name='sfsi_shuffle_icons']:checked").val(), n = SFSI("input[name='sfsi_shuffle_Firstload']:checked").val(), o = SFSI("input[name='sfsi_same_icons_mouseOver_effect']:checked").val(), a = SFSI("input[name='sfsi_shuffle_interval']:checked").val(), r = SFSI("input[name='sfsi_shuffle_intervalTime']").val(), c = SFSI("input[name='sfsi_specialIcon_animation']:checked").val(), p = SFSI("input[name='sfsi_specialIcon_MouseOver']:checked").val(), _ = SFSI("input[name='sfsi_specialIcon_Firstload']:checked").val(), l = SFSI("#sfsi_specialIcon_Firstload_Icons option:selected").val(), S = SFSI("input[name='sfsi_specialIcon_interval']:checked").val(), u = SFSI("input[name='sfsi_specialIcon_intervalTime']").val(), f = SFSI("#sfsi_specialIcon_intervalIcons option:selected").val();
363
+
364
+ var mouseover_effect_type = 'same_icons';//SFSI("input[name='sfsi_mouseOver_effect_type']:checked").val();
365
+
366
+ d = {
367
  action:"updateSrcn3",
368
  sfsi_actvite_theme:i,
369
  sfsi_mouseOver:e,
370
  sfsi_shuffle_icons:t,
371
  sfsi_shuffle_Firstload:n,
372
  sfsi_mouseOver_effect:o,
373
+ sfsi_mouseover_effect_type:mouseover_effect_type,
374
  sfsi_shuffle_interval:a,
375
  sfsi_shuffle_intervalTime:r,
376
  sfsi_specialIcon_animation:c,
1692
 
1693
  /*SFSI(".radio").live("click", function() {*/
1694
  SFSI(document).on("click", '.radio', function () {
1695
+
1696
  var s = SFSI(this).parent().find("input:radio:first");
1697
+
1698
+ var inputName = s.attr("name");
1699
+ var inputChecked = s.attr("checked");
1700
+
1701
+ switch(inputName) {
1702
  case 'sfsi_form_adjustment':
1703
  if(s.val() == 'no')
1704
  s.parents(".row_tab").next(".row_tab").show("fast");
1721
  SFSI('input[name="sfsi_icons_suppress_errors"][value="yes"]').attr('checked','true');
1722
  else
1723
  SFSI('input[name="sfsi_icons_suppress_errors"][value="no"]').attr('checked','true');
1724
+ break;
1725
+
1726
  default:
1727
  }
1728
  });
1762
  hide: true,
1763
  palettes: true
1764
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1765
  //changes done {Monad}
1766
 
1767
  function i() {
1844
  hide: true,
1845
  palettes: true
1846
  }),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1847
  SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function() {
1848
  SFSI(this).attr("src", ajax_object.plugin_url + "images/visit_icons/linkedIn_hover.svg");
1849
  }),
1868
  SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function() {
1869
  SFSI(this).css("opacity", "1");
1870
  }),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1871
  SFSI("#sfsi_save1").on("click", function() {
1872
  sfsi_update_step1() && sfsicollapse(this);
1873
  }),
2037
  var backgroundPos = jQuery(this).css('background-position').split(" ");
2038
  var xPos = backgroundPos[0],yPos = backgroundPos[1];
2039
 
2040
+ var inputName = s.attr('name');
2041
+ var inputChecked = s.attr("checked");
 
 
2042
 
2043
+ switch(inputName){
2044
+
2045
+ case "sfsi_custom_social_hide":
2046
+
2047
+ var val = (yPos=="0px") ? "no":"yes";
2048
+ SFSI('input[name="sfsi_custom_social_hide"]').val(val);
2049
+
2050
+ break;
2051
+
2052
+ case "sfsi_show_via_widget": case "sfsi_show_via_widget":
2053
+ case "sfsi_show_via_afterposts": case "sfsi_custom_social_hide":
2054
+
2055
+ var val = (yPos=="0px") ? "no":"yes";
2056
+ SFSI('input[name="'+s.attr('name')+'"]').val(val);
2057
+
2058
+ break;
2059
+
2060
+ case 'sfsi_mouseOver':
2061
+
2062
+ var elem = SFSI('input[name="'+inputName+'"]');
2063
+
2064
+ var togglelem = SFSI('.mouse-over-effects');
2065
+
2066
+ if(inputChecked){
2067
+ togglelem.removeClass('hide').addClass('show');
2068
+ }
2069
+ else{
2070
+ togglelem.removeClass('show').addClass('hide');
2071
+ }
2072
+
2073
+ break;
2074
+ }
2075
 
2076
  });
2077
 
2078
  //*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post CLOSES -------------------------------------//
2079
 
2080
+ SFSI(document).on("click", '.radio', function () {
2081
+
2082
+ var s = SFSI(this).parent().find("input:radio:first");
2083
+
2084
+ switch(s.attr("name")){
2085
+
2086
+ case 'sfsi_mouseOver_effect_type':
2087
+
2088
+ var _val = s.val();
2089
+ var _name = s.attr("name");
2090
+
2091
+ if('same_icons' == _val){
2092
+ SFSI('.same_icons_effects').removeClass('hide').addClass('show');
2093
+ SFSI('.other_icons_effects_options').removeClass('show').addClass('hide');
2094
+ }
2095
+ else if('other_icons' == _val){
2096
+ SFSI('.same_icons_effects').removeClass('show').addClass('hide');
2097
+ SFSI('.other_icons_effects_options').removeClass('hide').addClass('show');
2098
+ }
2099
+
2100
+ break;
2101
+ }
2102
+
2103
+ });
2104
+
2105
  SFSI(document).on("click", '.radio', function () {
2106
 
2107
  var s = SFSI(this).parent().find("input:radio:first");
2150
  "manual" == SFSI("input[name='sfsi_instagram_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_instagram_manualCounts']").slideDown(),
2151
  SFSI(".instagram_userLi").slideUp()) :(SFSI("input[name='sfsi_instagram_manualCounts']").slideUp(),
2152
  SFSI(".instagram_userLi").slideDown()));
2153
+
2154
  }),
2155
 
2156
  sfsi_make_popBox(),
libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -175,6 +175,7 @@ function sfsi_options_updater3()
175
  $sfsi_actvite_theme = isset($_POST["sfsi_actvite_theme"]) ? $_POST["sfsi_actvite_theme"] : 'no';
176
  $sfsi_mouseOver = isset($_POST["sfsi_mouseOver"]) ? $_POST["sfsi_mouseOver"] : 'no';
177
  $sfsi_mouseOver_effect = isset($_POST["sfsi_mouseOver_effect"]) ? $_POST["sfsi_mouseOver_effect"] : 'fade_in';
 
178
  $sfsi_shuffle_icons = isset($_POST["sfsi_shuffle_icons"]) ? $_POST["sfsi_shuffle_icons"] : 'no';
179
  $sfsi_shuffle_Firstload = isset($_POST["sfsi_shuffle_Firstload"]) ? $_POST["sfsi_shuffle_Firstload"] : 'no';
180
  $sfsi_shuffle_interval = isset($_POST["sfsi_shuffle_interval"]) ? $_POST["sfsi_shuffle_interval"] : 'no';
@@ -193,6 +194,7 @@ function sfsi_options_updater3()
193
  /* animations options */
194
  'sfsi_mouseOver' => sanitize_text_field($sfsi_mouseOver),
195
  'sfsi_mouseOver_effect' => sanitize_text_field($sfsi_mouseOver_effect),
 
196
  'sfsi_shuffle_icons' => sanitize_text_field($sfsi_shuffle_icons),
197
  'sfsi_shuffle_Firstload' => sanitize_text_field($sfsi_shuffle_Firstload),
198
  'sfsi_shuffle_interval' => sanitize_text_field($sfsi_shuffle_interval),
@@ -937,6 +939,7 @@ function sfsi_returningElement($element) {return $element[0];}
937
  add_action('wp_ajax_bannerOption','sfsi_bannerOption');
938
 
939
  function sfsi_bannerOption(){
 
940
  error_reporting(0);
941
 
942
  if(get_option("show_new_notification") == "yes"){
@@ -980,31 +983,31 @@ function sfsi_bannerOption(){
980
  }
981
 
982
 
983
- if(!$matchFound){
984
 
985
- echo '<div class="sfsi_new_notification_cat">
986
- <div class="sfsi_new_notification_header_cat">
987
- <h1>New feature: Tailored icons</h1>
988
- <h3>The <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
989
- <div class="sfsi_new_notification_cross_cat">X</div>
990
- </div>
991
 
992
- <div class="sfsi_new_notification_body_link_cat">
993
- <a class ="tailored_icons_img" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">
994
- <div class="sfsi_new_notification_body_cat">
995
- <div class="sfsi_new_notification_image_cat">
996
- <img src="'.SFSI_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
997
- </div>
998
- </div>
999
- </a>
1000
- <div class="bottom_text">
1001
- <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" >
1002
- See more-themed-icons >
1003
- </a>
1004
- </div>
1005
- </div>
1006
- </div>';
1007
- }
1008
 
1009
  echo '<script type="text/javascript">
1010
  jQuery("body").on("click", ".sfsi_new_notification_cross", function(){
175
  $sfsi_actvite_theme = isset($_POST["sfsi_actvite_theme"]) ? $_POST["sfsi_actvite_theme"] : 'no';
176
  $sfsi_mouseOver = isset($_POST["sfsi_mouseOver"]) ? $_POST["sfsi_mouseOver"] : 'no';
177
  $sfsi_mouseOver_effect = isset($_POST["sfsi_mouseOver_effect"]) ? $_POST["sfsi_mouseOver_effect"] : 'fade_in';
178
+ $sfsi_mouseover_effect_type = isset($_POST["sfsi_mouseover_effect_type"]) ? $_POST["sfsi_mouseover_effect_type"] : 'same_icons';
179
  $sfsi_shuffle_icons = isset($_POST["sfsi_shuffle_icons"]) ? $_POST["sfsi_shuffle_icons"] : 'no';
180
  $sfsi_shuffle_Firstload = isset($_POST["sfsi_shuffle_Firstload"]) ? $_POST["sfsi_shuffle_Firstload"] : 'no';
181
  $sfsi_shuffle_interval = isset($_POST["sfsi_shuffle_interval"]) ? $_POST["sfsi_shuffle_interval"] : 'no';
194
  /* animations options */
195
  'sfsi_mouseOver' => sanitize_text_field($sfsi_mouseOver),
196
  'sfsi_mouseOver_effect' => sanitize_text_field($sfsi_mouseOver_effect),
197
+ 'sfsi_mouseover_effect_type' => sanitize_text_field($sfsi_mouseover_effect_type),
198
  'sfsi_shuffle_icons' => sanitize_text_field($sfsi_shuffle_icons),
199
  'sfsi_shuffle_Firstload' => sanitize_text_field($sfsi_shuffle_Firstload),
200
  'sfsi_shuffle_interval' => sanitize_text_field($sfsi_shuffle_interval),
939
  add_action('wp_ajax_bannerOption','sfsi_bannerOption');
940
 
941
  function sfsi_bannerOption(){
942
+
943
  error_reporting(0);
944
 
945
  if(get_option("show_new_notification") == "yes"){
983
  }
984
 
985
 
986
+ // if(!$matchFound){
987
 
988
+ // echo '<div class="sfsi_new_notification_cat">
989
+ // <div class="sfsi_new_notification_header_cat">
990
+ // <h1>New feature: Tailored icons</h1>
991
+ // <h3>The <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
992
+ // <div class="sfsi_new_notification_cross_cat">X</div>
993
+ // </div>
994
 
995
+ // <div class="sfsi_new_notification_body_link_cat">
996
+ // <a class ="tailored_icons_img" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">
997
+ // <div class="sfsi_new_notification_body_cat">
998
+ // <div class="sfsi_new_notification_image_cat">
999
+ // <img src="'.SFSI_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
1000
+ // </div>
1001
+ // </div>
1002
+ // </a>
1003
+ // <div class="bottom_text">
1004
+ // <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" >
1005
+ // See more-themed-icons >
1006
+ // </a>
1007
+ // </div>
1008
+ // </div>
1009
+ // </div>';
1010
+ // }
1011
 
1012
  echo '<script type="text/javascript">
1013
  jQuery("body").on("click", ".sfsi_new_notification_cross", function(){
libs/controllers/sfsi_class_theme_check.php CHANGED
@@ -41,20 +41,24 @@ class sfsi_ThemeCheck
41
 
42
  for($i=0;$i<count($finalArr);$i++) {
43
 
44
- if(is_array($finalArr[$i])){
45
 
46
- $arrVal = $finalArr[$i];
 
 
47
 
48
- $themeArr = array();
49
- $themeArr['themeName'] = preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[0]));
50
- $themeArr['noBrainerKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[1])));
51
- $themeArr['separateKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[2])));
52
- $themeArr['negativeKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[3])));
53
- $themeArr['headline'] = (isset($arrVal[4]) && strlen(trim($arrVal[4]))==0)? "You like ".trim($arrVal[0])." ?" : trim($arrVal[4]);
54
- $themeArr['themeLink'] = trim($arrVal[5]);
55
- $themeArr['bottomtext'] = (isset($arrVal[6]) && strlen(trim($arrVal[6]))==0)? "See all ".strtolower(trim($arrVal[0]))."-themed-icons": trim($arrVal[6]);
56
 
57
- array_push($themeDataArr, (object)$themeArr);
 
 
 
 
 
 
 
 
 
58
  }
59
  }
60
  }
41
 
42
  for($i=0;$i<count($finalArr);$i++) {
43
 
44
+ if( is_array($finalArr[$i])
45
 
46
+ // Theme name should be non-empty
47
+ && isset($finalArr[$i][0]) && !empty($finalArr[$i][0])
48
+ ){
49
 
50
+ $arrVal = $finalArr[$i];
 
 
 
 
 
 
 
51
 
52
+ $themeArr = array();
53
+ $themeArr['themeName'] = preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[0]));
54
+ $themeArr['noBrainerKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[1])));
55
+ $themeArr['separateKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[2])));
56
+ $themeArr['negativeKeywords'] = $this->sfsi_plus_string_to_arr(preg_replace('/^[,\s]+|[\s,]+$/', '', trim($arrVal[3])));
57
+ $themeArr['headline'] = (isset($arrVal[4]) && strlen(trim($arrVal[4]))==0)? "You like ".trim($arrVal[0])." ?" : trim($arrVal[4]);
58
+ $themeArr['themeLink'] = trim($arrVal[5]);
59
+ $themeArr['bottomtext'] = (isset($arrVal[6]) && strlen(trim($arrVal[6]))==0)? "See all ".strtolower(trim($arrVal[0]))."-themed-icons": trim($arrVal[6]);
60
+
61
+ array_push($themeDataArr, (object)$themeArr);
62
  }
63
  }
64
  }
libs/sfsi_install_uninstall.php CHANGED
@@ -12,7 +12,7 @@ function sfsi_update_plugin()
12
  }
13
 
14
  //Install version
15
- update_option("sfsi_pluginVersion", "2.08");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
@@ -82,6 +82,19 @@ function sfsi_update_plugin()
82
  }
83
  }
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  $option2 = unserialize(get_option('sfsi_section2_options',false));
86
 
87
  if(isset($option2) && !empty($option2))
@@ -388,13 +401,18 @@ function sfsi_activate_plugin()
388
  if(!isset($option3) || empty($option3)){
389
 
390
  /* Design and animation option */
391
- $options3=array('sfsi_mouseOver'=>'no',
392
- 'sfsi_mouseOver_effect'=>'fade_in',
393
- 'sfsi_shuffle_icons'=>'no',
394
- 'sfsi_shuffle_Firstload'=>'no',
395
- 'sfsi_shuffle_interval'=>'no',
396
- 'sfsi_shuffle_intervalTime'=>'',
397
- 'sfsi_actvite_theme'=>'default' );
 
 
 
 
 
398
  add_option('sfsi_section3_options', serialize($options3));
399
  }
400
 
12
  }
13
 
14
  //Install version
15
+ update_option("sfsi_pluginVersion", "2.09");
16
 
17
  if(!get_option('sfsi_serverphpVersionnotification'))
18
  {
82
  }
83
  }
84
 
85
+ $option3 = unserialize(get_option('sfsi_section3_options',false));
86
+
87
+ if(isset($option3) && !empty($option3))
88
+ {
89
+ if(!isset($option3['sfsi_mouseOver_effect_type'])){
90
+ $option3['sfsi_mouseOver_effect_type'] = 'same_icons';
91
+ }
92
+
93
+ if(!isset($option3['mouseover_other_icons_transition_effect'])){
94
+ $option3['mouseover_other_icons_transition_effect'] = 'flip';
95
+ }
96
+ }
97
+
98
  $option2 = unserialize(get_option('sfsi_section2_options',false));
99
 
100
  if(isset($option2) && !empty($option2))
401
  if(!isset($option3) || empty($option3)){
402
 
403
  /* Design and animation option */
404
+ $options3 = array(
405
+
406
+ 'sfsi_mouseOver' =>'no',
407
+ 'sfsi_mouseOver_effect' =>'fade_in',
408
+ 'sfsi_mouseOver_effect_type' => 'same_icons',
409
+ 'mouseover_other_icons_transition_effect' => 'flip',
410
+ 'sfsi_shuffle_icons' =>'no',
411
+ 'sfsi_shuffle_Firstload' =>'no',
412
+ 'sfsi_shuffle_interval' =>'no',
413
+ 'sfsi_shuffle_intervalTime' =>'',
414
+ 'sfsi_actvite_theme' =>'default'
415
+ );
416
  add_option('sfsi_section3_options', serialize($options3));
417
  }
418
 
libs/sfsi_widget.php CHANGED
@@ -87,7 +87,7 @@ class Sfsi_Widget extends WP_Widget
87
  }
88
  ?>
89
  <p>
90
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title:', 'Subscription and Social Icons'); ?></label>
91
  <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
92
  <input type="hidden" value="<?php echo $instance['showf'] ?>" id="<?php echo $this->get_field_id( 'showf' ); ?>" name="<?php echo $this->get_field_name( 'showf' ); ?>" />
93
  </p>
87
  }
88
  ?>
89
  <p>
90
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>">Title</label>
91
  <input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" style="width:100%;" />
92
  <input type="hidden" value="<?php echo $instance['showf'] ?>" id="<?php echo $this->get_field_id( 'showf' ); ?>" name="<?php echo $this->get_field_name( 'showf' ); ?>" />
93
  </p>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: socialdude
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.0
5
- Tested up to: 4.9.8
6
- Stable tag: 2.0.8
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -275,6 +275,11 @@ You cannot use the same plugin twice, however you can install both the USM as we
275
 
276
  == Changelog ==
277
 
 
 
 
 
 
278
  = 2.0.8 =
279
  * Solved: Notification bar cannot be seen anymore
280
  * Solved: cleared the float elements after notice.
@@ -727,5 +732,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
727
 
728
  == Upgrade Notice ==
729
 
730
- = 2.0.8 =
731
  Please upgrade
2
  Contributors: socialdude
3
  Tags: social media, share, buttons, social widget, icons, share icons, share buttons, sharing icons, sharing buttons, social share, sharing, social sharing
4
  Requires at least: 3.0
5
+ Tested up to: 5.0
6
+ Stable tag: 2.0.9
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
275
 
276
  == Changelog ==
277
 
278
+ = 2.0.9 =
279
+ * Banner for animation section in Question 4 added
280
+ * Different icon for mouseover section pointing to premium in Question 4 added
281
+ * Removed theme icon banner if no match
282
+
283
  = 2.0.8 =
284
  * Solved: Notification bar cannot be seen anymore
285
  * Solved: cleared the float elements after notice.
732
 
733
  == Upgrade Notice ==
734
 
735
+ = 2.0.9 =
736
  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: 2.0.8
9
  License: GPLv2 or later
10
  */
11
 
@@ -20,6 +20,11 @@ define('SFSI_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
20
  define('SFSI_SUPPORT_FORM','https://goo.gl/wgrtUV');
21
  define('SFSI_DOMAIN','ultimate-social-media-icons');
22
 
 
 
 
 
 
23
  function sfsi_get_current_page_url()
24
  {
25
  global $post, $wp;
@@ -38,15 +43,18 @@ function sfsi_get_current_page_url()
38
  }
39
 
40
  /* load all files */
 
 
 
41
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
42
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
43
- include(SFSI_DOCROOT.'/libs/sfsi_install_uninstall.php');
44
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_buttons_controller.php');
45
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_iconsUpload_contoller.php');
46
- include(SFSI_DOCROOT.'/libs/sfsi_Init_JqueryCss.php');
47
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_floater_icons.php');
48
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_frontpopUp.php');
49
  include(SFSI_DOCROOT.'/libs/controllers/sfsiocns_OnPosts.php');
 
 
50
  include(SFSI_DOCROOT.'/libs/sfsi_widget.php');
51
  include(SFSI_DOCROOT.'/libs/sfsi_subscribe_widget.php');
52
  include(SFSI_DOCROOT.'/libs/sfsi_custom_social_sharing_data.php');
@@ -57,7 +65,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
57
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
58
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
59
 
60
- if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.08)
61
  {
62
  add_action("init", "sfsi_update_plugin");
63
  }
@@ -948,20 +956,22 @@ function sfsi_getdomain($url)
948
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), "sfsi_actionLinks", -10 );
949
  function sfsi_actionLinks($links)
950
  {
951
- $links[] = '<a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" id="sfsi_deactivateButton" style="color:#FF0000;"><b>Need help?</b></a>';
952
- $links[] = '<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" id="sfsi_deactivateButton" style="color:#38B54A;"><b>Check out pro version</b></a>';
 
953
 
954
- if(isset($links["edit"]) && !empty($links["edit"])){
955
  $links[] = @$links["edit"];
956
- }
 
 
 
957
 
958
- $slug = plugin_basename(dirname(__FILE__));
959
- $links[$slug] = @$links["deactivate"].'<i class="sfsi-deactivate-slug"></i>';
960
 
961
- $links[] = '<a href="'.admin_url("/admin.php?page=sfsi-options").'">Settings</a>';
962
 
963
- unset($links["deactivate"]);
964
- unset($links['edit']);
965
  return $links;
966
  }
967
 
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: 2.0.9
9
  License: GPLv2 or later
10
  */
11
 
20
  define('SFSI_SUPPORT_FORM','https://goo.gl/wgrtUV');
21
  define('SFSI_DOMAIN','ultimate-social-media-icons');
22
 
23
+ $wp_upload_dir = wp_upload_dir();
24
+ define('SFSI_UPLOAD_DIR_BASEURL', trailingslashit($wp_upload_dir['baseurl']));
25
+
26
+ define('SFSI_ALLICONS',serialize(array("rss","email","facebook","twitter","google","share","youtube","pinterest","instagram")));
27
+
28
  function sfsi_get_current_page_url()
29
  {
30
  global $post, $wp;
43
  }
44
 
45
  /* load all files */
46
+ include(SFSI_DOCROOT.'/libs/sfsi_install_uninstall.php');
47
+
48
+ include(SFSI_DOCROOT.'/helpers/common_helper.php');
49
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
50
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
 
51
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_buttons_controller.php');
52
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_iconsUpload_contoller.php');
 
53
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_floater_icons.php');
54
  include(SFSI_DOCROOT.'/libs/controllers/sfsi_frontpopUp.php');
55
  include(SFSI_DOCROOT.'/libs/controllers/sfsiocns_OnPosts.php');
56
+
57
+ include(SFSI_DOCROOT.'/libs/sfsi_Init_JqueryCss.php');
58
  include(SFSI_DOCROOT.'/libs/sfsi_widget.php');
59
  include(SFSI_DOCROOT.'/libs/sfsi_subscribe_widget.php');
60
  include(SFSI_DOCROOT.'/libs/sfsi_custom_social_sharing_data.php');
65
  register_deactivation_hook(__FILE__, 'sfsi_deactivate_plugin');
66
  register_uninstall_hook(__FILE__, 'sfsi_Unistall_plugin');
67
 
68
+ if(!get_option('sfsi_pluginVersion') || get_option('sfsi_pluginVersion') < 2.09)
69
  {
70
  add_action("init", "sfsi_update_plugin");
71
  }
956
  add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), "sfsi_actionLinks", -10 );
957
  function sfsi_actionLinks($links)
958
  {
959
+ unset($links['edit']);
960
+ $links['a'] = '<a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" id="sfsi_deactivateButton" style="color:#FF0000;"><b>Need help?</b></a>';
961
+ //$links[] = '<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" id="sfsi_deactivateButton" style="color:#38B54A;"><b>Check out pro version</b></a>';
962
 
963
+ /*if(isset($links["edit"]) && !empty($links["edit"])){
964
  $links[] = @$links["edit"];
965
+ }*/
966
+
967
+ //$slug = plugin_basename(dirname(__FILE__));
968
+ //$links[$slug] = @$links["deactivate"].'<i class="sfsi-deactivate-slug"></i>';
969
 
970
+ $links['e'] = '<a href="'.admin_url("/admin.php?page=sfsi-options").'">Settings</a>';
 
971
 
972
+ ksort($links);
973
 
974
+ //unset($links["deactivate"]);
 
975
  return $links;
976
  }
977
 
views/deactivation/sfsi_deactivation_popup.php CHANGED
@@ -8,7 +8,7 @@
8
  <div class="sfsi-deactivation-popup-content">
9
 
10
  <div class="sfsi-popup-header sfsi-top-header">
11
- <h2><?php _e('Oh! You don\'t like our plugin?',SFSI_DOMAIN); ?></h2>
12
  <div class="sfsi-sad-image">
13
  <img src="<?php echo SFSI_PLUGURL; ?>images/sad_image.png">
14
  </div>
@@ -16,19 +16,19 @@
16
 
17
  <div class="sfsi-popup-content">
18
  <div class="sfsi-text">
19
- <p class="sfsi-please"><?php _e('PLEASE',SFSI_DOMAIN); ?></p>
20
- <p class="sfsi-please-other-text"><?php _e('let us know in the Support Forum what was the issue, <br>so that we can fix it. We‘ll respond quickly!',SFSI_DOMAIN); ?></p>
21
  </div>
22
  <div class="sfsi-go-to-support">
23
- <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum"><?php _e('Go to Support Forum>',SFSI_DOMAIN); ?></a>
24
  </div>
25
  <div class="sfsi-info-text">
26
- <p><?php _e('If you\'re not a Wordpress user yet, please sign up – it\'s quick! Once logged in you‘ll see a section at the bottom where you can ask your question.',SFSI_DOMAIN); ?> </p>
27
  </div>
28
  </div>
29
  <div class="sfsi-popup-footer">
30
  <div class="sfsi-deactivation-reason-link">
31
- <a href="javascript:void(0)"><?php _e('No, don\'t worry, there was a different reason, I want to de-activate it',SFSI_DOMAIN); ?></a>
32
  </div>
33
  </div>
34
 
8
  <div class="sfsi-deactivation-popup-content">
9
 
10
  <div class="sfsi-popup-header sfsi-top-header">
11
+ <h2>Oh! You don\'t like our plugin?</h2>
12
  <div class="sfsi-sad-image">
13
  <img src="<?php echo SFSI_PLUGURL; ?>images/sad_image.png">
14
  </div>
16
 
17
  <div class="sfsi-popup-content">
18
  <div class="sfsi-text">
19
+ <p class="sfsi-please">PLEASE</p>
20
+ <p class="sfsi-please-other-text">let us know in the Support Forum what was the issue, <br>so that we can fix it. We‘ll respond quickly!</p>
21
  </div>
22
  <div class="sfsi-go-to-support">
23
+ <a target="_blank" href="<?php echo SFSI_SUPPORT_FORM; ?>" class="go-to-support-forum">Go to Support Forum></a>
24
  </div>
25
  <div class="sfsi-info-text">
26
+ <p>If you're not a Wordpress user yet, please sign up – it's quick! Once logged in you‘ll see a section at the bottom where you can ask your question.</p>
27
  </div>
28
  </div>
29
  <div class="sfsi-popup-footer">
30
  <div class="sfsi-deactivation-reason-link">
31
+ <a href="javascript:void(0)">No, don't worry, there was a different reason, I want to de-activate it</a>
32
  </div>
33
  </div>
34
 
views/sfsi_option_view3.php CHANGED
@@ -1,6 +1,7 @@
1
  <?php
2
  /* unserialize all saved option for second section options */
3
  $option3 = unserialize(get_option('sfsi_section3_options',false));
 
4
 
5
  /*
6
  * Sanitize, escape and validate values
@@ -13,6 +14,9 @@ $option3['sfsi_shuffle_Firstload'] = (isset($option3['sfsi_shuffle_Firstload']
13
  $option3['sfsi_shuffle_interval'] = (isset($option3['sfsi_shuffle_interval'])) ? sanitize_text_field($option3['sfsi_shuffle_interval']) : '';
14
  $option3['sfsi_shuffle_intervalTime'] = (isset($option3['sfsi_shuffle_intervalTime'])) ? intval($option3['sfsi_shuffle_intervalTime']) : '';
15
 
 
 
 
16
  ?>
17
 
18
  <!-- Section 3 "What design & animation do you want to give your icons?" main div Start -->
@@ -127,17 +131,6 @@ $option3['sfsi_shuffle_intervalTime'] = (isset($option3['sfsi_shuffle_intervalT
127
  {
128
  echo '<span class="row_17_5 twitter_section" style="background-position:-235px 0;"></span>';
129
  }
130
-
131
- // if(get_option("share_skin"))
132
- // {
133
- // $icon = get_option("share_skin");
134
- // echo '<span class="row_17_6 share_section sfsi-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
135
- // }
136
- // else
137
- // {
138
- // echo '<span class="row_17_6 share_section" style="background-position:-293px 0;"></span>';
139
- // }
140
-
141
  if(get_option("youtube_skin"))
142
  {
143
  $icon = get_option("youtube_skin");
@@ -180,101 +173,13 @@ $option3['sfsi_shuffle_intervalTime'] = (isset($option3['sfsi_shuffle_intervalT
180
  ?>
181
  </div>
182
  </li>
 
183
  <li>
184
- <div class="sf_si_our_prmium_plugin-add">
185
- <div class="sf_si_prmium_head"><h2>New: <span>In our Premium Plugin we added:</span></h2></div>
186
- <div class="sf_si_default_design">
187
- <ul>
188
- <li>
189
- <h4>A) More default design styles</h4>
190
- </li>
191
- <li>
192
- <div class="sfsi_row_table">
193
- <div class="sfsi_first_icon_field sfsi_cool_font_weight">
194
- <h2>Cool style</h2>
195
- </div>
196
- <div class="sfsi_second_icon_img">
197
- <img src="<?php echo SFSI_PLUGURL; ?>images/sfsi_cool_icon_spread.png" />
198
- </div>
199
- </div>
200
- </li>
201
- <li>
202
- <div class="sfsi_row_table">
203
- <div class="sfsi_first_icon_field sfsi_cool_font_weight">
204
- <h2>Waxed Wood</h2>
205
- </div>
206
- <div class="sfsi_second_icon_img">
207
- <img src="<?php echo SFSI_PLUGURL; ?>images/sfsi_vaxwoodi_icon_spread.png" />
208
- </div>
209
- </div>
210
- </li>
211
- <li>
212
- <div class="sfsi_row_table">
213
- <div class="sfsi_first_icon_field sfsi_cool_font_weight">
214
- <h2>Black Grunge</h2>
215
- </div>
216
- <div class="sfsi_second_icon_img">
217
- <img src="<?php echo SFSI_PLUGURL; ?>images/sfsi_black_icon_spread.png" />
218
- </div>
219
- </div>
220
- </li>
221
- <li>
222
- <div class="sfsi_row_table">
223
- <div class="sfsi_first_icon_more">
224
- <h2>(and many more)</h2>
225
- </div>
226
- </div>
227
- </li>
228
- <li>
229
- <h4 class="sfsi_second_themedTitle">B) Themed styles<span> (to match the content of your site)</span></h4>
230
- </li>
231
- <li>
232
- <div class="sfsi_row_table">
233
- <div class="sfsi_first_icon_field">
234
- <h2>Lovehearts</h2>
235
- <p>(e.g. for girly sites or just sites with a heart)</p>
236
- </div>
237
- <div class="sfsi_second_icon_img">
238
- <img src="<?php echo SFSI_PLUGURL; ?>images/sfsi_loveheart_icon_spread.png" />
239
- </div>
240
- </div>
241
- </li>
242
- <li>
243
- <div class="sfsi_row_table">
244
- <div class="sfsi_first_icon_field">
245
- <h2>Computers</h2>
246
- <p>(e.g. for IT/tech sites)</p>
247
- </div>
248
- <div class="sfsi_second_icon_img">
249
- <img src="<?php echo SFSI_PLUGURL; ?>images/sfsi_computer_icon_spread.png" />
250
- </div>
251
- </div>
252
- </li>
253
- <li>
254
- <div class="sfsi_row_table">
255
- <div class="sfsi_first_icon_field">
256
- <h2>Dogs</h2>
257
- <p>(e.g. for dog/pet sites)</p>
258
- </div>
259
- <div class="sfsi_second_icon_img">
260
- <img src="<?php echo SFSI_PLUGURL; ?>images/sfsi_dogi_icon_spread.png" />
261
- </div>
262
- </div>
263
- </li>
264
- <li>
265
- <div class="sfsi_row_table">
266
- <div class="sfsi_first_icon_more">
267
- <h2>(and many more)</h2>
268
- </div>
269
- </div>
270
- </li>
271
- </ul>
272
- </div>
273
- <div class="sf_si_all_features_premium">
274
- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_icons_designs&utm_medium=banner" target="_blank">See all features Premium Plugin</a>
275
- </div>
276
- </div>
277
  </li>
 
278
  <li>
279
  <p style="font-weight: bold; margin: 12px 0 0;">
280
  Need icons for another theme? Let us know in the
@@ -287,38 +192,8 @@ $option3['sfsi_shuffle_intervalTime'] = (isset($option3['sfsi_shuffle_intervalT
287
  </ul>
288
  <!--icon themes section start -->
289
 
290
- <!--icon Animation section start -->
291
- <div class="sub_row stand sec_new" style="margin-left: 0px;">
292
- <h3>Animate them</h3>
293
- <p class="radio_section tab_3_option">
294
- <input name="sfsi_mouseOver" <?php echo ( $option3['sfsi_mouseOver']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
295
- <label>Mouse-Over effects</label>
296
-
297
- <div class="drop_lsts">
298
- <select name="sfsi_mouseOver_effect" id="sfsi_mouseOver_effect" class="styled">
299
- <option value="fade_in" <?php echo ( $option3['sfsi_mouseOver_effect']=='fade_in') ? 'selected="true"' :'' ;?>>Fade In</option>
300
- <option value="scale" <?php echo ( $option3['sfsi_mouseOver_effect']=='scale') ? 'selected="true"' : '' ;?>>Scale</option>
301
- <option value="combo" <?php echo ( $option3['sfsi_mouseOver_effect']=='combo') ? 'selected="true"' : '' ;?>>Combo</option>
302
- </select>
303
- </div>
304
- </p>
305
- <div class="Shuffle_auto"><p class="radio_section tab_3_option">
306
- <input name="sfsi_shuffle_icons" <?php echo ( $option3['sfsi_shuffle_icons']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
307
- <label>Shuffle them automatically</label>
308
- <div class="sub_sub_box shuffle_sub" >
309
- <p class="radio_section tab_3_option">
310
- <input name="sfsi_shuffle_Firstload" <?php echo ( $option3['sfsi_shuffle_Firstload']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
311
- <label>When site is first loaded</label>
312
- </p>
313
- <p class="radio_section tab_3_option">
314
- <input name="sfsi_shuffle_interval" <?php echo ( $option3['sfsi_shuffle_interval']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
315
- <label>Every</label>
316
- <input class="smal_inpt" type="text" name="sfsi_shuffle_intervalTime" value="<?php echo ( $option3['sfsi_shuffle_intervalTime']!='') ? $option3['sfsi_shuffle_intervalTime'] : '' ;?>"><label>seconds</label>
317
- </p>
318
- </div>
319
- </div>
320
- </div>
321
- <!--END icon Animation section start -->
322
  </div>
323
 
324
  <?php sfsi_ask_for_help(3); ?>
1
  <?php
2
  /* unserialize all saved option for second section options */
3
  $option3 = unserialize(get_option('sfsi_section3_options',false));
4
+ $option1 = unserialize(get_option('sfsi_section1_options',false));
5
 
6
  /*
7
  * Sanitize, escape and validate values
14
  $option3['sfsi_shuffle_interval'] = (isset($option3['sfsi_shuffle_interval'])) ? sanitize_text_field($option3['sfsi_shuffle_interval']) : '';
15
  $option3['sfsi_shuffle_intervalTime'] = (isset($option3['sfsi_shuffle_intervalTime'])) ? intval($option3['sfsi_shuffle_intervalTime']) : '';
16
 
17
+ $option3['sfsi_mouseOver_effect_type'] = (isset($option3['sfsi_mouseOver_effect_type'])) ? sanitize_text_field($option3['sfsi_mouseOver_effect_type']) : 'same_icons';
18
+
19
+ $mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icons_transition_effect'])) ? sanitize_text_field($option3['mouseover_other_icons_transition_effect']) : 'flip';
20
  ?>
21
 
22
  <!-- Section 3 "What design & animation do you want to give your icons?" main div Start -->
131
  {
132
  echo '<span class="row_17_5 twitter_section" style="background-position:-235px 0;"></span>';
133
  }
 
 
 
 
 
 
 
 
 
 
 
134
  if(get_option("youtube_skin"))
135
  {
136
  $icon = get_option("youtube_skin");
173
  ?>
174
  </div>
175
  </li>
176
+
177
  <li>
178
+
179
+ <?php include_once(SFSI_DOCROOT.'/views/subviews/que4/banner.php'); ?>
180
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  </li>
182
+
183
  <li>
184
  <p style="font-weight: bold; margin: 12px 0 0;">
185
  Need icons for another theme? Let us know in the
192
  </ul>
193
  <!--icon themes section start -->
194
 
195
+ <?php include_once(SFSI_DOCROOT.'/views/subviews/que4/animatethem.php'); ?>
196
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  </div>
198
 
199
  <?php sfsi_ask_for_help(3); ?>
views/sfsi_options_view.php CHANGED
@@ -85,7 +85,7 @@
85
 
86
  <p>Simple answer the questions below (at least the first 3) by clicking on them - that's it! </p>
87
 
88
- <p>If you want more features like <a target="_blank" href="https://www.ultimatelysocial.com/all-platforms/">more platform icons</a>, <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/">themed icons</a>, more design options, better sharing features, mobile optimization, faster loading, full support and <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/">much more</a>, then please check out our <a target="_blank" href="https://www.ultimatelysocial.com/checkout?edd_action=add_to_cart&download_id=150&edd_options[price_id]=2">Premium Plugin</a>. Pricing is really fair (24.98 USD).</p>
89
 
90
 
91
  <p>For questions and suggestions please raise a ticket in the <a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0">Support Forum.</a></p>
85
 
86
  <p>Simple answer the questions below (at least the first 3) by clicking on them - that's it! </p>
87
 
88
+ <p>If you want more features like <a target="_blank" href="https://www.ultimatelysocial.com/all-platforms/">more platform icons</a>, <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/">themed icons</a>, <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/">animated icons</a>, more design options, better sharing features, mobile optimization, faster loading, full support and <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/">much more</a>, then please check out our <a target="_blank" href="https://www.ultimatelysocial.com/checkout?edd_action=add_to_cart&download_id=150&edd_options[price_id]=2">Premium Plugin</a>. Pricing is really fair (24.98 USD).</p>
89
 
90
 
91
  <p>For questions and suggestions please raise a ticket in the <a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0">Support Forum.</a></p>
views/subviews/que4/animatethem.php ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--icon Animation section start -->
2
+ <div class="sub_row stand sec_new" style="margin-left: 0px;">
3
+
4
+ <h3>Animate them</h3>
5
+
6
+ <div id="animationSection" class="radio_section tab_3_option">
7
+
8
+ <input name="sfsi_mouseOver" <?php echo ( $option3['sfsi_mouseOver']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
9
+ <label>
10
+ Mouse-Over effects
11
+ </label>
12
+
13
+ <div class="col-md-12 rowmarginleft45 mouse-over-effects <?php echo ( $option3['sfsi_mouseOver']=='yes') ? 'show' : 'hide' ;?>">
14
+
15
+ <div class="row">
16
+
17
+ <input value="same_icons" name="sfsi_mouseOver_effect_type" <?php echo ( $option3['sfsi_mouseOver_effect_type']=='same_icons') ? 'checked=checked' : '' ;?> type="radio" class="styled"/>
18
+
19
+ <label>Same-icon effects</label>
20
+
21
+ </div><!-- row closes -->
22
+
23
+ <div class="row rowpadding10 same_icons_effects <?php echo ( $option3['sfsi_mouseOver_effect_type']=='same_icons') ? 'show' : 'hide' ;?>">
24
+
25
+ <div class="effectContainer bottommargin30">
26
+
27
+ <div class="effectName">
28
+
29
+ <input class="styled" type="radio" name="sfsi_same_icons_mouseOver_effect" value="fade_in" <?php echo ( $option3['sfsi_mouseOver_effect']=='fade_in') ? 'checked="true"' : '' ;?>>
30
+
31
+ <label>
32
+ <span>Fade In</span>
33
+ <span>(Icons turn from shadow to full color)</span>
34
+ </label>
35
+
36
+ </div>
37
+
38
+ <div class="effectName">
39
+
40
+ <input class="styled" type="radio" name="sfsi_same_icons_mouseOver_effect" value="scale" <?php echo ( $option3['sfsi_mouseOver_effect']=='scale') ? 'checked="true"' : '' ;?>>
41
+
42
+ <label>
43
+ <span> Scale</span>
44
+ <span>(Icons become bigger)</span>
45
+ </label>
46
+
47
+ </div>
48
+
49
+ </div>
50
+
51
+ <div class="effectContainer">
52
+
53
+ <div class="effectName">
54
+
55
+ <input class="styled" type="radio" name="sfsi_same_icons_mouseOver_effect" value="combo" <?php echo ( $option3['sfsi_mouseOver_effect']=='combo') ? 'checked="true"' : '' ;?>>
56
+
57
+ <label>
58
+ <span>Combo</span>
59
+ <span>(Both fade in and scale effects)</span>
60
+ </label>
61
+
62
+ </div>
63
+
64
+ <div disabled class="effectName inactiveSection">
65
+
66
+ <input class="styled" type="radio" name="sfsi_same_icons_mouseOver_effect" value="fade_out" <?php echo ( $option3['sfsi_mouseOver_effect']=='fade_out') ? 'checked="true"' : '' ;?>>
67
+
68
+ <label>
69
+ <span>Fade Out</span>
70
+ <span>(Icons turn from full color to shadow)</span>
71
+ </label>
72
+
73
+ </div>
74
+
75
+ </div>
76
+
77
+ <div class="row rowmarginleft45 mouseover-premium-notice">
78
+ <label>Greyed-out options are available in the</label>
79
+ <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=same_icon_effects&utm_medium=link">Premium Plugin</a>
80
+ </div>
81
+
82
+ </div><!-- row closes -->
83
+
84
+ <div class="row zerobottompadding other_icons_effects">
85
+
86
+ <input value="other_icons" name="sfsi_mouseOver_effect_type" <?php echo ( $option3['sfsi_mouseOver_effect_type']=='other_icons') ? 'checked=checked' : '' ;?> type="radio" class="styled"/>
87
+
88
+ <label>Show other icons on mouse-over (Only applied for Desktop Icons)</label>
89
+
90
+ </div><!-- row closes -->
91
+
92
+ <div class="row rowpadding10 rowmarginleft35 other_icons_effects_options <?php echo ( $option3['sfsi_mouseOver_effect_type']=='other_icons') ? 'show' : 'hide' ;?>">
93
+
94
+ <div disabled class="col-md-12 inactiveSection other_icons_effects_options_container">
95
+
96
+ <?php
97
+
98
+ $arrDefaultIcons = unserialize(SFSI_ALLICONS);
99
+
100
+ $arrActiveStdDesktopIcons = sfsi_get_displayed_std_desktop_icons($option1);
101
+
102
+ $arrActiveCustomDesktopicons = sfsi_get_displayed_custom_desktop_icons($option1);
103
+
104
+ foreach ($arrDefaultIcons as $key => $iconName):
105
+
106
+ sfsi_icon_generate_other_icon_effect_admin_html($iconName,$arrActiveStdDesktopIcons);
107
+ endforeach;
108
+
109
+
110
+ if(isset($arrActiveCustomDesktopicons) && !empty($arrActiveCustomDesktopicons) && is_array($arrActiveCustomDesktopicons))
111
+ {
112
+
113
+ $i = 1;
114
+
115
+ foreach ($arrActiveCustomDesktopicons as $index => $imgUrl) {
116
+
117
+ if(!empty($imgUrl)){
118
+
119
+ sfsi_icon_generate_other_icon_effect_admin_html("custom",$arrActiveCustomDesktopicons,$index, $imgUrl,$i);
120
+ $i++;
121
+ }
122
+
123
+ }
124
+
125
+ }
126
+ ?>
127
+
128
+ </div>
129
+
130
+ <div disabled class="col-md-12 inactiveSection rowmarginleft15 topmargin10">
131
+
132
+ <label>Transition effect to those icons</label>
133
+
134
+ <select name="mouseover_other_icons_transition_effect">
135
+
136
+ <option <?php echo 'noeffect'== $mouseover_other_icons_transition_effect? "selected=selected" : ""; ?> value="noeffect">No effect</option>
137
+ <option <?php echo 'flip'== $mouseover_other_icons_transition_effect? "selected=selected" : ""; ?> value="flip">Flip</option>
138
+
139
+ </select>
140
+
141
+ </div>
142
+
143
+ <div class="row mouseover-premium-notice rowmarginleft25">
144
+ <label>Above options are available in the</label>
145
+ <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=different_icon_mouseover&utm_medium=link">Premium Plugin</a>
146
+ </div>
147
+
148
+ </div><!-- row closes -->
149
+
150
+ </div><!-- col-md-12 closes -->
151
+
152
+ </div><!-- #animationSection closes -->
153
+
154
+ <div class="Shuffle_auto"><p class="radio_section tab_3_option">
155
+ <input name="sfsi_shuffle_icons" <?php echo ( $option3['sfsi_shuffle_icons']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
156
+ <label>Shuffle them automatically</label>
157
+ <div class="sub_sub_box shuffle_sub" >
158
+ <p class="radio_section tab_3_option">
159
+ <input name="sfsi_shuffle_Firstload" <?php echo ( $option3['sfsi_shuffle_Firstload']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
160
+ <label>When site is first loaded</label>
161
+ </p>
162
+ <p class="radio_section tab_3_option">
163
+ <input name="sfsi_shuffle_interval" <?php echo ( $option3['sfsi_shuffle_interval']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
164
+ <label>Every</label>
165
+ <input class="smal_inpt" type="text" name="sfsi_shuffle_intervalTime" value="<?php echo ( $option3['sfsi_shuffle_intervalTime']!='') ? $option3['sfsi_shuffle_intervalTime'] : '' ;?>"><label>seconds</label>
166
+ </p>
167
+ </div>
168
+ </div>
169
+
170
+ </div>
171
+ <!--END icon Animation section start -->
views/subviews/que4/banner.php ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style type="text/css">
2
+
3
+ .sf_si_prmium_head span{font-weight:normal;}
4
+ .sfsi_row_table{float: left;}
5
+ h4.bannerTitle {font-weight: 700;min-height: 48px;}
6
+ h4.bannerTitle span{ font-size: 16px;font-weight: 500;}
7
+
8
+ .banner_icon_img {padding:5px 10px 5px 0px;vertical-align: middle;width: 50px; height: 50px;}
9
+
10
+ .sf_si_prmium_head h2{
11
+ font-size: 26px;
12
+ color: #000;
13
+ font-weight: bold;
14
+ margin-top: 0;
15
+ }
16
+ .sf_si_our_prmium_plugin-add{
17
+ float: left;
18
+ width: 70%;
19
+ padding: 25px 38px 35px 40px;
20
+ background: #f3faf6;
21
+ border: 1px solid #12a252;
22
+ }
23
+ .banner_view_more{
24
+ background: #17b15b !important;
25
+ color: #fff !important;
26
+ padding: 6px 43px;
27
+ text-align: center;
28
+ font-size: 18px;
29
+ text-decoration: none;
30
+ }
31
+
32
+ @media (min-width:1024px) and (max-width: 1366px) and (orientation:portrait) {
33
+ .sf_si_our_prmium_plugin-add {
34
+ width: 97%;
35
+ padding: 25px 11px 35px 7px;
36
+ }
37
+ }
38
+ @media (min-width:1024px) and (max-width: 1366px) and (orientation:landscape) {
39
+ .sf_si_our_prmium_plugin-add {
40
+ width: 95%;
41
+ padding: 25px 11px 35px 26px;
42
+ }
43
+ }
44
+ @media (min-width:786px) and (max-width: 1024px) and (orientation:landscape) {
45
+ .sf_si_our_prmium_plugin-add {
46
+ width: 97%;
47
+ padding: 25px 11px 35px 8px;
48
+ }
49
+ }
50
+ </style>
51
+ <div class="sf_si_our_prmium_plugin-add">
52
+
53
+ <div class="sf_si_prmium_head">
54
+ <h2>New: <span>In our Premium Plugin we added:</span></h2>
55
+ </div>
56
+
57
+ <?php
58
+
59
+ $arrDefaultImages = array(
60
+
61
+ 'default1_facebook.png','default1_google.png','default1_twitter.png',
62
+ 'default2_facebook.png','default2_google.png','default2_twitter.png',
63
+ 'default3_facebook.png','default3_google.png','default3_twitter.png',
64
+ );
65
+
66
+ $arrThemeImages = array(
67
+
68
+ 'theme1_facebook.png','theme1_google.png','theme1_twitter.png',
69
+ 'theme2_facebook.png','theme2_google.png','theme2_twitter.png',
70
+ 'theme3_facebook.png','theme3_google.png','theme3_twitter.png',
71
+ );
72
+
73
+ $arrAnimateImages = array(
74
+ 'animated_facebook.gif','animated_follow.gif','animated_instagram.gif',
75
+ 'animated_linkedin.gif','animated_pinterest.gif','animated_twitter.gif',
76
+ 'animated_whatsapp.gif','animated_youtube.gif','animated_google.gif'
77
+ );
78
+
79
+ function sfsi_banner_sub_section($sectionTitle,$arrImages,$hrefViewMore)
80
+ { ?>
81
+
82
+ <div class="row">
83
+ <h4 class="bannerTitle"><?php echo $sectionTitle; ?></h4>
84
+ </div>
85
+
86
+ <?php
87
+
88
+ $imgBasePath = SFSI_PLUGURL."images/banner/";
89
+ $arrImages = array_chunk($arrImages, 3);
90
+
91
+ foreach ($arrImages as $key => $arrImg) : ?>
92
+
93
+ <div class="row zeropadding">
94
+
95
+ <?php foreach ($arrImg as $key => $img):
96
+
97
+ $src = $imgBasePath.$img;?>
98
+
99
+ <div class="sfsi_row_table">
100
+ <img class="banner_icon_img" src="<?php echo $src; ?>" />
101
+ </div>
102
+
103
+ <?php endforeach; ?>
104
+
105
+ </div>
106
+
107
+ <?php endforeach; ?>
108
+
109
+ <div class="row">
110
+ <a class="banner_view_more" target="_blank" href="<?php echo $hrefViewMore; ?>">View more</a>
111
+ </div>
112
+
113
+ <?php } ?>
114
+
115
+ <div class="col-md-12 sf_si_default_design">
116
+
117
+ <div class="col-md-4 zeropadding"><?php sfsi_banner_sub_section("A) More default design styles",$arrDefaultImages,"https://www.ultimatelysocial.com/extra-icon-styles/");?></div>
118
+
119
+ <div class="col-md-4 zeropadding"><?php sfsi_banner_sub_section("B) Themed styles<br> <span>(to match the content of your site)</span>",$arrThemeImages,"https://www.ultimatelysocial.com/themed-icons-search/"); ?></div>
120
+
121
+ <div class="col-md-4 zeropadding"><?php sfsi_banner_sub_section("C) Animated icons<br> <span>(eye-catching moving icons)</span>",$arrAnimateImages,"https://www.ultimatelysocial.com/animated-social-media-icons/"); ?> </div>
122
+
123
+ </div>
124
+
125
+ <div class="row sf_si_all_features_premium">
126
+ <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_icons_designs&utm_medium=banner" target="_blank">See all features Premium Plugin</a>
127
+ </div>
128
+ </div>