Version Description
- Solved: curl calls to wp_remote calls.
- Solved: unexpected charactor "[" error for php version 5.3.
Download this release
Release Info
Developer | socialdude |
Plugin | Social Media Share Buttons & Social Sharing Icons |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.0 to 2.1.1
- css/sfsi-admin-style.css +143 -0
- images/Chat_with_us_bar.svg +1 -0
- libs/controllers/sfsi_socialhelper.php +64 -86
- libs/sfsi_install_uninstall.php +105 -99
- readme.txt +10 -6
- ultimate_social_media_icons.php +21 -17
- views/sfsi_chat_on_admin_pannel.php +22 -15
- views/sfsi_option_view2.php +2 -2
- views/sfsi_option_view8.php +1 -1
- views/sfsi_options_view.php +1 -1
- views/sfsi_pop_content.php +3 -3
css/sfsi-admin-style.css
CHANGED
@@ -2434,4 +2434,147 @@ div#sfsi_plus_langnotice,div#sfsi_plus_addThis_removal_notice,div#sfsi_error_rep
|
|
2434 |
#sfsi_jivo_offline_chat{
|
2435 |
width:400px;
|
2436 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2437 |
}
|
2434 |
#sfsi_jivo_offline_chat{
|
2435 |
width:400px;
|
2436 |
}
|
2437 |
+
}
|
2438 |
+
|
2439 |
+
#sfsi_jivo_offline_chat{border: 3px solid #ececec;}
|
2440 |
+
|
2441 |
+
#sfsi_jivo_offline_chat{padding-bottom: 30px;}
|
2442 |
+
|
2443 |
+
#sfsi_jivo_offline_chat .heading-text {font-size: 14px;}
|
2444 |
+
|
2445 |
+
#sfsi_jivo_offline_chat .tabs{background-color: #ededed;}
|
2446 |
+
|
2447 |
+
|
2448 |
+
#sfsi_jivo_offline_chat .tab-changer li p{
|
2449 |
+
padding: 8px !important;
|
2450 |
+
}
|
2451 |
+
|
2452 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link p{
|
2453 |
+
font-size: 21px !important;
|
2454 |
+
font-weight: 500;
|
2455 |
+
color: #000000;
|
2456 |
+
}
|
2457 |
+
|
2458 |
+
|
2459 |
+
#sfsi_jivo_offline_chat .tab-changer .tab-link p span{
|
2460 |
+
font-size: 14px !important;
|
2461 |
+
font-weight: 400;
|
2462 |
+
color: #000000;
|
2463 |
+
}
|
2464 |
+
|
2465 |
+
#sfsi_jivo_offline_chat .tab-changer .active p span{
|
2466 |
+
color: #ffffff;
|
2467 |
+
}
|
2468 |
+
|
2469 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales{
|
2470 |
+
padding: 30px 30px 40px 30px;
|
2471 |
+
background: #ededed;
|
2472 |
+
}
|
2473 |
+
|
2474 |
+
|
2475 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .label{
|
2476 |
+
margin-bottom: 8px;
|
2477 |
+
font-size: 17px;
|
2478 |
+
font-weight: 500;
|
2479 |
+
color: #000000;
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
|
2483 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .email{
|
2484 |
+
margin-top: 15px;
|
2485 |
+
}
|
2486 |
+
|
2487 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .right-message{
|
2488 |
+
font-size: 14px;
|
2489 |
+
color: #000000;
|
2490 |
+
}
|
2491 |
+
|
2492 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales textarea{
|
2493 |
+
padding: 10px !important;
|
2494 |
+
font-size: 14px;
|
2495 |
+
font-weight: 500;
|
2496 |
+
margin-top: 0 !important;
|
2497 |
+
}
|
2498 |
+
|
2499 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales input{
|
2500 |
+
padding: 10px;
|
2501 |
+
font-size: 14px;
|
2502 |
+
font-weight: 500;
|
2503 |
+
margin-top: 0 !important;
|
2504 |
+
}
|
2505 |
+
|
2506 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales input[type="submit"], #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button{
|
2507 |
+
background: #52b250;
|
2508 |
+
}
|
2509 |
+
|
2510 |
+
|
2511 |
+
#sfsi_jivo_offline_chat #sfsi_technical{
|
2512 |
+
padding: 57px;
|
2513 |
+
background-color: #ededed
|
2514 |
+
}
|
2515 |
+
|
2516 |
+
#sfsi_technical h5{
|
2517 |
+
font-size: 18px;
|
2518 |
+
color: #000000;
|
2519 |
+
margin: 10px;
|
2520 |
+
}
|
2521 |
+
|
2522 |
+
#sfsi_technical h5 b{
|
2523 |
+
font-weight: 700;
|
2524 |
+
}
|
2525 |
+
|
2526 |
+
#sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side{
|
2527 |
+
font-size: 12px!important;
|
2528 |
+
font-weight: 700;
|
2529 |
+
margin-top: 0px!important;
|
2530 |
+
margin-left: 0px!important;
|
2531 |
+
color: #000000;
|
2532 |
+
position: absolute;
|
2533 |
+
padding: 12px;
|
2534 |
+
}
|
2535 |
+
|
2536 |
+
#sfsi_jivo_offline_chat .tabs .support-forum-green-div{
|
2537 |
+
text-align: center;
|
2538 |
+
margin: 20px 0 25px 0;
|
2539 |
+
}
|
2540 |
+
|
2541 |
+
#sfsi_jivo_offline_chat .tabs .support-forum-green-div a{
|
2542 |
+
padding: 12px 25px;
|
2543 |
+
background: #52b250;
|
2544 |
+
}
|
2545 |
+
|
2546 |
+
#sfsi_jivo_offline_chat #sfsi_technical .support-forum-green-div .support-forum-green-bg p{
|
2547 |
+
padding: 0;
|
2548 |
+
margin: 0;
|
2549 |
+
font-size: 18px;
|
2550 |
+
font-weight: 500;
|
2551 |
+
}
|
2552 |
+
|
2553 |
+
#sfsi_jivo_offline_chat #sfsi_technical .support-forum-green-div .support-forum-green-bg img{
|
2554 |
+
height: 28px;
|
2555 |
+
position: relative;
|
2556 |
+
top: 9px;
|
2557 |
+
padding-right: 5px;
|
2558 |
+
margin-top: 0px;
|
2559 |
+
}
|
2560 |
+
|
2561 |
+
#sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon{padding-right: -1px;}
|
2562 |
+
|
2563 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3 {
|
2564 |
+
font-size: 20px;
|
2565 |
+
font-weight: 500;
|
2566 |
+
}
|
2567 |
+
|
2568 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2 {
|
2569 |
+
font-size: 35px;
|
2570 |
+
font-weight: 700;
|
2571 |
+
margin: 25px 0;
|
2572 |
+
}
|
2573 |
+
|
2574 |
+
#sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
|
2575 |
+
width: auto;
|
2576 |
+
margin-top: 6px;
|
2577 |
+
padding: 8px 30px;
|
2578 |
+
font-size: 16px;
|
2579 |
+
background: #52b250;
|
2580 |
}
|
images/Chat_with_us_bar.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 329 64"><defs><style>.cls-1{fill:#eee;}.cls-2{fill:#d6d6d6;}.cls-3{fill:#00b050;}.cls-4{fill:#8cd4ad;}.cls-5{fill:#272727;}.cls-6{fill:#9e9e9e;}</style></defs><title>Chat with us bar</title><path class="cls-1" d="M323.06,0H5.94A5.94,5.94,0,0,0,0,5.94V64H329V5.94A5.94,5.94,0,0,0,323.06,0Z"/><path class="cls-2" d="M323.06,2A4,4,0,0,1,327,5.94V62H2V5.94A4,4,0,0,1,5.94,2H323.06m0-2H5.94A5.94,5.94,0,0,0,0,5.94V64H329V5.94A5.94,5.94,0,0,0,323.06,0Z"/><path class="cls-3" d="M51.28,15H23.72A4.72,4.72,0,0,0,19,19.72V34.28A4.72,4.72,0,0,0,23.72,39h.22L22.5,44.5,30.44,39H51.28A4.72,4.72,0,0,0,56,34.28V19.72A4.72,4.72,0,0,0,51.28,15ZM28.5,28.5a2,2,0,1,1,2-2A2,2,0,0,1,28.5,28.5Zm9,0a2,2,0,1,1,2-2A2,2,0,0,1,37.5,28.5Zm9,0a2,2,0,1,1,2-2A2,2,0,0,1,46.5,28.5Z"/><path class="cls-2" d="M323.06,2A4,4,0,0,1,327,5.94V62H2V5.94A4,4,0,0,1,5.94,2H323.06m0-2H5.94A5.94,5.94,0,0,0,0,5.94V64H329V5.94A5.94,5.94,0,0,0,323.06,0Z"/><path class="cls-4" d="M59.5,24.09V36.78a4.72,4.72,0,0,1-4.72,4.72H31.66a4,4,0,0,0,3.86,3H53.26L59.87,49,58.8,44.47H59a4,4,0,0,0,4-4V28.05A4,4,0,0,0,59.5,24.09Z"/><path class="cls-5" d="M94.84,32.71l-2.31-1.77a7.11,7.11,0,0,1-3.77,1c-4.92,0-7.21-3.93-7.21-7.77,0-4.59,2.66-7.77,7.21-7.77S96,19.57,96,24.16a8.27,8.27,0,0,1-2.16,5.77l2,1.59Zm-4.43-5.44,2,1.54A6.35,6.35,0,0,0,94,24.16c0-3.52-1.92-6-5.23-6s-5.23,2.51-5.23,6,1.71,6,5.23,6A5.53,5.53,0,0,0,91,29.76L89.4,28.51Z"/><path class="cls-5" d="M106.93,31.55h-1.75v-1.5h0a3.93,3.93,0,0,1-3.3,1.83c-1.67,0-3.77-.68-3.77-3.75V20.78h1.85v6.67c0,1.88.54,2.82,2.31,2.82,1,0,2.84-.66,2.84-3.58V20.78h1.85Z"/><path class="cls-5" d="M118.76,28.12a4.64,4.64,0,0,1-4.7,3.77c-2.88,0-5-1.87-5-5.79s2.78-5.64,4.86-5.64c2.95,0,5,1.77,5,5.44v.93H111c0,2.1,1.15,3.46,3,3.46A2.86,2.86,0,0,0,117,28.12ZM117,25.33c0-2.1-1.22-3.28-3-3.28a3.17,3.17,0,0,0-3,3.28Z"/><path class="cls-5" d="M122.14,28.16c.08,1.59,1.17,2.25,2.84,2.25s2.55-.76,2.55-1.77c0-2.39-6.78-.95-6.78-4.74,0-2.25,1.75-3.44,4-3.44,2.66,0,4.14,1.46,4.16,3.38H127.2c-.1-1.21-.91-1.9-2.53-1.9-1.4,0-2.18.64-2.18,1.61,0,2.49,6.78.89,6.78,4.7,0,2-1.4,3.65-4.31,3.65-2.68,0-4.47-1.11-4.55-3.73Z"/><path class="cls-5" d="M133.57,22.26v7c0,.84.7.84,1.07.84h.64v1.46a11,11,0,0,1-1.36.14c-1.81,0-2.2-1-2.2-2.31V22.26h-1.44V20.78h1.44v-3h1.85v3h1.71v1.48Z"/><path class="cls-5" d="M137.07,16.89h1.85V19h-1.85Zm0,3.89h1.85V31.55h-1.85Z"/><path class="cls-5" d="M146,31.88c-3.13,0-5-2.21-5-5.73s1.87-5.71,5-5.71,5,2.21,5,5.71S149.14,31.88,146,31.88Zm0-9.83c-2.06,0-3.15,1.71-3.15,4.1S144,30.28,146,30.28s3.15-1.71,3.15-4.12S148.07,22.06,146,22.06Z"/><path class="cls-5" d="M153,20.78h1.75v1.5h0a3.93,3.93,0,0,1,3.3-1.83c1.67,0,3.77.68,3.77,3.75v7.35H160V24.88c0-1.87-.54-2.82-2.31-2.82-1,0-2.84.66-2.84,3.58v5.91H153Z"/><path class="cls-5" d="M165.65,28.16c.08,1.59,1.17,2.25,2.84,2.25s2.55-.76,2.55-1.77c0-2.39-6.78-.95-6.78-4.74,0-2.25,1.75-3.44,4-3.44,2.66,0,4.14,1.46,4.16,3.38h-1.73c-.1-1.21-.91-1.9-2.53-1.9-1.4,0-2.18.64-2.18,1.61,0,2.49,6.78.89,6.78,4.7,0,2-1.4,3.65-4.31,3.65-2.68,0-4.47-1.11-4.55-3.73Z"/><path class="cls-5" d="M175,21.4v-.56a4.34,4.34,0,0,1,4.61-4.28c2.66,0,4.47,1.59,4.47,4.06,0,3.11-3.79,3.54-3.79,6.63v.54h-1.85v-.58c0-3.5,3.67-4.1,3.67-6.57a2.32,2.32,0,0,0-2.53-2.47c-1.5,0-2.68.84-2.72,3.23Zm3.32,7.93h2.1v2.22h-2.1Z"/><path class="cls-5" d="M198.32,30.2a4.41,4.41,0,0,0,4.3-3.93h1.92a6.2,6.2,0,0,1-6.22,5.67c-2.7,0-6.84-1.48-6.84-7.58s3.67-8,6.9-8c4,0,5.89,2.68,6.06,4.76H202.5a4,4,0,0,0-4.06-3c-3,0-5,2.35-5,6S195.42,30.2,198.32,30.2Z"/><path class="cls-5" d="M206.85,16.76h1.85V22.2h0a3.82,3.82,0,0,1,3.19-1.75c1.67,0,3.77.68,3.77,3.75v7.35h-1.85V24.47c0-1.46-.41-2.41-2.14-2.41-1.48,0-3,.87-3,3.58v5.91h-1.85Z"/><path class="cls-5" d="M218.34,24c.08-2.64,1.9-3.56,4.43-3.56,2.08,0,4.1.82,4.1,3V29.7a.57.57,0,0,0,.6.64,3.14,3.14,0,0,0,.6-.08v1.28a3.39,3.39,0,0,1-1,.17c-1.28,0-1.85-.41-2-1.57a4.87,4.87,0,0,1-4,1.75,3.11,3.11,0,0,1-3.3-3.11,3.31,3.31,0,0,1,3.23-3.38l3-.37c.58-.06.93-.41.93-1.26,0-1.3-.89-1.83-2.47-1.83s-2.41.7-2.51,2.08ZM225,26.08a7.79,7.79,0,0,1-3,.68c-1.34.19-2.31.68-2.31,1.75a1.78,1.78,0,0,0,2,1.9c1.09,0,3.34-.74,3.34-2.6Z"/><path class="cls-5" d="M232,22.26v7c0,.84.7.84,1.07.84h.64v1.46a11,11,0,0,1-1.36.14c-1.81,0-2.2-1-2.2-2.31V22.26h-1.44V20.78h1.44v-3H232v3h1.71v1.48Z"/><path class="cls-5" d="M245.19,31.55h-1.87L240.2,20.78h2l2.06,8.47h0l2.08-8.47h2l2.1,8.47h0l2.18-8.47h1.81l-3.13,10.77h-1.87l-2.18-8.34h0Z"/><path class="cls-5" d="M256.15,16.89H258V19h-1.85Zm0,3.89H258V31.55h-1.85Z"/><path class="cls-5" d="M262.94,22.26v7c0,.84.7.84,1.07.84h.64v1.46a11,11,0,0,1-1.36.14c-1.81,0-2.2-1-2.2-2.31V22.26h-1.44V20.78h1.44v-3h1.85v3h1.71v1.48Z"/><path class="cls-5" d="M266.38,16.76h1.85V22.2h0a3.82,3.82,0,0,1,3.19-1.75c1.67,0,3.77.68,3.77,3.75v7.35h-1.85V24.47c0-1.46-.41-2.41-2.14-2.41-1.48,0-3,.87-3,3.58v5.91h-1.85Z"/><path class="cls-5" d="M292.42,31.55h-1.75v-1.5h0a3.93,3.93,0,0,1-3.3,1.83c-1.67,0-3.77-.68-3.77-3.75V20.78h1.85v6.67c0,1.88.54,2.82,2.31,2.82,1,0,2.84-.66,2.84-3.58V20.78h1.85Z"/><path class="cls-5" d="M296.17,28.16c.08,1.59,1.17,2.25,2.84,2.25s2.55-.76,2.55-1.77c0-2.39-6.78-.95-6.78-4.74,0-2.25,1.75-3.44,4-3.44,2.66,0,4.14,1.46,4.16,3.38h-1.73c-.1-1.21-.91-1.9-2.53-1.9-1.4,0-2.18.64-2.18,1.61,0,2.49,6.78.89,6.78,4.7,0,2-1.4,3.65-4.31,3.65-2.68,0-4.47-1.11-4.55-3.73Z"/><path class="cls-5" d="M305.83,29.33h2.1v2.22h-2.1Zm.06-12.57h2v4.88L307.4,28h-1l-.47-6.39Z"/><path class="cls-6" d="M82.39,40.44h6v.86H85.86v6.46h-1V41.3H82.39Z"/><path class="cls-6" d="M89.12,40.44H90v2.69h0a1.89,1.89,0,0,1,1.58-.87,1.69,1.69,0,0,1,1.87,1.86v3.64h-.92V44.25c0-.72-.2-1.19-1.06-1.19S90,43.49,90,44.83v2.93h-.92Z"/><path class="cls-6" d="M94.82,40.5h.92v1h-.92Zm0,1.93h.92v5.33h-.92Z"/><path class="cls-6" d="M97.63,46.08c0,.78.58,1.11,1.41,1.11s1.26-.38,1.26-.88c0-1.18-3.35-.47-3.35-2.34,0-1.11.87-1.7,2-1.7,1.31,0,2,.72,2.06,1.67h-.86c-.05-.6-.45-.94-1.25-.94s-1.08.32-1.08.79c0,1.23,3.35.44,3.35,2.32,0,1-.69,1.8-2.13,1.8s-2.21-.55-2.25-1.84Z"/><path class="cls-6" d="M107,47.76H106l-1.54-5.33h1l1,4.19h0l1-4.19h1l1,4.19h0l1.08-4.19h.9L110,47.76h-.93L108,43.63h0Z"/><path class="cls-6" d="M112.38,40.5h.92v1h-.92Zm0,1.93h.92v5.33h-.92Z"/><path class="cls-6" d="M115.57,47.76h-.92V40.44h.92Z"/><path class="cls-6" d="M117.83,47.76h-.92V40.44h.92Z"/><path class="cls-6" d="M126.55,46.06a2.29,2.29,0,0,1-2.32,1.87c-1.43,0-2.49-.93-2.49-2.86a2.55,2.55,0,0,1,2.41-2.79c1.46,0,2.47.88,2.47,2.69v.46h-3.89c0,1,.57,1.71,1.5,1.71a1.42,1.42,0,0,0,1.45-1.07Zm-.86-1.38a1.45,1.45,0,0,0-1.48-1.62,1.57,1.57,0,0,0-1.5,1.62Z"/><path class="cls-6" d="M128.22,46.08c0,.78.58,1.11,1.41,1.11s1.26-.38,1.26-.88c0-1.18-3.35-.47-3.35-2.34,0-1.11.87-1.7,2-1.7,1.31,0,2,.72,2.06,1.67h-.86c-.05-.6-.45-.94-1.25-.94s-1.08.32-1.08.79c0,1.23,3.35.44,3.35,2.32,0,1-.69,1.8-2.13,1.8s-2.21-.55-2.25-1.84Z"/><path class="cls-6" d="M133.88,43.16v3.46c0,.42.35.42.53.42h.32v.72a5.37,5.37,0,0,1-.67.07c-.9,0-1.09-.5-1.09-1.14V43.16h-.71v-.73H133V40.94h.92v1.49h.85v.73Z"/><path class="cls-6" d="M135.5,44c0-1.3.94-1.76,2.19-1.76,1,0,2,.41,2,1.48v3.1a.28.28,0,0,0,.3.32,1.58,1.58,0,0,0,.3,0v.63a1.72,1.72,0,0,1-.49.08c-.63,0-.92-.2-1-.77a2.41,2.41,0,0,1-2,.87,1.54,1.54,0,0,1-1.63-1.54,1.64,1.64,0,0,1,1.6-1.67l1.5-.18c.29,0,.46-.2.46-.62,0-.64-.44-.91-1.22-.91s-1.19.35-1.24,1Zm3.3,1a3.85,3.85,0,0,1-1.48.34c-.66.09-1.14.34-1.14.87a.88.88,0,0,0,1,.94c.54,0,1.65-.37,1.65-1.28Z"/><path class="cls-6" d="M141.08,40.44H142v2.73a1.84,1.84,0,0,1,1.6-.91c1.42,0,2.22,1.17,2.22,2.66,0,1.28-.53,3-2.34,3A1.61,1.61,0,0,1,142,47h0v.72h-.86Zm.92,4.88c0,1.42.89,1.8,1.47,1.8,1,0,1.44-.9,1.44-2.07,0-.68-.07-2-1.46-2S142,44.46,142,45.32Z"/><path class="cls-6" d="M147.77,47.76h-.92V40.44h.92Z"/><path class="cls-6" d="M149.12,40.5H150v1h-.92Zm0,1.93H150v5.33h-.92Z"/><path class="cls-6" d="M151.92,46.08c0,.78.58,1.11,1.41,1.11s1.26-.38,1.26-.88c0-1.18-3.35-.47-3.35-2.34,0-1.11.87-1.7,2-1.7,1.31,0,2,.72,2.06,1.67h-.86c-.05-.6-.45-.94-1.25-.94s-1.08.32-1.08.79c0,1.23,3.35.44,3.35,2.32,0,1-.69,1.8-2.13,1.8s-2.21-.55-2.25-1.84Z"/><path class="cls-6" d="M156.45,40.44h.92v2.69h0a1.89,1.89,0,0,1,1.58-.87,1.69,1.69,0,0,1,1.87,1.86v3.64h-.92V44.25c0-.72-.2-1.19-1.06-1.19s-1.49.43-1.49,1.77v2.93h-.92Z"/><path class="cls-6" d="M165,44c0-1.3.94-1.76,2.19-1.76,1,0,2,.41,2,1.48v3.1a.28.28,0,0,0,.29.32,1.57,1.57,0,0,0,.3,0v.63a1.72,1.72,0,0,1-.49.08c-.63,0-.92-.2-1-.77a2.41,2.41,0,0,1-2,.87,1.54,1.54,0,0,1-1.63-1.54,1.64,1.64,0,0,1,1.6-1.67l1.5-.18c.29,0,.46-.2.46-.62,0-.64-.44-.91-1.22-.91s-1.19.35-1.24,1Zm3.3,1a3.85,3.85,0,0,1-1.48.34c-.66.09-1.14.34-1.14.87a.88.88,0,0,0,1,.94c.54,0,1.65-.37,1.65-1.28Z"/><path class="cls-6" d="M177.68,45.88a2.14,2.14,0,0,1-2.28,2c-.95,0-2.22-.65-2.22-2.8,0-1.76,1.08-2.85,2.31-2.85a2,2,0,0,1,2.19,2h-.86a1.17,1.17,0,0,0-1.23-1.16c-1,0-1.5.86-1.5,2.11,0,1.41.54,2,1.44,2a1.36,1.36,0,0,0,1.29-1.3Z"/><path class="cls-6" d="M180.75,47.92c-1.55,0-2.48-1.09-2.48-2.83s.93-2.82,2.48-2.82,2.48,1.09,2.48,2.82S182.3,47.92,180.75,47.92Zm0-4.86c-1,0-1.56.85-1.56,2s.54,2,1.56,2,1.56-.85,1.56-2S181.77,43.06,180.75,43.06Z"/><path class="cls-6" d="M184.23,42.43h.87v.74h0a1.94,1.94,0,0,1,1.63-.91,1.69,1.69,0,0,1,1.87,1.86v3.64h-.92v-3.3c0-.93-.26-1.4-1.14-1.4-.51,0-1.41.33-1.41,1.77v2.93h-.92Z"/><path class="cls-6" d="M189.9,42.43h.87v.74h0a1.94,1.94,0,0,1,1.63-.91,1.69,1.69,0,0,1,1.87,1.86v3.64h-.92v-3.3c0-.93-.26-1.4-1.14-1.4-.51,0-1.41.33-1.41,1.77v2.93h-.92Z"/><path class="cls-6" d="M200.14,46.06a2.29,2.29,0,0,1-2.32,1.87c-1.43,0-2.49-.93-2.49-2.86a2.55,2.55,0,0,1,2.41-2.79c1.46,0,2.47.88,2.47,2.69v.46H196.3c0,1,.57,1.71,1.5,1.71a1.41,1.41,0,0,0,1.45-1.07Zm-.86-1.38a1.45,1.45,0,0,0-1.48-1.62,1.57,1.57,0,0,0-1.5,1.62Z"/><path class="cls-6" d="M205.46,45.88a2.14,2.14,0,0,1-2.28,2c-.95,0-2.22-.65-2.22-2.8,0-1.76,1.08-2.85,2.31-2.85a2,2,0,0,1,2.19,2h-.86a1.17,1.17,0,0,0-1.23-1.16c-1,0-1.5.86-1.5,2.11,0,1.41.54,2,1.44,2a1.36,1.36,0,0,0,1.29-1.3Z"/><path class="cls-6" d="M207.47,43.16v3.46c0,.42.35.42.53.42h.32v.72a5.35,5.35,0,0,1-.67.07c-.9,0-1.09-.5-1.09-1.14V43.16h-.71v-.73h.71V40.94h.92v1.49h.85v.73Z"/><path class="cls-6" d="M209.21,40.5h.92v1h-.92Zm0,1.93h.92v5.33h-.92Z"/><path class="cls-6" d="M213.63,47.92c-1.55,0-2.48-1.09-2.48-2.83s.93-2.82,2.48-2.82,2.48,1.09,2.48,2.82S215.18,47.92,213.63,47.92Zm0-4.86c-1,0-1.56.85-1.56,2s.54,2,1.56,2,1.56-.85,1.56-2S214.65,43.06,213.63,43.06Z"/><path class="cls-6" d="M217.11,42.43H218v.74h0a1.94,1.94,0,0,1,1.63-.91,1.69,1.69,0,0,1,1.87,1.86v3.64h-.92v-3.3c0-.93-.26-1.4-1.14-1.4-.51,0-1.41.33-1.41,1.77v2.93h-.92Z"/><path class="cls-6" d="M226.75,43.16v3.46c0,.42.35.42.53.42h.32v.72a5.35,5.35,0,0,1-.67.07c-.9,0-1.09-.5-1.09-1.14V43.16h-.71v-.73h.71V40.94h.92v1.49h.85v.73Z"/><path class="cls-6" d="M230.44,47.92c-1.55,0-2.48-1.09-2.48-2.83s.93-2.82,2.48-2.82,2.48,1.09,2.48,2.82S232,47.92,230.44,47.92Zm0-4.86c-1,0-1.56.85-1.56,2s.54,2,1.56,2,1.56-.85,1.56-2S231.46,43.06,230.44,43.06Z"/><path class="cls-6" d="M237.88,43.16v3.46c0,.42.35.42.53.42h.32v.72a5.35,5.35,0,0,1-.67.07c-.9,0-1.09-.5-1.09-1.14V43.16h-.71v-.73H237V40.94h.92v1.49h.85v.73Z"/><path class="cls-6" d="M239.59,40.44h.92v2.69h0a1.89,1.89,0,0,1,1.58-.87A1.69,1.69,0,0,1,244,44.12v3.64h-.92V44.25c0-.72-.2-1.19-1.06-1.19s-1.49.43-1.49,1.77v2.93h-.92Z"/><path class="cls-6" d="M249.82,46.06a2.29,2.29,0,0,1-2.32,1.87c-1.43,0-2.49-.93-2.49-2.86a2.55,2.55,0,0,1,2.41-2.79c1.46,0,2.47.88,2.47,2.69v.46H246c0,1,.57,1.71,1.5,1.71a1.41,1.41,0,0,0,1.45-1.07ZM249,44.68a1.45,1.45,0,0,0-1.48-1.62,1.57,1.57,0,0,0-1.5,1.62Z"/><path class="cls-6" d="M258,45.88a2.14,2.14,0,0,1-2.28,2c-.95,0-2.22-.65-2.22-2.8,0-1.76,1.08-2.85,2.31-2.85a2,2,0,0,1,2.19,2h-.86a1.17,1.17,0,0,0-1.23-1.16c-1,0-1.5.86-1.5,2.11,0,1.41.54,2,1.44,2a1.36,1.36,0,0,0,1.29-1.3Z"/><path class="cls-6" d="M258.86,40.44h.92v2.69h0a1.89,1.89,0,0,1,1.58-.87,1.69,1.69,0,0,1,1.87,1.86v3.64h-.92V44.25c0-.72-.2-1.19-1.06-1.19s-1.49.43-1.49,1.77v2.93h-.92Z"/><path class="cls-6" d="M264.55,44c0-1.3.94-1.76,2.19-1.76,1,0,2,.41,2,1.48v3.1a.28.28,0,0,0,.29.32,1.57,1.57,0,0,0,.3,0v.63a1.72,1.72,0,0,1-.49.08c-.63,0-.92-.2-1-.77a2.41,2.41,0,0,1-2,.87,1.54,1.54,0,0,1-1.63-1.54,1.64,1.64,0,0,1,1.6-1.67l1.5-.18c.29,0,.46-.2.46-.62,0-.64-.44-.91-1.22-.91s-1.19.35-1.24,1Zm3.3,1a3.85,3.85,0,0,1-1.48.34c-.66.09-1.14.34-1.14.87a.88.88,0,0,0,1,.94c.54,0,1.65-.37,1.65-1.28Z"/><path class="cls-6" d="M271.33,43.16v3.46c0,.42.35.42.53.42h.32v.72a5.35,5.35,0,0,1-.67.07c-.9,0-1.09-.5-1.09-1.14V43.16h-.71v-.73h.71V40.94h.92v1.49h.85v.73Z"/><path class="cls-6" d="M276.44,46.08c0,.78.58,1.11,1.41,1.11s1.26-.38,1.26-.88c0-1.18-3.35-.47-3.35-2.34,0-1.11.87-1.7,2-1.7,1.31,0,2,.72,2.06,1.67h-.86c-.05-.6-.45-.94-1.25-.94s-1.08.32-1.08.79c0,1.23,3.35.44,3.35,2.32,0,1-.69,1.8-2.13,1.8s-2.21-.55-2.25-1.84Z"/><path class="cls-6" d="M285.54,46.06a2.29,2.29,0,0,1-2.32,1.87c-1.43,0-2.49-.93-2.49-2.86a2.55,2.55,0,0,1,2.41-2.79c1.46,0,2.47.88,2.47,2.69v.46H281.7c0,1,.57,1.71,1.5,1.71a1.42,1.42,0,0,0,1.45-1.07Zm-.86-1.38a1.45,1.45,0,0,0-1.48-1.62,1.57,1.57,0,0,0-1.5,1.62Z"/><path class="cls-6" d="M286.77,42.43h.86v.88h0a1.73,1.73,0,0,1,1.5-1,.75.75,0,0,1,.23,0v.92H289a1.36,1.36,0,0,0-1.36,1.44v3.11h-.92Z"/><path class="cls-6" d="M293.43,42.43h1l-2,5.33h-1l-1.95-5.33h1l1.39,4.34h0Z"/><path class="cls-6" d="M299.5,46.06a2.29,2.29,0,0,1-2.32,1.87c-1.43,0-2.49-.93-2.49-2.86a2.55,2.55,0,0,1,2.41-2.79c1.46,0,2.47.88,2.47,2.69v.46h-3.89c0,1,.57,1.71,1.5,1.71a1.42,1.42,0,0,0,1.45-1.07Zm-.86-1.38a1.45,1.45,0,0,0-1.48-1.62,1.57,1.57,0,0,0-1.5,1.62Z"/><path class="cls-6" d="M300.73,42.43h.86v.88h0a1.73,1.73,0,0,1,1.5-1,.75.75,0,0,1,.23,0v.92H303a1.36,1.36,0,0,0-1.36,1.44v3.11h-.92Z"/><path class="cls-6" d="M304.36,46.08c0,.78.58,1.11,1.41,1.11s1.26-.38,1.26-.88c0-1.18-3.35-.47-3.35-2.34,0-1.11.87-1.7,2-1.7,1.32,0,2,.72,2.06,1.67h-.86c-.05-.6-.45-.94-1.25-.94s-1.08.32-1.08.79c0,1.23,3.35.44,3.35,2.32,0,1-.69,1.8-2.13,1.8s-2.21-.55-2.25-1.84Z"/></svg>
|
libs/controllers/sfsi_socialhelper.php
CHANGED
@@ -104,23 +104,23 @@ class sfsi_SocialHelper
|
|
104 |
|
105 |
/* get google+ likes */
|
106 |
function sfsi_getPlus1($url){
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
|
125 |
}
|
126 |
|
@@ -198,50 +198,37 @@ class sfsi_SocialHelper
|
|
198 |
{
|
199 |
$user_Agent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] :'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)';
|
200 |
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
$cont = curl_exec($ch);
|
212 |
-
if(curl_error($ch))
|
213 |
-
{
|
214 |
-
//die(curl_error($ch));
|
215 |
-
}
|
216 |
-
return $cont;
|
217 |
-
}
|
218 |
-
else{
|
219 |
return false;
|
|
|
|
|
220 |
}
|
221 |
-
|
222 |
}
|
223 |
|
224 |
private function get_content_curl($url)
|
225 |
{
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
if(curl_error($curl))
|
238 |
-
{
|
239 |
-
//die(curl_error($ch));
|
240 |
-
}
|
241 |
-
return $cont;
|
242 |
-
}
|
243 |
-
else{
|
244 |
return false;
|
|
|
|
|
245 |
}
|
246 |
}
|
247 |
|
@@ -511,50 +498,41 @@ class sfsi_SocialHelper
|
|
511 |
/* get no of subscribers from specificfeeds for current blog count */
|
512 |
public function SFSI_getFeedSubscriberCount($feedid)
|
513 |
{
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
|
521 |
-
|
522 |
-
CURLOPT_URL => 'http://www.specificfeeds.com/wordpress/wpCountSubscriber',
|
523 |
-
CURLOPT_USERAGENT => 'sf rss request',
|
524 |
-
CURLOPT_POST => 1,
|
525 |
-
CURLOPT_TIMEOUT => 30,
|
526 |
-
CURLOPT_POSTFIELDS => array('feed_id' => $feedid, 'v' => "newplugincount")
|
527 |
-
));
|
528 |
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
|
533 |
-
|
534 |
-
if($httpcode == 200){
|
535 |
|
536 |
-
|
537 |
-
{
|
538 |
-
$resp = json_decode($resp);
|
539 |
-
|
540 |
-
curl_close($curl);
|
541 |
|
542 |
-
|
543 |
-
}
|
544 |
-
else{
|
545 |
-
$sfsi_premium_instagram_sf_count = unserialize(get_option('sfsi_sf_count',false));
|
546 |
-
$feeddata = $sfsi_premium_instagram_sf_count["sfsi_sf_count"];
|
547 |
-
}
|
548 |
}
|
549 |
else{
|
550 |
$sfsi_premium_instagram_sf_count = unserialize(get_option('sfsi_sf_count',false));
|
551 |
$feeddata = $sfsi_premium_instagram_sf_count["sfsi_sf_count"];
|
552 |
}
|
553 |
-
return $this->format_num($feeddata);
|
554 |
}
|
555 |
else{
|
556 |
-
|
|
|
557 |
}
|
|
|
558 |
|
559 |
exit;
|
560 |
}
|
104 |
|
105 |
/* get google+ likes */
|
106 |
function sfsi_getPlus1($url){
|
107 |
+
$body = '[{"method":"pos.plusones.get","id":"p","params":{"nolog":true,"id":"' . $url . '","source":"widget","userId":"@viewer","groupId":"@self"},"jsonrpc":"2.0","key":"p","apiVersion":"v1"}]';
|
108 |
+
$args = array(
|
109 |
+
'body' => $body,
|
110 |
+
'blocking' => true,
|
111 |
+
'header' => array('Content-type: application/json'),
|
112 |
+
'sslverify' => true
|
113 |
+
);
|
114 |
+
$resp = wp_remote_post( "https://clients6.google.com/rpc", $args );
|
115 |
+
if ( is_wp_error( $resp ) ) {
|
116 |
+
var_dump($resp->get_error_message());
|
117 |
+
return 0;
|
118 |
+
} else{
|
119 |
+
$json = json_decode($resp['body'], true);
|
120 |
+
// var_dump($resp);
|
121 |
+
if(isset($json[0]['error'])){return 0;}
|
122 |
+
return intval( $json[0]['result']['metadata']['globalCounts']['count'] );
|
123 |
+
}
|
124 |
|
125 |
}
|
126 |
|
198 |
{
|
199 |
$user_Agent = (isset($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] :'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)';
|
200 |
|
201 |
+
$args = array(
|
202 |
+
'blocking' => true,
|
203 |
+
'user_Agent' => $user_Agent,
|
204 |
+
'timeout' =>$this->timeout,
|
205 |
+
'header' => array('Content-type: application/json'),
|
206 |
+
'sslverify' => false
|
207 |
+
);
|
208 |
+
// var_dump($args);
|
209 |
+
$resp = wp_remote_get( $url, $args );
|
210 |
+
if ( is_wp_error( $resp ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
return false;
|
212 |
+
} else{
|
213 |
+
return $resp["body"];
|
214 |
}
|
|
|
215 |
}
|
216 |
|
217 |
private function get_content_curl($url)
|
218 |
{
|
219 |
+
$args = array(
|
220 |
+
'blocking' => true,
|
221 |
+
'user_Agent' => $user_Agent,
|
222 |
+
'timeout' =>$this->timeout,
|
223 |
+
'header' => array('Content-type: application/json'),
|
224 |
+
'sslverify' => false
|
225 |
+
);
|
226 |
+
// var_dump($args);
|
227 |
+
$resp = wp_remote_get( $url, $args );
|
228 |
+
if ( is_wp_error( $resp ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
return false;
|
230 |
+
} else{
|
231 |
+
return $resp["body"];
|
232 |
}
|
233 |
}
|
234 |
|
498 |
/* get no of subscribers from specificfeeds for current blog count */
|
499 |
public function SFSI_getFeedSubscriberCount($feedid)
|
500 |
{
|
501 |
+
$httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
|
502 |
+
$postto_array = array(
|
503 |
+
'feed_id' => $feedid,
|
504 |
+
'v' => 'newplugincount'
|
505 |
+
);
|
506 |
+
$args = array(
|
507 |
+
'body' => $postto_array,
|
508 |
+
'blocking' => true,
|
509 |
+
'user-agent' => 'sf rss request',
|
510 |
+
'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
|
511 |
+
'sslverify' => true
|
512 |
+
);
|
513 |
+
$resp = wp_remote_post( 'https://www.specificfeeds.com/wordpress/wpCountSubscriber', $args );
|
514 |
+
$httpcode = wp_remote_retrieve_response_code($resp);
|
515 |
|
516 |
+
if($httpcode == 200){
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
|
518 |
+
if(!empty($resp))
|
519 |
+
{
|
520 |
+
$resp = json_decode($resp);
|
|
|
|
|
|
|
521 |
|
522 |
+
curl_close($curl);
|
|
|
|
|
|
|
|
|
523 |
|
524 |
+
$feeddata = stripslashes_deep($resp->subscriber_count);
|
|
|
|
|
|
|
|
|
|
|
525 |
}
|
526 |
else{
|
527 |
$sfsi_premium_instagram_sf_count = unserialize(get_option('sfsi_sf_count',false));
|
528 |
$feeddata = $sfsi_premium_instagram_sf_count["sfsi_sf_count"];
|
529 |
}
|
|
|
530 |
}
|
531 |
else{
|
532 |
+
$sfsi_premium_instagram_sf_count = unserialize(get_option('sfsi_sf_count',false));
|
533 |
+
$feeddata = $sfsi_premium_instagram_sf_count["sfsi_sf_count"];
|
534 |
}
|
535 |
+
return $this->format_num($feeddata);
|
536 |
|
537 |
exit;
|
538 |
}
|
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 |
{
|
@@ -668,21 +668,23 @@ function sfsi_deactivate_plugin()
|
|
668 |
|
669 |
function sfsi_updateFeedPing($status,$feed_id)
|
670 |
{
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
|
|
|
|
686 |
}
|
687 |
/* unistall plugin function */
|
688 |
function sfsi_Unistall_plugin()
|
@@ -750,70 +752,73 @@ if ( is_admin() ){
|
|
750 |
/* fetch rss url from specificfeeds */
|
751 |
function SFSI_getFeedUrl()
|
752 |
{
|
753 |
-
$
|
754 |
-
|
755 |
-
curl_setopt_array($curl, array(
|
756 |
-
CURLOPT_RETURNTRANSFER => 1,
|
757 |
-
CURLOPT_URL => 'http://www.specificfeeds.com/wordpress/plugin_setup',
|
758 |
-
CURLOPT_USERAGENT => 'sf rss request',
|
759 |
-
CURLOPT_POST => 1,
|
760 |
-
CURLOPT_POSTFIELDS => array(
|
761 |
'web_url' => get_bloginfo('url'),
|
762 |
'feed_url' => sfsi_get_bloginfo('rss2_url'),
|
763 |
'email' => '',
|
764 |
'subscriber_type' => 'OWP'
|
765 |
-
)
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
|
|
|
|
|
|
|
|
|
|
771 |
update_option("sfsi_curlErrorNotices", "yes");
|
772 |
-
update_option("sfsi_curlErrorMessage",
|
|
|
|
|
|
|
|
|
773 |
}
|
774 |
-
$resp = json_decode($resp);
|
775 |
-
curl_close($curl);
|
776 |
-
|
777 |
-
$feed_url = stripslashes_deep($resp->redirect_url);
|
778 |
return $resp;exit;
|
779 |
}
|
780 |
/* fetch rss url from specificfeeds on */
|
781 |
function SFSI_updateFeedUrl()
|
782 |
{
|
783 |
-
$
|
784 |
-
|
785 |
-
curl_setopt_array($curl, array(
|
786 |
-
CURLOPT_RETURNTRANSFER => 1,
|
787 |
-
CURLOPT_URL => 'http://www.specificfeeds.com/wordpress/updateFeedPlugin',
|
788 |
-
CURLOPT_USERAGENT => 'sf rss request',
|
789 |
-
CURLOPT_POST => 1,
|
790 |
-
CURLOPT_POSTFIELDS => array(
|
791 |
'feed_id' => sanitize_text_field(get_option('sfsi_feed_id')),
|
792 |
'web_url' => get_bloginfo('url'),
|
793 |
'feed_url' => sfsi_get_bloginfo('rss2_url'),
|
794 |
'email' => ''
|
795 |
-
)
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
$feed_url = stripslashes_deep($resp->redirect_url);
|
803 |
return $resp;exit;
|
804 |
}
|
805 |
/* add sf tags */
|
806 |
function sfsi_setUpfeeds($feed_id)
|
807 |
{
|
808 |
-
$
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
)
|
815 |
-
|
816 |
-
|
|
|
|
|
817 |
}
|
818 |
/* admin notice if wp_head is missing in active theme */
|
819 |
function sfsi_check_wp_head() {
|
@@ -998,48 +1003,49 @@ function sfsi_pingVendor( $post_id )
|
|
998 |
return;
|
999 |
$post_data=get_post($post_id,ARRAY_A);
|
1000 |
if($post_data['post_status']=='publish' && $post_data['post_type']=='post') :
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1011 |
}
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1015 |
}
|
1016 |
-
$count++;
|
1017 |
-
}
|
1018 |
-
$postto_array = array(
|
1019 |
-
'feed_id' => sanitize_text_field(get_option('sfsi_feed_id')),
|
1020 |
-
'title' => $post_data['post_title'],
|
1021 |
-
'description'=> $post_data['post_content'],
|
1022 |
-
'link' => $post_data['guid'],
|
1023 |
-
'author' => get_the_author_meta('user_login', $post_data['post_author']),
|
1024 |
-
'category' => $cats,
|
1025 |
-
'pubDate' => $post_data['post_modified'],
|
1026 |
-
'rssurl' => sfsi_get_bloginfo('rss2_url')
|
1027 |
-
);
|
1028 |
-
$curl = curl_init();
|
1029 |
-
|
1030 |
-
curl_setopt_array($curl, array(
|
1031 |
-
CURLOPT_RETURNTRANSFER => 1,
|
1032 |
-
CURLOPT_URL => 'http://www.specificfeeds.com/wordpress/addpostdata ',
|
1033 |
-
CURLOPT_USERAGENT => 'sf rss request',
|
1034 |
-
CURLOPT_POST => 1,
|
1035 |
-
CURLOPT_POSTFIELDS => $postto_array
|
1036 |
-
));
|
1037 |
-
// Send the request & save response to $resp
|
1038 |
-
$resp = curl_exec($curl);
|
1039 |
-
$resp=json_decode($resp);
|
1040 |
-
curl_close($curl);
|
1041 |
-
|
1042 |
-
return true;
|
1043 |
endif;
|
1044 |
}
|
1045 |
add_action( 'save_post', 'sfsi_pingVendor' );
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_pluginVersion", "2.11");
|
16 |
|
17 |
if(!get_option('sfsi_serverphpVersionnotification'))
|
18 |
{
|
668 |
|
669 |
function sfsi_updateFeedPing($status,$feed_id)
|
670 |
{
|
671 |
+
$body = array(
|
672 |
+
'feed_id' => $feed_id,
|
673 |
+
'status' => $status
|
674 |
+
);
|
675 |
+
|
676 |
+
$args = array(
|
677 |
+
'body' => $body,
|
678 |
+
'timeout' => '5',
|
679 |
+
'redirection' => '5',
|
680 |
+
'httpversion' => '1.0',
|
681 |
+
'blocking' => true,
|
682 |
+
'headers' => array(),
|
683 |
+
'cookies' => array()
|
684 |
+
);
|
685 |
+
|
686 |
+
$resp = wp_remote_post( 'https://www.specificfeeds.com/wordpress/pingfeed', $args );
|
687 |
+
return $resp['body'];
|
688 |
}
|
689 |
/* unistall plugin function */
|
690 |
function sfsi_Unistall_plugin()
|
752 |
/* fetch rss url from specificfeeds */
|
753 |
function SFSI_getFeedUrl()
|
754 |
{
|
755 |
+
$body = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
756 |
'web_url' => get_bloginfo('url'),
|
757 |
'feed_url' => sfsi_get_bloginfo('rss2_url'),
|
758 |
'email' => '',
|
759 |
'subscriber_type' => 'OWP'
|
760 |
+
);
|
761 |
+
|
762 |
+
$args = array(
|
763 |
+
'body' => $body,
|
764 |
+
'blocking' => true,
|
765 |
+
'user-agent' => 'sf rss request',
|
766 |
+
'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
|
767 |
+
'sslverify' => true
|
768 |
+
);
|
769 |
+
$resp = wp_remote_post( 'https://www.specificfeeds.com/wordpress/plugin_setup', $args );
|
770 |
+
if ( is_wp_error( $resp ) ) {
|
771 |
update_option("sfsi_curlErrorNotices", "yes");
|
772 |
+
update_option("sfsi_curlErrorMessage", $resp->get_error_message());
|
773 |
+
} else {
|
774 |
+
$resp = json_decode($resp['body']);
|
775 |
+
// $feed_url = stripslashes_deep($resp->redirect_url);
|
776 |
+
// return $feed_url;
|
777 |
}
|
|
|
|
|
|
|
|
|
778 |
return $resp;exit;
|
779 |
}
|
780 |
/* fetch rss url from specificfeeds on */
|
781 |
function SFSI_updateFeedUrl()
|
782 |
{
|
783 |
+
$body = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
784 |
'feed_id' => sanitize_text_field(get_option('sfsi_feed_id')),
|
785 |
'web_url' => get_bloginfo('url'),
|
786 |
'feed_url' => sfsi_get_bloginfo('rss2_url'),
|
787 |
'email' => ''
|
788 |
+
);
|
789 |
+
|
790 |
+
$args = array(
|
791 |
+
'body' => $body,
|
792 |
+
'blocking' => true,
|
793 |
+
'user-agent' => 'sf rss request',
|
794 |
+
'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
|
795 |
+
'sslverify' => true
|
796 |
+
);
|
797 |
+
$resp = wp_remote_post( 'https://www.specificfeeds.com/wordpress/updateFeedPlugin', $args );
|
798 |
+
if ( is_wp_error( $resp ) ) {
|
799 |
+
update_option("sfsi_curlErrorNotices", "yes");
|
800 |
+
update_option("sfsi_curlErrorMessage", $resp->get_error_message());
|
801 |
+
} else {
|
802 |
+
$resp = json_decode($resp['body']);
|
803 |
+
}
|
804 |
+
|
805 |
$feed_url = stripslashes_deep($resp->redirect_url);
|
806 |
return $resp;exit;
|
807 |
}
|
808 |
/* add sf tags */
|
809 |
function sfsi_setUpfeeds($feed_id)
|
810 |
{
|
811 |
+
$args = array(
|
812 |
+
'blocking' => true,
|
813 |
+
'user-agent' => 'sf rss request',
|
814 |
+
'header' => array("Content-Type"=>"application/json"),
|
815 |
+
'sslverify' => true
|
816 |
+
);
|
817 |
+
$resp = wp_remote_get( 'https//www.specificfeeds.com/rssegtcrons/download_rssmorefeed_data_single/'.$feed_id."/Y", $args );
|
818 |
+
if ( is_wp_error( $resp ) ) {
|
819 |
+
update_option("sfsi_curlErrorNotices", "yes");
|
820 |
+
update_option("sfsi_curlErrorMessage", $resp->get_error_message());
|
821 |
+
}
|
822 |
}
|
823 |
/* admin notice if wp_head is missing in active theme */
|
824 |
function sfsi_check_wp_head() {
|
1003 |
return;
|
1004 |
$post_data=get_post($post_id,ARRAY_A);
|
1005 |
if($post_data['post_status']=='publish' && $post_data['post_type']=='post') :
|
1006 |
+
$categories = wp_get_post_categories($post_data['ID']);
|
1007 |
+
$cats='';
|
1008 |
+
$total=count($categories);
|
1009 |
+
$count=1;
|
1010 |
+
foreach($categories as $c)
|
1011 |
+
{
|
1012 |
+
$cat_data = get_category( $c );
|
1013 |
+
if($count==$total)
|
1014 |
+
{
|
1015 |
+
$cats.=$cat_data->name;
|
1016 |
+
}
|
1017 |
+
else
|
1018 |
+
{
|
1019 |
+
$cats.=$cat_data->name.',';
|
1020 |
+
}
|
1021 |
+
$count++;
|
1022 |
}
|
1023 |
+
$postto_array = array(
|
1024 |
+
'feed_id' => sanitize_text_field(get_option('sfsi_feed_id')),
|
1025 |
+
'title' => $post_data['post_title'],
|
1026 |
+
'description'=> $post_data['post_content'],
|
1027 |
+
'link' => $post_data['guid'],
|
1028 |
+
'author' => get_the_author_meta('user_login', $post_data['post_author']),
|
1029 |
+
'category' => $cats,
|
1030 |
+
'pubDate' => $post_data['post_modified'],
|
1031 |
+
'rssurl' => sfsi_get_bloginfo('rss2_url')
|
1032 |
+
);
|
1033 |
+
$args = array(
|
1034 |
+
'body' => $postto_array,
|
1035 |
+
'blocking' => true,
|
1036 |
+
'user-agent' => 'sf rss request',
|
1037 |
+
'header' => array("Content-Type"=>"application/x-www-form-urlencoded"),
|
1038 |
+
'sslverify' => true
|
1039 |
+
);
|
1040 |
+
$resp = wp_remote_post( 'https://www.specificfeeds.com/wordpress/updateFeedPlugin', $args );
|
1041 |
+
if ( is_wp_error( $resp ) ) {
|
1042 |
+
update_option("sfsi_curlErrorNotices", "yes");
|
1043 |
+
update_option("sfsi_curlErrorMessage", $resp->get_error_message());
|
1044 |
+
return false;
|
1045 |
+
} else {
|
1046 |
+
$resp = json_decode($resp['body']);
|
1047 |
+
return true;
|
1048 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1049 |
endif;
|
1050 |
}
|
1051 |
add_action( 'save_post', 'sfsi_pingVendor' );
|
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: 5.
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -274,10 +274,14 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
274 |
|
275 |
|
276 |
== Changelog ==
|
|
|
|
|
|
|
277 |
|
278 |
= 2.1.0 =
|
279 |
-
*
|
280 |
-
* Solved:
|
|
|
281 |
|
282 |
= 2.0.9 =
|
283 |
* Banner for animation section in Question 4 added
|
@@ -286,7 +290,7 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
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,5 +740,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
|
|
736 |
|
737 |
== Upgrade Notice ==
|
738 |
|
739 |
-
= 2.1.
|
740 |
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.1
|
6 |
+
Stable tag: 2.1.1
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
274 |
|
275 |
|
276 |
== Changelog ==
|
277 |
+
= 2.1.1 =
|
278 |
+
* Solved: curl calls to wp_remote calls.
|
279 |
+
* Solved: unexpected charactor "[" error for php version 5.3.
|
280 |
|
281 |
= 2.1.0 =
|
282 |
+
* New Feature: Chat for site admin on our settings page.
|
283 |
+
* Solved: removed deprecated jQuery functions.
|
284 |
+
* Solved: Rectangle icon alignemnt problem on some themes solved.
|
285 |
|
286 |
= 2.0.9 =
|
287 |
* Banner for animation section in Question 4 added
|
290 |
|
291 |
= 2.0.8 =
|
292 |
* Solved: Notification bar cannot be seen anymore
|
293 |
+
* Solved: cleared the float elements after notice.
|
294 |
|
295 |
= 2.0.7 =
|
296 |
* Round green follow button doesn't show - fixed
|
740 |
|
741 |
== Upgrade Notice ==
|
742 |
|
743 |
+
= 2.1.1 =
|
744 |
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.1.
|
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 |
}
|
@@ -255,21 +255,25 @@ if(is_admin())
|
|
255 |
function sfsi_getverification_code()
|
256 |
{
|
257 |
$feed_id = sanitize_text_field(get_option('sfsi_feed_id'));
|
258 |
-
$
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
|
|
|
|
|
|
|
|
273 |
}
|
274 |
|
275 |
//checking for the youtube username and channel id option
|
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.1
|
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.11)
|
69 |
{
|
70 |
add_action("init", "sfsi_update_plugin");
|
71 |
}
|
255 |
function sfsi_getverification_code()
|
256 |
{
|
257 |
$feed_id = sanitize_text_field(get_option('sfsi_feed_id'));
|
258 |
+
$url = $http_url = 'https://www.specificfeeds.com/wordpress/getVerifiedCode_plugin';
|
259 |
+
|
260 |
+
$args = array(
|
261 |
+
'timeout' => 15,
|
262 |
+
'useragent'=>"sf get verification",
|
263 |
+
'body' => array(
|
264 |
+
'feed_id' => $feed_id
|
265 |
+
)
|
266 |
+
);
|
267 |
+
|
268 |
+
$request = wp_remote_post( $url, $args );
|
269 |
+
|
270 |
+
if ( is_wp_error( $request ) ) {
|
271 |
+
update_option("sfsi_plus_curlErrorNotices", "yes");
|
272 |
+
update_option("sfsi_plus_curlErrorMessage", $request->get_error_message());
|
273 |
+
}else{
|
274 |
+
$resp = json_decode($request['body']);
|
275 |
+
update_option('sfsi_plus_verificatiom_code', $resp->code);
|
276 |
+
}
|
277 |
}
|
278 |
|
279 |
//checking for the youtube username and channel id option
|
views/sfsi_chat_on_admin_pannel.php
CHANGED
@@ -5,7 +5,7 @@ $current_user=wp_get_current_user();
|
|
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:
|
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>
|
@@ -16,36 +16,43 @@ $email = $current_user->user_email;
|
|
16 |
<div class="clear"></div>
|
17 |
<div class="tabs">
|
18 |
<div id="sfsi_technical" class="tab-content" style="text-align:center;display:block">
|
19 |
-
<
|
20 |
<div class="support-forum-green-div">
|
21 |
-
<
|
|
|
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 |
-
<
|
28 |
</div>
|
29 |
<div id="sfsi_sales" class="tab-content" style="display:none">
|
30 |
|
31 |
<div style="display:block" class="before_message_sent">
|
32 |
-
|
|
|
33 |
<form action="#" method="POST" >
|
34 |
<div>
|
35 |
-
<
|
36 |
-
|
|
|
|
|
|
|
37 |
</div>
|
38 |
<div>
|
39 |
-
<div
|
40 |
-
<
|
41 |
-
<
|
42 |
-
|
43 |
-
|
44 |
-
|
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>
|
@@ -63,7 +70,7 @@ var sfsi_jivo_init=function(){ var widget_id =window.sfsi_plus_jivo_widget_id= '
|
|
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/
|
67 |
function sfsi_open_chat(){
|
68 |
if(window.jivo_api){
|
69 |
if( window.jivo_api.chatMode()==='online'){
|
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:40px;margin-right:5px;color:#888;text-decoration: none;" onclick="sfsi_close_offline_chat(event)">×</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>
|
16 |
<div class="clear"></div>
|
17 |
<div class="tabs">
|
18 |
<div id="sfsi_technical" class="tab-content" style="text-align:center;display:block">
|
19 |
+
<h5>Please ask your question in the...</h5>
|
20 |
<div class="support-forum-green-div">
|
21 |
+
<!-- <span style="width: 25%"> </span> -->
|
22 |
+
<a target="_blank" href="https://goo.gl/auxJ9C#no-topic-0" class="support-forum-green-bg" stype='width: 25%'>
|
23 |
<img src="<?php echo SFSI_PLUGURL ?>images/support.png">
|
24 |
<p class="support-forum">Support Forum</p>
|
25 |
</a>
|
26 |
+
<span class="sfsi-button-right-side" stype='width: 25%'><span class="sfsi-button-right-side-icon"></span>Click here</span>
|
27 |
</div>
|
28 |
+
<!-- <p class="sfsi-button-right-side" ><span class="sfsi-button-right-side-icon"></span>Click here</p> -->
|
29 |
+
<h5>We‘ll respond <span style="text-decoration: underline;"><b>quickly!</b></span></h5>
|
30 |
</div>
|
31 |
<div id="sfsi_sales" class="tab-content" style="display:none">
|
32 |
|
33 |
<div style="display:block" class="before_message_sent">
|
34 |
+
|
35 |
+
<!-- <p class="right-message" style="display:none">Please also check the <a href="">FAQ</a></p> -->
|
36 |
<form action="#" method="POST" >
|
37 |
<div>
|
38 |
+
<div for="question" class="label">
|
39 |
+
Your question:
|
40 |
+
<!-- <span class="right-message">Please also check the <a href=""><i>FAQ</i></a></span> -->
|
41 |
+
</div>
|
42 |
+
<textarea id="question" name="question" placeholder="Your question..."></textarea>
|
43 |
</div>
|
44 |
<div>
|
45 |
+
<div>
|
46 |
+
<div for="email" class="label email">Your email: </div>
|
47 |
+
<div>
|
48 |
+
<input type="email" name="email" value="<?php echo $email; ?>" placeholder="your@email.com" style="width:60%;float:left">
|
49 |
+
<input type="submit" value="Send message" class="submit" style="width:37%;float:right">
|
50 |
+
</div>
|
51 |
</div>
|
52 |
<div class="clear"></div>
|
53 |
</div>
|
54 |
</form>
|
55 |
+
|
56 |
</div>
|
57 |
<div style="display:none" class="after_message_sent">
|
58 |
<h2>Thank you!</h2>
|
70 |
var sfsi_dummy_chat_icon={};
|
71 |
sfsi_dummy_chat_icon.element=document.createElement('div');
|
72 |
sfsi_dummy_chat_icon.element.id="sfsi_dummy_chat_icon";
|
73 |
+
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.svg' ?>');background-size: 374px 101px;border-top-left-radius: 8px;border-top-right-radius: 8px;";
|
74 |
function sfsi_open_chat(){
|
75 |
if(window.jivo_api){
|
76 |
if( window.jivo_api.chatMode()==='online'){
|
views/sfsi_option_view2.php
CHANGED
@@ -150,7 +150,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
|
|
150 |
<!-- EMAIL ICON -->
|
151 |
<?php
|
152 |
$feedId = sanitize_text_field(get_option('sfsi_feed_id',false));
|
153 |
-
$connectToFeed = "
|
154 |
?>
|
155 |
<div class="row email_section">
|
156 |
<h2 class="sfsicls_email">Email</h2>
|
@@ -158,7 +158,7 @@ if("id"== $option2['sfsi_youtubeusernameorid'] && isset($option2['sfsi_youtubeus
|
|
158 |
|
159 |
<div class="inr_cont">
|
160 |
<p>
|
161 |
-
Allows your visitors to subscribe to your site (on <a href="
|
162 |
</p>
|
163 |
<p>Please pick which icon type you want to use:</p>
|
164 |
<ul class="tab_2_email_sec">
|
150 |
<!-- EMAIL ICON -->
|
151 |
<?php
|
152 |
$feedId = sanitize_text_field(get_option('sfsi_feed_id',false));
|
153 |
+
$connectToFeed = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
|
154 |
?>
|
155 |
<div class="row email_section">
|
156 |
<h2 class="sfsicls_email">Email</h2>
|
158 |
|
159 |
<div class="inr_cont">
|
160 |
<p>
|
161 |
+
Allows your visitors to subscribe to your site (on <a href="https://www.specificfeeds.com/widgets/emailSubscribeEncFeed/<?php echo $feedId; ?>/<?php echo base64_encode(8); ?>" target="_new">this screen</a>) and receive new posts automatically by email.
|
162 |
</p>
|
163 |
<p>Please pick which icon type you want to use:</p>
|
164 |
<ul class="tab_2_email_sec">
|
views/sfsi_option_view8.php
CHANGED
@@ -44,7 +44,7 @@ $option8['sfsi_form_button_background'] = (isset($option8['sfsi_form_button_back
|
|
44 |
<?php sfsi_curl_error_notification(); ?>
|
45 |
</div>
|
46 |
<?php
|
47 |
-
$connectToFeed = "
|
48 |
?>
|
49 |
<p>
|
50 |
In addition to the email- and follow-icon you can also show a subscription form which maximizes chances that people subscribe to your site.
|
44 |
<?php sfsi_curl_error_notification(); ?>
|
45 |
</div>
|
46 |
<?php
|
47 |
+
$connectToFeed = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
|
48 |
?>
|
49 |
<p>
|
50 |
In addition to the email- and follow-icon you can also show a subscription form which maximizes chances that people subscribe to your site.
|
views/sfsi_options_view.php
CHANGED
@@ -194,7 +194,7 @@
|
|
194 |
<!-- all pops of plugin under sfsi_pop_content.php file -->
|
195 |
<?php include(SFSI_DOCROOT.'/views/sfsi_pop_content.php'); ?>
|
196 |
</div> <!-- START Admin view for plugin-->
|
197 |
-
<?php if(in_array(get_site_url(),
|
198 |
<div style="text-align:center">
|
199 |
<input type="text" name="domain" id="sfsi_domain_input" style="width:40%;min-height: :40px;text-align:center;margin:0 auto" placeholder="Enter Domian to check its theme" />
|
200 |
<div class="save_button">
|
194 |
<!-- all pops of plugin under sfsi_pop_content.php file -->
|
195 |
<?php include(SFSI_DOCROOT.'/views/sfsi_pop_content.php'); ?>
|
196 |
</div> <!-- START Admin view for plugin-->
|
197 |
+
<?php if(in_array(get_site_url(),array('http://www.managingio.com','http://blog-latest.socialshare.com'))): ?>
|
198 |
<div style="text-align:center">
|
199 |
<input type="text" name="domain" id="sfsi_domain_input" style="width:40%;min-height: :40px;text-align:center;margin:0 auto" placeholder="Enter Domian to check its theme" />
|
200 |
<div class="save_button">
|
views/sfsi_pop_content.php
CHANGED
@@ -9,8 +9,8 @@ define('ress_readmore_button', $ress_readmore_button);
|
|
9 |
define('rss_readmore_text2', $rss_readmore_text2);
|
10 |
|
11 |
$feedId = sanitize_text_field(get_option('sfsi_feed_id',false));
|
12 |
-
$connectToFeed = "
|
13 |
-
$connectFeedLgn = "
|
14 |
?>
|
15 |
|
16 |
<div class="pop-overlay read-overlay sfsi_feedClaimingOverlay" >
|
@@ -259,7 +259,7 @@ $pin_url= isset($option2['sfsi_pinterest_pageUrl']) && !empty($option2['sfsi_pin
|
|
259 |
|
260 |
<div class="pop-overlay read-overlay demail-1" >
|
261 |
<div class="pop_up_box sfsi_pop_up " >
|
262 |
-
<h4>Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you <span class="mediam_txt">more readers</span>, as explained <a href="
|
263 |
<div class="button"><a href="javascript:;" class="hideemailpop" title="Ok, keep it active for the time being,I want to see how it works">Ok, keep it active for the time being, <br />
|
264 |
I want to see how it works</a></div>
|
265 |
<a href="javascript:;" id="deac_email2" title="Deactivate it">Deactivate it</a>
|
9 |
define('rss_readmore_text2', $rss_readmore_text2);
|
10 |
|
11 |
$feedId = sanitize_text_field(get_option('sfsi_feed_id',false));
|
12 |
+
$connectToFeed = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId);
|
13 |
+
$connectFeedLgn = "https://www.specificfeeds.com/?".base64_encode("userprofile=wordpress&feed_id=".$feedId."&logintype=login");
|
14 |
?>
|
15 |
|
16 |
<div class="pop-overlay read-overlay sfsi_feedClaimingOverlay" >
|
259 |
|
260 |
<div class="pop-overlay read-overlay demail-1" >
|
261 |
<div class="pop_up_box sfsi_pop_up " >
|
262 |
+
<h4>Note: Also if you already offer a newsletter it makes sense to offer this option too, because it will get you <span class="mediam_txt">more readers</span>, as explained <a href="https://www.specificfeeds.com/rss" target="_new" style="color:#5A6570;display: inline;text-decoration:underline">here</a>. </h4>
|
263 |
<div class="button"><a href="javascript:;" class="hideemailpop" title="Ok, keep it active for the time being,I want to see how it works">Ok, keep it active for the time being, <br />
|
264 |
I want to see how it works</a></div>
|
265 |
<a href="javascript:;" id="deac_email2" title="Deactivate it">Deactivate it</a>
|