Version Description
- Solved: removed deprecated jQuery functions
- Solved: Rectangle icon alignemnt problem on some themes
Download this release
Release Info
Developer | socialdude |
Plugin | Social Media Share Buttons & Social Sharing Icons |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.9 to 2.1.0
- css/sfsi-admin-style.css +166 -0
- css/sfsi-style.css +23 -2
- images/Chat_with_us_bar_light_green.png +0 -0
- js/custom-admin.js +38 -3
- js/custom.js +23 -6
- libs/controllers/sfsi_buttons_controller.php +15 -1
- libs/controllers/sfsiocns_OnPosts.php +6 -6
- libs/sfsi_install_uninstall.php +1 -1
- libs/sfsi_widget.php +13 -14
- readme.txt +8 -4
- ultimate_social_media_icons.php +3 -3
- views/sfsi_chat_on_admin_pannel.php +109 -0
- views/sfsi_options_view.php +8 -7
- views/sfsi_question3.php +17 -0
css/sfsi-admin-style.css
CHANGED
@@ -2269,3 +2269,169 @@ div#sfsi_plus_langnotice,div#sfsi_plus_addThis_removal_notice,div#sfsi_error_rep
|
|
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}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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}}
|
2272 |
+
#sfsi_jivo_offline_chat{
|
2273 |
+
position:fixed;
|
2274 |
+
bottom:0;
|
2275 |
+
right:30px;
|
2276 |
+
height:350px;
|
2277 |
+
min-width:45%;
|
2278 |
+
background:#fff;
|
2279 |
+
border-top-left-radius:30px;
|
2280 |
+
border-top-right-radius:30px;
|
2281 |
+
padding:10px;
|
2282 |
+
border: 3px solid #ddd;
|
2283 |
+
border-bottom: 0;
|
2284 |
+
}
|
2285 |
+
#sfsi_jivo_offline_chat .heading-text{
|
2286 |
+
font-size:16px;
|
2287 |
+
font-weight:500;
|
2288 |
+
color:#999;
|
2289 |
+
}
|
2290 |
+
#sfsi_jivo_offline_chat .heading-text a{
|
2291 |
+
font-size:16px;
|
2292 |
+
font-weight:900;
|
2293 |
+
color:#999;
|
2294 |
+
}
|
2295 |
+
#sfsi_jivo_offline_chat .tab-changer{
|
2296 |
+
/*width:100%;*/
|
2297 |
+
padding:0 15px;
|
2298 |
+
|
2299 |
+
}
|
2300 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link {
|
2301 |
+
float: left;
|
2302 |
+
width: 50%;
|
2303 |
+
text-align: center;
|
2304 |
+
background: #eee;
|
2305 |
+
border-bottom: 5px solid #24497B;
|
2306 |
+
}
|
2307 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link:first-child {
|
2308 |
+
border-top-left-radius:8px;
|
2309 |
+
}
|
2310 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link:last-child {
|
2311 |
+
border-top-right-radius:8px;
|
2312 |
+
}
|
2313 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link p {
|
2314 |
+
background: #eee;
|
2315 |
+
padding: 5px 0;
|
2316 |
+
margin: 0;
|
2317 |
+
border-top-left-radius: 10px;
|
2318 |
+
border-top-right-radius: 10px;
|
2319 |
+
font-size: 25px;
|
2320 |
+
cursor:pointer;
|
2321 |
+
line-height:1;
|
2322 |
+
}
|
2323 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link p span {
|
2324 |
+
font-size: 15px;
|
2325 |
+
}
|
2326 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link.active p {
|
2327 |
+
background: #24497B;
|
2328 |
+
color: #fff;
|
2329 |
+
}
|
2330 |
+
#sfsi_jivo_offline_chat .tabs {
|
2331 |
+
/*background: #dbeef4;*/
|
2332 |
+
background: #ddd;
|
2333 |
+
margin: -6px 15px 0 15px;
|
2334 |
+
min-height:250px;
|
2335 |
+
}
|
2336 |
+
#sfsi_jivo_offline_chat #sfsi_technical {
|
2337 |
+
padding:50px;
|
2338 |
+
}
|
2339 |
+
#sfsi_jivo_offline_chat .tabs .support-forum-green-div{
|
2340 |
+
margin: 10px 0;
|
2341 |
+
}
|
2342 |
+
#sfsi_jivo_offline_chat .tabs .support-forum-green-div a {
|
2343 |
+
padding:20px 26px 18px 25px;
|
2344 |
+
width:245px;
|
2345 |
+
margin:0;
|
2346 |
+
}
|
2347 |
+
#sfsi_jivo_offline_chat .tabs .support-forum-green-div a img {
|
2348 |
+
margin-top:11px;
|
2349 |
+
}
|
2350 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_technical p {
|
2351 |
+
font-size:20px;
|
2352 |
+
padding-top:5px;
|
2353 |
+
margin:0;
|
2354 |
+
margin-top: 20px;
|
2355 |
+
}
|
2356 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales{
|
2357 |
+
padding:15px;
|
2358 |
+
}
|
2359 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .right-message{
|
2360 |
+
width:50%;
|
2361 |
+
float:right;
|
2362 |
+
text-align:right;
|
2363 |
+
margin:0;
|
2364 |
+
}
|
2365 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales form>div{
|
2366 |
+
margin-top:5px;
|
2367 |
+
}
|
2368 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales label{
|
2369 |
+
font-size:20px;
|
2370 |
+
color:#000;
|
2371 |
+
font-weight: 900;
|
2372 |
+
padding-bottom:5px;
|
2373 |
+
}
|
2374 |
+
|
2375 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales input , #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea{
|
2376 |
+
margin-top:5px;
|
2377 |
+
width:100%;
|
2378 |
+
border:0;
|
2379 |
+
box-shadow: 0 0 5px 0 #888;
|
2380 |
+
}
|
2381 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales input{
|
2382 |
+
height:40px;
|
2383 |
+
}
|
2384 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales textarea{
|
2385 |
+
height:80px;
|
2386 |
+
resize: none;
|
2387 |
+
}
|
2388 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales input[type="submit"],#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button{
|
2389 |
+
border: 0;
|
2390 |
+
background: #079345;
|
2391 |
+
color: #fff;
|
2392 |
+
margin-top: 23px;
|
2393 |
+
width: 100%;
|
2394 |
+
font-size: 16px;
|
2395 |
+
border-radius: 4px;
|
2396 |
+
cursor:pointer;
|
2397 |
+
box-shadow: none;
|
2398 |
+
}
|
2399 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent{
|
2400 |
+
text-align:center;
|
2401 |
+
}
|
2402 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2{
|
2403 |
+
font-size:35px;
|
2404 |
+
}
|
2405 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3{
|
2406 |
+
font-size:25px;
|
2407 |
+
font-weight:300;
|
2408 |
+
}
|
2409 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button{
|
2410 |
+
width:auto;
|
2411 |
+
margin-top:0;
|
2412 |
+
padding:10px;
|
2413 |
+
}
|
2414 |
+
#sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
|
2415 |
+
font-size: 13px!important;
|
2416 |
+
font-weight: 900;
|
2417 |
+
/*float: right;*/
|
2418 |
+
/*text-align: right;*/
|
2419 |
+
margin-top: -40px!important;
|
2420 |
+
margin-left:320px!important;
|
2421 |
+
}
|
2422 |
+
#sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon{
|
2423 |
+
background-image: url('images/select-arrow.png');
|
2424 |
+
width:15px;
|
2425 |
+
height:9px;
|
2426 |
+
display:inline-block;
|
2427 |
+
-webkit-transform: rotate(90deg);
|
2428 |
+
-moz-transform: rotate(90deg);
|
2429 |
+
-ms-transform: rotate(90deg);
|
2430 |
+
-o-transform: rotate(90deg);
|
2431 |
+
transform: rotate(90deg);
|
2432 |
+
}
|
2433 |
+
@media (max-width: 543px){
|
2434 |
+
#sfsi_jivo_offline_chat{
|
2435 |
+
width:400px;
|
2436 |
+
}
|
2437 |
+
}
|
css/sfsi-style.css
CHANGED
@@ -2240,7 +2240,7 @@ ul.cstmskin_iconlist {
|
|
2240 |
top: -8px;
|
2241 |
white-space: pre;
|
2242 |
width: 33px;
|
2243 |
-
height:
|
2244 |
z-index: 9;
|
2245 |
}
|
2246 |
.sfsi_wicons a.sficn, .sfsi_wicons .sfsi_inside a, .sfsi_Sicons div a
|
@@ -2256,4 +2256,25 @@ ul.cstmskin_iconlist {
|
|
2256 |
right: -45px !important;
|
2257 |
}
|
2258 |
.sfsi_wicons a{box-shadow:none !important;}
|
2259 |
-
a.sficn{ cursor: pointer; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2240 |
top: -8px;
|
2241 |
white-space: pre;
|
2242 |
width: 33px;
|
2243 |
+
height: 24px;
|
2244 |
z-index: 9;
|
2245 |
}
|
2246 |
.sfsi_wicons a.sficn, .sfsi_wicons .sfsi_inside a, .sfsi_Sicons div a
|
2256 |
right: -45px !important;
|
2257 |
}
|
2258 |
.sfsi_wicons a{box-shadow:none !important;}
|
2259 |
+
a.sficn{ cursor: pointer; }
|
2260 |
+
.sfsi_Sicons .fb_iframe_widget>span{
|
2261 |
+
vertical-align:top!important;
|
2262 |
+
}
|
2263 |
+
.sfsi_Sicons .sf_fb{
|
2264 |
+
margin:0 0 0 5px !important;
|
2265 |
+
}
|
2266 |
+
.sfsi_Sicons .sf_google{
|
2267 |
+
margin:-1px 10px !important;
|
2268 |
+
}
|
2269 |
+
|
2270 |
+
.disabled_checkbox .sfsi_right_info:before {
|
2271 |
+
position: absolute;
|
2272 |
+
content: "";
|
2273 |
+
width: 45%;
|
2274 |
+
height: 60px;
|
2275 |
+
display: inline-block;
|
2276 |
+
z-index: 99;
|
2277 |
+
margin-left: -40px;
|
2278 |
+
margin-top: -14px;
|
2279 |
+
background: rgba(255,255,255,.8);
|
2280 |
+
}
|
images/Chat_with_us_bar_light_green.png
ADDED
Binary file
|
js/custom-admin.js
CHANGED
@@ -1509,8 +1509,8 @@ function sfsfi_getCookie(s) {
|
|
1509 |
|
1510 |
function sfsi_hideFooter() {}
|
1511 |
window.onerror = function() {},
|
1512 |
-
SFSI = jQuery
|
1513 |
-
SFSI(window).load
|
1514 |
SFSI("#sfpageLoad").fadeOut(2e3);
|
1515 |
});
|
1516 |
|
@@ -2454,4 +2454,39 @@ SFSI("body").on("click", ".sfsi_tokenGenerateButton a", function(){
|
|
2454 |
alert("Please enter client id and redirect url first");
|
2455 |
}
|
2456 |
|
2457 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1509 |
|
1510 |
function sfsi_hideFooter() {}
|
1511 |
window.onerror = function() {},
|
1512 |
+
SFSI = jQuery,
|
1513 |
+
SFSI(window).on('load',function() {
|
1514 |
SFSI("#sfpageLoad").fadeOut(2e3);
|
1515 |
});
|
1516 |
|
2454 |
alert("Please enter client id and redirect url first");
|
2455 |
}
|
2456 |
|
2457 |
+
});
|
2458 |
+
SFSI(document).ready(function(){
|
2459 |
+
SFSI('#sfsi_jivo_offline_chat .tab-link').click(function(){
|
2460 |
+
var cur=SFSI(this);
|
2461 |
+
if(!cur.hasClass('active')){
|
2462 |
+
var target=cur.find('a').attr('href');
|
2463 |
+
cur.parent().children().removeClass('active');
|
2464 |
+
cur.addClass('active');
|
2465 |
+
SFSI('#sfsi_jivo_offline_chat .tabs').children().hide();
|
2466 |
+
SFSI(target).show();
|
2467 |
+
}
|
2468 |
+
});
|
2469 |
+
SFSI('#sfsi_jivo_offline_chat #sfsi_sales form').submit(function(event){
|
2470 |
+
event&event.preventDefault();
|
2471 |
+
// console.log(event);
|
2472 |
+
var target=SFSI(this).parents('.tab-content');
|
2473 |
+
SFSI.ajax({
|
2474 |
+
url:ajax_object.ajax_url,
|
2475 |
+
type:"post",
|
2476 |
+
data:{
|
2477 |
+
action: "sfsiOfflineChatMessage",
|
2478 |
+
message: SFSI(this).find('textarea[name="question"]').val(),
|
2479 |
+
email: SFSI(this).find('input[name="email"]').val(),
|
2480 |
+
}
|
2481 |
+
}).done(function(){
|
2482 |
+
target.find('.before_message_sent').hide();
|
2483 |
+
target.find('.after_message_sent').show();
|
2484 |
+
});
|
2485 |
+
})
|
2486 |
+
});
|
2487 |
+
function sfsi_close_offline_chat(e){
|
2488 |
+
e&&e.preventDefault();
|
2489 |
+
|
2490 |
+
SFSI('#sfsi_jivo_offline_chat').hide();
|
2491 |
+
SFSI('#sfsi_dummy_chat_icon').show();
|
2492 |
+
}
|
js/custom.js
CHANGED
@@ -71,9 +71,14 @@ function sfsi_float_widget(s) {
|
|
71 |
|
72 |
function i() {
|
73 |
r = "Microsoft Internet Explorer" === navigator.appName ? a - document.documentElement.scrollTop :a - window.pageYOffset,
|
74 |
-
Math.abs(r) > 0 ?
|
|
|
|
|
|
|
75 |
top:(a + t).toString() + "px"
|
76 |
-
|
|
|
|
|
77 |
}
|
78 |
|
79 |
function e() {
|
@@ -91,14 +96,13 @@ function sfsi_float_widget(s) {
|
|
91 |
SFSI("#sfsi_floater").css("top",documentheight+"px");
|
92 |
}
|
93 |
}
|
94 |
-
|
95 |
if ("center" == s)
|
96 |
{
|
97 |
var t = ( SFSI(window).height() - SFSI("#sfsi_floater").height() ) / 2;
|
98 |
}
|
99 |
else if ("bottom" == s)
|
100 |
{
|
101 |
-
var t = window.innerHeight - SFSI("#sfsi_floater").height();
|
102 |
}
|
103 |
else
|
104 |
{
|
@@ -155,7 +159,7 @@ function sfsfi_getCookie(s) {
|
|
155 |
|
156 |
function sfsi_hideFooter() {}
|
157 |
|
158 |
-
window.onerror = function() {}, SFSI = jQuery
|
159 |
SFSI("#sfpageLoad").fadeOut(2e3);
|
160 |
});
|
161 |
|
@@ -164,7 +168,16 @@ var global_error = 0;
|
|
164 |
SFSI(document).ready(function(s) {
|
165 |
|
166 |
//changes done {Monad}
|
167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'),
|
169 |
SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'), SFSI("head").append('<meta http-equiv="Expires" content="0" />'),
|
170 |
SFSI(document).click(function(s) {
|
@@ -203,6 +216,10 @@ SFSI(document).ready(function(s) {
|
|
203 |
var s = SFSI(this).parent().find("input:radio:first");
|
204 |
"sfsi_popup_border_shadow" == s.attr("name") && sfsi_make_popBox();
|
205 |
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
|
|
|
|
|
|
|
|
206 |
s.stopPropagation();
|
207 |
var i = SFSI("#sfsi_floater_sec").val();
|
208 |
SFSI("div.sfsi_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),
|
71 |
|
72 |
function i() {
|
73 |
r = "Microsoft Internet Explorer" === navigator.appName ? a - document.documentElement.scrollTop :a - window.pageYOffset,
|
74 |
+
Math.abs(r) > 0 ?
|
75 |
+
(window.removeEventListener("scroll", i),
|
76 |
+
a -= r * o,
|
77 |
+
SFSI("#sfsi_floater").css({
|
78 |
top:(a + t).toString() + "px"
|
79 |
+
}),
|
80 |
+
setTimeout(i, n)) :
|
81 |
+
window.addEventListener("scroll", i, !1);
|
82 |
}
|
83 |
|
84 |
function e() {
|
96 |
SFSI("#sfsi_floater").css("top",documentheight+"px");
|
97 |
}
|
98 |
}
|
|
|
99 |
if ("center" == s)
|
100 |
{
|
101 |
var t = ( SFSI(window).height() - SFSI("#sfsi_floater").height() ) / 2;
|
102 |
}
|
103 |
else if ("bottom" == s)
|
104 |
{
|
105 |
+
var t = window.innerHeight - (SFSI("#sfsi_floater").height() + parseInt(SFSI('#sfsi_floater').css('margin-bottom')));
|
106 |
}
|
107 |
else
|
108 |
{
|
159 |
|
160 |
function sfsi_hideFooter() {}
|
161 |
|
162 |
+
window.onerror = function() {}, SFSI = jQuery, SFSI(window).on('load',function() {
|
163 |
SFSI("#sfpageLoad").fadeOut(2e3);
|
164 |
});
|
165 |
|
168 |
SFSI(document).ready(function(s) {
|
169 |
|
170 |
//changes done {Monad}
|
171 |
+
//putting it before to make sure it registers before the mobile click function
|
172 |
+
SFSI(document).on('click','.inerCnt a[href=""]',function(event){
|
173 |
+
//check if not mobile
|
174 |
+
if(!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))) {
|
175 |
+
//execute
|
176 |
+
// console.log('abc');
|
177 |
+
event.preventDefault();
|
178 |
+
}
|
179 |
+
});
|
180 |
+
|
181 |
SFSI("head").append('<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />'),
|
182 |
SFSI("head").append('<meta http-equiv="Pragma" content="no-cache" />'), SFSI("head").append('<meta http-equiv="Expires" content="0" />'),
|
183 |
SFSI(document).click(function(s) {
|
216 |
var s = SFSI(this).parent().find("input:radio:first");
|
217 |
"sfsi_popup_border_shadow" == s.attr("name") && sfsi_make_popBox();
|
218 |
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
219 |
+
if(SFSI(s.target).parent().attr('href')==""){
|
220 |
+
s.preventDefault();
|
221 |
+
}
|
222 |
+
|
223 |
s.stopPropagation();
|
224 |
var i = SFSI("#sfsi_floater_sec").val();
|
225 |
SFSI("div.sfsi_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -1037,7 +1037,21 @@ function sfsi_bannerOption(){
|
|
1037 |
});
|
1038 |
});
|
1039 |
</script>';
|
1040 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1041 |
die();
|
1042 |
}
|
1043 |
?>
|
1037 |
});
|
1038 |
});
|
1039 |
</script>';
|
1040 |
+
}
|
1041 |
+
die();
|
1042 |
+
}
|
1043 |
+
add_action('wp_ajax_sfsiOfflineChatMessage','sfsi_OfflineChatMessage');
|
1044 |
+
|
1045 |
+
function sfsi_OfflineChatMessage(){
|
1046 |
+
error_reporting(0);
|
1047 |
+
extract($_POST);
|
1048 |
+
$body="<table><tr><th>Site:</th><td>".home_url()."</td></tr><tr><th>Plugin:</th><td>Old Plugin</td></tr><tr><th>Email:</th><td>".$email."</td></tr><tr><th>Message:</th><td>".$message."</td></tr></table>";
|
1049 |
+
$sent=wp_mail('help@ultimatelysocial.com',"New question from user",$body,array('Content-Type: text/html; charset=UTF-8'));
|
1050 |
+
if(isset($sent)&&(true===$sent)){
|
1051 |
+
echo "success";
|
1052 |
+
}else{
|
1053 |
+
echo "failure";
|
1054 |
+
}
|
1055 |
die();
|
1056 |
}
|
1057 |
?>
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -64,7 +64,7 @@ function sfsi_social_buttons_below($content)
|
|
64 |
{
|
65 |
if($show_count){$sfsiLikeWithsub = "93px";}else{$sfsiLikeWithsub = "64px";}
|
66 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
67 |
-
$icons.="<div class='sf_subscrbe' style='text-align:left;float:left;width:".$sfsiLikeWithsub."'>".sfsi_Subscribelike($permalink,$show_count)."</div>";
|
68 |
}
|
69 |
if($sfsi_section6['sfsi_rectfb'] == 'yes' || $sfsi_section6['sfsi_rectfbshare'] == 'yes')
|
70 |
{
|
@@ -80,25 +80,25 @@ function sfsi_social_buttons_below($content)
|
|
80 |
{
|
81 |
if($show_count){$sfsiLikeWithfb = "125px";}else{$sfsiLikeWithfb = "98px";}
|
82 |
}
|
83 |
-
$icons.="<div class='sf_fb' style='text-align:left;width:".$sfsiLikeWithfb."'>".sfsi_FBlike($permalink,$show_count)."</div>";
|
84 |
}
|
85 |
if($sfsi_section6['sfsi_recttwtr'] == 'yes')
|
86 |
{
|
87 |
if($show_count){$sfsiLikeWithtwtr = "62px";}else{$sfsiLikeWithtwtr = "62px";}
|
88 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
89 |
-
$icons.="<div class='sf_twiter' style='text-align:left;float:left;width:auto'>".sfsi_twitterlike($permalink,$show_count)."</div>";
|
90 |
}
|
91 |
|
92 |
if($sfsi_section6['sfsi_rectpinit'] == 'yes')
|
93 |
{
|
94 |
$sfsi_pinwidth = "47px";
|
95 |
if($show_count){$sfsi_pinwidth = "100px";}else{$sfsi_pinwidth = "47px";}
|
96 |
-
$icons.="<div class='sf_pinit' style='text-align:left;float:left;line-height: 20px;width:".$sfsi_pinwidth."'>".sfsi_pinterest($permalink,$show_count)."</div>";
|
97 |
}
|
98 |
|
99 |
if($sfsi_section6['sfsi_rectgp'] == 'yes')
|
100 |
{
|
101 |
-
$icons.="<div class='sf_google' style='text-align:left;float:left;max-width:62px;min-width:35px;'>".sfsi_googlePlus($permalink,$show_count)."</div>";
|
102 |
}
|
103 |
$icons.="</div>";
|
104 |
//closing wrapper div
|
@@ -119,7 +119,7 @@ function sfsi_Subscribelike($permalink, $show_count)
|
|
119 |
$sfsi_section2_options= unserialize(get_option('sfsi_section2_options',false));
|
120 |
$sfsi_section4_options = unserialize(get_option('sfsi_section4_options',false));
|
121 |
$sfsi_section6_options= unserialize(get_option('sfsi_section6_options',false));
|
122 |
-
$url = (isset($sfsi_section2_options['sfsi_email_url'])) ? $sfsi_section2_options['sfsi_email_url'] : '
|
123 |
|
124 |
if($sfsi_section4_options['sfsi_email_countsFrom']=="source" )
|
125 |
{
|
64 |
{
|
65 |
if($show_count){$sfsiLikeWithsub = "93px";}else{$sfsiLikeWithsub = "64px";}
|
66 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
67 |
+
$icons.="<div class='sf_subscrbe' style='text-align:left;vertical-align: middle;float:left;width:".$sfsiLikeWithsub."'>".sfsi_Subscribelike($permalink,$show_count)."</div>";
|
68 |
}
|
69 |
if($sfsi_section6['sfsi_rectfb'] == 'yes' || $sfsi_section6['sfsi_rectfbshare'] == 'yes')
|
70 |
{
|
80 |
{
|
81 |
if($show_count){$sfsiLikeWithfb = "125px";}else{$sfsiLikeWithfb = "98px";}
|
82 |
}
|
83 |
+
$icons.="<div class='sf_fb' style='text-align:left;vertical-align: middle;width:".$sfsiLikeWithfb."'>".sfsi_FBlike($permalink,$show_count)."</div>";
|
84 |
}
|
85 |
if($sfsi_section6['sfsi_recttwtr'] == 'yes')
|
86 |
{
|
87 |
if($show_count){$sfsiLikeWithtwtr = "62px";}else{$sfsiLikeWithtwtr = "62px";}
|
88 |
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
89 |
+
$icons.="<div class='sf_twiter' style='text-align:left;float:left;vertical-align: middle;width:auto'>".sfsi_twitterlike($permalink,$show_count)."</div>";
|
90 |
}
|
91 |
|
92 |
if($sfsi_section6['sfsi_rectpinit'] == 'yes')
|
93 |
{
|
94 |
$sfsi_pinwidth = "47px";
|
95 |
if($show_count){$sfsi_pinwidth = "100px";}else{$sfsi_pinwidth = "47px";}
|
96 |
+
$icons.="<div class='sf_pinit' style='text-align:left;vertical-align: middle;float:left;line-height: 20px;width:".$sfsi_pinwidth."'>".sfsi_pinterest($permalink,$show_count)."</div>";
|
97 |
}
|
98 |
|
99 |
if($sfsi_section6['sfsi_rectgp'] == 'yes')
|
100 |
{
|
101 |
+
$icons.="<div class='sf_google' style='text-align:left;vertical-align: middle;float:left;max-width:62px;min-width:35px;'>".sfsi_googlePlus($permalink,$show_count)."</div>";
|
102 |
}
|
103 |
$icons.="</div>";
|
104 |
//closing wrapper div
|
119 |
$sfsi_section2_options= unserialize(get_option('sfsi_section2_options',false));
|
120 |
$sfsi_section4_options = unserialize(get_option('sfsi_section4_options',false));
|
121 |
$sfsi_section6_options= unserialize(get_option('sfsi_section6_options',false));
|
122 |
+
$url = (isset($sfsi_section2_options['sfsi_email_url'])) ? $sfsi_section2_options['sfsi_email_url'] : '';
|
123 |
|
124 |
if($sfsi_section4_options['sfsi_email_countsFrom']=="source" )
|
125 |
{
|
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.
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_pluginVersion", "2.10");
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
libs/sfsi_widget.php
CHANGED
@@ -411,7 +411,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
411 |
{
|
412 |
case "rss" :
|
413 |
|
414 |
-
$url = isset($sfsi_section2_options['sfsi_rss_url']) && !empty($sfsi_section2_options['sfsi_rss_url'])? $sfsi_section2_options['sfsi_rss_url'] : '
|
415 |
|
416 |
$toolClass = "rss_tool_bdr";
|
417 |
$hoverdiv = '';
|
@@ -458,7 +458,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
458 |
|
459 |
$sfsi_section2_options['sfsi_email_url'];
|
460 |
|
461 |
-
$url = (isset($sfsi_section2_options['sfsi_email_url'])) ? $sfsi_section2_options['sfsi_email_url'] : '
|
462 |
|
463 |
$toolClass = "email_tool_bdr";
|
464 |
$arrow_class = "bot_eamil_arow";
|
@@ -566,7 +566,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
566 |
|
567 |
$url = isset($sfsi_section2_options['sfsi_facebookPage_url']) && !empty($sfsi_section2_options['sfsi_facebookPage_url']) ? $sfsi_section2_options['sfsi_facebookPage_url'] : false;
|
568 |
|
569 |
-
$url = false != $url ? $sfsi_section2_options['sfsi_facebookPage_url']:'
|
570 |
|
571 |
$like_option = isset($sfsi_section2_options['sfsi_facebookLike_option']) && !empty($sfsi_section2_options['sfsi_facebookLike_option']) ? $sfsi_section2_options['sfsi_facebookLike_option'] : false;
|
572 |
|
@@ -576,7 +576,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
576 |
|
577 |
if((false != $like_option && $like_option=="yes") || (false != $share_option && $share_option=="yes"))
|
578 |
{
|
579 |
-
$url=($sfsi_section2_options['sfsi_facebookPage_url']) ? $sfsi_section2_options['sfsi_facebookPage_url']:'
|
580 |
$hoverSHow = 1;
|
581 |
$hoverdiv = '';
|
582 |
|
@@ -666,7 +666,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
666 |
|
667 |
$visit_icon = $visit_iconsUrl."google.png";
|
668 |
|
669 |
-
$url = isset($sfsi_section2_options['sfsi_google_pageURL']) && !empty($sfsi_section2_options['sfsi_google_pageURL']) ?$sfsi_section2_options['sfsi_google_pageURL'] : '
|
670 |
|
671 |
$like_option = isset($sfsi_section2_options['sfsi_googleLike_option']) && !empty($sfsi_section2_options['sfsi_googleLike_option']) ? $sfsi_section2_options['sfsi_googleLike_option'] : false;
|
672 |
|
@@ -747,7 +747,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
747 |
$toolClass = "twt_tool_bdr";
|
748 |
$arrow_class = "bot_twt_arow";
|
749 |
|
750 |
-
$url = isset($sfsi_section2_options['sfsi_twitter_pageURL']) && !empty($sfsi_section2_options['sfsi_twitter_pageURL']) ? $sfsi_section2_options['sfsi_twitter_pageURL'] : '
|
751 |
|
752 |
$twitter_user = isset($sfsi_section2_options['sfsi_twitter_followUserName']) && !empty($sfsi_section2_options['sfsi_twitter_followUserName']) ? $sfsi_section2_options['sfsi_twitter_followUserName'] : false;
|
753 |
|
@@ -849,7 +849,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
849 |
$youtube_user = (isset($sfsi_section4_options['sfsi_youtube_user']) && !empty($sfsi_section4_options['sfsi_youtube_user'])) ? $sfsi_section4_options['sfsi_youtube_user'] : 'SpecificFeeds';
|
850 |
$visit_icon = $visit_iconsUrl."youtube.png";
|
851 |
|
852 |
-
$url = isset($sfsi_section2_options['sfsi_youtube_pageUrl']) && !empty($sfsi_section2_options['sfsi_youtube_pageUrl']) ? $sfsi_section2_options['sfsi_youtube_pageUrl'] : '
|
853 |
|
854 |
//Giving alternative text to image
|
855 |
if(!empty($sfsi_section5_options['sfsi_youtube_MouseOverText']))
|
@@ -863,11 +863,10 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
863 |
|
864 |
/* check for icons to display */
|
865 |
$hoverdiv="";
|
866 |
-
|
867 |
-
$follow = isset($sfsi_section2_options['sfsi_youtube_pageUrl']) && !empty($sfsi_section2_options['sfsi_youtube_pageUrl']) ? $sfsi_section2_options['sfsi_youtube_pageUrl'] : false;
|
868 |
|
869 |
-
$
|
870 |
|
|
|
871 |
|
872 |
if(false != $follow && $follow=="yes")
|
873 |
{
|
@@ -938,7 +937,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
938 |
? $sfsi_section4_options['sfsi_pinterest_board'] : '';
|
939 |
|
940 |
$visit_icon = $visit_iconsUrl."pinterest.png";
|
941 |
-
$url = (isset($sfsi_section2_options['sfsi_pinterest_pageUrl'])) ? $sfsi_section2_options['sfsi_pinterest_pageUrl'] : '
|
942 |
|
943 |
//Giving alternative text to image
|
944 |
if(isset($sfsi_section5_options['sfsi_pinterest_MouseOverText']) && !empty($sfsi_section5_options['sfsi_pinterest_MouseOverText']))
|
@@ -1019,7 +1018,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
1019 |
$toolClass = "instagram_tool_bdr";
|
1020 |
$arrow_class = "bot_pintst_arow";
|
1021 |
|
1022 |
-
$url = (isset($sfsi_section2_options['sfsi_instagram_pageUrl'])) ? $sfsi_section2_options['sfsi_instagram_pageUrl'] : '
|
1023 |
|
1024 |
$instagram_user_name = isset($sfsi_section4_options['sfsi_instagram_User']) && !empty($sfsi_section4_options['sfsi_instagram_User']) ? $sfsi_section4_options['sfsi_instagram_User'] : false;
|
1025 |
|
@@ -1099,7 +1098,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
1099 |
$visit_icon = $visit_iconsUrl."linkedIn.png";
|
1100 |
|
1101 |
/*check for icons to display */
|
1102 |
-
$url = isset($sfsi_section2_options['sfsi_linkedin_pageURL']) && !empty($sfsi_section2_options['sfsi_linkedin_pageURL']) ? $sfsi_section2_options['sfsi_linkedin_pageURL'] : '
|
1103 |
|
1104 |
if($follow =="yes" || $share =="yes" || $reBusiness =="yes")
|
1105 |
{
|
@@ -1204,7 +1203,7 @@ function sfsi_prepairIcons($icon_name,$is_front=0)
|
|
1204 |
}
|
1205 |
|
1206 |
$custom_icon_urls = unserialize($sfsi_section2_options['sfsi_CustomIcon_links']);
|
1207 |
-
$url = (isset($custom_icon_urls[$icon_n]) && !empty($custom_icon_urls[$icon_n])) ? $custom_icon_urls[$icon_n]:'
|
1208 |
$toolClass = "custom_lkn";
|
1209 |
$arrow_class = "";
|
1210 |
$custom_icons_hoverTxt = unserialize($sfsi_section5_options['sfsi_custom_MouseOverTexts']);
|
411 |
{
|
412 |
case "rss" :
|
413 |
|
414 |
+
$url = isset($sfsi_section2_options['sfsi_rss_url']) && !empty($sfsi_section2_options['sfsi_rss_url'])? $sfsi_section2_options['sfsi_rss_url'] : '';
|
415 |
|
416 |
$toolClass = "rss_tool_bdr";
|
417 |
$hoverdiv = '';
|
458 |
|
459 |
$sfsi_section2_options['sfsi_email_url'];
|
460 |
|
461 |
+
$url = (isset($sfsi_section2_options['sfsi_email_url'])) ? $sfsi_section2_options['sfsi_email_url'] : '';
|
462 |
|
463 |
$toolClass = "email_tool_bdr";
|
464 |
$arrow_class = "bot_eamil_arow";
|
566 |
|
567 |
$url = isset($sfsi_section2_options['sfsi_facebookPage_url']) && !empty($sfsi_section2_options['sfsi_facebookPage_url']) ? $sfsi_section2_options['sfsi_facebookPage_url'] : false;
|
568 |
|
569 |
+
$url = false != $url ? $sfsi_section2_options['sfsi_facebookPage_url']:'';
|
570 |
|
571 |
$like_option = isset($sfsi_section2_options['sfsi_facebookLike_option']) && !empty($sfsi_section2_options['sfsi_facebookLike_option']) ? $sfsi_section2_options['sfsi_facebookLike_option'] : false;
|
572 |
|
576 |
|
577 |
if((false != $like_option && $like_option=="yes") || (false != $share_option && $share_option=="yes"))
|
578 |
{
|
579 |
+
$url=($sfsi_section2_options['sfsi_facebookPage_url']) ? $sfsi_section2_options['sfsi_facebookPage_url']:'';
|
580 |
$hoverSHow = 1;
|
581 |
$hoverdiv = '';
|
582 |
|
666 |
|
667 |
$visit_icon = $visit_iconsUrl."google.png";
|
668 |
|
669 |
+
$url = isset($sfsi_section2_options['sfsi_google_pageURL']) && !empty($sfsi_section2_options['sfsi_google_pageURL']) ?$sfsi_section2_options['sfsi_google_pageURL'] : '';
|
670 |
|
671 |
$like_option = isset($sfsi_section2_options['sfsi_googleLike_option']) && !empty($sfsi_section2_options['sfsi_googleLike_option']) ? $sfsi_section2_options['sfsi_googleLike_option'] : false;
|
672 |
|
747 |
$toolClass = "twt_tool_bdr";
|
748 |
$arrow_class = "bot_twt_arow";
|
749 |
|
750 |
+
$url = isset($sfsi_section2_options['sfsi_twitter_pageURL']) && !empty($sfsi_section2_options['sfsi_twitter_pageURL']) ? $sfsi_section2_options['sfsi_twitter_pageURL'] : '';
|
751 |
|
752 |
$twitter_user = isset($sfsi_section2_options['sfsi_twitter_followUserName']) && !empty($sfsi_section2_options['sfsi_twitter_followUserName']) ? $sfsi_section2_options['sfsi_twitter_followUserName'] : false;
|
753 |
|
849 |
$youtube_user = (isset($sfsi_section4_options['sfsi_youtube_user']) && !empty($sfsi_section4_options['sfsi_youtube_user'])) ? $sfsi_section4_options['sfsi_youtube_user'] : 'SpecificFeeds';
|
850 |
$visit_icon = $visit_iconsUrl."youtube.png";
|
851 |
|
852 |
+
$url = isset($sfsi_section2_options['sfsi_youtube_pageUrl']) && !empty($sfsi_section2_options['sfsi_youtube_pageUrl']) ? $sfsi_section2_options['sfsi_youtube_pageUrl'] : '';
|
853 |
|
854 |
//Giving alternative text to image
|
855 |
if(!empty($sfsi_section5_options['sfsi_youtube_MouseOverText']))
|
863 |
|
864 |
/* check for icons to display */
|
865 |
$hoverdiv="";
|
|
|
|
|
866 |
|
867 |
+
$follow = isset($sfsi_section2_options['sfsi_youtube_follow']) && !empty($sfsi_section2_options['sfsi_youtube_follow']) ? $sfsi_section2_options['sfsi_youtube_follow'] : false;
|
868 |
|
869 |
+
$ypage = isset($sfsi_section2_options['sfsi_youtube_page']) && !empty($sfsi_section2_options['sfsi_youtube_page']) ? $sfsi_section2_options['sfsi_youtube_page'] : false;
|
870 |
|
871 |
if(false != $follow && $follow=="yes")
|
872 |
{
|
937 |
? $sfsi_section4_options['sfsi_pinterest_board'] : '';
|
938 |
|
939 |
$visit_icon = $visit_iconsUrl."pinterest.png";
|
940 |
+
$url = (isset($sfsi_section2_options['sfsi_pinterest_pageUrl'])) ? $sfsi_section2_options['sfsi_pinterest_pageUrl'] : '';
|
941 |
|
942 |
//Giving alternative text to image
|
943 |
if(isset($sfsi_section5_options['sfsi_pinterest_MouseOverText']) && !empty($sfsi_section5_options['sfsi_pinterest_MouseOverText']))
|
1018 |
$toolClass = "instagram_tool_bdr";
|
1019 |
$arrow_class = "bot_pintst_arow";
|
1020 |
|
1021 |
+
$url = (isset($sfsi_section2_options['sfsi_instagram_pageUrl'])) ? $sfsi_section2_options['sfsi_instagram_pageUrl'] : '';
|
1022 |
|
1023 |
$instagram_user_name = isset($sfsi_section4_options['sfsi_instagram_User']) && !empty($sfsi_section4_options['sfsi_instagram_User']) ? $sfsi_section4_options['sfsi_instagram_User'] : false;
|
1024 |
|
1098 |
$visit_icon = $visit_iconsUrl."linkedIn.png";
|
1099 |
|
1100 |
/*check for icons to display */
|
1101 |
+
$url = isset($sfsi_section2_options['sfsi_linkedin_pageURL']) && !empty($sfsi_section2_options['sfsi_linkedin_pageURL']) ? $sfsi_section2_options['sfsi_linkedin_pageURL'] : '';
|
1102 |
|
1103 |
if($follow =="yes" || $share =="yes" || $reBusiness =="yes")
|
1104 |
{
|
1203 |
}
|
1204 |
|
1205 |
$custom_icon_urls = unserialize($sfsi_section2_options['sfsi_CustomIcon_links']);
|
1206 |
+
$url = (isset($custom_icon_urls[$icon_n]) && !empty($custom_icon_urls[$icon_n])) ? $custom_icon_urls[$icon_n]:'';
|
1207 |
$toolClass = "custom_lkn";
|
1208 |
$arrow_class = "";
|
1209 |
$custom_icons_hoverTxt = unserialize($sfsi_section5_options['sfsi_custom_MouseOverTexts']);
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -275,14 +275,18 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
275 |
|
276 |
== Changelog ==
|
277 |
|
|
|
|
|
|
|
|
|
278 |
= 2.0.9 =
|
279 |
* Banner for animation section in Question 4 added
|
280 |
-
* Different icon for mouseover section pointing
|
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
|
286 |
|
287 |
= 2.0.7 =
|
288 |
* Round green follow button doesn't show - fixed
|
@@ -732,5 +736,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
732 |
|
733 |
== Upgrade Notice ==
|
734 |
|
735 |
-
= 2.0
|
736 |
Please upgrade
|
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.1.0
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
275 |
|
276 |
== Changelog ==
|
277 |
|
278 |
+
= 2.1.0 =
|
279 |
+
* Solved: removed deprecated jQuery functions
|
280 |
+
* Solved: Rectangle icon alignemnt problem on some themes
|
281 |
+
|
282 |
= 2.0.9 =
|
283 |
* Banner for animation section in Question 4 added
|
284 |
+
* Different icon for mouseover section pointing in premium in Question 4 added
|
285 |
* Removed theme icon banner if no match
|
286 |
|
287 |
= 2.0.8 =
|
288 |
* Solved: Notification bar cannot be seen anymore
|
289 |
+
* Solved: cleared the float elements after notice
|
290 |
|
291 |
= 2.0.7 =
|
292 |
* Round green follow button doesn't show - fixed
|
736 |
|
737 |
== Upgrade Notice ==
|
738 |
|
739 |
+
= 2.1.0 =
|
740 |
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
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
@@ -65,7 +65,7 @@ register_activation_hook(__FILE__, 'sfsi_activate_plugin' );
|
|
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.
|
69 |
{
|
70 |
add_action("init", "sfsi_update_plugin");
|
71 |
}
|
@@ -1323,7 +1323,7 @@ function sfsi_ask_for_help($viewNumber){ ?>
|
|
1323 |
|
1324 |
<img src="<?php echo SFSI_PLUGURL."images/questionmark.png";?>"/>
|
1325 |
|
1326 |
-
<span>Questions? <a target="_blank" href="
|
1327 |
|
1328 |
</div>
|
1329 |
|
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.1.0
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
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.10)
|
69 |
{
|
70 |
add_action("init", "sfsi_update_plugin");
|
71 |
}
|
1323 |
|
1324 |
<img src="<?php echo SFSI_PLUGURL."images/questionmark.png";?>"/>
|
1325 |
|
1326 |
+
<span>Questions? <a target="_blank" href="#" onclick="event.preventDefault();sfsi_open_chat(event)"><b>Ask us</b></a></span>
|
1327 |
|
1328 |
</div>
|
1329 |
|
views/sfsi_chat_on_admin_pannel.php
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
global $current_user;
|
3 |
+
$current_user=wp_get_current_user();
|
4 |
+
|
5 |
+
$email = $current_user->user_email;
|
6 |
+
?>
|
7 |
+
<div id="sfsi_jivo_offline_chat" style="display:none">
|
8 |
+
<a href="" style="float:right;font-size:20px;margin-right:5px;color:#888;text-decoration: none;" onclick="sfsi_close_offline_chat(event)">X</a>
|
9 |
+
<p style="text-align:center" class="heading-text">No chat agent are available, However <span style="text-decoration: underline">we'll still respond quickly</span>.
|
10 |
+
<!-- <a target="_blank" href="https://goo.gl/MU6pTN#no-topic-0" >we'll still respond quickly</a> -->
|
11 |
+
</p>
|
12 |
+
<ul class="tab-changer">
|
13 |
+
<li class="tab-link active"><p style="text-align:center"><a href="#sfsi_technical"></a>Technical question<br><span>(for the free plugin)</span></span></p></li>
|
14 |
+
<li class="tab-link"><p style="text-align:center"><a href="#sfsi_sales"></a>Pre-sales question<br><span>(for the Premium plugin)</span></p></li>
|
15 |
+
</ul>
|
16 |
+
<div class="clear"></div>
|
17 |
+
<div class="tabs">
|
18 |
+
<div id="sfsi_technical" class="tab-content" style="text-align:center;display:block">
|
19 |
+
<p>Please ask your question in the...</p>
|
20 |
+
<div class="support-forum-green-div">
|
21 |
+
<a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" class="support-forum-green-bg">
|
22 |
+
<img src="<?php echo SFSI_PLUGURL ?>images/support.png">
|
23 |
+
<p class="support-forum">Support Forum</p>
|
24 |
+
</a>
|
25 |
+
</div>
|
26 |
+
<p class="sfsi-button-right-side" ><span class="sfsi-button-right-side-icon"></span>Click here</p>
|
27 |
+
<p>We‘ll respond <span style="text-decoration: underline;font-weight:500">quickly!</span></p>
|
28 |
+
</div>
|
29 |
+
<div id="sfsi_sales" class="tab-content" style="display:none">
|
30 |
+
|
31 |
+
<div style="display:block" class="before_message_sent">
|
32 |
+
<p class="right-message" style="display:none">Please also check the <a href="">FAQ</a></p>
|
33 |
+
<form action="#" method="POST" >
|
34 |
+
<div>
|
35 |
+
<label for="question">Your question: </label>
|
36 |
+
<textarea id="question" name="question"></textarea>
|
37 |
+
</div>
|
38 |
+
<div>
|
39 |
+
<div style="width:60%;float:left">
|
40 |
+
<label for="email">Your email:</label>
|
41 |
+
<input type="email" name="email" value="<?php echo $email; ?>">
|
42 |
+
</div>
|
43 |
+
<div style="width:35%;float:right">
|
44 |
+
<input type="submit" value="Send message">
|
45 |
+
</div>
|
46 |
+
<div class="clear"></div>
|
47 |
+
</div>
|
48 |
+
</form>
|
49 |
+
</div>
|
50 |
+
<div style="display:none" class="after_message_sent">
|
51 |
+
<h2>Thank you!</h2>
|
52 |
+
<h3>We‘ll get back to you ASAP.</h3>
|
53 |
+
<button class="chat_btn" onclick="sfsi_close_offline_chat(event)">Close window</button>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
|
58 |
+
</div>
|
59 |
+
<!-- Start jivo chat code -->
|
60 |
+
|
61 |
+
<script type='text/javascript'>
|
62 |
+
var sfsi_jivo_init=function(){ var widget_id =window.sfsi_plus_jivo_widget_id= 'heGfAHWfsn';var d=document;var w=window;function l(){var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true;s.src = '//code.jivosite.com/script/widget/'+widget_id; var ss = document.getElementsByTagName('script')[0]; ss.parentNode.insertBefore(s, ss);}if(d.readyState=='complete'){l();}else{if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}};
|
63 |
+
var sfsi_dummy_chat_icon={};
|
64 |
+
sfsi_dummy_chat_icon.element=document.createElement('div');
|
65 |
+
sfsi_dummy_chat_icon.element.id="sfsi_dummy_chat_icon";
|
66 |
+
sfsi_dummy_chat_icon.element.style="position:fixed; bottom:0;right:10px;width:350px;height:74px;cursor:pointer;background-image:url('<?php echo SFSI_PLUGURL.'images/Chat_with_us_bar_light_green.png' ?>');background-position: -12.5px -11.5px;background-size: 374px 101px;border-top-left-radius: 8px;border-top-right-radius: 8px;";
|
67 |
+
function sfsi_open_chat(){
|
68 |
+
if(window.jivo_api){
|
69 |
+
if( window.jivo_api.chatMode()==='online'){
|
70 |
+
sfsi_jivo_init();
|
71 |
+
}else{
|
72 |
+
jQuery('#jivo-iframe-container').remove();
|
73 |
+
jQuery('script[src="//code.jivosite.com/script/widget/'+sfsi_plus_jivo_widget_id+'"]').remove();
|
74 |
+
jQuery('#sfsi_jivo_offline_chat').show();
|
75 |
+
}
|
76 |
+
}else{
|
77 |
+
sfsi_jivo_init();
|
78 |
+
}
|
79 |
+
// jQuery(sfsi_dummy_chat_icon.element).html("<p style='text-align: center;font-size: 18px;'>Loading...</p>");
|
80 |
+
jQuery(sfsi_dummy_chat_icon.element).hide();
|
81 |
+
}
|
82 |
+
sfsi_dummy_chat_icon.element.onclick=sfsi_open_chat;
|
83 |
+
var jivo_onLoadCallback = function(){
|
84 |
+
if(jivo_api.chatMode()==='online'){
|
85 |
+
jivo_api.showProactiveInvitation('How can I help you?');
|
86 |
+
}else{
|
87 |
+
jQuery('#jivo-iframe-container').remove();
|
88 |
+
jQuery('script[src="//code.jivosite.com/script/widget/'+sfsi_plus_jivo_widget_id+'"]').remove();
|
89 |
+
jQuery('#sfsi_jivo_offline_chat').show();
|
90 |
+
}
|
91 |
+
// jQuery(sfsi_dummy_chat_icon.element).hide();
|
92 |
+
};
|
93 |
+
// sfsi_dummy_chat_icon.heading= document.createElement('p');
|
94 |
+
// sfsi_dummy_chat_icon.warning= document.createElement('p');
|
95 |
+
// sfsi_dummy_chat_icon.heading.style="margin: 0;text-align: center;font-size: 18px;margin-top: 5px;"
|
96 |
+
// sfsi_dummy_chat_icon.warning.style="font-size:11px;text-align: center;margin-bottom: 0;margin-top: 4px;"
|
97 |
+
// sfsi_dummy_chat_icon.heading.appendChild(document.createTextNode("Questions? Chat with us!"));
|
98 |
+
// sfsi_dummy_chat_icon.warning.appendChild(document.createTextNode("This will establish connection to the chat servers."));
|
99 |
+
// sfsi_dummy_chat_icon.element.appendChild(sfsi_dummy_chat_icon.heading);
|
100 |
+
// sfsi_dummy_chat_icon.element.appendChild(sfsi_dummy_chat_icon.warning);
|
101 |
+
sfsi_dummy_chat_icon.body=document.getElementsByTagName('body');
|
102 |
+
if(sfsi_dummy_chat_icon.body.length>0){
|
103 |
+
sfsi_dummy_chat_icon.body[0].appendChild(sfsi_dummy_chat_icon.element);
|
104 |
+
}else{
|
105 |
+
document.appendChild(sfsi_dummy_chat_icon.element);
|
106 |
+
}
|
107 |
+
</script>
|
108 |
+
|
109 |
+
<!-- End jivo chat code -->
|
views/sfsi_options_view.php
CHANGED
@@ -103,17 +103,16 @@
|
|
103 |
<div class="have-questions">
|
104 |
<img src="<?php echo SFSI_PLUGURL ?>images/question.png">
|
105 |
<p class="have-quest">Have questions?</p>
|
106 |
-
<p class="ask-question">Ask them in the...</p>
|
107 |
</div>
|
108 |
<div class="support-forum-green-div">
|
109 |
-
<a target="_blank" href="
|
110 |
-
<
|
111 |
-
<p class="support-forum">Support Forum</p>
|
112 |
</a>
|
113 |
</div>
|
114 |
-
<div class="respond-text">
|
115 |
<p>We'll try to respond ASAP!</p>
|
116 |
-
</div>
|
117 |
</div>
|
118 |
</div>
|
119 |
|
@@ -240,4 +239,6 @@
|
|
240 |
}
|
241 |
});
|
242 |
|
243 |
-
</script>
|
|
|
|
103 |
<div class="have-questions">
|
104 |
<img src="<?php echo SFSI_PLUGURL ?>images/question.png">
|
105 |
<p class="have-quest">Have questions?</p>
|
106 |
+
<!-- <p class="ask-question">Ask them in the...</p> -->
|
107 |
</div>
|
108 |
<div class="support-forum-green-div">
|
109 |
+
<a target="_blank" href="#" onclick="event.preventDefault();sfsi_open_chat(event)" class="support-forum-green-bg">
|
110 |
+
<p class="support-forum">Chat with us!</p>
|
|
|
111 |
</a>
|
112 |
</div>
|
113 |
+
<!-- <div class="respond-text">
|
114 |
<p>We'll try to respond ASAP!</p>
|
115 |
+
</div> -->
|
116 |
</div>
|
117 |
</div>
|
118 |
|
239 |
}
|
240 |
});
|
241 |
|
242 |
+
</script>
|
243 |
+
?>
|
244 |
+
<?php include(SFSI_DOCROOT.'/views/sfsi_chat_on_admin_pannel.php'); ?>
|
views/sfsi_question3.php
CHANGED
@@ -24,6 +24,23 @@
|
|
24 |
|
25 |
<?php @include(SFSI_DOCROOT.'/views/subviews/que3/sfsi_que3_place_via_after_posts.php'); ?>
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
</ul>
|
28 |
|
29 |
|
24 |
|
25 |
<?php @include(SFSI_DOCROOT.'/views/subviews/que3/sfsi_que3_place_via_after_posts.php'); ?>
|
26 |
|
27 |
+
<!--********************** Show pinterest over image hover post****************************************-->
|
28 |
+
|
29 |
+
<li class="sfsi_show_via_onhover disabled_checkbox">
|
30 |
+
|
31 |
+
<div class="radio_section tb_4_ck">
|
32 |
+
<span class="checkbox" style="background-position:0px 0px!important;width:31px"></span>
|
33 |
+
<input name="" type="checkbox" disable value="" class="hide" style="display:none;" /></div>
|
34 |
+
|
35 |
+
<div class="sfsi_right_info">
|
36 |
+
|
37 |
+
<p style="display:block">
|
38 |
+
<span class="sfsi_toglepstpgspn" style="width:50%;display:inline-block;float:left;">Show a Pinterest icon over images on mouse-over </span> <span><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=pinterest_icon_mouse_over&utm_medium=link" target="_blank" style="font-weight:800">Premium feature</a></span>
|
39 |
+
</p>
|
40 |
+
|
41 |
+
</div>
|
42 |
+
</li>
|
43 |
+
|
44 |
</ul>
|
45 |
|
46 |
|