Social Login - Version 7.4.6

Version Description

  • Updated Instructions for Facebook, Google, Twitter and LinkedIn
  • Updated Licensing Plan page
  • Introduced All inclusive Plan
  • Added bulk instances for Social Login plans.
  • Minor UI Changes.
Download this release

Release Info

Developer cyberlord92
Plugin Icon 128x128 Social Login
Version 7.4.6
Comparing to
See all releases

Code changes from version 7.4.5 to 7.4.6

Files changed (43) hide show
  1. CustomerOpenID.php +40 -3
  2. includes/css/mo_openid_bootstrap-tour-standalone.css +3 -3
  3. includes/css/mo_openid_style.css +601 -0
  4. includes/images/bp_add/integrations.png +0 -0
  5. includes/images/bp_add/new_after_reg.png +0 -0
  6. includes/images/bp_add/new_before_account.png +0 -0
  7. includes/images/bp_add/new_before_reg.png +0 -0
  8. includes/images/demo_mailchimp.png +0 -0
  9. includes/images/icons/facebooks.png +0 -0
  10. includes/images/icons/github.png +0 -0
  11. includes/images/icons/googles.png +0 -0
  12. includes/images/icons/hubspot.png +0 -0
  13. includes/images/icons/kaka.png +0 -0
  14. includes/images/icons/mailru.png +0 -0
  15. includes/images/icons/twitters.png +0 -0
  16. includes/images/icons/vkontakte_d.png +0 -0
  17. includes/images/icons/wechat.png +0 -0
  18. includes/images/icons/yandex.png +0 -0
  19. includes/images/wca/1_before_login.png +0 -0
  20. includes/images/wca/2_login.png +0 -0
  21. includes/images/wca/3_after_login.png +0 -0
  22. includes/images/wca/4_before_reg.png +0 -0
  23. includes/images/wca/5_in_reg.png +0 -0
  24. includes/images/wca/6_after_reg.png +0 -0
  25. includes/images/wca/7_before_checkout.png +0 -0
  26. includes/images/wca/8_after_checkout.png +0 -0
  27. includes/images/wca/wcai.png +0 -0
  28. miniorange_openid_sso_settings.php +23 -14
  29. miniorange_openid_sso_settings_page.php +186 -35
  30. mo-openid-social-login-functions.php +61 -4
  31. mo_openid_sso_encryption.php +2 -2
  32. readme.txt +57 -40
  33. social_apps/facebook.php +11 -9
  34. social_apps/google.php +9 -5
  35. social_apps/linkedin.php +1 -1
  36. social_apps/twitter.php +2 -2
  37. uninstall.php +0 -22
  38. view/add_on/custom_registration_form.php +8 -7
  39. view/add_on/mo_buddypress_add_on.php +245 -0
  40. view/add_on/mo_mailchimp_add_on.php +114 -0
  41. view/add_on/mo_woocommerce_add_on.php +247 -0
  42. view/config_apps/mo_openid_config_apps.php +1 -5
  43. view/licensing_plans/mo_openid_lic_plans.php +794 -637
CustomerOpenID.php CHANGED
@@ -53,7 +53,22 @@ class CustomerOpenID {
53
  'headers' => $headers
54
  );
55
  $response = self::mo_openid_wp_remote_post($url, $args);
56
- return $response['body'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
58
 
59
  function get_customer_key() {
@@ -367,6 +382,24 @@ class CustomerOpenID {
367
  'applicationName' => 'wp_social_login_extra_attributes_addon'
368
  );
369
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  $field_string = json_encode($fields);
371
  $headers = array(
372
  "Content-Type" => "application/json",
@@ -479,8 +512,12 @@ class CustomerOpenID {
479
  if(!is_wp_error($response)){
480
  return $response;
481
  } else {
482
- update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
483
- mo_openid_success_message();
 
 
 
 
484
  }
485
  }
486
 
53
  'headers' => $headers
54
  );
55
  $response = self::mo_openid_wp_remote_post($url, $args);
56
+ if($response['body']==NULL)
57
+ {
58
+ if($_POST['action']=='mo_register_new_user')
59
+ wp_send_json(["error" => 'There was an error creating an account for you. Please try again.']);
60
+ else {
61
+ update_option('mo_openid_message', 'There was an error creating an account for you. Please try again.');
62
+ update_option('mo_openid_registration_status', 'error creating an account');
63
+ mo_openid_show_error_message();
64
+ if (get_option('regi_pop_up') == "yes") {
65
+ update_option('pop_regi_msg', get_option('mo_openid_message'));
66
+ mo_openid_registeration_modal();
67
+ }
68
+ }
69
+ }
70
+ else
71
+ return $response['body'];
72
  }
73
 
74
  function get_customer_key() {
382
  'applicationName' => 'wp_social_login_extra_attributes_addon'
383
  );
384
  }
385
+ else if($licience_type=="WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON") {
386
+ $fields = array(
387
+ 'customerId' => $customerKey,
388
+ 'applicationName' => 'WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON'
389
+ );
390
+ }
391
+ else if($licience_type=="WP_SOCIAL_LOGIN_MAILCHIMP_ADDON") {
392
+ $fields = array(
393
+ 'customerId' => $customerKey,
394
+ 'applicationName' => 'WP_SOCIAL_LOGIN_MAILCHIMP_ADDON'
395
+ );
396
+ }
397
+ else if($licience_type=="WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON") {
398
+ $fields = array(
399
+ 'customerId' => $customerKey,
400
+ 'applicationName' => 'WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON'
401
+ );
402
+ }
403
  $field_string = json_encode($fields);
404
  $headers = array(
405
  "Content-Type" => "application/json",
512
  if(!is_wp_error($response)){
513
  return $response;
514
  } else {
515
+ if ($_POST['action'] == 'mo_register_new_user')
516
+ wp_send_json(["error" => 'Unable to connect to the Internet. Please try again.']);
517
+ else {
518
+ update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
519
+ mo_openid_success_message();
520
+ }
521
  }
522
  }
523
 
includes/css/mo_openid_bootstrap-tour-standalone.css CHANGED
@@ -420,7 +420,7 @@ fieldset[disabled] a.mo_openid_tour_btn {
420
 
421
  .mo_openid_tour_btn-sm, .mo_openid_tour_btn-group-sm > .mo_openid_tour_btn {
422
  padding: 0.25rem 0.5rem;
423
- font-size: 0.875rem;
424
  line-height: 1.5;
425
  border-radius: 0.2rem; }
426
 
@@ -605,7 +605,7 @@ tbody.mo_openid_collapse.show {
605
  word-spacing: normal;
606
  white-space: normal;
607
  line-break: auto;
608
- font-size: 0.875rem;
609
  word-wrap: break-word;
610
  background-color: #fff;
611
  background-clip: padding-box;
@@ -716,7 +716,7 @@ tbody.mo_openid_collapse.show {
716
  .mo_openid_popover-header {
717
  padding: 8px 14px;
718
  margin-bottom: 0;
719
- font-size: 1rem;
720
  color: #FFF;
721
  background-color: #000;
722
  border-bottom: 1px solid #ebebeb;
420
 
421
  .mo_openid_tour_btn-sm, .mo_openid_tour_btn-group-sm > .mo_openid_tour_btn {
422
  padding: 0.25rem 0.5rem;
423
+ font-size: 1rem;
424
  line-height: 1.5;
425
  border-radius: 0.2rem; }
426
 
605
  word-spacing: normal;
606
  white-space: normal;
607
  line-break: auto;
608
+ font-size: 1.5rem;
609
  word-wrap: break-word;
610
  background-color: #fff;
611
  background-clip: padding-box;
716
  .mo_openid_popover-header {
717
  padding: 8px 14px;
718
  margin-bottom: 0;
719
+ font-size: 1.5rem;
720
  color: #FFF;
721
  background-color: #000;
722
  border-bottom: 1px solid #ebebeb;
includes/css/mo_openid_style.css CHANGED
@@ -1331,3 +1331,604 @@ p>a.mo-openid-share-link
1331
  .mo_openid_notice-warning {
1332
  border-left-color: #069c51
1333
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1331
  .mo_openid_notice-warning {
1332
  border-left-color: #069c51
1333
  }
1334
+
1335
+ /* Newly Added for Licensing Plan*/
1336
+
1337
+
1338
+ .mo_openid-check-tooltip {
1339
+ position: relative;
1340
+ display: inline-block;
1341
+ padding: 0px 8px 5px 8px;
1342
+ margin: -10px 0;
1343
+ cursor: pointer;
1344
+ }
1345
+ .mo_openid-quote .mo_openid-check-tooltip:hover .mo_openid-info, .mo_openid-quote .mo_openid-check-tooltip:focus .mo_openid-info {
1346
+ visibility: visible;
1347
+ opacity: 1;
1348
+ -webkit-transform: translate3d(0, 0, 0);
1349
+ transform: translate3d(0, 0, 0);
1350
+ }
1351
+ .mo_openid-quote .mo_openid-check-tooltip .mo_openid-info {
1352
+ box-sizing: border-box;
1353
+ position: absolute;
1354
+ top: -15px;
1355
+ left: 105%;
1356
+ display: block;
1357
+ background: #ffffff;
1358
+ width: 300px;
1359
+ font-size: 16px;
1360
+ line-height: 24px;
1361
+ cursor: text;
1362
+ visibility: hidden;
1363
+ opacity: 0;
1364
+ transition: all .5s ease-out;
1365
+ }
1366
+
1367
+ .mo_openid-quote .mo_openid-check-tooltip .mo_openid-info .mo_openid-pronounce {
1368
+ display: block;
1369
+ background: #e97d68;
1370
+ color: #ffffff;
1371
+ padding: 8px 17px 10px 17px;
1372
+ line-height: 16px;
1373
+ border-radius: 8px 8px 0px 0px;
1374
+ }
1375
+
1376
+
1377
+ .mo_openid-quote .mo_openid-check-tooltip .mo_openid-info .mo_openid-text {
1378
+ display: block;
1379
+ padding: 13px 17px;
1380
+ }
1381
+
1382
+ .mo-openid-tab-content {
1383
+ margin-left: 0%!important;
1384
+ margin-top: 0%!important;
1385
+
1386
+ }
1387
+ .mo-openid-tab-content>.active {
1388
+ width: 100% !important;
1389
+ }
1390
+
1391
+ .mo-openid-cd-pricing-container {
1392
+ width: 100%;
1393
+ max-width: 1460px;
1394
+ margin: 4em auto;
1395
+ }
1396
+ @media only screen and (min-width: 768px) {
1397
+ .mo-openid-cd-pricing-container {
1398
+ margin: auto;
1399
+ }
1400
+ .mo-openid-cd-pricing-container.cd-full-width {
1401
+ width: 100%;
1402
+ max-width: none;
1403
+ }
1404
+ }
1405
+
1406
+
1407
+ .mo-open-id-cd-pricing-switcher {
1408
+ text-align: center;
1409
+ }
1410
+ .mo-open-id-cd-pricing-switcher .mo-open-id-fieldset {
1411
+ display: inline-block;
1412
+ position: relative;
1413
+ border-radius: 50em;
1414
+ border: 1px solid #e97d68;
1415
+ }
1416
+ .mo-open-id-cd-pricing-switcher input[type="radio"] {
1417
+ position: absolute;
1418
+ opacity: 0;
1419
+ }
1420
+ .mo-open-id-cd-pricing-switcher label {
1421
+ position: relative;
1422
+ z-index: 1;
1423
+ display: inline-block;
1424
+ float: left;
1425
+ width: 160px;
1426
+ height: 40px;
1427
+ line-height: 40px;
1428
+ cursor: pointer;
1429
+ font-size: 1.4rem;
1430
+ color: #FFFFFF;
1431
+ font-size:18px;
1432
+ }
1433
+
1434
+ .no-js .mo-open-id-cd-pricing-switcher {
1435
+ display: none;
1436
+ }
1437
+
1438
+ .mo-open-id-cd-pricing-switcher .mo-open-id-cd-switch {
1439
+ /* floating background */
1440
+ position: absolute;
1441
+ top: 2px;
1442
+ left: 2px;
1443
+ height: 36px;
1444
+ width: 162px;
1445
+ background-color: black;
1446
+ border-radius: 50em;
1447
+ -webkit-transition: -webkit-transform 0.5s;
1448
+ -moz-transition: -moz-transform 0.5s;
1449
+ transition: transform 0.5s;
1450
+ }
1451
+ /**, *::after, *::before {*/
1452
+ /* -webkit-box-sizing: border-box;*/
1453
+ /* -moz-box-sizing: border-box;*/
1454
+ /* box-sizing: border-box;*/
1455
+ /*}*/
1456
+
1457
+ html {
1458
+ font-size: 62.5%;
1459
+ }
1460
+
1461
+ html * {
1462
+ -webkit-font-smoothing: antialiased;
1463
+ -moz-osx-font-smoothing: grayscale;
1464
+ }
1465
+
1466
+ .mo-open-id-pricing-container {
1467
+ font-size: 1.6rem;
1468
+ font-family: "Open Sans", sans-serif;
1469
+ color: #fff;
1470
+ }
1471
+
1472
+
1473
+ .mo-open-id-cd-pricing-switcher input[type="radio"]:checked + label + .mo-open-id-cd-switch,
1474
+ .mo-open-id-cd-pricing-switcher input[type="radio"]:checked + label:nth-of-type(n) + .mo-open-id-cd-switch {
1475
+ /* use label:nth-of-type(n) to fix a bug on safari with multiple adjacent-sibling selectors*/
1476
+ -webkit-transform: translateX(155px);
1477
+ -moz-transform: translateX(155px);
1478
+ -ms-transform: translateX(155px);
1479
+ -o-transform: translateX(155px);
1480
+ transform: translateX(155px);
1481
+ }
1482
+
1483
+
1484
+ .mo-openid-cd-pricing-list {
1485
+ margin: 2em 0 0;
1486
+ /*transform-style: preserve-3d;*/
1487
+ transition: transform 1s;
1488
+ }
1489
+ .mo-openid-cd-pricing-list > li {
1490
+ position: relative;
1491
+ margin-bottom: 1em;
1492
+ }
1493
+ @media only screen and (min-width: 768px) {
1494
+ .mo-openid-cd-pricing-list {
1495
+ margin: 3em 0 0;
1496
+ }
1497
+ .mo-openid-cd-pricing-list:after {
1498
+ content: "";
1499
+ display: table;
1500
+ clear: both;
1501
+ }
1502
+ .mo-openid-cd-pricing-list > li {
1503
+ width: 35.3333333333%;
1504
+ float: left;
1505
+ }
1506
+ .mo-openid-cd-has-margins .mo-openid-cd-pricing-list > li {
1507
+ width:23.6%;
1508
+ float: left;
1509
+ margin-right: 1.5%;
1510
+ }
1511
+ .mo-openid-cd-has-margins .mo-openid-cd-pricing-list > li:last-of-type {
1512
+ margin-right: 0;
1513
+ }
1514
+ }
1515
+
1516
+ .mo-openid-mo-openid-cd-pricing-wrapper {
1517
+ /* this is the item that rotates */
1518
+ overflow: show;
1519
+ position: relative;
1520
+ transform-style: preserve-3d;
1521
+ transition: transform 1s;
1522
+ }
1523
+
1524
+ .mo-openid-cd-pricing-wrapper > li {
1525
+ background-color: #FFFFFF;
1526
+ -webkit-backface-visibility: hidden;
1527
+ backface-visibility: hidden;
1528
+ /* Firefox bug - 3D CSS transform, jagged edges */
1529
+ outline: 1px solid transparent;
1530
+ }
1531
+ .mo-openid-cd-pricing-wrapper > li::after {
1532
+ /* subtle gradient layer on the right - to indicate it's possible to scroll */
1533
+ content: '';
1534
+ position: absolute;
1535
+ top: 0;
1536
+ right: 0;
1537
+ height: 100%;
1538
+ width: 50px;
1539
+ pointer-events: none;
1540
+ background: -webkit-linear-gradient( right , #FFFFFF, rgba(255, 255, 255, 0));
1541
+ background: linear-gradient(to left, #FFFFFF, rgba(255, 255, 255, 0));
1542
+ }
1543
+ .mo-openid-cd-pricing-wrapper > li.is-ended::after {
1544
+ /* class added in jQuery - remove the gradient layer when it's no longer possible to scroll */
1545
+ display: none;
1546
+ }
1547
+ .mo-openid-cd-pricing-wrapper .is-visible {
1548
+ /* the front item, visible by default */
1549
+ position: relative;
1550
+ background-color: #f2f5f8;
1551
+ }
1552
+ .mo-openid-cd-pricing-wrapper .is-hidden {
1553
+ /* the hidden items, right behind the front one */
1554
+ position: absolute;
1555
+ top: 0;
1556
+ left: 0;
1557
+ height: 100%;
1558
+ width: 100%;
1559
+ z-index: 1;
1560
+ -webkit-transform: rotateY(180deg);
1561
+ -moz-transform: rotateY(180deg);
1562
+ -ms-transform: rotateY(180deg);
1563
+ -o-transform: rotateY(180deg);
1564
+ transform: rotateY(180deg);
1565
+ }
1566
+ .mo-openid-cd-pricing-wrapper .is-selected {
1567
+ /* the next item that will be visible */
1568
+ z-index: 3 !important;
1569
+ }
1570
+ @media only screen and (min-width: 768px) {
1571
+ .mo-openid-cd-pricing-wrapper > li::before {
1572
+ /* separator between pricing tables - visible when number of tables > 3 */
1573
+ content: '';
1574
+ position: absolute;
1575
+ z-index: 6;
1576
+ left: -1px;
1577
+ top: 50%;
1578
+ bottom: auto;
1579
+ -webkit-transform: translateY(-50%);
1580
+ -moz-transform: translateY(-50%);
1581
+ -ms-transform: translateY(-50%);
1582
+ -o-transform: translateY(-50%);
1583
+ transform: translateY(-50%);
1584
+ height: 50%;
1585
+ width: 1px;
1586
+ background-color: #b1d6e8;
1587
+ }
1588
+ .mo-openid-cd-pricing-wrapper > li::after {
1589
+ /* hide gradient layer */
1590
+ display: none;
1591
+ }
1592
+ .mo-openid-cd-popular .mo-openid-cd-pricing-wrapper > li {
1593
+ box-shadow: inset 0 0 0 3px #e97d68;
1594
+ }
1595
+ .mo-openid-cd-has-margins .mo-openid-cd-pricing-wrapper > li, .mo-openid-cd-has-margins .mo-openid-cd-popular .mo-openid-cd-pricing-wrapper > li {
1596
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
1597
+ }
1598
+ .cd-secondary-theme .mo-openid-cd-pricing-wrapper > li {
1599
+ background: #3aa0d1;
1600
+ background: -webkit-linear-gradient( bottom , #3aa0d1, #3ad2d1);
1601
+ background: linear-gradient(to top, #3aa0d1, #3ad2d1);
1602
+ }
1603
+ .cd-secondary-theme .mo-openid-cd-popular .mo-openid-cd-pricing-wrapper > li {
1604
+ background: #e97d68;
1605
+ background: -webkit-linear-gradient( bottom , #e97d68, #e99b68);
1606
+ background: linear-gradient(to top, #e97d68, #e99b68);
1607
+ box-shadow: none;
1608
+ }
1609
+ :nth-of-type(1) > .mo-openid-cd-pricing-wrapper > li::before {
1610
+ /* hide table separator for the first table */
1611
+ display: none;
1612
+ }
1613
+ .mo-openid-cd-has-margins .mo-openid-cd-pricing-wrapper > li {
1614
+ border-radius: 4px 4px 6px 6px;
1615
+ }
1616
+ .mo-openid-cd-has-margins .mo-openid-cd-pricing-wrapper > li::before {
1617
+ display: none;
1618
+ }
1619
+ }
1620
+ @media only screen and (min-width: 1500px) {
1621
+ .cd-full-width .mo-openid-cd-pricing-wrapper > li {
1622
+ padding: 2.5em 0;
1623
+ }
1624
+ }
1625
+
1626
+ .no-js .mo-openid-cd-pricing-wrapper .is-hidden {
1627
+ position: relative;
1628
+ -webkit-transform: rotateY(0);
1629
+ -moz-transform: rotateY(0);
1630
+ -ms-transform: rotateY(0);
1631
+ -o-transform: rotateY(0);
1632
+ transform: rotateY(0);
1633
+ margin-top: 1em;
1634
+ }
1635
+
1636
+ @media only screen and (min-width: 768px) {
1637
+ .mo-openid-cd-popular .mo-openid-cd-pricing-wrapper > li::before {
1638
+ /* hide table separator for .mo-openid-cd-popular table */
1639
+ display: none;
1640
+ }
1641
+
1642
+ .mo-openid-cd-popular + li .mo-openid-cd-pricing-wrapper > li::before {
1643
+ /* hide table separator for tables following .mo-openid-cd-popular table */
1644
+ display: none;
1645
+ }
1646
+ }
1647
+
1648
+ .mo-openid-cd-pricing-header {
1649
+ position: relative;
1650
+
1651
+ height: 80px;
1652
+ padding: 1em;
1653
+ pointer-events: none;
1654
+ background-color: #3aa0d1;
1655
+ color: #FFFFFF;
1656
+ }
1657
+ .mo-openid-cd-pricing-header h2 {
1658
+ margin-bottom: 3px;
1659
+ font-weight: 700;
1660
+ text-transform: uppercase;
1661
+ }
1662
+ .mo-openid-cd-popular .mo-openid-cd-pricing-header {
1663
+ background-color: #e97d68;
1664
+ }
1665
+ @media only screen and (min-width: 768px) {
1666
+ .mo-openid-cd-pricing-header {
1667
+ height: 200px;
1668
+ padding: 1.9em 0.9em 1.6em;
1669
+ pointer-events: auto;
1670
+ text-align: center;
1671
+ color: #2f6062;
1672
+ background-color: transparent;
1673
+ }
1674
+ .mo-openid-cd-popular .mo-openid-cd-pricing-header {
1675
+ color: #e97d68;
1676
+ background-color: transparent;
1677
+ }
1678
+ .cd-secondary-theme .mo-openid-cd-pricing-header {
1679
+ color: #FFFFFF;
1680
+ }
1681
+ .mo-openid-cd-pricing-header h2 {
1682
+ font-size: 1.8rem;
1683
+ letter-spacing: 2px;
1684
+ }
1685
+ }
1686
+ h3.mo-openid-subheading_plans {
1687
+ font-size: 16px;
1688
+ }
1689
+
1690
+
1691
+
1692
+ .mo-openid-cd-currency, .mo-openid-cd-value {
1693
+ font-size: 4rem;
1694
+ font-weight: 300;
1695
+ }
1696
+
1697
+ .mo-openid-cd-duration {
1698
+ font-weight: 800;
1699
+ font-size: 1.3rem;
1700
+ color: #8dc8e4;
1701
+ text-transform: uppercase;
1702
+ }
1703
+ .mo-openid-cd-popular .mo-openid-cd-duration {
1704
+ color: #f3b6ab;
1705
+ }
1706
+ .mo-openid-cd-duration::before {
1707
+ content: '/';
1708
+ margin-right: 2px;
1709
+ }
1710
+
1711
+ @media only screen and (min-width: 768px) {
1712
+ .mo-openid-cd-value {
1713
+ font-size: 4rem;
1714
+ font-weight: 300;
1715
+ }
1716
+
1717
+ .mo-openid-cd-currency, .mo-openid-cd-duration {
1718
+ color: rgba(23, 61, 80, 0.4);
1719
+ }
1720
+ .mo-openid-cd-popular .mo-openid-cd-currency, .mo-openid-cd-popular .mo-openid-cd-duration {
1721
+ color: #e97d68;
1722
+ }
1723
+ .cd-secondary-theme .mo-openid-cd-currency, .cd-secondary-theme .mo-openid-cd-duration {
1724
+ color: #2e80a7;
1725
+ }
1726
+ .cd-secondary-theme .mo-openid-cd-popular .mo-openid-cd-currency, .cd-secondary-theme .mo-openid-cd-popular .mo-openid-cd-duration {
1727
+ color: #ba6453;
1728
+ }
1729
+
1730
+ .mo-openid-cd-currency {
1731
+ display: inline-block;
1732
+ margin-top: 10px;
1733
+ vertical-align: top;
1734
+ font-size: 2rem;
1735
+ font-weight: 700;
1736
+ }
1737
+
1738
+ .mo-openid-cd-duration {
1739
+ font-size: 1.4rem;
1740
+ }
1741
+ }
1742
+ .mo-openid-cd-pricing-body {
1743
+ overflow-x: auto;
1744
+ -webkit-overflow-scrolling: touch;
1745
+ }
1746
+ .is-switched .mo-openid-cd-pricing-body {
1747
+ /* fix a bug on Chrome Android */
1748
+ overflow: hidden;
1749
+ }
1750
+ @media only screen and (min-width: 768px) {
1751
+ .mo-openid-cd-pricing-body {
1752
+ overflow-x: visible;
1753
+ }
1754
+ }
1755
+
1756
+ .mo-openid-cd-pricing-features {
1757
+ width: 600px;
1758
+ }
1759
+ .mo-openid-cd-pricing-features:after {
1760
+ content: "";
1761
+ display: table;
1762
+ clear: both;
1763
+ }
1764
+ .mo-openid-cd-pricing-features li {
1765
+ width: 100px;
1766
+ float: left;
1767
+ padding: 1.6em 1em;
1768
+ font-size: 1.4rem;
1769
+ text-align: center;
1770
+ white-space: initial;
1771
+
1772
+ line-height:1.4em;
1773
+
1774
+ text-overflow: ellipsis;
1775
+ color: black;
1776
+ overflow-wrap: break-word;
1777
+ margin: 0 !important;
1778
+
1779
+ }
1780
+ .mo-openid-cd-pricing-features em {
1781
+ display: block;
1782
+ margin-bottom: 5px;
1783
+ font-weight: 600;
1784
+ color: black;
1785
+ }
1786
+ @media only screen and (min-width: 768px) {
1787
+ .mo-openid-cd-pricing-features {
1788
+ width: auto;
1789
+ word-wrap: break-word;
1790
+ }
1791
+ .mo-openid-cd-pricing-features li {
1792
+ float: none;
1793
+ width: auto;
1794
+ padding: 1em;
1795
+ word-wrap: break-word;
1796
+ font-size:1.3em;
1797
+ }
1798
+ .mo-openid-cd-popular .mo-openid-cd-pricing-features li {
1799
+ margin: 0 3px;
1800
+ }
1801
+ .mo-openid-cd-pricing-features li:nth-of-type(2n+1) {
1802
+ background-color: rgba(23, 61, 80, 0.06);
1803
+ }
1804
+ .mo-openid-cd-pricing-features em {
1805
+ display: inline-block;
1806
+ margin-bottom: 0;
1807
+ word-wrap: break-word;
1808
+ }
1809
+ .mo-openid-cd-has-margins .mo-openid-cd-popular .mo-openid-cd-pricing-features li, .cd-secondary-theme .mo-openid-cd-popular .mo-openid-cd-pricing-features li {
1810
+ margin: 0;
1811
+ }
1812
+ .cd-secondary-theme .mo-openid-cd-pricing-features li {
1813
+ color: #FFFFFF;
1814
+ }
1815
+ .cd-secondary-theme .mo-openid-cd-pricing-features li:nth-of-type(2n+1) {
1816
+ background-color: transparent;
1817
+ }
1818
+ }
1819
+
1820
+ .mo-openid-cd-pricing-footer {
1821
+ position: absolute;
1822
+ z-index: 1;
1823
+ top: 0;
1824
+ left: 0;
1825
+ /* on mobile it covers the .cd-pricing-header */
1826
+ height: 80px;
1827
+ width: 100%;
1828
+ }
1829
+ .mo-openid-cd-pricing-footer::after {
1830
+ /* right arrow visible on mobile */
1831
+ content: '';
1832
+ position: absolute;
1833
+ right: 1em;
1834
+ top: 50%;
1835
+ bottom: auto;
1836
+ -webkit-transform: translateY(-50%);
1837
+ -moz-transform: translateY(-50%);
1838
+ -ms-transform: translateY(-50%);
1839
+ -o-transform: translateY(-50%);
1840
+ transform: translateY(-50%);
1841
+ height: 20px;
1842
+ width: 20px;
1843
+ background: url(../img/cd-icon-small-arrow.svg);
1844
+ }
1845
+ @media only screen and (min-width: 768px) {
1846
+ .mo-openid-cd-pricing-footer {
1847
+ position: relative;
1848
+ height: auto;
1849
+ padding: 1.8em 0;
1850
+ text-align: center;
1851
+ }
1852
+ .mo-openid-cd-pricing-footer::after {
1853
+ /* hide arrow */
1854
+ display: none;
1855
+ }
1856
+ .mo-openid-cd-has-margins .mo-openid-cd-pricing-footer {
1857
+ padding-bottom: 0;
1858
+ }
1859
+ }
1860
+
1861
+ .mo-openid-cd-select {
1862
+ position: relative;
1863
+ z-index: 1;
1864
+ display: block;
1865
+ height: 100%;
1866
+ /* hide button text on mobile */
1867
+ overflow: hidden;
1868
+ text-indent: 100%;
1869
+ white-space: nowrap;
1870
+ color: transparent;
1871
+ }
1872
+ @media only screen and (min-width: 768px) {
1873
+ .mo-openid-cd-select {
1874
+ position: static;
1875
+ display: inline-block;
1876
+ height: auto;
1877
+ padding: 1.3em 3em;
1878
+ color: #FFFFFF;
1879
+ border-radius: 2px;
1880
+ background-color: #0c1f28;
1881
+ font-size: 1.4rem;
1882
+ text-indent: 0;
1883
+ text-transform: uppercase;
1884
+ letter-spacing: 2px;
1885
+ text-decoration: none;
1886
+ }
1887
+ .no-touch .mo-openid-cd-select:hover {
1888
+ background-color: #112e3c;
1889
+ }
1890
+ .mo-openid-cd-popular .mo-openid-cd-select {
1891
+ background-color: #e97d68;
1892
+ }
1893
+ .no-touch .mo-openid-cd-popular .mo-openid-cd-select:hover {
1894
+ background-color: #ec907e;
1895
+ }
1896
+ .cd-secondary-theme .mo-openid-cd-popular .mo-openid-cd-select {
1897
+ background-color: #0c1f28;
1898
+ }
1899
+ .no-touch .cd-secondary-theme .mo-openid-cd-popular .mo-openid-cd-select:hover {
1900
+ background-color: #112e3c;
1901
+ }
1902
+ .mo-openid-cd-has-margins .mo-openid-cd-select {
1903
+ display: block;
1904
+ padding: 1.7em 0;
1905
+ border-radius: 0 0 4px 4px;
1906
+ }
1907
+ }
1908
+
1909
+
1910
+ #col1.flipped {
1911
+ transform: rotateY( 360deg);
1912
+ }
1913
+ #col2.flipped {
1914
+ transform: rotateY( 360deg);
1915
+ }
1916
+ #col3.flipped {
1917
+ transform: rotateY( 360deg);
1918
+ }
1919
+ #col4.flipped {
1920
+ transform: rotateY( 360deg);
1921
+ }
1922
+ #allfeature:hover{
1923
+ color: #0d6aad;
1924
+ cursor: pointer ;
1925
+ }
1926
+
1927
+ .mo-openid-cd-pricing-wrapper {
1928
+ /* this is the item that rotates */
1929
+ overflow: show;
1930
+ position: relative;
1931
+ transform-style: preserve-3d;
1932
+ transition: transform 1s;
1933
+ }
1934
+
includes/images/bp_add/integrations.png ADDED
Binary file
includes/images/bp_add/new_after_reg.png ADDED
Binary file
includes/images/bp_add/new_before_account.png ADDED
Binary file
includes/images/bp_add/new_before_reg.png ADDED
Binary file
includes/images/demo_mailchimp.png ADDED
Binary file
includes/images/icons/facebooks.png CHANGED
Binary file
includes/images/icons/github.png CHANGED
Binary file
includes/images/icons/googles.png CHANGED
Binary file
includes/images/icons/hubspot.png CHANGED
Binary file
includes/images/icons/kaka.png CHANGED
Binary file
includes/images/icons/mailru.png CHANGED
Binary file
includes/images/icons/twitters.png CHANGED
Binary file
includes/images/icons/vkontakte_d.png CHANGED
Binary file
includes/images/icons/wechat.png CHANGED
Binary file
includes/images/icons/yandex.png CHANGED
Binary file
includes/images/wca/1_before_login.png ADDED
Binary file
includes/images/wca/2_login.png ADDED
Binary file
includes/images/wca/3_after_login.png ADDED
Binary file
includes/images/wca/4_before_reg.png ADDED
Binary file
includes/images/wca/5_in_reg.png ADDED
Binary file
includes/images/wca/6_after_reg.png ADDED
Binary file
includes/images/wca/7_before_checkout.png ADDED
Binary file
includes/images/wca/8_after_checkout.png ADDED
Binary file
includes/images/wca/wcai.png ADDED
Binary file
miniorange_openid_sso_settings.php CHANGED
@@ -4,12 +4,12 @@
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
- * Version: 7.4.5
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
- define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.4.5');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  require('miniorange_openid_sso_settings_page.php');
@@ -288,7 +288,10 @@ Thank you.';
288
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-General Settings','Social Login', 'administrator','mo_openid_general_settings','mo_register_openid' );
289
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-General Settings','Social Sharing', 'administrator','mo_openid_social_sharing_settings','mo_register_sharing_openid' );
290
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-General Settings','Social Commenting', 'administrator','mo_openid_social_commenting_settings','mo_comment_openid');
291
- $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-Add_On','Add-On', 'administrator','mo_openid_settings_addOn','mo_openid_addon_desc_page');
 
 
 
292
  remove_submenu_page('mo_openid_settings','mo_openid_settings');
293
  }
294
 
@@ -535,7 +538,19 @@ Thank you.';
535
  $key = get_option('mo_openid_customer_token');
536
  if($_POST['licience_type']=="extra_attributes_addon") {
537
  update_option('mo_openid_opn_lk_extra_attr_addon', MOAESEncryption::encrypt_data($code, $key));
538
- update_option('mo_openid_message', 'Your addon license is verified. You can now setup the addon plugin.');
 
 
 
 
 
 
 
 
 
 
 
 
539
  }
540
  $key = get_option('mo_openid_customer_token');
541
  update_option('mo_openid_site_ck_l', MOAESEncryption::encrypt_data("true", $key));
@@ -798,16 +813,10 @@ Thank you.';
798
  delete_option('mo_openid_verify_customer');
799
  delete_option( 'mo_openid_admin_customer_valid');
800
  delete_option( 'mo_openid_admin_customer_plan');
801
- delete_option( 'mo_openid_facebook_enable');
802
- delete_option( 'mo_openid_google_enable');
803
- delete_option( 'mo_openid_vkontakte_enable');
804
- delete_option( 'mo_openid_twitter_enable');
805
- delete_option( 'mo_openid_salesforce_enable');
806
- delete_option( 'mo_openid_amazon_enable');
807
- delete_option( 'mo_openid_linkedin_enable');
808
- delete_option( 'mo_openid_instagram_enable');
809
- delete_option( 'mo_openid_windowslive_enable');
810
- delete_option( 'mo_openid_yahoo_enable');
811
  }
812
 
813
 
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
+ * Version: 7.4.6
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
+ define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.4.6');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  require('miniorange_openid_sso_settings_page.php');
288
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-General Settings','Social Login', 'administrator','mo_openid_general_settings','mo_register_openid' );
289
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-General Settings','Social Sharing', 'administrator','mo_openid_social_sharing_settings','mo_register_sharing_openid' );
290
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-General Settings','Social Commenting', 'administrator','mo_openid_social_commenting_settings','mo_comment_openid');
291
+ $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-Add_On','Custom Registration Add-On', 'administrator','mo_openid_settings_addOn','mo_openid_addon_desc_page');
292
+ $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-WooCommerce_Add_On','WooCommerce Add-On', 'administrator','mo_openid_woocommerce_add_on','mo_openid_addon_desc_page');
293
+ $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-BuddyPress_Add_On','BuddyPress Add-On', 'administrator','mo_openid_buddypress_add_on','mo_openid_addon_desc_page');
294
+ $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-MailChimp_Add_On','MailChimp Add-On', 'administrator','mo_openid_mailchimp_add_on','mo_openid_addon_desc_page');
295
  remove_submenu_page('mo_openid_settings','mo_openid_settings');
296
  }
297
 
538
  $key = get_option('mo_openid_customer_token');
539
  if($_POST['licience_type']=="extra_attributes_addon") {
540
  update_option('mo_openid_opn_lk_extra_attr_addon', MOAESEncryption::encrypt_data($code, $key));
541
+ update_option('mo_openid_message', 'Your Custom Registration addon license is verified. You can now setup the addon plugin.');
542
+ }
543
+ else if($_POST['licience_type']=="WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON") {
544
+ update_option('mo_openid_opn_lk_wca_addon', MOAESEncryption::encrypt_data($code, $key));
545
+ update_option('mo_openid_message', 'Your WooCommerce addon license is verified. You can now setup the addon plugin.');
546
+ }
547
+ else if($_POST['licience_type']=="WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON") {
548
+ update_option('mo_openid_opn_lk_bpp_addon', MOAESEncryption::encrypt_data($code, $key));
549
+ update_option('mo_openid_message', 'Your BuddyPress addon license is verified. You can now setup the addon plugin.');
550
+ }
551
+ else if($_POST['licience_type']=="WP_SOCIAL_LOGIN_MAILCHIMP_ADDON") {
552
+ update_option('mo_openid_opn_lk_mailc_addon', MOAESEncryption::encrypt_data($code, $key));
553
+ update_option('mo_openid_message', 'Your MailChimp addon license is verified. You can now setup the addon plugin.');
554
  }
555
  $key = get_option('mo_openid_customer_token');
556
  update_option('mo_openid_site_ck_l', MOAESEncryption::encrypt_data("true", $key));
813
  delete_option('mo_openid_verify_customer');
814
  delete_option( 'mo_openid_admin_customer_valid');
815
  delete_option( 'mo_openid_admin_customer_plan');
816
+ delete_option('mo_openid_opn_lk_extra_attr_addon');
817
+ delete_option('mo_openid_opn_lk_wca_addon');
818
+ delete_option('mo_openid_opn_lk_bpp_addon');
819
+ delete_option('mo_openid_opn_lk_mailc_addon');
 
 
 
 
 
 
820
  }
821
 
822
 
miniorange_openid_sso_settings_page.php CHANGED
@@ -31,6 +31,9 @@ require('view/soc_com/com_select_app/mo_openid_comm_select_app.php');
31
  require('view/soc_com/com_Enable/mo_openid_comm_enable.php');
32
  require('view/soc_com/com_shrtco/comm_shrtco.php');
33
  include('view/add_on/custom_registration_form.php');
 
 
 
34
  require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
35
  require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
36
  require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
@@ -48,8 +51,8 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
48
  </div>
49
  <?php
50
  }
51
- if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
52
- $active_tab = $_GET[ 'tab' ];
53
  } else {
54
  $active_tab = 'config_apps';
55
  }
@@ -57,9 +60,16 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
57
  $disable="disabled";
58
  else
59
  $disable="";
60
- ?>
61
-
62
-
 
 
 
 
 
 
 
63
  <div>
64
  <table>
65
  <tr>
@@ -67,7 +77,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
67
  <td>&nbsp;<a style="text-decoration:none" href="https://plugins.miniorange.com/" target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?> &nbsp;</h1></a></td>
68
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
69
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
70
- <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Licensing Plan');?></a></td>
71
  <td>
72
  <a id="mo_openid_rateus_modal" onclick="asdf(this)" style="margin-top: 23px" class="button" ><?php echo mo_sl('Rate us');?></a>
73
  </td>
@@ -113,17 +123,18 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
113
  </style>
114
  <div id="mo_openid_settings" style="width: 85%; float: right;">
115
  <div style="background-color: #FFFFFF;width: 90%;border-radius: 0px 15px 15px 0px;">
116
- <div class="mo_container">
117
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
118
  <div id="mo_openid_msgs"></div>
119
- <table style="width:100%;">
 
 
 
 
120
  <tr>
121
  <td style="vertical-align:top;">
122
  <?php
123
  switch ($active_tab){
124
- case 'licensing_plans':
125
- mo_openid_licensing_plans();
126
- break;
127
  case 'config_apps':
128
  mo_openid_show_apps();
129
  break;
@@ -228,6 +239,15 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
228
  jQuery("#mo_openid_rating-5").prop('checked',false);
229
 
230
  }
 
 
 
 
 
 
 
 
 
231
  function form_popup(rating){
232
  jQuery.ajax({
233
  url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
@@ -370,12 +390,12 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
370
  return_value = "" +
371
  "<div style='width:13% !important;font-size: unset !important' class=\"mo_openid_popover\" role=\"tooltip\"> " +
372
  "<div class=\"mo_openid_arrow\" ></div> " +
373
- "<h3 class=\"mo_openid_popover-header\" style=\"margin-top:0px;\"></h3> " +
374
  "<div class=\"mo_openid_popover-body\"></div> " +
375
  "<div class=\"mo_openid_popover-navigation\"> " +
376
  "<div class=\"mo_openid_tour_btn-group\" style=\"width: 100%;\"> " +
377
- "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;\" data-role=\"next\">Next &raquo;</button>&nbsp;&nbsp;" +
378
- "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;\" data-role=\"end\" onclick=\"end_new_tour1();\">Skip</button>" +
379
  "<div style=\"width:47%;margin-top: -7%;\">" +
380
  "<h4 style=\"float:right;margin-left: 53%;\">" + (new_tour1.getCurrentStep() + 1) + "/8</h4>" +
381
  "</div>" +
@@ -391,8 +411,8 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
391
  "<div class=\"mo_openid_popover-body\"></div> " +
392
  "<div class=\"mo_openid_popover-navigation\"> " +
393
  "<div class=\"mo_openid_tour_btn-group\" style=\"width: 100%;\"> " +
394
- "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;\" data-role=\"next\">Next &raquo;</button>&nbsp;&nbsp;" +
395
- "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;\" data-role=\"end\" onclick=\"end_new_tour1();\">Skip</button>" +
396
  "<div style=\"width:47%;margin-top: -7%;\">" +
397
  "<h4 style=\"float:right;margin-left: 53%;\">" + (new_tour1.getCurrentStep() + 1) + "/8</h4>" +
398
  "</div>" +
@@ -486,6 +506,15 @@ function mo_register_sharing_openid()
486
  } else {
487
  $active_tab = 'soc_apps';
488
  }
 
 
 
 
 
 
 
 
 
489
  ?>
490
 
491
  <div>
@@ -497,7 +526,7 @@ function mo_register_sharing_openid()
497
  target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?></h1></a></td>
498
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
499
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
500
- <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Upgrade Now');?></a></td>
501
  <td>
502
  </tr>
503
  </table>
@@ -549,6 +578,9 @@ function mo_register_sharing_openid()
549
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
550
  <div id="mo_openid_msgs"></div>
551
  <table style="width:100%;">
 
 
 
552
  <tr>
553
  <td style="vertical-align:top;">
554
  <?php
@@ -598,6 +630,15 @@ function mo_register_sharing_openid()
598
  </div>
599
  <?php include('view/support_form/miniorange_openid_support_form.php');?>
600
  <script>
 
 
 
 
 
 
 
 
 
601
  jQuery("#contact_us_phone").intlTelInput();
602
  function mo_openid_support_form(abc) {
603
  jQuery("#contact_us_phone").intlTelInput();
@@ -637,6 +678,14 @@ function mo_comment_openid() {
637
  } else {
638
  $active_tab = 'select_applications';
639
  }
 
 
 
 
 
 
 
 
640
  ?>
641
  <div>
642
 
@@ -648,7 +697,7 @@ function mo_comment_openid() {
648
  target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?></h1></a></td>
649
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
650
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
651
- <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Upgrade Now');?></a></td>
652
  <td>
653
  </tr>
654
  </table>
@@ -680,6 +729,9 @@ function mo_comment_openid() {
680
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
681
  <div id="mo_openid_msgs"></div>
682
  <table style="width:100%;">
 
 
 
683
  <tr>
684
  <td style="vertical-align:top;">
685
  <?php
@@ -740,7 +792,7 @@ function mo_comment_openid() {
740
  var t=parseInt(e.value.trim());t>50?e.value=50:35>t&&(e.value=35)
741
  }
742
  jQuery(document).ready(function(){
743
- let sel = jQuery(".mo_support_input_container");
744
  sel.each(function(){
745
  if(jQuery(this).find(".mo_support_input").val() !== "")
746
  jQuery(this).addClass("mo_has_value");
@@ -753,6 +805,15 @@ function mo_comment_openid() {
753
  });
754
  </script>
755
  <script>
 
 
 
 
 
 
 
 
 
756
  jQuery(document).ready(function ()
757
  {
758
  jQuery("#bkgOverlay").delay(4800).fadeIn(400);
@@ -808,20 +869,43 @@ function mo_comment_openid() {
808
  }
809
 
810
  function mo_openid_addon_desc_page() {
 
811
  if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
812
  $active_tab = $_GET[ 'tab' ];
813
- } else {
 
 
 
 
 
 
 
 
 
814
  $active_tab = 'custom_registration_form';
815
  }
 
 
816
  ?>
817
- <div>
 
 
 
 
 
 
 
 
 
818
  <table>
819
  <tr>
820
  <td><img id="logo" style="margin-top: 25px" src="<?php echo plugin_dir_url(__FILE__);?>includes/images/logo.png"></td>
821
- <td>&nbsp;<a style="text-decoration:none" href="https://plugins.miniorange.com/" target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?> &nbsp;</h1></a></td>
822
- <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
823
- <td> <a id="mo_openid_go_back" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'mo_openid_go_back' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_go_back'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Social Login');?></a></td>
824
- <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Upgrade Now');?></a></td>
 
 
825
  </tr>
826
  </table>
827
  </div>
@@ -831,39 +915,96 @@ function mo_openid_addon_desc_page() {
831
  <div style="height:54px;margin-top: 9px;border-bottom: 0px;text-align:center;">
832
  <div><img style="float:left;margin-left:8px;width: 43px;height: 45px;padding-top: 5px;" src="<?php echo plugin_dir_url(__FILE__);?>includes/images/logo.png"></div>
833
  <br>
834
- <span style="font-size:20px;color:white;float:left;"><?php echo mo_sl('miniOrange');?></span>
835
  </div>
836
  <div class="mo_openid_tab" style="min-height:395px;width:100%; height: 445px;border-radius: 0px 0px 0px 15px;">
837
- <a id="custom_registration_form" class="tablinks<?php if($active_tab=="custom_registration_form") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'custom_registration_form'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Custom Registration Form');?></a>
838
- <a id="mo_openid_go_back" class="tablinks<?php if($active_tab=="mo_openid_go_back") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_go_back'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Go to Social Login');?></a>
839
- <a id="mo_openid_licensing_plans_tab" class="tablinks<?php if($active_tab=="mo_openid_licensing_plans_tab") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_licensing_plans_tab'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Licensing Plans');?></a>
 
 
 
 
840
  </div>
841
  </div>
 
842
  <div id="mo_openid_settings" style="width: 85%; float: right;">
843
  <div style="background-color: #FFFFFF;width: 90%;border-radius: 0px 15px 15px 0px;">
844
  <div class="mo_container">
845
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
846
  <div id="mo_openid_msgs"></div>
 
 
 
 
 
847
  <table style="width:100%;">
848
  <tr>
849
  <td style="vertical-align:top;">
850
  <?php
851
  switch ($active_tab){
852
- case 'mo_openid_licensing_plans_tab':
853
- case 'licensing_plans':
854
- mo_openid_licensing_plans_addon();
 
 
 
 
 
855
  break;
856
  case 'custom_registration_form':
857
  if(mo_openid_is_customer_addon_license_key_verified()) {
858
  if(is_plugin_active('miniorange-login-openid-extra-attributes-addon/miniorange_openid_sso_customization_addon.php'))
859
  do_action('customization_addon');
860
  else {
861
- mo_openid_show_addon_message_page();
 
862
  }
863
  }
864
  else
865
  mo_openid_custom_registration_form();
866
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
867
  case 'mo_openid_go_back':
868
  header('Location: '.site_url().'/wp-admin/admin.php?page=mo_openid_general_settings');
869
  break;
@@ -876,7 +1017,7 @@ function mo_openid_addon_desc_page() {
876
  </div>
877
  </div>
878
  </div>
879
- <script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
880
  <input type="button" id="myBtn" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP');?>">
881
  </div>
882
  <?php include('view/support_form/miniorange_openid_support_form.php');?>
@@ -900,6 +1041,16 @@ function mo_openid_addon_desc_page() {
900
  }
901
  }
902
  }
 
 
 
 
 
 
 
 
 
 
903
  function wordpress_support() {
904
  window.open("https://wordpress.org/support/plugin/miniorange-login-openid","_blank");
905
 
@@ -912,4 +1063,4 @@ function mo_openid_addon_desc_page() {
912
  </script>
913
  <?php
914
 
915
- }
31
  require('view/soc_com/com_Enable/mo_openid_comm_enable.php');
32
  require('view/soc_com/com_shrtco/comm_shrtco.php');
33
  include('view/add_on/custom_registration_form.php');
34
+ require('view/add_on/mo_woocommerce_add_on.php');
35
+ require('view/add_on/mo_mailchimp_add_on.php');
36
+ require('view/add_on/mo_buddypress_add_on.php');
37
  require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
38
  require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
39
  require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
51
  </div>
52
  <?php
53
  }
54
+ if (isset($_GET['tab']) && $_GET['tab'] !== 'register') {
55
+ $active_tab = $_GET['tab'];
56
  } else {
57
  $active_tab = 'config_apps';
58
  }
60
  $disable="disabled";
61
  else
62
  $disable="";
63
+ if($active_tab == 'licensing_plans') {
64
+ ?>
65
+ <div style="text-align:center;"><h1>Social Login Plugin</h1></div>
66
+ <div><a style="margin-top: 0px;background: #d0d0d0;border-color: #1162b5;color: #151515; float: left" class="button" href= <?php echo (isset($_COOKIE['extension_current_url']) ? $_COOKIE['extension_current_url']:site_url());?> ><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span><b style="font-size: 15px;"> &nbsp;&nbsp;Back To Plugin Configuration</b></a></div>
67
+ <?php
68
+ mo_openid_licensing_plans();
69
+ }
70
+ else
71
+ {
72
+ ?>
73
  <div>
74
  <table>
75
  <tr>
77
  <td>&nbsp;<a style="text-decoration:none" href="https://plugins.miniorange.com/" target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?> &nbsp;</h1></a></td>
78
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
79
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
80
+ <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()"><?php echo mo_sl('Licensing Plan');?></a></td>
81
  <td>
82
  <a id="mo_openid_rateus_modal" onclick="asdf(this)" style="margin-top: 23px" class="button" ><?php echo mo_sl('Rate us');?></a>
83
  </td>
123
  </style>
124
  <div id="mo_openid_settings" style="width: 85%; float: right;">
125
  <div style="background-color: #FFFFFF;width: 90%;border-radius: 0px 15px 15px 0px;">
126
+ <!-- <div class="mo_container">-->
127
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
128
  <div id="mo_openid_msgs"></div>
129
+ <!-- </div>-->
130
+ <table style="width:100%;">
131
+ <?php
132
+ }
133
+ ?>
134
  <tr>
135
  <td style="vertical-align:top;">
136
  <?php
137
  switch ($active_tab){
 
 
 
138
  case 'config_apps':
139
  mo_openid_show_apps();
140
  break;
239
  jQuery("#mo_openid_rating-5").prop('checked',false);
240
 
241
  }
242
+ function mo_openid_extension_switch(){
243
+ var extension_url = window.location.href;
244
+ var cookie_names = "extension_current_url";
245
+ var d = new Date();
246
+ d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
247
+ var expired = "expires="+d.toUTCString();
248
+ document.cookie = cookie_names + "=" + extension_url + ";" + expired + ";path=/";
249
+ <?php update_option('mo_openid_extension_tab','0');?>
250
+ }
251
  function form_popup(rating){
252
  jQuery.ajax({
253
  url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
390
  return_value = "" +
391
  "<div style='width:13% !important;font-size: unset !important' class=\"mo_openid_popover\" role=\"tooltip\"> " +
392
  "<div class=\"mo_openid_arrow\" ></div> " +
393
+ "<h3 class=\"mo_openid_popover-header\" style=\"font-size: 1rem;\"></h3> " +
394
  "<div class=\"mo_openid_popover-body\"></div> " +
395
  "<div class=\"mo_openid_popover-navigation\"> " +
396
  "<div class=\"mo_openid_tour_btn-group\" style=\"width: 100%;\"> " +
397
+ "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;font-size: 1.5rem;\" data-role=\"next\">Next &raquo;</button>&nbsp;&nbsp;" +
398
+ "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;font-size: 1.5rem;\" data-role=\"end\" onclick=\"end_new_tour1();\">Skip</button>" +
399
  "<div style=\"width:47%;margin-top: -7%;\">" +
400
  "<h4 style=\"float:right;margin-left: 53%;\">" + (new_tour1.getCurrentStep() + 1) + "/8</h4>" +
401
  "</div>" +
411
  "<div class=\"mo_openid_popover-body\"></div> " +
412
  "<div class=\"mo_openid_popover-navigation\"> " +
413
  "<div class=\"mo_openid_tour_btn-group\" style=\"width: 100%;\"> " +
414
+ "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;font-size: 1.5rem;\" data-role=\"next\">Next &raquo;</button>&nbsp;&nbsp;" +
415
+ "<button class=\"mo_openid_tour_btn mo_openid_tour_btn-sm mo_openid_tour_btn-secondary mo_openid_tour_btn_next-success\" style=\"width: 54%;height: 0%;font-size: 1.5rem;\" data-role=\"end\" onclick=\"end_new_tour1();\">Skip</button>" +
416
  "<div style=\"width:47%;margin-top: -7%;\">" +
417
  "<h4 style=\"float:right;margin-left: 53%;\">" + (new_tour1.getCurrentStep() + 1) + "/8</h4>" +
418
  "</div>" +
506
  } else {
507
  $active_tab = 'soc_apps';
508
  }
509
+
510
+ if($active_tab == 'licensing_plans'){
511
+ ?>
512
+ <div style="text-align:center;"><h1>Social Login Plugin</h1></div>
513
+ <div><a style="margin-top: 0px;background: #d0d0d0;border-color: #1162b5;color: #151515; float: left" class="button" href= <?php echo (isset($_COOKIE['extension_current_url']) ? $_COOKIE['extension_current_url']:site_url());?> ><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span><b style="font-size: 15px;"> &nbsp;&nbsp;Back To Plugin Configuration</b></a></div>
514
+ <?php
515
+ }
516
+ else
517
+ {
518
  ?>
519
 
520
  <div>
526
  target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?></h1></a></td>
527
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
528
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
529
+ <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()"><?php echo mo_sl('Upgrade Now');?></a></td>
530
  <td>
531
  </tr>
532
  </table>
578
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
579
  <div id="mo_openid_msgs"></div>
580
  <table style="width:100%;">
581
+ <?php
582
+ }
583
+ ?>
584
  <tr>
585
  <td style="vertical-align:top;">
586
  <?php
630
  </div>
631
  <?php include('view/support_form/miniorange_openid_support_form.php');?>
632
  <script>
633
+ function mo_openid_extension_switch(){
634
+ var extension_url = window.location.href;
635
+ var cookie_names = "extension_current_url";
636
+ var d = new Date();
637
+ d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
638
+ var expired = "expires="+d.toUTCString();
639
+ document.cookie = cookie_names + "=" + extension_url + ";" + expired + ";path=/";
640
+ <?php update_option('mo_openid_extension_tab','0');?>
641
+ }
642
  jQuery("#contact_us_phone").intlTelInput();
643
  function mo_openid_support_form(abc) {
644
  jQuery("#contact_us_phone").intlTelInput();
678
  } else {
679
  $active_tab = 'select_applications';
680
  }
681
+ if($active_tab == 'licensing_plans') {
682
+ ?>
683
+ <div style="text-align:center;"><h1>Social Login Plugin</h1></div>
684
+ <div><a style="margin-top: 0px;background: #d0d0d0;border-color: #1162b5;color: #151515; float: left" class="button" href= <?php echo (isset($_COOKIE['extension_current_url']) ? $_COOKIE['extension_current_url']:site_url());?> ><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span><b style="font-size: 15px;"> &nbsp;&nbsp;Back To Plugin Configuration</b></a></div>
685
+ <?php
686
+ }
687
+ else
688
+ {
689
  ?>
690
  <div>
691
 
697
  target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?></h1></a></td>
698
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
699
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
700
+ <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()"><?php echo mo_sl('Upgrade Now');?></a></td>
701
  <td>
702
  </tr>
703
  </table>
729
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
730
  <div id="mo_openid_msgs"></div>
731
  <table style="width:100%;">
732
+ <?php
733
+ }
734
+ ?>
735
  <tr>
736
  <td style="vertical-align:top;">
737
  <?php
792
  var t=parseInt(e.value.trim());t>50?e.value=50:35>t&&(e.value=35)
793
  }
794
  jQuery(document).ready(function(){
795
+ var sel = jQuery(".mo_support_input_container");
796
  sel.each(function(){
797
  if(jQuery(this).find(".mo_support_input").val() !== "")
798
  jQuery(this).addClass("mo_has_value");
805
  });
806
  </script>
807
  <script>
808
+ function mo_openid_extension_switch(){
809
+ var extension_url = window.location.href;
810
+ var cookie_names = "extension_current_url";
811
+ var d = new Date();
812
+ d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
813
+ var expired = "expires="+d.toUTCString();
814
+ document.cookie = cookie_names + "=" + extension_url + ";" + expired + ";path=/";
815
+ <?php update_option('mo_openid_extension_tab','0');?>
816
+ }
817
  jQuery(document).ready(function ()
818
  {
819
  jQuery("#bkgOverlay").delay(4800).fadeIn(400);
869
  }
870
 
871
  function mo_openid_addon_desc_page() {
872
+
873
  if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
874
  $active_tab = $_GET[ 'tab' ];
875
+ }
876
+ elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_settings_addOn')
877
+ $active_tab = 'custom_registration_form';
878
+ elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_woocommerce_add_on')
879
+ $active_tab = 'mo_woocommerce_add_on';
880
+ elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_mailchimp_add_on')
881
+ $active_tab = 'mo_mailchimp_add_on';
882
+ elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_buddypress_add_on')
883
+ $active_tab = 'mo_buddypress_add_on';
884
+ else {
885
  $active_tab = 'custom_registration_form';
886
  }
887
+
888
+ if($active_tab =='licensing_plans') {
889
  ?>
890
+ <div style="text-align:center;"><h1>Social Login Plugin</h1></div>
891
+ <div><a style="margin-top: 0px;background: #d0d0d0;border-color: #1162b5;color: #151515; float: left" class="button" href= <?php echo (isset($_COOKIE['extension_current_url']) ? $_COOKIE['extension_current_url']:site_url());?> ><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span><b style="font-size: 15px;"> &nbsp;&nbsp;Back To Plugin Configuration</b></a></div>
892
+ <?php
893
+ mo_openid_licensing_plans();
894
+ }
895
+ else
896
+ {
897
+
898
+ ?>
899
+ <div>
900
  <table>
901
  <tr>
902
  <td><img id="logo" style="margin-top: 25px" src="<?php echo plugin_dir_url(__FILE__);?>includes/images/logo.png"></td>
903
+ <td>&nbsp;<a style="text-decoration:none" href="https://plugins.miniorange.com/" target="_blank"><h1 style="color: #c9302c">miniOrange Social Login &nbsp;</h1></a></td>
904
+ <td> <a id="privacy" style="margin-top: 23px" class="button" <?php echo $active_tab == 'privacy_policy' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'privacy_policy'), $_SERVER['REQUEST_URI'] ); ?>">Privacy Policy</a></td>
905
+ <td> <a id="faq" style="margin-top: 23px" class="button" <?php echo $active_tab == 'faq' ? 'nav-tab-active' : ''; ?> href="<?php echo add_query_arg( array('tab' => 'faq'), $_SERVER['REQUEST_URI'] ); ?>">FAQs</a></td>
906
+ <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank">Forum</a></td>
907
+ <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()">Licensing Plans</a></td>
908
+ <td> <a id="mo_openid_go_back" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'mo_openid_go_back' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_go_back'), $_SERVER['REQUEST_URI'] ); ?>">Social Login</a></td>
909
  </tr>
910
  </table>
911
  </div>
915
  <div style="height:54px;margin-top: 9px;border-bottom: 0px;text-align:center;">
916
  <div><img style="float:left;margin-left:8px;width: 43px;height: 45px;padding-top: 5px;" src="<?php echo plugin_dir_url(__FILE__);?>includes/images/logo.png"></div>
917
  <br>
918
+ <span style="font-size:20px;color:white;float:left;">miniOrange</span>
919
  </div>
920
  <div class="mo_openid_tab" style="min-height:395px;width:100%; height: 445px;border-radius: 0px 0px 0px 15px;">
921
+ <a id="custom_registration_form" class="tablinks<?php if($active_tab=="custom_registration_form") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'custom_registration_form'), $_SERVER['REQUEST_URI'] ); ?>">Custom Registration Form</a>
922
+ <a id="mo_woocommerce_add_on" class="tablinks<?php if($active_tab=="mo_woocommerce_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_woocommerce_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('WooCommerce Add on');?></a>
923
+ <a id="mo_buddypress_add_on" class="tablinks<?php if($active_tab=="mo_buddypress_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_buddypress_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('BuddyPress Add on');?></a>
924
+ <a id="mo_mailchimp_add_on" class="tablinks<?php if($active_tab=="mo_mailchimp_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_mailchimp_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('MailChimp Add on');?></a>
925
+ <a id="mo_openid_go_back" class="tablinks<?php if($active_tab=="mo_openid_go_back") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_go_back'), $_SERVER['REQUEST_URI'] ); ?>">Go to Social Login</a>
926
+ <a id="mo_openid_licensing" class="tablinks<?php if($active_tab=="mo_openid_licensing_plans") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()">Licensing Plans</a>
927
+ <a id="profile_com" style="display: none;"> class="tablinks<?php if($active_tab=="profile_com") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_com'), $_SERVER['REQUEST_URI'] ); ?>">Profile</a>
928
  </div>
929
  </div>
930
+
931
  <div id="mo_openid_settings" style="width: 85%; float: right;">
932
  <div style="background-color: #FFFFFF;width: 90%;border-radius: 0px 15px 15px 0px;">
933
  <div class="mo_container">
934
  <h3 id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding: 23px;border-radius: 0px 15px 0px 0px;">&nbsp</h3>
935
  <div id="mo_openid_msgs"></div>
936
+ <?php
937
+
938
+ }
939
+ ?>
940
+
941
  <table style="width:100%;">
942
  <tr>
943
  <td style="vertical-align:top;">
944
  <?php
945
  switch ($active_tab){
946
+ case 'profile_com':
947
+ mo_openid_profile();
948
+ break;
949
+ case 'privacy_policy':
950
+ mo_openid_privacy_policy();
951
+ break;
952
+ case 'faq':
953
+ mo_openid_faq();
954
  break;
955
  case 'custom_registration_form':
956
  if(mo_openid_is_customer_addon_license_key_verified()) {
957
  if(is_plugin_active('miniorange-login-openid-extra-attributes-addon/miniorange_openid_sso_customization_addon.php'))
958
  do_action('customization_addon');
959
  else {
960
+ $addon_message_type = 'Custom Registration Addon';
961
+ mo_openid_show_addon_message_page($addon_message_type);
962
  }
963
  }
964
  else
965
  mo_openid_custom_registration_form();
966
  break;
967
+ case 'mo_woocommerce_add_on':
968
+ if(mo_openid_is_wca_license_key_verified()) {
969
+ if (is_plugin_active('miniorange-login-openid-woocommerce-addon/miniorange_openid_woocommerce_integration_addon.php')) {
970
+ do_action('mo_wc_addon');
971
+ }
972
+ else {
973
+ $addon_message_type = 'WooCommerce Addon';
974
+ mo_openid_show_addon_message_page($addon_message_type);
975
+ }
976
+ }
977
+ else
978
+ mo_openid_woocommerce_add_on();
979
+ break;
980
+ case 'mo_mailchimp_add_on':
981
+ if(mo_openid_is_mailc_license_key_verified()) {
982
+ if (is_plugin_active('miniorange-login-openid-mailchimp-addon/miniorange_openid_mailchimp_addon.php')) {
983
+ do_action('mo_mailchimp_addon');
984
+ }
985
+ else {
986
+ $addon_message_type = 'MailChimp Addon';
987
+ mo_openid_show_addon_message_page($addon_message_type);
988
+ }
989
+ }
990
+ else
991
+ mo_openid_mailchimp_add_on();
992
+ break;
993
+ case 'mo_buddypress_add_on':
994
+ if(mo_openid_is_bpp_license_key_verified()) {
995
+ if (is_plugin_active('miniorange-login-openid-buddypress-addon/mo_openid_buddypress_display_addon.php')) {
996
+ do_action('buddypress_integration_addon');
997
+ }
998
+ else {
999
+ $addon_message_type = 'BuddyPress Addon';
1000
+ mo_openid_show_addon_message_page($addon_message_type);
1001
+ }
1002
+ }
1003
+ else
1004
+ mo_openid_buddypress_addon_display();
1005
+ break;
1006
+ case 'setup_video':
1007
+ break;
1008
  case 'mo_openid_go_back':
1009
  header('Location: '.site_url().'/wp-admin/admin.php?page=mo_openid_general_settings');
1010
  break;
1017
  </div>
1018
  </div>
1019
  </div>
1020
+ <script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
1021
  <input type="button" id="myBtn" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP');?>">
1022
  </div>
1023
  <?php include('view/support_form/miniorange_openid_support_form.php');?>
1041
  }
1042
  }
1043
  }
1044
+ function mo_openid_extension_switch(){
1045
+ var extension_url = window.location.href;
1046
+ var cookie_names = "extension_current_url";
1047
+ var d = new Date();
1048
+ d.setTime(d.getTime() + (2 * 24 * 60 * 60 * 1000));
1049
+ var expired = "expires="+d.toUTCString();
1050
+ document.cookie = cookie_names + "=" + extension_url + ";" + expired + ";path=/";
1051
+
1052
+ <?php update_option('mo_openid_extension_tab','1');?>
1053
+ }
1054
  function wordpress_support() {
1055
  window.open("https://wordpress.org/support/plugin/miniorange-login-openid","_blank");
1056
 
1063
  </script>
1064
  <?php
1065
 
1066
+ }
mo-openid-social-login-functions.php CHANGED
@@ -594,6 +594,38 @@ function mo_openid_is_customer_addon_license_key_verified() {
594
  }
595
  }
596
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
597
  function mo_openid_show_addon_message_page()
598
  {
599
  ?>
@@ -627,7 +659,14 @@ function mo_openid_show_addon_message_page()
627
  }
628
 
629
  function mo_openid_show_verify_addon_license_page(){
630
- wp_send_json(["html"=> mo_openid_show_verify_license_page('extra_attributes_addon')]);
 
 
 
 
 
 
 
631
  }
632
 
633
  function mo_openid_show_verify_license_page($licience_type){
@@ -643,8 +682,13 @@ function mo_openid_show_verify_license_page($licience_type){
643
  <input class="mo_openid_table_textbox" required type="text" style="margin-left:40px;width:300px;"
644
  name="openid_licence_key" placeholder="Enter your license key to activate the plugin"/>
645
  </p>
646
- <p><b><font color="#FF0000">*</font>Please check this to confirm that you have read it: </b>&nbsp;&nbsp;<input required type="checkbox" name="license_conditions"/></p>
647
-
 
 
 
 
 
648
 
649
  <ol>
650
  <li>License key you have entered here is associated with this site instance. In future, if you are re-installing the plugin or your site for any reason. You should deactivate and then delete the plugin from wordpress console and should not manually delete the plugin folder. So that you can resuse the same license key.</li><br>
@@ -946,11 +990,24 @@ function create_customer(){
946
  if( strcasecmp( $customerKey['status'], 'CUSTOMER_USERNAME_ALREADY_EXISTS') == 0 ) {
947
  get_current_customer();
948
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
949
  else if((strcasecmp( $customerKey['status'], 'FAILED' ) == 0) && (strcasecmp( $customerKey['message'], 'Email is not enterprise email.' ) == 0) ){
950
  if($_POST['action']=='mo_register_new_user')
951
  wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
952
  else {
953
- update_option('mo_openid_message', ' There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
954
  update_option('mo_openid_registration_status', 'EMAIL_IS_NOT_ENTERPRISE');
955
  mo_openid_show_error_message();
956
  if (get_option('regi_pop_up') == "yes") {
594
  }
595
  }
596
 
597
+ function mo_openid_is_wca_license_key_verified() {
598
+ $licenseKey = get_option('mo_openid_opn_lk_wca_addon');
599
+ $email = get_option('mo_openid_admin_email');
600
+ $customerKey = get_option('mo_openid_admin_customer_key');
601
+ if( !$licenseKey || ! $email || ! $customerKey || ! is_numeric( trim( $customerKey ) ) ){
602
+ return 0;
603
+ }else {
604
+ return 1;
605
+ }
606
+ }
607
+
608
+ function mo_openid_is_bpp_license_key_verified() {
609
+ $licenseKey = get_option('mo_openid_opn_lk_bpp_addon');
610
+ $email = get_option('mo_openid_admin_email');
611
+ $customerKey = get_option('mo_openid_admin_customer_key');
612
+ if( !$licenseKey || ! $email || ! $customerKey || ! is_numeric( trim( $customerKey ) ) ){
613
+ return 0;
614
+ }else {
615
+ return 1;
616
+ }
617
+ }
618
+
619
+ function mo_openid_is_mailc_license_key_verified() {
620
+ $licenseKey = get_option('mo_openid_opn_lk_mailc_addon');
621
+ $email = get_option('mo_openid_admin_email');
622
+ $customerKey = get_option('mo_openid_admin_customer_key');
623
+ if( !$licenseKey || ! $email || ! $customerKey || ! is_numeric( trim( $customerKey ) ) ){
624
+ return 0;
625
+ }else {
626
+ return 1;
627
+ }
628
+ }
629
  function mo_openid_show_addon_message_page()
630
  {
631
  ?>
659
  }
660
 
661
  function mo_openid_show_verify_addon_license_page(){
662
+ if(sanitize_text_field($_POST['plan_name'])=='extra_attributes_addon')
663
+ wp_send_json(["html"=> mo_openid_show_verify_license_page('extra_attributes_addon')]);
664
+ else if(sanitize_text_field($_POST['plan_name'])=='WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON')
665
+ wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON')]);
666
+ else if(sanitize_text_field($_POST['plan_name'])=='WP_SOCIAL_LOGIN_MAILCHIMP_ADDON')
667
+ wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_MAILCHIMP_ADDON')]);
668
+ else if(sanitize_text_field($_POST['plan_name'])=='WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON')
669
+ wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON')]);
670
  }
671
 
672
  function mo_openid_show_verify_license_page($licience_type){
682
  <input class="mo_openid_table_textbox" required type="text" style="margin-left:40px;width:300px;"
683
  name="openid_licence_key" placeholder="Enter your license key to activate the plugin"/>
684
  </p>
685
+ <p>
686
+ <label class="mo_openid_checkbox_container">
687
+ <b><font color="#FF0000">*</font>Please check this to confirm that you have read it</b>
688
+ <input style="position: absolute; left:0;top: 88%" required type="checkbox" name="license_conditions"/>
689
+ <span class="mo_openid_checkbox_checkmark"></span>
690
+ </label>
691
+ </p>
692
 
693
  <ol>
694
  <li>License key you have entered here is associated with this site instance. In future, if you are re-installing the plugin or your site for any reason. You should deactivate and then delete the plugin from wordpress console and should not manually delete the plugin folder. So that you can resuse the same license key.</li><br>
990
  if( strcasecmp( $customerKey['status'], 'CUSTOMER_USERNAME_ALREADY_EXISTS') == 0 ) {
991
  get_current_customer();
992
  }
993
+ else if((strcasecmp( $customerKey['status'], 'INVALID_EMAIL_QUICK_EMAIL' ) == 0) && (strcasecmp( $customerKey['message'], 'This is not a valid email. please enter a valid email.' ) == 0) ){
994
+ if($_POST['action']=='mo_register_new_user')
995
+ wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
996
+ else {
997
+ update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
998
+ update_option('mo_openid_registration_status', 'EMAIL_IS_NOT_VALID');
999
+ mo_openid_show_error_message();
1000
+ if (get_option('regi_pop_up') == "yes") {
1001
+ update_option('pop_regi_msg', get_option('mo_openid_message'));
1002
+ mo_openid_registeration_modal();
1003
+ }
1004
+ }
1005
+ }
1006
  else if((strcasecmp( $customerKey['status'], 'FAILED' ) == 0) && (strcasecmp( $customerKey['message'], 'Email is not enterprise email.' ) == 0) ){
1007
  if($_POST['action']=='mo_register_new_user')
1008
  wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
1009
  else {
1010
+ update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
1011
  update_option('mo_openid_registration_status', 'EMAIL_IS_NOT_ENTERPRISE');
1012
  mo_openid_show_error_message();
1013
  if (get_option('regi_pop_up') == "yes") {
mo_openid_sso_encryption.php CHANGED
@@ -16,7 +16,7 @@ class MOAESEncryption {
16
  */
17
  public static function encrypt_data($data, $key) {
18
  $key = openssl_digest($key, 'sha256');
19
- $method = 'AES-128-ECB';
20
  $ivSize = openssl_cipher_iv_length($method);
21
  $iv = openssl_random_pseudo_bytes($ivSize);
22
  $strCrypt = openssl_encrypt ($data, $method, $key,OPENSSL_RAW_DATA||OPENSSL_ZERO_PADDING, $iv);
@@ -31,7 +31,7 @@ class MOAESEncryption {
31
  public static function decrypt_data($data, $key) {
32
  $strIn = base64_decode($data);
33
  $key = openssl_digest($key, 'sha256');
34
- $method = 'AES-128-ECB';
35
  $ivSize = openssl_cipher_iv_length($method);
36
  $iv = substr($strIn,0,$ivSize);
37
  $data = substr($strIn,$ivSize);
16
  */
17
  public static function encrypt_data($data, $key) {
18
  $key = openssl_digest($key, 'sha256');
19
+ $method = 'AES-128-CBC';
20
  $ivSize = openssl_cipher_iv_length($method);
21
  $iv = openssl_random_pseudo_bytes($ivSize);
22
  $strCrypt = openssl_encrypt ($data, $method, $key,OPENSSL_RAW_DATA||OPENSSL_ZERO_PADDING, $iv);
31
  public static function decrypt_data($data, $key) {
32
  $strIn = base64_decode($data);
33
  $key = openssl_digest($key, 'sha256');
34
+ $method = 'AES-128-CBC';
35
  $ivSize = openssl_cipher_iv_length($method);
36
  $iv = substr($strIn,0,$ivSize);
37
  $data = substr($strIn,$ivSize);
readme.txt CHANGED
@@ -1,39 +1,42 @@
1
- === WordPress Social Login (Google, Twitter, Vkontakte) ===
2
  Contributors: vkontakte, sociallogin, cyberlord92
3
  Donate link: https://www.miniorange.com
4
- Tags: Social login, facebook login, google login, twitter login, Vkontakte login, Woocommerce, social, facebook, twitter, google, login, google, social connect, social network login, social plugin, Vkontakte, LinkedIn
5
  Requires at least: 2.0.2
6
- Tested up to: 5.6
7
- Stable tag: 7.4.5
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
11
- Social Login with Google, Facebook, Apple, Twitter, Reddit, Vkontakte, LinkedIn and more. GDPR compliant. Social sharing and woocommerce social integration. 24x7 Support.
12
 
13
  == Description ==
14
 
15
- Social Plugin enables social login, social sharing, social comments using social login apps like Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
 
16
 
17
  [youtube https://youtu.be/-qHgNcHxwsE]
18
 
19
  = Free Social Login Features =
20
 
21
  * Social Login with <a href="https://plugins.miniorange.com/configure-facebook-social-login-in-wordpress" target="_blank">Facebook</a>, <a href="https://plugins.miniorange.com/login-with-google-using-wordpress-social-login" target="_blank">Google</a>, <a href="https://plugins.miniorange.com/configure-twitter-with-social-login-in-wordpress" target="_blank">Twitter</a>, <a href="http://plugins.miniorange.com/configure-vkontakte-with-social-login-in-wordpress" target="_blank">Vkontakte</a>, <a href="https://plugins.miniorange.com/configure-linkedin-with-social-login-in-wordpress" target="_blank">LinkedIn</a>, <a href="http://plugins.miniorange.com/configure-amazon-with-social-login-in-wordpress" target="_blank">Amazon</a>, <a href="https://plugins.miniorange.com/configure-windowslive-with-social-login-in-wordpress" target="_blank">Windows Live</a>, Salesforce & <a href="https://plugins.miniorange.com/guide-to-configure-yahoo-social-login-in-wordpress" target="_blank">Yahoo</a>
22
- * **NO SETUP required for default social login apps.**
23
- * Setup your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Yahoo
 
 
 
24
  * **Preview is available for Social Login icons**
25
- * **Icon Customizations** - customize shape, theme, space & size of social login icons.
26
- * **Profile completion** (username, email) - Prompt user for email & username if social login app doesn't return it. Email is verified with verification code.
27
- * **Assign Roles to users** - Assign WordPress roles to users logging in with social login application.
28
- * Add the Social Login Icons on: login page, registration page, comment form or anywhere on your site using our Social Login widget/ shortcode.
29
- * Sync Social Profile Picture with WordPress.
30
  * Enable Email Notification to admin when user registers with social login application.
31
- * Enable/disable user registration.
32
- * Customize Login Redirect URL.
33
- * Customize Logout Redirect URL.
34
- * Customizable Text For Social Login Icons.
35
  * SHORTCODE available for social login.
36
- * **Support** using email and in-plugin support form.
37
 
38
  = <a href="https://plugins.miniorange.com/guide-to-configure-woocommerce-with-wordpress-social-login" target="_blank">WooCommerce Social Login Features</a> <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>=
39
  * **WooCommerce Integration** Auto-fill first name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page.
@@ -55,7 +58,7 @@ Social Plugin enables social login, social sharing, social comments using social
55
  * Paid Memberships Pro Display Options
56
  * Paid Memberships Pro Checkout Page Before Submit button
57
  * Paid Memberships Pro Checkout Page After Level Cost
58
- * Paid Memberships Pro Checkout Page After Usernaame
59
 
60
 
61
  = BuddyBoss Social Login Features <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>=
@@ -84,18 +87,18 @@ Social Plugin enables social login, social sharing, social comments using social
84
  * **Preview is available for Social Sharing icons**
85
  * Add Social Comments using Facebook.
86
  * Add Social Comments using Disqus.
87
- * Add social sharing icons on homepage, posts, feeds, content pages, WooCommerce product page etc.
88
  * Add a horizontal social sharing widget.
89
- * Add a floating vertical social sharing widget.
90
  * **Support** using email and in-plugin support form.
91
 
92
  = Premium Social Login Features =
93
 
94
- * Social Login with Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
95
  * GDPR compliant Social Login.
96
  * **Woocommerce display options** - Enable social login icons on the Woocommerce Checkout, Woocommerce Login, Woocommerce Registration pages.
97
  * **BuddyPress display options** - Enable Social login icons on BuddyPress Registration & BuddyPress Account pages.
98
- * All social login free version features
99
  * **Enable your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live, WordPress, Yahoo, Disqus & Salesforce **[Premium]**
100
  * **Woocommerce Integration <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>** - Auto-fill first name, last name and email in billing details of a user logging in with social login application.
101
  * **BuddyPress Integration <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>** - Sync profile picture from social application to BuddyPress avatar. Sync user social profile to BuddyPress custom fields.
@@ -146,7 +149,7 @@ All other Social Login and Social Sharing applications are supported through a s
146
  = Website - =
147
  These additional features are available upon request. Send an email to info@miniorange.com if you need any of these features.
148
 
149
- User Profile Data, integration with external softwares like salesforce, box, office 365 etc, and Social Analytics.
150
  This can also captures users’ profile data, with their permission, and automatically creates a profile in miniOrange database and you can download it using a CSV file or a PDF file.
151
 
152
  Check out our website for other plugins <a href="https://www.miniorange.com/plugins" >https://www.miniorange.com/plugins</a> or <a href="https://wordpress.org/plugins/search.php?q=miniorange" >click here</a> to see all our listed WordPress plugins.
@@ -226,6 +229,13 @@ Please email us at info@miniorange.com. You can also submit your query from the
226
  12. Social Sharing icons without background.
227
 
228
  ==Changelog==
 
 
 
 
 
 
 
229
  = 7.4.5 =
230
  * Updated Google SVG and resolved conflicts.
231
  * Added notice for Facebook Data Check.
@@ -242,7 +252,7 @@ Please email us at info@miniorange.com. You can also submit your query from the
242
  * Minor UI changes.
243
 
244
  = 7.4.2 =
245
- * Resolved JS and CSS issue with Buddyboss and LearnPress plugins.
246
  * Resolved plugin load time issue.
247
  * Resolved Facebook redirection issue.
248
  * Resolved Sharing vertical/horizontal view.
@@ -292,11 +302,11 @@ Please email us at info@miniorange.com. You can also submit your query from the
292
  = 7.3.8 =
293
  * Updated Odnoklassniki custom app fix in premium versions.
294
  * Updated BuddyPress mapping bug fix in premium version.
295
- * Updated depricated array and string fix.
296
  * Added Yandex app in premium applications.
297
 
298
  = 7.3.7 =
299
- * Updated insrtuctions for Social login applicaton : facebook .
300
  * Minor UI changes.
301
  * New Licensing plan.
302
  * Added feature to select role by the user in the Add-on.
@@ -322,7 +332,7 @@ Please email us at info@miniorange.com. You can also submit your query from the
322
  * Updated feedback on deactivation.
323
  * Minor UI changes.
324
  * Added a new social login plugin for woocommerce integration.
325
- * Added auto as a paramater for width in shortcode of social login icons.
326
  * Added Reddit, Foursquare, Snapchat, Teamsnap, Live Journal, Odnoklassniki, Naver.
327
 
328
  = 7.3.1 =
@@ -401,7 +411,7 @@ SECURITY FIXES
401
  * UI changes (Social login plugin).
402
 
403
  = 7.1.4 =
404
- * Add Yahoo as social login option in dafault apps.
405
  * Fixed Permalink issue.
406
  * Added Customizable text for OTP email notification.
407
  * Fixed session issue for account linking.
@@ -484,9 +494,9 @@ SECURITY FIXES
484
  * Removed rows in account linking table that have empty field values
485
 
486
  = 6.6.0 =
487
- * Added resend otp in Profile Completion when user resgisters through Social login.
488
  * Added column timestamp in account linking table
489
- * Added option to disable particual Social login custom app
490
  * Added include_email parameter in for twitter custom app
491
  * Added prompt to ask user for confirmation on custom app deletion
492
  * Code cleanup
@@ -706,7 +716,7 @@ SECURITY FIXES
706
  * Fix - Redirecting from Social Login gives "restricted due to security rule" error
707
 
708
  = 4.8.2 =
709
- * Fix - Show orignal avatar if Social Login Avatar is not available
710
  * Fix - Social Comments fix for IE
711
 
712
  = 4.8.1 =
@@ -750,7 +760,7 @@ SECURITY FIXES
750
  * Additional option of validating account using phone number
751
 
752
  = 4.4 =
753
- * Added Social media appliction Vkontakte on social login
754
  * Added support for adding Social Share icons on WooCommerce Product Page
755
  * Fix - logout redirect in Current Page option
756
  * Fix - Sharing URL in horizontal Social Sharing widget
@@ -829,6 +839,13 @@ SECURITY FIXES
829
  * First version of Social Login, Social Sharing plugin.
830
 
831
  == Upgrade Notice ==
 
 
 
 
 
 
 
832
  = 7.4.5 =
833
  * Updated Google SVG and resolved conflicts.
834
  * Added notice for Facebook Data Check.
@@ -895,11 +912,11 @@ SECURITY FIXES
895
  = 7.3.8 =
896
  * Updated Odnoklassniki custom app fix in premium versions.
897
  * Updated BuddyPress mapping bug fix in premium version.
898
- * Updated depricated array and string fix.
899
  * Added Yandex app in premium applications.
900
 
901
  = 7.3.7 =
902
- * Updated insrtuctions for Social login applicaton : facebook .
903
  * Minor UI changes.
904
  * New Licensing plan.
905
  * Added feature to select role by the user in the Add-on.
@@ -1004,7 +1021,7 @@ SECURITY FIXES
1004
  * UI changes (Social login plugin).
1005
 
1006
  = 7.1.4 =
1007
- * Add Yahoo as social login option in dafault apps.
1008
  * Fixed Permalink issue.
1009
  * Added Customizable text for OTP email notification.
1010
  * Fixed session issue for account linking.
@@ -1087,9 +1104,9 @@ SECURITY FIXES
1087
  * Removed rows in account linking table that have empty field values
1088
 
1089
  = 6.6.0 =
1090
- * Added resend otp in Profile Completion when user resgisters through Social login.
1091
  * Added column timestamp in account linking table
1092
- * Added option to disable particual Social login custom app
1093
  * Added include_email parameter in for twitter custom app
1094
  * Added prompt to ask user for confirmation on custom app deletion
1095
  * Code cleanup
@@ -1309,7 +1326,7 @@ SECURITY FIXES
1309
  * Fix - Redirecting from Social Login gives "restricted due to security rule" error
1310
 
1311
  = 4.8.2 =
1312
- * Fix - Show orignal avatar if Social Login Avatar is not available
1313
  * Fix - Social Comments fix for IE
1314
 
1315
  = 4.8.1 =
@@ -1353,7 +1370,7 @@ SECURITY FIXES
1353
  * Additional option of validating account using phone number
1354
 
1355
  = 4.4 =
1356
- * Added Social media appliction Vkontakte on social login
1357
  * Added support for adding Social Share icons on WooCommerce Product Page
1358
  * Fix - logout redirect in Current Page option
1359
  * Fix - Sharing URL in horizontal Social Sharing widget
1
+ === WordPress Social Login (Google, Twitter, LinkedIn) ===
2
  Contributors: vkontakte, sociallogin, cyberlord92
3
  Donate link: https://www.miniorange.com
4
+ Tags: Social login, facebook login, google login, twitter login, Vkontakte login, WooCommerce ,user login ,social, facebook, twitter, google, login, google, social connect, social network login, social plugin, Vkontakte, LinkedIn
5
  Requires at least: 2.0.2
6
+ Tested up to: 5.7
7
+ Stable tag: 7.4.6
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
11
+ WordPress Social Login with Google, Facebook, Apple, Twitter, LinkedIn & 40+ apps. Social Sharing. WooCommerce social login & integration. 24x7 Support.
12
 
13
  == Description ==
14
 
15
+ WordPress Social Login Plugin enables login, social sharing and social commenting using social media apps like Facebook, Google, Apple, Twitter, LinkedIn and many other social media applications. One-click user login & registration without the hassle of usernames and passwords. Social login using applications like Vkontakte, WindowsLive, Line, WeChat, Weibo, Amazon, Salesforce, Yahoo, WordPress, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki,Dropbox, Instagram.
16
+
17
 
18
  [youtube https://youtu.be/-qHgNcHxwsE]
19
 
20
  = Free Social Login Features =
21
 
22
  * Social Login with <a href="https://plugins.miniorange.com/configure-facebook-social-login-in-wordpress" target="_blank">Facebook</a>, <a href="https://plugins.miniorange.com/login-with-google-using-wordpress-social-login" target="_blank">Google</a>, <a href="https://plugins.miniorange.com/configure-twitter-with-social-login-in-wordpress" target="_blank">Twitter</a>, <a href="http://plugins.miniorange.com/configure-vkontakte-with-social-login-in-wordpress" target="_blank">Vkontakte</a>, <a href="https://plugins.miniorange.com/configure-linkedin-with-social-login-in-wordpress" target="_blank">LinkedIn</a>, <a href="http://plugins.miniorange.com/configure-amazon-with-social-login-in-wordpress" target="_blank">Amazon</a>, <a href="https://plugins.miniorange.com/configure-windowslive-with-social-login-in-wordpress" target="_blank">Windows Live</a>, Salesforce & <a href="https://plugins.miniorange.com/guide-to-configure-yahoo-social-login-in-wordpress" target="_blank">Yahoo</a>
23
+ * **NO SETUP required for popular social login apps.**
24
+ * **24/7 Support**
25
+ * Setup your own social login application with APP ID and APP Secret for Facebook login, Google login, Twitter login, Vkontakte login, LinkedIn login, Instagram login, Amazon login, Windows Live login & Yahoo login.
26
+ * **Single sing-on using various authorization and authentication protocols such as OAuth1.0, OAuth2.0 and OpenID. **
27
+ * **Icon Customizations** - customize shape for social login icons, themes for social login icons, space for social login icons & size of social login icons.
28
  * **Preview is available for Social Login icons**
29
+ * **Profile Completion** (username, email) - Prompt user for email & username if social login app doesn't return it. User Email is verified with verification code.
30
+ * **Assign roles to your users** - Assign WordPress roles to users logging in with social login application.
31
+ * Add the Social Login Icons on: login page, registration page, comment form or anywhere on your website using our Social Login Widgets and Shortcodes.
32
+ * Sync Social Profile Picture with WordPress.
 
33
  * Enable Email Notification to admin when user registers with social login application.
34
+ * Enable/disable user registration through social login.
35
+ * Customize Login Redirect URL after the Login/Registration.
36
+ * Customize Logout Redirect URL after logout.
37
+ * Completely Customizable Social Login Icons - customize text, color, shape, size and theme.
38
  * SHORTCODE available for social login.
39
+ * **24/7 Support** using email and in-plugin support form.
40
 
41
  = <a href="https://plugins.miniorange.com/guide-to-configure-woocommerce-with-wordpress-social-login" target="_blank">WooCommerce Social Login Features</a> <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>=
42
  * **WooCommerce Integration** Auto-fill first name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page.
58
  * Paid Memberships Pro Display Options
59
  * Paid Memberships Pro Checkout Page Before Submit button
60
  * Paid Memberships Pro Checkout Page After Level Cost
61
+ * Paid Memberships Pro Checkout Page After Username
62
 
63
 
64
  = BuddyBoss Social Login Features <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>=
87
  * **Preview is available for Social Sharing icons**
88
  * Add Social Comments using Facebook.
89
  * Add Social Comments using Disqus.
90
+ * Add social sharing icons on homepage, posts, feeds, content pages, WooCommerce product page etc.
91
  * Add a horizontal social sharing widget.
92
+ * Add a floating vertical social sharing widget.
93
  * **Support** using email and in-plugin support form.
94
 
95
  = Premium Social Login Features =
96
 
97
+ * Social Login with Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
98
  * GDPR compliant Social Login.
99
  * **Woocommerce display options** - Enable social login icons on the Woocommerce Checkout, Woocommerce Login, Woocommerce Registration pages.
100
  * **BuddyPress display options** - Enable Social login icons on BuddyPress Registration & BuddyPress Account pages.
101
+ * All social login free version features
102
  * **Enable your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live, WordPress, Yahoo, Disqus & Salesforce **[Premium]**
103
  * **Woocommerce Integration <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>** - Auto-fill first name, last name and email in billing details of a user logging in with social login application.
104
  * **BuddyPress Integration <a href="https://plugins.miniorange.com/social-login-social-sharing" target="_blank">[Premium]</a>** - Sync profile picture from social application to BuddyPress avatar. Sync user social profile to BuddyPress custom fields.
149
  = Website - =
150
  These additional features are available upon request. Send an email to info@miniorange.com if you need any of these features.
151
 
152
+ User Profile Data, integration with external software like salesforce, box, office 365 etc, and Social Analytics.
153
  This can also captures users’ profile data, with their permission, and automatically creates a profile in miniOrange database and you can download it using a CSV file or a PDF file.
154
 
155
  Check out our website for other plugins <a href="https://www.miniorange.com/plugins" >https://www.miniorange.com/plugins</a> or <a href="https://wordpress.org/plugins/search.php?q=miniorange" >click here</a> to see all our listed WordPress plugins.
229
  12. Social Sharing icons without background.
230
 
231
  ==Changelog==
232
+ = 7.4.6 =
233
+ * Updated Instructions for Facebook, Google, Twitter and LinkedIn
234
+ * Updated Licensing Plan page
235
+ * Introduced All inclusive Plan
236
+ * Added bulk instances for Social Login plans.
237
+ * Minor UI Changes.
238
+
239
  = 7.4.5 =
240
  * Updated Google SVG and resolved conflicts.
241
  * Added notice for Facebook Data Check.
252
  * Minor UI changes.
253
 
254
  = 7.4.2 =
255
+ * Resolved JS and CSS issue with BuddyBoss and LearnPress plugins.
256
  * Resolved plugin load time issue.
257
  * Resolved Facebook redirection issue.
258
  * Resolved Sharing vertical/horizontal view.
302
  = 7.3.8 =
303
  * Updated Odnoklassniki custom app fix in premium versions.
304
  * Updated BuddyPress mapping bug fix in premium version.
305
+ * Updated deprecated array and string fix.
306
  * Added Yandex app in premium applications.
307
 
308
  = 7.3.7 =
309
+ * Updated instructions for Social login application : facebook .
310
  * Minor UI changes.
311
  * New Licensing plan.
312
  * Added feature to select role by the user in the Add-on.
332
  * Updated feedback on deactivation.
333
  * Minor UI changes.
334
  * Added a new social login plugin for woocommerce integration.
335
+ * Added auto as a parameter for width in shortcode of social login icons.
336
  * Added Reddit, Foursquare, Snapchat, Teamsnap, Live Journal, Odnoklassniki, Naver.
337
 
338
  = 7.3.1 =
411
  * UI changes (Social login plugin).
412
 
413
  = 7.1.4 =
414
+ * Add Yahoo as social login option in default apps.
415
  * Fixed Permalink issue.
416
  * Added Customizable text for OTP email notification.
417
  * Fixed session issue for account linking.
494
  * Removed rows in account linking table that have empty field values
495
 
496
  = 6.6.0 =
497
+ * Added resend otp in Profile Completion when user resisters through Social login.
498
  * Added column timestamp in account linking table
499
+ * Added option to disable particular Social login custom app
500
  * Added include_email parameter in for twitter custom app
501
  * Added prompt to ask user for confirmation on custom app deletion
502
  * Code cleanup
716
  * Fix - Redirecting from Social Login gives "restricted due to security rule" error
717
 
718
  = 4.8.2 =
719
+ * Fix - Show original avatar if Social Login Avatar is not available
720
  * Fix - Social Comments fix for IE
721
 
722
  = 4.8.1 =
760
  * Additional option of validating account using phone number
761
 
762
  = 4.4 =
763
+ * Added Social media application Vkontakte on social login
764
  * Added support for adding Social Share icons on WooCommerce Product Page
765
  * Fix - logout redirect in Current Page option
766
  * Fix - Sharing URL in horizontal Social Sharing widget
839
  * First version of Social Login, Social Sharing plugin.
840
 
841
  == Upgrade Notice ==
842
+ = 7.4.6 =
843
+ * Updated Instructions for Facebook, Google, Twitter and LinkedIn
844
+ * Updated Licensing Plan page
845
+ * Introduced All inclusive Plan
846
+ * Added bulk instances for Social Login plans.
847
+ * Minor UI Changes.
848
+
849
  = 7.4.5 =
850
  * Updated Google SVG and resolved conflicts.
851
  * Added notice for Facebook Data Check.
912
  = 7.3.8 =
913
  * Updated Odnoklassniki custom app fix in premium versions.
914
  * Updated BuddyPress mapping bug fix in premium version.
915
+ * Updated deprecated array and string fix.
916
  * Added Yandex app in premium applications.
917
 
918
  = 7.3.7 =
919
+ * Updated instructions for Social login application : facebook .
920
  * Minor UI changes.
921
  * New Licensing plan.
922
  * Added feature to select role by the user in the Add-on.
1021
  * UI changes (Social login plugin).
1022
 
1023
  = 7.1.4 =
1024
+ * Add Yahoo as social login option in default apps.
1025
  * Fixed Permalink issue.
1026
  * Added Customizable text for OTP email notification.
1027
  * Fixed session issue for account linking.
1104
  * Removed rows in account linking table that have empty field values
1105
 
1106
  = 6.6.0 =
1107
+ * Added resend otp in Profile Completion when user resisters through Social login.
1108
  * Added column timestamp in account linking table
1109
+ * Added option to disable particular Social login custom app
1110
  * Added include_email parameter in for twitter custom app
1111
  * Added prompt to ask user for confirmation on custom app deletion
1112
  * Code cleanup
1326
  * Fix - Redirecting from Social Login gives "restricted due to security rule" error
1327
 
1328
  = 4.8.2 =
1329
+ * Fix - Show original avatar if Social Login Avatar is not available
1330
  * Fix - Social Comments fix for IE
1331
 
1332
  = 4.8.1 =
1370
  * Additional option of validating account using phone number
1371
 
1372
  = 4.4 =
1373
+ * Added Social media application Vkontakte on social login
1374
  * Added support for adding Social Share icons on WooCommerce Product Page
1375
  * Fix - logout redirect in Current Page option
1376
  * Fix - Sharing URL in horizontal Social Sharing widget
social_apps/facebook.php CHANGED
@@ -11,18 +11,20 @@ class mo_facebook
11
  $this->instructions="Go to Facebook developers console <a href=\"https://developers.facebook.com/apps/\" target=\"_blank\">https://developers.facebook.com/apps/</a>. Login with your facebook developer account.
12
  ##Click on Create a New App/Create App. Select <b>Build Connected Experiences</b> under <b>What do you need your app to do?</b>.
13
  ##Enter <b>App Display Name</b>, <b>App Contact Email</b>.
14
- ##Click on <b>Create App ID</b> button and complete the Security Check.
15
- ##Select <b>Facebook Login</b> on products page and click on <b>Set Up</b> button.
16
  ##Click on <b>Web</b>. Enter <b><code id='0'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#0', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> into <b>Site URL</b> than click on <b>Save</b>.
17
- ##Click on settings on left side menu and select basics option.
18
- ##Enter <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#100', '#shortcode_url3_copy')\"><span id=\"shortcode_url3_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>App Domain</b>. Enter your <b>Privacy Policy URL</b> and <b>User Data Deletion URL</b>. Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
19
- ##Click on <b>Facebook Login</b> on the left side panel and select <b>Settings</b> option.
 
 
20
  ##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='2'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#2', '#shortcode_url2_copy')\"><span id=\"shortcode_url2_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
21
- ##Change your app status to <b>In Development</b> by clicking on the toggle button. Click on <b>Switch Mode</b>.
22
- ##Go to Settings > Basic. Paste your <b>App ID</b> and <b>App Secret</b> provided by Facebook into the fields above.
23
  ##Input <b> email, public_profile </b>as scope.
24
- ##If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
25
  ##Click on the <b>Save settings</b> button.
 
26
  ##Go to Social Login tab to configure the display as well as other login settings.
27
  ##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
28
  }
@@ -100,4 +102,4 @@ class mo_facebook
100
  );
101
  return $appuserdetails;
102
  }
103
- }
11
  $this->instructions="Go to Facebook developers console <a href=\"https://developers.facebook.com/apps/\" target=\"_blank\">https://developers.facebook.com/apps/</a>. Login with your facebook developer account.
12
  ##Click on Create a New App/Create App. Select <b>Build Connected Experiences</b> under <b>What do you need your app to do?</b>.
13
  ##Enter <b>App Display Name</b>, <b>App Contact Email</b>.
14
+ ##Click on <b>Create App</b> button and complete the Security Check.
15
+ ##Under <b>Facebook Login</b> click on <b>Set Up</b> button on Add products to Your app page.
16
  ##Click on <b>Web</b>. Enter <b><code id='0'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#0', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> into <b>Site URL</b> than click on <b>Save</b>.
17
+ ##Click on <b>Settings</b> on left side menu and select <b>Basics</b> option.
18
+ ##Enter <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#100', '#shortcode_url3_copy')\"><span id=\"shortcode_url3_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>App Domain</b>. Enter your <b>Privacy Policy URL</b>
19
+ ##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
20
+ ##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
21
+ ##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
22
  ##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='2'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#2', '#shortcode_url2_copy')\"><span id=\"shortcode_url2_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
23
+ ##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
24
+ ##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
25
  ##Input <b> email, public_profile </b>as scope.
 
26
  ##Click on the <b>Save settings</b> button.
27
+ ##<b>[Optional: Extra attributes]</b> If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
28
  ##Go to Social Login tab to configure the display as well as other login settings.
29
  ##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
30
  }
102
  );
103
  return $appuserdetails;
104
  }
105
+ }
social_apps/google.php CHANGED
@@ -11,14 +11,18 @@ class mo_google
11
  $this->site_url = get_option( 'siteurl' );
12
  $this->instructions="Visit the Google website for developers <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">console.developers.google.com</a>.
13
  ##After sign-in, click on <b>Create project</b>, enter a name for the project, and optionally, edit the provided Project ID. Click <b>Create</b>.
14
- ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen </b>.
15
  ##Click on <b>Select a Project</b> and select the newly created Project by clicking on the project name that you entered in the previous step.
16
- ##Select <b>External</b> as user type and click on <b> Create </b>.
17
- ##You are prompted to Edit App Registration, Enter all the Required details (AppName, User support email & Developer contact info) and add Authorized domain as <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#100', '#shortcode_url3_copy')\"><span id=\"shortcode_url3_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b>. Click on <b> Save and Continue </b> and <b> Back To Dashboard </b> from summary.
18
- ##From the Left side Menu, Click on <b>Credentials</b> then click on <b>Create Credential</b> from dropdown select <b>Oauth client ID </b>.
 
 
 
19
  ##From <b>Application Type</b> drop down, Select <b>Web Application</b>.
20
  ##Enter <b>client name</b> and Add <b><code id='3'>".mo_get_permalink('google')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#3', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>Authorized Redirect URL<b/>, Click on <b>Create</b>.
21
- ##Copy <b> Client ID and Client Secret </b> and paste it on the above field <b> App ID and App Secret </b>, Click on <b> Save & Test Configuration </b>.
 
22
  ##Go to Customise Social Login Icons tab and configure the icons.";
23
 
24
  }
11
  $this->site_url = get_option( 'siteurl' );
12
  $this->instructions="Visit the Google website for developers <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">console.developers.google.com</a>.
13
  ##After sign-in, click on <b>Create project</b>, enter a name for the project, and optionally, edit the provided Project ID. Click <b>Create</b>.
14
+ ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen</b>.
15
  ##Click on <b>Select a Project</b> and select the newly created Project by clicking on the project name that you entered in the previous step.
16
+ ##Select <b>External</b> as user type and click on <b>Create</b>.
17
+ ##You are prompted to Edit App Registration, Enter all the Required details (AppName & User support Email) Add Authorized domain as <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#100', '#shortcode_url3_copy')\"><span id=\"shortcode_url3_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b>.
18
+ ##At the bottom of the screen enter your email as the Developer contact information. Click on <b>Save and Continue</b> and <b>Back To Dashboard</b> from summary.
19
+ ##On the Scopes screen click on <b>Add or Remove Scopes</b>. Check and <b>.../auth/userinfo.email</b> and <b>.../auth/userinfo.profile</b>. Click on <b>Update</b>. Scroll down, Click on <b>Save and Continue</b>.
20
+ ##On the Test users screen click on <b>Add Users</b>. Add a few trusted users to test your app. Mind well, these users cannot be removed. Scroll down, Click on <b>Save and Continue</b>. Scroll down, Click on <b>Back to Dashboard</b>.
21
+ ##From the Left side Menu, Click on <b>Credentials</b> then click on <b>Create Credential</b> from dropdown select <b>Oauth client ID</b>.
22
  ##From <b>Application Type</b> drop down, Select <b>Web Application</b>.
23
  ##Enter <b>client name</b> and Add <b><code id='3'>".mo_get_permalink('google')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#3', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>Authorized Redirect URL<b/>, Click on <b>Create</b>.
24
+ ##Copy <b>Client ID and Client Secret</b> and paste it on the above field <b>App ID and App Secret</b>, Click on <b>Save & Test Configuration</b>.
25
+ ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen</b>. Under Publishing Status Click on <b>Publish App</b> and <b>Confirm</b>.
26
  ##Go to Customise Social Login Icons tab and configure the icons.";
27
 
28
  }
social_apps/linkedin.php CHANGED
@@ -9,7 +9,7 @@ class mo_linkedin
9
  public $instructions;
10
  public function __construct() {
11
  $this->site_url = get_option( 'siteurl' );
12
- $this->instructions="Go to <a href=\"http://developer.linkedin.com/\" target=\"_blank\">http://developer.linkedin.com/</a> and click on <strong>Create Apps</strong> and sign in with your linkedin account.##Enter the Application Name, Company Name, Privacy Policy URL, Business Email And upload app logo.##Check the <b>API Terms of Use</b> and click on create app.##Click on Auth and enter <b><code id='11'>".mo_get_permalink('linkedin')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#11', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as <strong>Redirect URLs </strong>and click on <strong>Update</strong>##On the same page you will be able to see your <strong>Client ID</strong> and <strong>Client Secret</strong> under the <strong>Application credentials</strong> section. Copy these and Paste them into the fields above. ##If you want to access the full profile of LinkedIn user, you need to fill this form to become a LinkedIn partner and make sure your app conforms to terms of usage specified here . Once your app is approved by Linkedin, update the scope to <b>r_emailaddress,r_fullprofile,r_contactinfo</b>. If your app is not approved or is in the process of getting approved, let the scope be <b>r_liteprofile r_emailaddress w_member_social</b>. ##Click on the Save settings button.##Go to Social Login tab to configure the display as well as other login settings";
13
  }
14
 
15
  function mo_openid_get_app_code()
9
  public $instructions;
10
  public function __construct() {
11
  $this->site_url = get_option( 'siteurl' );
12
+ $this->instructions="Go to <a href=\"http://developer.linkedin.com/\" target=\"_blank\">http://developer.linkedin.com/</a> and click on <strong>Create Apps</strong> and sign in with your linkedin account.##Enter the Application Name, Linkedin page URl or name, Privacy Policy URL, And upload app logo.##If you don't have a linked in page click on <a href=\"https://www.linkedin.com/company/setup/new/\" target=\"_blank\">https://www.linkedin.com/company/setup/new/</a> to create a new page.##Check the <b>API Terms of Use</b> and click on create app.##Click on <b>Auth</b> tab and enter <b><code id='11'>".mo_get_permalink('linkedin')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#11', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as <strong>Redirect URLs </strong>and click on <strong>Update</strong>##On the same page you will be able to see your <strong>Client ID</strong> and <strong>Client Secret</strong> under the <strong>Application credentials</strong> section. Copy these and Paste them into the fields above. ##Go to the <b>Product tab</b>.##For <b>r_liteprofile</b> and <b>r_emailaddress</b> scope permission, Find <b>Sign In with LinkedIn</b> and click on <b>Select</b>. Check the legal agreement check box and Click on <b>Add Product</b>.## For <b>w_member_social </b> scope permission Find <b>Share on LinkedIn</b> and click on <b>Select</b>.Check the legal agreement check box and Click on <b>Add Product</b>, This permission required for social sharing.##Wait till Linkedin approves your permission. ##Click on the Save settings button.##Go to Social Login tab to configure the display as well as other login settings";
13
  }
14
 
15
  function mo_openid_get_app_code()
social_apps/twitter.php CHANGED
@@ -10,11 +10,11 @@ class mo_twitter
10
  public function __construct() {
11
  $this->site_url = get_option( 'siteurl' );
12
  $this->instructions=" Go to <a href=\"https://developer.twitter.com/en/apps\" target=\"_blank\">https://developer.twitter.com/en/apps</a> and sign in with your twitter account.
13
- ##Click on <b>Create New App</b>.
14
  ##Enter App Name and click on <b> Complete </b>.
15
  ## Scroll down on keys and token page and click on <b>App Settings</b>.
16
  ##Click on <b>Edit</b> Authentication setting.
17
- ## Enable 3-legged OAuth then add callback URLs as <b><code id='7'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#7', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and Website URL as <b><code id='7'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#7', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and Save it.<br><u><b>Note:</b></u><br> <b>Twitter may not accept Website URL as local IP.</b>.
18
  ##Now click on <b>Keys and tokens</b> tab and click on <b>View Keys</b>.
19
  ##Copy <b>API key</b> and <b>API key secret</b> and paste it on App ID and App Secret respectively, Click on <b>Save & Test Configuration</b>.
20
  ##Go to Social Login tab to configure the display as well as other login settings.
10
  public function __construct() {
11
  $this->site_url = get_option( 'siteurl' );
12
  $this->instructions=" Go to <a href=\"https://developer.twitter.com/en/apps\" target=\"_blank\">https://developer.twitter.com/en/apps</a> and sign in with your twitter account.
13
+ ##Scroll down and Click on <b>Create App</b>.
14
  ##Enter App Name and click on <b> Complete </b>.
15
  ## Scroll down on keys and token page and click on <b>App Settings</b>.
16
  ##Click on <b>Edit</b> Authentication setting.
17
+ ##Enable 3-legged OAuth then add callback URLs as <b><code id='7'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#7', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and Website URL as <b><code id='7'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#7', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and Save it.<br><u><b>Note:</b></u><br> <b>Twitter may not accept Website URL as local IP.</b>.
18
  ##Now click on <b>Keys and tokens</b> tab and click on <b>View Keys</b>.
19
  ##Copy <b>API key</b> and <b>API key secret</b> and paste it on App ID and App Secret respectively, Click on <b>Save & Test Configuration</b>.
20
  ##Go to Social Login tab to configure the display as well as other login settings.
uninstall.php CHANGED
@@ -19,25 +19,6 @@ delete_option('mo_openid_message');
19
  delete_option('mo_openid_admin_customer_key');
20
  delete_option('mo_openid_admin_api_key');
21
  delete_option('mo_openid_transactionId');
22
- delete_option('mo_openid_google_enable');
23
- delete_option('mo_openid_salesforce_enable');
24
- delete_option('mo_openid_facebook_enable');
25
- delete_option('mo_openid_linkedin_enable');
26
- delete_option('mo_openid_instagram_enable');
27
- delete_option('mo_openid_amazon_enable');
28
- delete_option('mo_openid_yahoo_enable');
29
- delete_option('mo_openid_windowslive_enable');
30
- delete_option('mo_openid_vkontakte_enable');
31
- delete_option('mo_openid_twitter_enable');
32
- delete_option('mo_openid_enable_custom_app_google');
33
- delete_option('mo_openid_enable_custom_app_facebook');
34
- delete_option('mo_openid_enable_custom_app_linkedin');
35
- delete_option('mo_openid_enable_custom_app_instagram');
36
- delete_option('mo_openid_enable_custom_app_amazon');
37
- delete_option('mo_openid_enable_custom_app_yahoo');
38
- delete_option('mo_openid_enable_custom_app_windowslive');
39
- delete_option('mo_openid_enable_custom_app_vkontakte');
40
- delete_option('mo_openid_enable_custom_app_twitter');
41
  delete_option('mo_openid_default_login_enable');
42
  delete_option('mo_openid_default_register_enable');
43
  delete_option('mo_openid_default_comment_enable');
@@ -59,8 +40,6 @@ delete_option('mo_openid_social_comment_default_label' );
59
  delete_option('mo_openid_social_comment_fb_label' );
60
  delete_option('mo_openid_social_comment_google_label' );
61
  delete_option('mo_openid_social_comment_heading_label' );
62
- delete_option('app_pos' );
63
- delete_option('app_pos_premium');
64
  delete_option('mo_openid_deactivate_reason_form');
65
  delete_option( 'mo_openid_woocommerce_before_login_form');
66
  delete_option( 'mo_openid_woocommerce_center_login_form');
@@ -134,7 +113,6 @@ delete_option( 'mo_login_openid_login_widget_customize_textcolor');
134
  delete_option('mo_openid_oauth');
135
  delete_option('mo_openid_new_user');
136
  delete_option('mo_openid_malform_error');
137
- delete_option('mo_openid_apps_list');
138
  delete_option('mo_openid_enable_profile_completion');
139
  delete_option('moopenid_logo_check_prof');
140
  delete_option('moopenid_logo_check_account');
19
  delete_option('mo_openid_admin_customer_key');
20
  delete_option('mo_openid_admin_api_key');
21
  delete_option('mo_openid_transactionId');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  delete_option('mo_openid_default_login_enable');
23
  delete_option('mo_openid_default_register_enable');
24
  delete_option('mo_openid_default_comment_enable');
40
  delete_option('mo_openid_social_comment_fb_label' );
41
  delete_option('mo_openid_social_comment_google_label' );
42
  delete_option('mo_openid_social_comment_heading_label' );
 
 
43
  delete_option('mo_openid_deactivate_reason_form');
44
  delete_option( 'mo_openid_woocommerce_before_login_form');
45
  delete_option( 'mo_openid_woocommerce_center_login_form');
113
  delete_option('mo_openid_oauth');
114
  delete_option('mo_openid_new_user');
115
  delete_option('mo_openid_malform_error');
 
116
  delete_option('mo_openid_enable_profile_completion');
117
  delete_option('moopenid_logo_check_prof');
118
  delete_option('moopenid_logo_check_account');
view/add_on/custom_registration_form.php CHANGED
@@ -28,12 +28,12 @@ function mo_openid_custom_registration_form()
28
  <tr>
29
  <td colspan="2">
30
  <hr>
31
- <p>
32
- <br><center>
33
- <iframe width="450" height="250" src="https://www.youtube.com/embed/cEvU9d3YBus"
34
- frameborder="0" allow="autoplay; encrypted-media" allowfullscreen
35
- style=""></iframe></center>
36
- </p>
37
  </td>
38
  </tr>
39
  </table>
@@ -139,7 +139,7 @@ function mo_openid_custom_registration_form()
139
  <b><?php echo mo_sl('Existing
140
  Field');?></b> <?php echo mo_sl('column. For example, if you are saving');?> <b><?php echo mo_sl('First Name');?></b> <?php echo mo_sl('as');?>
141
  <b><?php echo mo_sl('fname');?></b>
142
- <?php echo mo_sl('in wp_usermeta field then enter fname in Existing Field
143
  column.');?>
144
  </li>
145
  <li> <?php echo mo_sl('Select field name under the ');?><b><?php echo mo_sl('Field');?></b> <?php echo mo_sl('dropdown');?>.</li>
@@ -218,6 +218,7 @@ function mo_openid_custom_registration_form()
218
  url: '<?php echo admin_url("admin-ajax.php"); ?>',
219
  data: {
220
  action:'verify_addon_licience',
 
221
  },
222
  crossDomain :!0, dataType:"html",
223
  success: function(data) {
28
  <tr>
29
  <td colspan="2">
30
  <hr>
31
+ <p>
32
+ <br><center>
33
+ <iframe width="450" height="250" src="https://www.youtube.com/embed/cEvU9d3YBus"
34
+ frameborder="0" allow="autoplay; encrypted-media" allowfullscreen
35
+ style=""></iframe></center>
36
+ </p>
37
  </td>
38
  </tr>
39
  </table>
139
  <b><?php echo mo_sl('Existing
140
  Field');?></b> <?php echo mo_sl('column. For example, if you are saving');?> <b><?php echo mo_sl('First Name');?></b> <?php echo mo_sl('as');?>
141
  <b><?php echo mo_sl('fname');?></b>
142
+ <?php echo mo_sl('in wp_usermeta field then enter <b>fname</b> in <b>Existing Field</b>
143
  column.');?>
144
  </li>
145
  <li> <?php echo mo_sl('Select field name under the ');?><b><?php echo mo_sl('Field');?></b> <?php echo mo_sl('dropdown');?>.</li>
218
  url: '<?php echo admin_url("admin-ajax.php"); ?>',
219
  data: {
220
  action:'verify_addon_licience',
221
+ plan_name: 'extra_attributes_addon',
222
  },
223
  crossDomain :!0, dataType:"html",
224
  success: function(data) {
view/add_on/mo_buddypress_add_on.php ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function mo_openid_buddypress_addon_display()
4
+ { ?>
5
+ <div id="bp_addon_head" style="display: block">
6
+ <table>
7
+ <tr>
8
+ <td >
9
+ <h3><?php echo mo_sl('Buddypress Add-on');?>
10
+ <input type="button" value="<?php echo mo_sl('Purchase');?>"
11
+ onclick="mosocial_addonform('WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON')"
12
+ id="mosocial_purchase_buddy_addon"
13
+ class="button button-primary button-large"
14
+ style="float: right; margin-left: 10px;">
15
+ <input type="button" value="<?php echo mo_sl('Verify Key');?>"
16
+ id="mosocial_purchase_buddypress_addon_verify"
17
+ class="button button-primary button-large"
18
+ style="float: right;">
19
+ </h3>
20
+ <b><?php echo mo_sl('Buddypress add-on provides you both buddypress display option and buddypress extended attribute mapping.&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;');?></b>
21
+ </td>
22
+ </tr>
23
+ </table>
24
+ <table class="mo_openid_display_table table" id="mo_openid_buddypress_addon_video">
25
+ <tr>
26
+ <td colspan="2">
27
+ <hr>
28
+ <p>
29
+ <br><center>
30
+ <iframe width="450" height="250" src="https://www.youtube.com/embed/Iia1skKRYBU"
31
+ frameborder="0" allow="autoplay; encrypted-media" allowfullscreen
32
+ style=""></iframe></center>
33
+ </p>
34
+ </td>
35
+ </tr>
36
+ </table>
37
+ </div>
38
+ <br><br>
39
+ <div class="mo_openid_highlight">
40
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('BuddyPress / BuddyBoss Display Option');?></h3>
41
+ </div>
42
+
43
+ <form id="wa_display" name="wa_display" method="post" action="">
44
+ <div class="mo_openid_wca_table_layout_fake" style="height: 550px"><br/>
45
+ <div style="width:40%; background:white; float:left; border: 1px transparent; margin-left: 25px">
46
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
47
+ <input type="checkbox" id="bp_before_register_page" name="mo_openid_bp_before_register_page" <?php checked( get_option('mo_openid_bp_before_register_page') == 1 );?> />
48
+ <div style="padding-left: 7%">
49
+ <?php echo mo_sl("Before registration form");?>
50
+ </div>
51
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
52
+ <div class="mo_openid_wca_box">
53
+ <br>
54
+ <img style="width: 100%; height: 100%" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/bp_add/new_before_reg.png'; ?>">
55
+ </div>
56
+ </label>
57
+ <br>
58
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
59
+ <div style="padding-left: 7%; width: 60% !important">
60
+ <?php echo mo_sl("Before Account Details");?>
61
+ </div>
62
+ <input type="checkbox" /><br>
63
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
64
+ <div class="mo_openid_wca_box">
65
+ <img style="width: 100%; height: 100%" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/bp_add/new_before_account.png';?>">
66
+ </div>
67
+ </label>
68
+
69
+ </div>
70
+ <div style="width:50%; background:white; float:right; border: 1px transparent;">
71
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
72
+ <div style="padding-left: 7%">
73
+ <?php echo mo_sl("After Registration Form");?>
74
+ </div>
75
+ <input type="checkbox" /><br>
76
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
77
+ <div class="mo_openid_wca_box">
78
+ <img style="width: 79%; height: 100%" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/bp_add/new_after_reg.png';?>">
79
+ </div>
80
+ </label>
81
+ </div>
82
+ </div>
83
+ <br>
84
+ <input style="width: 126px;margin-left: 2%" disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
85
+ <br>
86
+ </form>
87
+ <br><br>
88
+ <div class="mo_openid_highlight">
89
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('BuddyPress Extended Mapping Attributes');?></h3>
90
+ </div>
91
+ <form>
92
+ <br>
93
+ <div style="margin-left: 1.5%">
94
+ <table>
95
+ <tr>
96
+
97
+ <h3><b>Buddypress / BuddyBoss Extended Attributes Mapping</b></h3>
98
+
99
+ </tr>
100
+ <tr>
101
+ <td style="width: 60%">
102
+ <font color="#FF0000">*</font>
103
+ Select Application:
104
+ </td>
105
+ <td>
106
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px;" name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true" >
107
+ <option value="" disabled selected hidden>Google</option>
108
+ </td>
109
+ </tr>
110
+ <tr>
111
+ <td style="width: 60%">
112
+ <font color="#FF0000">*</font>
113
+ Name:
114
+ </td>
115
+ <td>
116
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
117
+ <option value="" disabled selected hidden>User Name</option>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td style="width: 60%">
122
+ <font color="#FF0000">*</font>
123
+ Email:
124
+ </td>
125
+ <td>
126
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
127
+ <option value="" disabled selected hidden>User Email_ID</option>
128
+ </td>
129
+ </tr>
130
+ <tr>
131
+ <td style="width: 60%">
132
+ <font color="#FF0000">*</font>
133
+ User First Name:
134
+ </td>
135
+ <td>
136
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
137
+ <option value="" disabled selected hidden>First Name</option>
138
+ </td>
139
+ </tr>
140
+ <tr>
141
+ <td style="width: 60%">
142
+ <font color="#FF0000">*</font>
143
+ User Last Name
144
+ </td>
145
+ <td>
146
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
147
+ <option value="" disabled selected hidden>Last Name</option>
148
+ </td>
149
+ </tr>
150
+ <tr>
151
+ <td>
152
+ &nbsp;
153
+ </td>
154
+ <td>
155
+ <input type="submit" name="submit" value="<?php echo mo_sl("Save settings");?>" class="button button-primary button-large" disabled />
156
+ <input type="button" name="back" onclick="goBack();" value="<?php echo mo_sl("Back");?>" class="button button-primary button-large" disabled/>
157
+ </td>
158
+ </tr>
159
+ </table>
160
+ <br><br>
161
+ <table>
162
+ <tr>
163
+ <div class="mo-openid-bp-addon-img">
164
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/bp_add/integrations.png">
165
+ </div>
166
+ </tr>
167
+ <tr>
168
+
169
+ <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-buddypress-with-wordpress-social-login" target="_blank">BuddyPress Guide</a> / <a href="https://youtu.be/Iia1skKRYBU" target="_blank">BuddyPress Video</a></label>
170
+
171
+ </tr>
172
+ </table>
173
+ </div>
174
+ </form>
175
+
176
+
177
+ <td>
178
+ <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
179
+ target="_blank" method="post" >
180
+ <input type="email" name="username" value="<?php echo esc_attr(get_option('mo_openid_admin_email')); ?>" />
181
+ <input type="text" name="redirectUrl" value="<?php echo esc_attr(get_option( 'mo_openid_host_name')).'/moas/initializepayment'; ?>" />
182
+ <input type="text" name="requestOrigin" id="requestOrigin"/>
183
+ </form>
184
+ <script>
185
+ function mosocial_addonform(planType) {
186
+ jQuery('#requestOrigin').val(planType);
187
+ jQuery('#mosocial_loginform').submit();
188
+ }
189
+ </script>
190
+ </td>
191
+ <td>
192
+
193
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
194
+ <script type="text/javascript">
195
+ //to set heading name
196
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('BuddyPress Add On'); ?>');
197
+ jQuery(document).ready(function($){
198
+ jQuery("#mosocial_purchase_buddypress_addon_verify").on("click",function(){
199
+ jQuery.ajax({
200
+ url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
201
+ method: "POST", //request type,
202
+ dataType: 'json',
203
+ data: {
204
+ action: 'mo_register_customer_toggle_update',
205
+ },
206
+ success: function (result){
207
+ if (result.status){
208
+ mo_verify_add_on_license_key();
209
+ }
210
+ else{
211
+ alert("Please register/login with miniOrange to verify key and use the Custom Registration Form Add on");
212
+ window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
213
+ }
214
+ }
215
+ });
216
+ });
217
+ });
218
+
219
+ function mo_verify_add_on_license_key() {
220
+
221
+ jQuery.ajax({
222
+ type: 'POST',
223
+ url: '<?php echo admin_url("admin-ajax.php"); ?>',
224
+ data: {
225
+ action:'verify_addon_licience',
226
+ plan_name:'WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON',
227
+ },
228
+ crossDomain :!0, dataType:"html",
229
+ success: function(data) {
230
+ var flag=0;
231
+ jQuery("input").each(function(){
232
+ if($(this).val()=="mo_openid_verify_license") flag=1;
233
+ });
234
+ if(!flag) {
235
+ jQuery(data).insertBefore("#mo_openid_buddypress_addon_video");
236
+ jQuery("#customization_ins").find(jQuery("#cust_supp")).css("display", "none");
237
+ }
238
+ },
239
+ error: function (data){}
240
+ });
241
+ }
242
+ </script>
243
+ </td>
244
+ <?php
245
+ }
view/add_on/mo_mailchimp_add_on.php ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function mo_openid_mailchimp_add_on()
3
+ { ?>
4
+ <script>
5
+ //to set heading name
6
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Mailchimp Add On");?>');
7
+ </script>
8
+ <div class="mo_openid_table_layout" id="customization_ins" style="display: block">
9
+ <table>
10
+ <tr>
11
+ <td>
12
+ <h3><?php echo mo_sl('MailChimp Add On');?>
13
+ <input type="button" value="<?php echo mo_sl('Purchase');?>"
14
+ onclick="mosocial_addonform('WP_SOCIAL_LOGIN_MAILCHIMP_ADDON')"
15
+ id="mosocial_purchase_mail_addon"
16
+ class="button button-primary button-large"
17
+ style="float: right; margin-left: 10px;">
18
+ <input type="button" value="<?php echo mo_sl('Verify Key');?>"
19
+ id="mosocial_purchase_mail_addon_verify"
20
+ class="button button-primary button-large"
21
+ style="float: right;">
22
+ </h3>
23
+ <b><?php echo mo_sl('Mailchimp Add-On helps you to integrate details of new as well as existing users. Mailchimp helps to Engage your audience with beautiful, branded emails. Design landing pages that grow your audience and help you sell more stuff');?>.</b>
24
+ </td>
25
+ </tr>
26
+ </table>
27
+ <table class="mo_openid_display_table table" id="mo_openid_mailchimp_video"></table>
28
+ <br>
29
+ <hr>
30
+ <form>
31
+ <table><tr><td>
32
+ <p><b><?php echo mo_sl("A user is added as a subscriber to a mailing list in MailChimp when that user registers using social login. First name, last name and email are also captured for that user in the Mailing List.</b></p>
33
+ (List ID in MailChimp : Lists -> Select your List -> Settings -> List Name and Defaults -> List ID) <br>
34
+ (API Key in MailChimp : Profile -> Extras -> API Keys -> Your API Key");?> )<br><br>
35
+ <b><?php echo mo_sl("List Id");?>:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input size="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width:43%" type="text" disabled="disabled" > <br><br>
36
+ <b><?php echo mo_sl("API Key");?>: </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input size="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width:43%" type="text" disabled="disabled" ><br><br>
37
+ <label class="mo_openid_checkbox_container_disable"><strong><?php echo mo_sl("User's Choice");?></strong>
38
+ <input type="checkbox" />
39
+ <span class="mo_openid_checkbox_checkmark"></span>
40
+ </label>
41
+ <strong><?php echo mo_sl("Ask user for permission to be added in MailChimp Subscriber list");?> </strong>
42
+ <br><?php echo mo_sl("(If unchecked, user will get subscribed during registration.)");?>
43
+ <br><h3 style="float: left">Edit MailChimp subscription form </h3>
44
+ <img src="<?php echo plugin_dir_url(dirname(__DIR__));?>includes/images/demo_mailchimp.png">
45
+ <br><br>
46
+ <b><?php echo mo_sl("Click on Download button to get a list of emails of WordPress users registered on your site. You can import this file in MailChimp");?>.<br><br>
47
+ <input type="submit" value="<?php echo mo_sl("Save");?> " disabled="disabled" class="button button-primary button-large" />
48
+ <a style="width:190px;" disabled="disabled" class="button button-primary button-large" href="#">
49
+ <?php echo mo_sl("Download emails of users");?>
50
+ </a><br>
51
+ </td></tr></table>
52
+ </form>
53
+ </div>
54
+ <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
55
+ target="_blank" method="post" >
56
+ <input type="email" name="username" value="<?php echo esc_attr(get_option('mo_openid_admin_email')); ?>" />
57
+ <input type="text" name="redirectUrl" value="<?php echo esc_attr(get_option( 'mo_openid_host_name')).'/moas/initializepayment'; ?>" />
58
+ <input type="text" name="requestOrigin" id="requestOrigin"/>
59
+ </form>
60
+ <script>
61
+ function mosocial_addonform(planType) {
62
+ jQuery('#requestOrigin').val(planType);
63
+ jQuery('#mosocial_loginform').submit();
64
+ }
65
+ </script>
66
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
67
+ <script type="text/javascript">
68
+ jQuery(document).ready(function($){
69
+ jQuery("#mosocial_purchase_mail_addon_verify").on("click",function(){
70
+ jQuery.ajax({
71
+ url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
72
+ method: "POST", //request type,
73
+ dataType: 'json',
74
+ data: {
75
+ action: 'mo_register_customer_toggle_update',
76
+ },
77
+ success: function (result){
78
+ if (result.status){
79
+ mo_verify_add_on_license_key();
80
+ }
81
+ else{
82
+ alert("Please register/login with miniOrange to verify key and use the Custom Registration Form Add on");
83
+ window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
84
+ }
85
+ }
86
+ });
87
+ });
88
+ });
89
+
90
+ function mo_verify_add_on_license_key() {
91
+ jQuery.ajax({
92
+ type: 'POST',
93
+ url: '<?php echo admin_url("admin-ajax.php"); ?>',
94
+ data: {
95
+ action:'verify_addon_licience',
96
+ plan_name: 'WP_SOCIAL_LOGIN_MAILCHIMP_ADDON',
97
+ },
98
+ crossDomain :!0, dataType:"html",
99
+ success: function(data) {
100
+ var flag=0;
101
+ jQuery("input").each(function(){
102
+ if($(this).val()=="mo_openid_verify_license") flag=1;
103
+ });
104
+ if(!flag) {
105
+ jQuery(data).insertBefore("#mo_openid_mailchimp_video");
106
+ jQuery("#customization_ins").find(jQuery("#cust_supp")).css("display", "none");
107
+ }
108
+ },
109
+ error: function (data){}
110
+ });
111
+ }
112
+ </script>
113
+ <?php
114
+ }
view/add_on/mo_woocommerce_add_on.php ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function mo_openid_woocommerce_add_on()
4
+ {?>
5
+ <div class="mo_openid_table_layout" id="wca_adv_disp" style="display: block">
6
+ <table>
7
+ <tr>
8
+ <td >
9
+ <h3><?php echo mo_sl('Woocommerce Add On');?>
10
+ <input type="button" value="<?php echo mo_sl('Purchase');?>"
11
+ onclick="mosocial_addonform('WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON')"
12
+ id="mosocial_purchase_wca"
13
+ class="button button-primary button-large"
14
+ style="float: right; margin-left: 10px;">
15
+ <input type="button" value="<?php echo mo_sl('Verify Key');?>"
16
+ id="mosocial_purchase_wca_verify"
17
+ class="button button-primary button-large"
18
+ style="float: right;">
19
+ </h3>
20
+ <b><?php echo mo_sl('Woocommerce Add-On gives you Woocommerce Display Options and Woocommerce Integration.
21
+ Using Woocommerce Display Options you can display Social Login buttons on Woocommerce pages.
22
+ Woocommerce Integration prefills details of a user in the billing and checkout fields.');?>.</b>
23
+ </td>
24
+ </tr>
25
+ </table>
26
+
27
+ <table class="mo_openid_display_table table" id="mo_openid_wca_video">
28
+ <tr>
29
+ <td colspan="2">
30
+ <hr>
31
+ <p>
32
+ <br><center>
33
+ <iframe width="450" height="250" src="https://www.youtube.com/embed/M20AR-wbKNI"
34
+ frameborder="0" allow="autoplay; encrypted-media" allowfullscreen
35
+ style=""></iframe></center>
36
+ </p>
37
+ </td>
38
+ </tr>
39
+ </table>
40
+
41
+
42
+ <br>
43
+ <div class="mo_openid_highlight">
44
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Woocommerce Display Options');?></h3>
45
+ </div>
46
+ <br>
47
+
48
+ <form id="wa_display" name="wa_display" method="post" action="">
49
+ <div class="mo_openid_wca_table_layout_fake" style="height: 1450px"><br/>
50
+ <div style="width:40%; background:white; float:left; border: 1px transparent;">
51
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
52
+ <input type="checkbox" id="woocommerce_before_login_form" name="mo_openid_woocommerce_before_login_form" <?php checked( get_option('mo_openid_woocommerce_before_login_form') == 1 );?> />
53
+ <div style="padding-left: 7%">
54
+ <?php echo mo_sl("Before WooCommerce Login Form");?>
55
+ </div>
56
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
57
+ <div class="mo_openid_wca_box">
58
+ <br>
59
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/1_before_login.png'; ?>">
60
+ </div>
61
+ </label>
62
+ <br>
63
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
64
+ <input type="checkbox" id="woocommerce_center_login_form" name="mo_openid_woocommerce_center_login_form" <?php checked( get_option('mo_openid_woocommerce_center_login_form') == 1 );?> />
65
+ <div style="padding-left: 7%">
66
+ <?php echo mo_sl("Before 'Remember Me' of WooCommerce Login Form");?>
67
+ </div>
68
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
69
+ <div class="mo_openid_wca_box">
70
+ <br>
71
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/2_login.png';?>">
72
+ </div>
73
+ </label>
74
+ <br>
75
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
76
+ <div style="padding-left: 7%">
77
+ <?php echo mo_sl('After WooCommerce Login Form');?>
78
+ </div>
79
+ <input type="checkbox" /><br>
80
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
81
+ <div class="mo_openid_wca_box">
82
+ <br>
83
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/3_after_login.png';?>">
84
+ </div>
85
+ </label>
86
+
87
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
88
+ <div style="padding-left: 7%">
89
+ <?php echo mo_sl('Before WooCommerce Registration Form');?>
90
+ </div>
91
+
92
+ <input type="checkbox" /><br>
93
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
94
+ <div class="mo_openid_wca_box">
95
+ <br>
96
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/4_before_reg.png';?>">
97
+ </div>
98
+ </label>
99
+ </div>
100
+ <div style="width:50%; background:white; float:right; border: 1px transparent;">
101
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
102
+ <div style="padding-left: 7%">
103
+ <?php echo mo_sl("Before 'Register button' of WooCommerce Registration Form");?>
104
+ </div>
105
+ <input type="checkbox" /><br>
106
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
107
+ <div class="mo_openid_wca_box">
108
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/5_in_reg.png';?>">
109
+ </div>
110
+ </label>
111
+
112
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
113
+ <div style="padding-left: 7%">
114
+ <?php echo mo_sl('After WooCommerce Registration Form');?>
115
+ </div>
116
+ <input type="checkbox" /><br>
117
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
118
+ <div class="mo_openid_wca_box">
119
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/6_after_reg.png';?>">
120
+ </div>
121
+ </label>
122
+
123
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
124
+ <div style="padding-left: 7%">
125
+ <?php echo mo_sl('Before WooCommerce Checkout Form');?>
126
+ </div>
127
+ <input type="checkbox" /><br>
128
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
129
+ <div class="mo_openid_wca_box">
130
+ <br>
131
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/7_before_checkout.png';?>">
132
+ </div>
133
+ </label>
134
+
135
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
136
+ <div style="padding-left: 7%">
137
+ <?php echo mo_sl('After WooCommerce Checkout Form');?>
138
+ </div>
139
+ <input type="checkbox" /><br>
140
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
141
+ <div class="mo_openid_wca_box">
142
+ <br>
143
+ <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/8_after_checkout.png';?>">
144
+ </div>
145
+ </label>
146
+ </div>
147
+ </div>
148
+ <br>
149
+ <input style="width: 126px;margin-left: 2%" disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
150
+ <br>
151
+ </form>
152
+
153
+ <br><br><br>
154
+
155
+ <form>
156
+ <br>
157
+ <div class="mo_openid_highlight">
158
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Woocommerce Integration');?></h3>
159
+ </div>
160
+ <table id="woocommerce_integration"><tr><td>
161
+ <p><b><?php echo mo_sl('WooCommerce Integration pre-fills the first name, last name and email in Billing Details on the WooCommerce Checkout Page.');?></b></p>
162
+ <label class="mo_openid_checkbox_container_disable"><strong><?php echo mo_sl('Sync Woocommerce checkout fields');?></strong>
163
+ <input type="checkbox"/>
164
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
165
+ </label>
166
+
167
+ <br>
168
+ <img class="mo_openid_wcai_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/wcai.png';?>">
169
+ <br>
170
+
171
+ <input style="width: 126px;" disabled type="button" value="<?php echo mo_sl('Save');?>" class="button button-primary button-large" />
172
+ <br>
173
+
174
+ <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-woocommerce-with-wordpress-social-login" target="_blank">WooCommerce Guide</a> / <a href="https://youtu.be/M20AR-wbKNI" target="_blank">WooCommerce Video</a></label>
175
+
176
+
177
+ </td></tr></table>
178
+ </form>
179
+
180
+ </div>
181
+ <td>
182
+ <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
183
+ target="_blank" method="post" >
184
+ <input type="email" name="username" value="<?php echo esc_attr(get_option('mo_openid_admin_email')); ?>" />
185
+ <input type="text" name="redirectUrl" value="<?php echo esc_attr(get_option( 'mo_openid_host_name')).'/moas/initializepayment'; ?>" />
186
+ <input type="text" name="requestOrigin" id="requestOrigin"/>
187
+ </form>
188
+ <script>
189
+ function mosocial_addonform(planType) {
190
+ jQuery('#requestOrigin').val(planType);
191
+ jQuery('#mosocial_loginform').submit();
192
+ }
193
+ </script>
194
+ </td>
195
+ <td>
196
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
197
+ <script type="text/javascript">
198
+ //to set heading name
199
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Woocommerce Add On'); ?>');
200
+ jQuery(document).ready(function($){
201
+ jQuery("#mosocial_purchase_wca_verify").on("click",function(){
202
+ jQuery.ajax({
203
+ url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
204
+ method: "POST", //request type,
205
+ dataType: 'json',
206
+ data: {
207
+ action: 'mo_register_customer_toggle_update',
208
+ },
209
+ success: function (result){
210
+ if (result.status){
211
+ mo_verify_add_on_license_key();
212
+ }
213
+ else{
214
+ alert("Please register/login with miniOrange to verify key and use the Custom Registration Form Add on");
215
+ window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
216
+ }
217
+ }
218
+ });
219
+ });
220
+ });
221
+
222
+ function mo_verify_add_on_license_key() {
223
+ jQuery.ajax({
224
+ type: 'POST',
225
+ url: '<?php echo admin_url("admin-ajax.php"); ?>',
226
+ data: {
227
+ action:'verify_addon_licience',
228
+ plan_name: 'WP_SOCIAL_LOGIN_WOOCOMMERCE_ADDON',
229
+ },
230
+ crossDomain :!0, dataType:"html",
231
+ success: function(data) {
232
+ var flag=0;
233
+ jQuery("input").each(function(){
234
+ if(jQuery(this).val()=="mo_openid_verify_license") flag=1;
235
+ });
236
+ if(!flag) {
237
+ jQuery(data).insertBefore("#mo_openid_wca_video");
238
+ jQuery("#customization_ins").find(jQuery("#cust_supp")).css("display", "none");
239
+ }
240
+ },
241
+ error: function (data){}
242
+ });
243
+ }
244
+ </script>
245
+ </td>
246
+ <?php
247
+ }
view/config_apps/mo_openid_config_apps.php CHANGED
@@ -54,7 +54,7 @@ function mo_openid_show_apps()
54
  <br/>
55
  </td>
56
  <div>
57
- <label style="cursor: auto; margin-left: 3%;" class="mo_openid_note_style">Are you looking for rest API solution to authorized users for your Android or IOS app? <a style="cursor: pointer" onclick="mo_openid_support_form('Rest API requirments ')">Click here</a> and send us your requirments we will help you out.</label>
58
  </div>
59
  </tr>
60
  <tr>
@@ -842,11 +842,7 @@ function mo_openid_show_apps()
842
  jQuery("#mo_ssl_notice").show();
843
  }
844
  }
845
- else if(application_name == 'linkedin'){
846
- jQuery("#mo_ssl_notice").text("LinkedIn custom application needs to be verified for the scope permissions.You can also use our pre-configured application where you don't have to create custom application.")
847
- jQuery("#mo_ssl_notice").show();
848
 
849
- }
850
  else {
851
  jQuery("#mo_set_pre_config_app").show();
852
  jQuery("#mo_ssl_notice").hide();
54
  <br/>
55
  </td>
56
  <div>
57
+ <label style="cursor: auto; margin-left: 3%;" class="mo_openid_note_style">Are you looking for rest API solution to authorized users for your <b>Android</b> or <b>IOS</b> app? <a style="cursor: pointer" onclick="mo_openid_support_form('Rest API requirments ')">Click here</a> and send us your requirments we will help you out.</label>
58
  </div>
59
  </tr>
60
  <tr>
842
  jQuery("#mo_ssl_notice").show();
843
  }
844
  }
 
 
 
845
 
 
846
  else {
847
  jQuery("#mo_set_pre_config_app").show();
848
  jQuery("#mo_ssl_notice").hide();
view/licensing_plans/mo_openid_lic_plans.php CHANGED
@@ -3,508 +3,799 @@
3
  function mo_openid_licensing_plans()
4
  {
5
  ?>
6
- <td style="vertical-align:top;width:100%;">
7
- <br/>
8
- <div style="float: left">
9
- <div>
10
- <label style="cursor: auto; margin-left: 3%; margin-right: 3%" class="mo_openid_note_style"><b>Note:</b> All the plans are <b>one-time payment</b> and regular updates, up to the one year are included in the plugin price.</label>
11
- </div>
12
- <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
13
- <div>
14
- <table style="width: 100%" class="mo_table-bordered-license">
15
- <thead>
16
- <tr style="background-color:#F5F5F5;">
17
- <th><br>
18
- <h2>WooCommerce Integration Plugin</h2>
19
-
20
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
21
- </th>
22
- </tr>
23
- <tr>
24
- <th><button style="background-color: #0C1F28; width: 100%" onclick="mosocial_addonform('wp_social_login_woocommerce_plan')"
25
- class="mo-button-plan">Upgrade Now</button></th>
26
- </tr>
27
- </thead>
28
- <tbody class="mo_align-center mo-fa-icon">
29
- <tr>
30
- <td><b>All Free features +</b></td>
31
- </tr>
32
- <tr>
33
- <td>WooCommerce Display Options</td>
34
- </tr>
35
- <tr>
36
- <td><div class="mo_openid_tooltip" >WooCommerce Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext"style="width:100%;"> First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.</span></td>
37
- </tr>
38
- </tbody>
39
- </table>
40
- </div>
41
- </div>
42
- <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
43
- <div>
44
- <table style="width: 100%" class="mo_table-bordered-license">
45
- <thead>
46
- <tr style="background-color:#F5F5F5;">
47
- <th><br>
48
- <h2>BuddyPress Integration Plugin</h2>
49
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
50
- </th>
51
- </tr>
52
- <tr>
53
- <th><button style="width: 100%" onclick="mosocial_addonform('wp_social_login_buddypress_plan')"
54
- class="mo-button-plan mo_lic_color">Upgrade Now</button></th>
55
- </tr>
56
- </thead>
57
- <tbody class="mo_align-center mo-fa-icon">
58
- <tr>
59
- <td><b>All Free features +</b></td>
60
- </tr>
61
- <tr>
62
- <td>BuddyPress Display Options</td>
63
- </tr>
64
- <tr>
65
- <td><div class="mo_openid_tooltip" >BuddyPress Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</span></td>
66
- </tr>
67
- </tbody>
68
- </table>
69
- </div>
70
- </div>
71
- <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
72
- <div>
73
- <table style="width: 100%" class="mo_table-bordered-license">
74
- <thead>
75
- <tr style="background-color:#F5F5F5;">
76
- <th><br>
77
- <h2>Login with Apple plan</h2>
78
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
79
- </th>
80
- </tr>
81
- <tr>
82
- <th><button style="background-color: #0C1F28; width: 100%" onclick="mosocial_addonform('wp_social_login_apple_plan')"
83
- class="mo-button-plan">Upgrade Now</button></th>
84
- </tr>
85
- </thead>
86
- <tbody class="mo_align-center mo-fa-icon">
87
- <tr>
88
- <td><b>All Free features +</b></td>
89
- </tr>
90
- <tr>
91
- <td>Apple,Twitch & Discord Login Applications</td>
92
- </tr>
93
- <tr>
94
- <td></td>
95
- </tr>
96
- </tbody>
97
- </table>
98
- </div>
99
- </div>
100
- <div class="mo_openid_table_layout" id="mo_openid_single" style=" margin-top: 1%;width: 31%; float: left; display: inline-block">
101
- <div>
102
- <table style="width: 100%" class="mo_table-bordered-license">
103
- <thead>
104
- <tr style="background-color:#F5F5F5;">
105
- <th><br>
106
- <h1>Free</h1>
107
- <h2>(YOU ARE ON THIS PLAN)</h2>
108
- <h2>&nbsp;</h2>
109
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">0</h1>
110
- <h3>(Features and plans)</h3>
111
- </th>
112
- </tr>
113
- <tr>
114
- <th><button style="background-color: #0C1F28; width: 100%" onclick="mo_openid_support_form('')"
115
- class="mo-button-plan">Contact us for more features</button></th>
116
- </tr>
117
- </thead>
118
- <tbody class="mo_align-center mo-fa-icon">
119
- <tr>
120
- <td>
121
- <div class="mo_openid_tooltip" style="padding-left: 25px;">7 Pre-configured Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;">Pre-configured apps are already configured by miniOrange. Login flow will go from plugin to miniOrange and then back to plugin. 7 pre-configured apps are<span id="mo_openid_dots">...</span><span id="mo_openid_more" style="display: none"><br> google,vkontakte,linkedin,<br>amazon,windowslive,salesforce, and<br/>yahoo.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots','mo_openid_more','mo_openid_myBtn')" id="mo_openid_myBtn">Read more</button</div>
122
- </td>
123
- </tr>
124
- <tr>
125
- <td>
126
- <div class="mo_openid_tooltip" style="padding-left: 37px;">9 Custom Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>9 custom apps are <span id="mo_openid_dots1">...</span><span id="mo_openid_more1" style="display:none" ><br>Facebook,Google,vkontakte,<br/>twitter,linkedin,<br>amazon,windowslive,yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots1','mo_openid_more1','mo_openid_myBtn1')" id="mo_openid_myBtn1">Read more</button>
127
- </td>
128
- </tr>
129
- <tr>
130
- <td>Beautiful Icon Customisations</td>
131
- </tr>
132
- <tr>
133
- <td>16 Social Sharing Apps</td>
134
- </tr>
135
- <tr>
136
- <td>Facebook Social Comments</td>
137
- </tr>
138
- <tr>
139
- <td>Disqus Social Comments</td>
140
- </tr>
141
- <tr>
142
- <td>Login Redirect URL</td>
143
- </tr>
144
- <tr>
145
- <td>Logout Redirect URL</td>
146
- </tr>
147
- <tr>
148
- <td>Profile completion (username, email)</td>
149
- </tr>
150
- <tr>
151
- <td>Profile Picture</td>
152
- </tr>
153
- <tr>
154
- <td>Email notification to admin</td>
155
- </tr>
156
- <tr>
157
- <td>Customizable Text For Login Icons</td>
158
- </tr>
159
- <tr>
160
- <td>Option to enable/disable user registration</td>
161
- </tr>
162
- <tr>
163
- <td>Basic Email Support</td>
164
- </tr>
165
- <tr>
166
- <td>Role Mapping</td>
167
- </tr>
168
- <tr>
169
- <td>Shortcodes to display social icons on<br/>any login page, post, popup and php pages</td>
170
- </tr>
171
-
172
- <tr>
173
- <td><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></td>
174
- </tr>
175
- </tbody>
176
- </table>
177
- </div>
178
- </div>
179
- <div class="mo_openid_table_layout" id="mo_openid_single" style=" margin-top: 1%;width: 31%; float: left; display: inline-block">
180
- <div>
181
- <table style="width: 100%" class="mo_table-bordered-license">
182
- <thead>
183
- <tr style="background-color:#F5F5F5;">
184
- <th><br>
185
- <h1>Standard</h1>
186
- <h2>&nbsp;</h2>
187
- <h1>
188
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>39</strike>
189
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29 - 1 Instance</h1>
190
- </h1>
191
- <h1>
192
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">169 - 10 Instance</h1>
193
- </h1>
194
- <h3>(Features and plans)</h3>
195
- </th>
196
- </tr>
197
- <tr>
198
- <th><button style="width: 100%" onclick="mosocial_addonform('wp_social_login_standard_plan')"
199
- class="mo-button-plan mo_lic_color">Upgrade Now</button></th>
200
- </tr>
201
- </thead>
202
- <tbody class="mo_align-center mo-fa-icon">
203
- <tr>
204
- <td><b>All Free features +</b></td>
205
- </tr>
206
- <tr>
207
- <td><div class="mo_openid_tooltip" style="padding-left: 40px;">30 Custom Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>30 custom apps are <span id="mo_openid_dots2">...</span><span id="mo_openid_more2" style="display:none" ><br>Facebook,Google,Yandex,Paypal,vkontakte,<br/>Reddit,twitter,linkedin,amazon,windowslive,<br/>yahoo,disqus,instagram,wordpress,pinterest,<br>
208
- spotify,tumblr,vimeo,kakao,discord,<br>dirbble,flickr,line,meetup,naver,snapchat,foursquare,<br>teamsnap,stackexchange,livejournal & odnoklassniki.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots2','mo_openid_more2','mo_openid_myBtn2')" id="mo_openid_myBtn2">Read more</button>
209
- </div></td>
210
- </tr>
211
- <tr>
212
- <td>Advance Account Linking</td>
213
- </tr>
214
- <tr>
215
- <td>General Data Protection Regulation (GDPR)</td>
216
- </tr>
217
- <tr>
218
- <td>BuddyPress Display Options</td>
219
- </tr>
220
- <tr>
221
- <td>Woocommerce Display Options</td>
222
- </tr>
223
- <tr>
224
- <td>Account Linking & Unlinking for user</td>
225
- </tr>
226
- <tr>
227
- <td>Email notification to multiple admins</td>
228
- </tr>
229
- <tr>
230
- <td>Welcome Email to end users</td>
231
- </tr>
232
- <tr>
233
- <td>Customizable Email Notification template</td>
234
- </tr>
235
- <tr>
236
- <td>Customizable welcome Email template</td>
237
- </tr>
238
- <tr>
239
- <td>Custom CSS for Social Login buttons</td>
240
- </tr>
241
- <tr>
242
- <td>Social Login Opens in a New Window</td>
243
- </tr>
244
- <tr>
245
- <td>Domain restriction</td>
246
- </tr>
247
- <tr>
248
- <td>Force Admin To Login Using Password</td>
249
- </tr>
250
- <tr>
251
- <td>Send username and password reset link</td>
252
- </tr>
253
- <tr>
254
- <td>Disable admin bar</td>
255
- </tr>
256
- <tr>
257
- <td>Google recaptcha</td>
258
- </tr>
259
- <tr>
260
- <td><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></td>
261
- </tr>
262
- </tbody>
263
- </table>
264
- </div>
265
- </div>
266
- <div class="mo_openid_table_layout" id="mo_openid_single" style=" margin-top: 1%;width: 31%; float: left; display: inline-block">
267
- <div>
268
- <table style="width: 100%" class="mo_table-bordered-license">
269
- <thead>
270
- <tr style="background-color:#F5F5F5;">
271
- <th><br>
272
- <h1>Premium</h1>
273
- <h2><font color="red">(Popular plugins integrations)</font></h2>
274
- <h1>
275
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>59</strike>
276
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">49 - 1 Instance</h1>
277
- </h1>
278
- <h1>
279
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">199 - 10 Instance</h1>
280
- </h1>
281
- <h3>(Features and plans)</h3>
282
- </th>
283
- </tr>
284
- <tr>
285
- <th><button style="background-color: #0C1F28" onclick="mosocial_addonform('wp_social_login_premium_plan')"
286
- class="mo-button-plan">Upgrade Now</button></th>
287
- </tr>
288
- </thead>
289
- <tbody class="mo_align-center mo-fa-icon">
290
- <tr>
291
- <td><b>All Free features +</b></td>
292
- </tr>
293
- <tr>
294
- <td><div class="mo_openid_tooltip" style="padding-left: 40px;">37 Custom Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>37 custom apps are <span id="mo_openid_dots3">...</span><span id="mo_openid_more3" style="display:none" ><br>Facebook,Google,Yandex,Paypal,vkontakte,<br/>Reddit,twitter,linkedin,amazon,windowslive,<br/>yahoo,apple,disqus,instagram,wordpress,pinterest,<br>
295
- spotify,tumblr,twitch,vimeo,kakao,discord,<br>dirbble,flickr,line,meetup,naver,snapchat,foursquare,<br>teamsnap,stackexchange,livejournal, odnoklassniki,<br/> GitHub, HubSpot, & mail.ru</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots3','mo_openid_more3','mo_openid_myBtn3')" id="mo_openid_myBtn3">Read more</button>
296
- </div></td>
297
- </tr>
298
- <tr>
299
- <td><div class="mo_openid_tooltip" >Woocommerce Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext"style="width:100%;"> First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.</span><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/woocommerce.png" style="width:35px;height:20px;"></td>
300
- </tr>
301
- <tr>
302
- <td><span class="mo_openid_tooltip">Paid Membership pro Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext"style="width:100%;">Assign default levels or let users choose to set their levels provided by Paid Membership Pro to the users login using Social Login</span><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/paidmember.png" style="width:35px;height:20px;"></td>
303
- </tr>
304
- <tr>
305
- <td><div class="mo_openid_tooltip" >BuddyPress Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</span> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/buddypress.png" style="width:30px;height:25px;"></td>
306
- </tr>
307
-
308
- <tr>
309
- <td><div class="mo_openid_tooltip" >MailChimp Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.</span> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/mailchimp_logo.png" style="width:30px;height:20px;"></td>
310
- </tr>
311
- <tr>
312
- <td><div class="mo_openid_tooltip" >miniOrange OTP Integration<span style="color: red">*</span> <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">Verify your users via OTP on registration.</span></td>
313
- </tr>
314
- <tr>
315
- <td><span class="mo_openid_tooltip">Custom attribute mapping <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext"style="width:100%;">Extended attributes returned from social app are mapped to Custom attributes created by admin. These Attributes get stored in user_meta.</span></td>
316
- </tr>
317
- <tr>
318
- <td>Apple, Twitch & Discord</td>
319
- </tr>
320
- <tr>
321
- <td><div class="mo_openid_tooltip" >Extended Profile Data <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">Extended profile data feature requires additional configuration. You need to have your own social media app and permissions from social media providers to collect extended user data.</span></td>
322
- </tr>
323
- <tr>
324
- <td><div class="mo_openid_tooltip" >Custom Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> If you have a specific custom requirement in the Social Login Plugin, we can implement and integrate it in the Plugin fo you. This includes all those custom features that come under the scope of Social Login/ Sharing/ Comments and impart additional value to the plugin. These features are chargeable. Please send us a query through the support forum to get in touch with us about your custom requirements.</span></div></td>
325
- </tr>
326
- <tr>
327
- <td>Ultimate Member Display Options</td>
328
- </tr>
329
- <tr>
330
- <td>Send account activation link to the user</td>
331
- </tr>
332
- <tr>
333
- <td>Restrict registration from specific pages</td>
334
- </tr>
335
- <tr>
336
- <td>User Moderation</td>
337
- </tr>
338
- <tr>
339
- <td>Advance Account Linking</td>
340
- </tr>
341
- <tr>
342
- <td>General Data Protection Regulation (GDPR)</td>
343
- </tr>
344
- <tr>
345
- <td>BuddyPress Display Options</td>
346
- </tr>
347
- <tr>
348
- <td>Woocommerce Display Options</td>
349
- </tr>
350
- <tr>
351
- <td>Account Linking & Unlinking for user</td>
352
- </tr>
353
- <tr>
354
- <td>Email notification to multiple admins</td>
355
- </tr>
356
- <tr>
357
- <td>Welcome Email to end users</td>
358
- </tr>
359
- <tr>
360
- <td>Customizable Email Notification template</td>
361
- </tr>
362
- <tr>
363
- <td>Customizable welcome Email template</td>
364
- </tr>
365
- <tr>
366
- <td>Custom CSS for Social Login buttons</td>
367
- </tr>
368
- <tr>
369
- <td>Social Login Opens in a New Window</td>
370
- </tr>
371
- <tr>
372
- <td>Domain restriction</td>
373
- </tr>
374
- <tr>
375
- <td>Force Admin To Login Using Password</td>
376
- </tr>
377
- <tr>
378
- <td>Send username and password reset link</td>
379
- </tr>
380
- <tr>
381
- <td>Disable admin bar</td>
382
- </tr>
383
- <tr>
384
- <td>Google recaptcha</td>
385
- </tr>
386
- <tr>
387
- <td><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></td>
388
- </tr>
389
- </tbody>
390
- </table>
391
- </div>
392
- </div>
393
- <div class="mo_openid_table_layout" id="mo_openid_single" style="margin-left: 15%; min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
394
- <div>
395
- <table style="width: 100%" class="mo_table-bordered-license">
396
- <thead>
397
- <tr style="background-color:#F5F5F5;">
398
- <th><br>
399
- <h2>Social Login Premium Applications</h2>
400
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">15</h1>
401
- </th>
402
- </tr>
403
- <tr>
404
- <th><button style="background-color: #0C1F28; width: 100%" onclick="mosocial_addonform('wp_social_custom_plan')"
405
- class="mo-button-plan">Upgrade Now</button></th>
406
- </tr>
407
- </thead>
408
- <tbody class="mo_align-center mo-fa-icon">
409
- <tr>
410
- <td><b>All Free features +</b></td>
411
- </tr>
412
- <tr>
413
- <td>You will get any one application (Excluding Apple, Discord, & twitch) of your choice integrated with the plugin with $15 each.</td>
414
- </tr>
415
- </tbody>
416
- </table>
417
- </div>
418
  </div>
419
- <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
420
- <div>
421
- <table style="width: 100%" class="mo_table-bordered-license">
422
- <thead>
423
- <tr style="background-color:#F5F5F5;">
424
- <th><br>
425
- <h2>Custom feature / Integration</h2>
426
- <h1>&nbsp;</h1>
427
- </th>
428
- </tr>
429
- <tr>
430
- <th><button style="width: 100%" onclick="mo_openid_support_form('Custom requirment for ')"
431
- class="mo-button-plan">Contact us with requirments</button></th>
432
- </tr>
433
- </thead>
434
- <tbody class="mo_align-center mo-fa-icon">
435
- <tr>
436
- <td><b>All Free features +</b></td>
437
- </tr>
438
- <tr>
439
- <td>If you require any feature or integration of any plugin to be integrated with your Social Login plugin.</td>
440
- </tr>
441
- </tbody>
442
- </table>
443
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  </div>
445
  </div>
446
- <br/>&nbsp;<br/>
447
- <div style="font-size: 15px; padding: 1%">
448
- <hr><h3>Available Add on</h3>
449
- <a style="text-decoration: none" target="_blank" href="<?php echo get_site_url() . "/wp-admin/admin.php?page=mo_openid_settings_addOn";?> ">Social Login Custom Registration Form Add on</a>
450
- <button style="margin-left: 2%; margin-top: -.5%" onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')" id="mosocial_purchase_cust_addon" class="button button-primary button-large">Upgrade Now</button>
451
- <p style="font-size: 15px">Custom Registration Form Add-On helps you to integrate details of new as well as existing users. You can add as many fields as you want including the one which are returned by social sites at time of registration.</p>
452
- </div>
453
- <div class="clear">
454
- <hr>
455
- <h3>Refund Policy -</h3>
456
- <p><b>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you
457
- purchased is not working as advertised and you've attempted to resolve any issues with our support
458
- team, which couldn't get resolved then we will refund the whole amount within 10 days of the
459
- purchase. Please email us at <a href="mailto:info@xecurify.com"><i>info@xecurify.com</i></a> for any
460
- queries regarding the return policy.</b></p>
461
- <b>Not applicable for -</b>
462
- <ol>
463
- <li>Returns that are because of features that are not advertised.</li>
464
- <li>Returns beyond 10 days.</li>
465
- </ol>
466
- </div>
467
- <script>
468
- //to set heading name
469
- jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Licensing Plan For Social Login');?>');
470
- function myFunction(dots_id,read_id,btn_id) {
471
 
472
- var dots = document.getElementById(dots_id);
473
- var moreText = document.getElementById(read_id);
474
- var btnText = document.getElementById(btn_id);
 
 
 
 
 
 
 
 
 
 
 
475
 
476
- if (dots.style.display === "none") {
477
- dots.style.display = "inline";
478
- btnText.innerHTML = "Read more";
479
- moreText.style.display = "none";
480
- } else {
481
- dots.style.display = "none";
482
- btnText.innerHTML = "Close";
483
- moreText.style.display = "inline";
484
- }
485
  }
486
- function mosocial_addonform(planType) {
487
- jQuery.ajax({
488
- url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
489
- method: "POST", //request type,
490
- dataType: 'json',
491
- data: {
492
- action: 'mo_register_customer_toggle_update',
493
- },
494
- success: function (result) {
495
- if(result.status){
496
- jQuery('#requestOrigin').val(planType);
497
- jQuery('#mosocial_loginform').submit();
498
- }
499
- else
500
- {
501
- alert("It seems you are not registered with miniOrange. Please login or register with us to upgrade to premium plan.");
502
- window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
503
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  }
505
  });
506
  }
507
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
 
509
  </td>
510
 
@@ -523,9 +814,7 @@ function mo_openid_licensing_plan_sharing()
523
  {
524
  ?>
525
  <td style="vertical-align:top;width:100%;">
526
- <p style="margin-left: 25%; font-size: x-large">
527
- <a id="social_login_pricing" href="<?php echo site_url().'/wp-admin/admin.php?page=mo_openid_general_settings&tab=licensing_plans' ?>"><?php echo mo_sl('Click here to go to Social Login Licensing plans');?></a>
528
- </p>
529
  <div style="float: left">
530
  <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
531
  <div>
@@ -534,7 +823,7 @@ function mo_openid_licensing_plan_sharing()
534
  <tr style="background-color:#F5F5F5;">
535
  <th><br>
536
  <h2>Social Sharing Premium Applications<br/>&nbsp;</h2>
537
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">10</h1>
538
  </th>
539
  </tr>
540
  <tr>
@@ -563,7 +852,7 @@ function mo_openid_licensing_plan_sharing()
563
  <tr style="background-color:#F5F5F5;">
564
  <th><br>
565
  <h2>Social Sharing Premium +<br/>Social Login Standard</h2>
566
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">45</h1>
567
  </th>
568
  </tr>
569
  <tr>
@@ -592,7 +881,7 @@ function mo_openid_licensing_plan_sharing()
592
  <tr style="background-color:#F5F5F5;">
593
  <th><br>
594
  <h2>Social Sharing Premium +<br/>Social Login Premium</h2>
595
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">60</h1>
596
  </th>
597
  </tr>
598
  <tr>
@@ -622,7 +911,7 @@ function mo_openid_licensing_plan_sharing()
622
  <th><br>
623
  <h1>Free</h1>
624
  <h2>(YOU ARE ON THIS PLAN)</h2>
625
- <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">0</h1>
626
  <h3>(Features and plans)</h3>
627
  </th>
628
  </tr>
@@ -634,12 +923,12 @@ function mo_openid_licensing_plan_sharing()
634
  <tbody class="mo_align-center mo-fa-icon">
635
  <tr>
636
  <td>
637
- <div class="mo_openid_tooltip" style="padding-left: 25px;">9 Pre-configured Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;">Pre-configured apps are already configured by miniOrange. Login flow will go from plugin to miniOrange and then back to plugin. 9 pre-configured apps are<span id="mo_openid_dots">...</span><span id="mo_openid_more" style="display: none"><br> google,vkontakte,twitter,linkedin,<br>amazon,windowslive,salesforce,<br/>yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots','mo_openid_more','mo_openid_myBtn')" id="mo_openid_myBtn">Read more</button</div>
638
  </td>
639
  </tr>
640
  <tr>
641
  <td>
642
- <div class="mo_openid_tooltip" style="padding-left: 37px;">9 Custom Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>10 custom apps are <span id="mo_openid_dots1">...</span><span id="mo_openid_more1" style="display:none" ><br>Facebook,Google,vkontakte,<br/>twitter,linkedin,<br>amazon,windowslive,yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots1','mo_openid_more1','mo_openid_myBtn1')" id="mo_openid_myBtn1">Read more</button>
643
  </td>
644
  </tr>
645
  <tr>
@@ -701,8 +990,8 @@ function mo_openid_licensing_plan_sharing()
701
  <h1>Sharing Premium</h1>
702
  <h2>&nbsp;</h2>
703
  <h1>
704
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike>
705
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">19</h1>
706
  </h1>
707
  <h3>(Features and plans)</h3>
708
  </th>
@@ -778,8 +1067,8 @@ function mo_openid_licensing_plan_sharing()
778
  </th>
779
  </tr>
780
  <tr>
781
- <th><button style="width: 100%" onclick="mo_openid_support_form('Custom requirment for ')"
782
- class="mo-button-plan">Contact us with requirments</button></th>
783
  </tr>
784
  </thead>
785
  <tbody class="mo_align-center mo-fa-icon">
@@ -797,7 +1086,7 @@ function mo_openid_licensing_plan_sharing()
797
  <br/>&nbsp;<br/>
798
  <div style="font-size: 15px; padding: 1%">
799
  <hr><h3>Available Add on</h3>
800
- <a style="text-decoration: none" target="_blank" href="<?php echo get_site_url() . "/wp-admin/admin.php?page=mo_openid_settings_addOn";?> ">Social Login Custom Registration Form Add on</a>
801
  <button style="margin-left: 2%; margin-top: -.5%" onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')" id="mosocial_purchase_cust_addon" class="button button-primary button-large">Upgrade Now</button>
802
  <p style="font-size: 15px">Custom Registration Form Add-On helps you to integrate details of new as well as existing users. You can add as many fields as you want including the one which are returned by social sites at time of registration.</p>
803
  </div>
@@ -869,135 +1158,3 @@ function mo_openid_licensing_plan_sharing()
869
  </td>
870
  <?php
871
  }
872
-
873
- function mo_openid_licensing_plans_addon()
874
- {
875
- ?>
876
- <td style="vertical-align:top;width:100%;">
877
- <div class="mo_openid_table_layout" style="min-height:625px; margin-left: 6%">
878
- <div class="grid">
879
- <div style="width: 25%;"></div>
880
- <div class="col100 red">
881
- <table class="table mo_table-bordered-license mo_table-striped-license" style="width: 150%;">
882
- <thead>
883
- <tr style="background-color:#F5F5F5;">
884
- <th width="400px;"><br>
885
- <h1>Custom Registration Form</h1>
886
- <h1>Add-On</h1>
887
- <h1>
888
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike>
889
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
890
- <h3>Features/ Plan</h3></th>
891
- </tr>
892
- <tr>
893
- <th><button onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')"
894
- id="mosocial_purchase_cust_addon"
895
- class="mo-button-plan">Upgrade Now</button></th>
896
- </tr>
897
- </thead>
898
- <tbody class="mo_align-center mo-fa-icon">
899
- <tr>
900
- <td>Map users data which is returned from social apps</td>
901
- </tr>
902
- <tr>
903
- <td>Create a pre-registration form</td>
904
- </tr>
905
- <tr>
906
- <td>Allow user to select Role while registration</td>
907
- </tr>
908
- <tr>
909
- <td>The form can support any theme</td>
910
- </tr>
911
- <tr>
912
- <td>Ability to add custom fields in the registration form</td>
913
- </tr>
914
- <tr>
915
- <td>Edit Profile option using shortcode</td>
916
- </tr>
917
- <tr>
918
- <td>Support input field types: text, date, checkbox or dropdown</td>
919
- </tr>
920
- <tr>
921
- <td>Optional mandatory fields</td>
922
- </tr>
923
- <tr>
924
- <td>Synchronization existing meta field</td>
925
- </tr>
926
- <tr>
927
- <td><a style="cursor: pointer" onclick="mo_openid_support_form('')"><?php echo mo_sl('Contact Us using Support Form');?>
928
-
929
-
930
- </tr>
931
- </tbody>
932
- </table>
933
- </div>
934
- </div>
935
- </div>
936
- <br>
937
- <div class="clear">
938
-
939
- <hr>
940
- <h3>Refund Policy -</h3>
941
- <p><b>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you
942
- purchased is not working as advertised and you've attempted to resolve any issues with our support
943
- team, which couldn't get resolved then we will refund the whole amount within 10 days of the
944
- purchase. Please email us at <a href="mailto:info@xecurify.com"><i>info@xecurify.com</i></a> for any
945
- queries regarding the return policy.</b></p>
946
- <b>Not applicable for -</b>
947
- <ol>
948
- <li>Returns that are because of features that are not advertised.</li>
949
- <li>Returns beyond 10 days.</li>
950
- </ol>
951
- </div>
952
- <style>
953
- div.grid {
954
- width: 850px;
955
- }
956
-
957
- div.grid div {
958
- float: left;
959
- height: 10px;
960
- }
961
-
962
- div.col100 {
963
- width: 250px;
964
- }
965
- </style>
966
- <script>
967
- //to set heading name
968
- jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Licensing Plan For Social Login');?>');
969
- function mosocial_addonform(planType) {
970
- jQuery.ajax({
971
- url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
972
- method: "POST", //request type,
973
- dataType: 'json',
974
- data: {
975
- action: 'mo_register_customer_toggle_update',
976
- },
977
- success: function (result) {
978
- if(result.status){
979
- jQuery('#requestOrigin').val(planType);
980
- jQuery('#mosocial_loginform').submit();
981
- }
982
- else
983
- {
984
- alert("It seems you are not registered with miniOrange. Please login or register with us to upgrade to premium plan.");
985
- window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
986
- }
987
- }
988
- });
989
- }
990
- </script>
991
-
992
-
993
-
994
- <td>
995
- <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
996
- target="_blank" method="post" >
997
- <input type="email" name="username" value="<?php echo esc_attr(get_option('mo_openid_admin_email')); ?>" />
998
- <input type="text" name="redirectUrl" value="<?php echo esc_attr(get_option( 'mo_openid_host_name')).'/moas/initializepayment'; ?>" />
999
- <input type="text" name="requestOrigin" id="requestOrigin"/>
1000
- </form>
1001
- </td>
1002
- <?php
1003
- }
3
  function mo_openid_licensing_plans()
4
  {
5
  ?>
6
+
7
+ <div style="text-align:center; color: rgb(233, 125, 104); margin-top: 55px; font-size: 23px"> You are currently on the Free version of the plugin <br> <br><span style="font-size: 20px; ">
8
+ <li style="color: dimgray; list-style-type: none;">
9
+ <div class="mo_openid-quote">
10
+ <p>
11
+ <span onclick="void(0);" class="mo_openid-check-tooltip" style="font-size: 15px">Why should I upgrade?
12
+ <span class="mo_openid-info">
13
+ <span class="mo_openid-pronounce">Why should I upgrade to premium plugin?</span>
14
+ <span class="mo_openid-text">Upgrading lets you access all of our features such as Integration, User account moderation etc.</span>
15
+ </span>
16
+ </span>
17
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  </div>
19
+ <br><br>
20
+ </li>
21
+ </div>
22
+
23
+ <div style="text-align: center; font-size: 14px; background: forestgreen; color: white; padding-top: 4px; padding-bottom: 4px; border-radius: 16px;"></div>
24
+
25
+ <input type="hidden" id="mo_license_plan_selected" value="" />
26
+ <div class="mo-openid-tab-content">
27
+ <div class="active">
28
+ <br>
29
+ <div class="mo-openid-cd-pricing-container mo-openid-cd-has-margins"><br>
30
+ <div class="mo-open-id-cd-pricing-switcher">
31
+ <p class="mo-open-id-fieldset" style="background-color: #e97d68;">
32
+ <input type="radio" name="sitetype" value="singlesite" id="singlesite" checked>
33
+ <label for="singlesite">Plugins</label>
34
+ <input type="radio" name="sitetype" value="multisite" id="multisite">
35
+ <label for="multisite">Add-ons</label>
36
+ <span class="mo-open-id-cd-switch"></span>
37
+ </p>
38
+ </div>
39
+ <div style="line-height: initial; background: #F2F5FB;border-radius:5px;font-size: large;margin-top:10px;padding:10px;border-style: solid;border-color: #2f6062">
40
+ <span class="dashicons dashicons-info" style="vertical-align: bottom;"></span>
41
+ Upgrading to any plan is a <b style="color: black">One-Time Payment</b> which includes 1 year of updates. You can continue using all the available features in that plan for lifetime. Contact us at <a style="color:blue
42
+ " href="mailto:socialloginsupport@xecurify.com">socialloginsupport@xecurify.com</a> for bulk discounts.
43
  </div>
44
+ <ul id="list-type" class="mo-openid-cd-pricing-list cd-bounce-invert" >
45
+ <li>
46
+ <ul class="mo-openid-cd-pricing-wrapper" id="col1">
47
+ <li data-type="singlesite" class="mosslp is-visible" style="">
48
+ <header class="mo-openid-cd-pricing-header">
49
+ <h2 style="margin-bottom: 10%;">Login with Apple Plan</h2>
50
+ <!-- <h3 class="mo-openid-subheading_plans" style="color:black;"><span> &nbsp;</span><br><br> <span>&#36;159 - 10 Instance </span><br /><br /></h3>-->
51
+ <label for="mo_openid_ap">Select No. of Instances : </label>
52
+ <select name="mo_openid_ap" id="mo_openid_ap">
53
+ <option value="1">1</option>
54
+ <option value="5">5</option>
55
+ <option value="10">10</option>
56
+ </select>
57
+
58
+ <div class="cd-price" style="margin-top: 9%;">
59
+ <span class="mo-openid-cd-currency">$</span>
60
+ <span id="mo_openid_ap1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
61
+ <span class="mo-openid-cd-currency">$</span>
62
+ <span id="mo_openid_ap2" class="mo-openid-cd-value"><s>29</s></span>
63
+ </div>
64
+ </header> <!-- .mo-openid-cd-pricing-header -->
65
+ <footer class="mo-openid-cd-pricing-footer">
66
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_apple_plan')" >Upgrade Now</a>
67
+ </footer>
68
+ <div class="mo-openid-cd-pricing-body">
69
+ <ul class="mo-openid-cd-pricing-features">
70
+ <li><b>All Free features +</b></li>
71
+ <li>Apple Login</li>
72
+ <li>Twitch Login</li>
73
+ <li>Discord Login</li>
74
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
75
+ </ul>
76
+ </div> <!-- .mo-openid-cd-pricing-body -->
77
+ </li>
78
+ <li data-type="singlesite" class="mosslp is-visible" style="">
79
+ <header class="mo-openid-cd-pricing-header">
80
+ <h2 style="margin-bottom: 10%;">Social Sharing</h2>
81
+ <label for="mo_openid_ss">Select No. of Instances : </label>
82
+ <select name="mo_openid_ss" id="mo_openid_ss">
83
+ <option value="1">1</option>
84
+ <option value="5">5</option>
85
+ <option value="10">10</option>
86
+ </select>
87
+
88
+ <div class="cd-price" style="margin-top: 9%;">
89
+ <span class="mo-openid-cd-currency">$</span>
90
+ <span id="mo_openid_ss1" class="mo-openid-cd-value">15</span> &nbsp;&nbsp;
91
+ <span class="mo-openid-cd-currency">$</span>
92
+ <span id="mo_openid_ss2" class="mo-openid-cd-value"><s>19</s></span>
93
+ </div>
94
+ </header> <!-- .mo-openid-cd-pricing-header -->
95
+ <footer class="mo-openid-cd-pricing-footer">
96
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_share_plan')" >Upgrade Now</a>
97
+ </footer>
98
+
99
+ <div class="mo-openid-cd-pricing-body">
100
+ <ul class="mo-openid-cd-pricing-features ">
101
+ <li><b>All Free features +</b></li>
102
+ <li>45 Social Sharing Apps</li>
103
+ <li>Social Share Count</li>
104
+ <li>WooCommerce Social</li>
105
+ <li>Facebook Like & Recommended</li>
106
+ <li>Pinterest Pin it Button</li>
107
+ <li>Twitter Follow Button</li>
108
+ <li>Hover Icons & Floating Icons</li>
109
+ <li>Vertical Icons & Horizontal Icons</li>
110
+ <!-- <li>Display Options</li>-->
111
+ <!-- <li>E-mail subscriber</li>-->
112
+ <li>Shortcodes to display social icons on<br/>any homepage page, post, popup and php pages.</li>
113
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
114
+ </ul>
115
+ </div> <!-- .mo-openid-cd-pricing-body -->
116
+ </li>
117
+
118
+ <li data-type="multisite" class="momslp is-hidden" style="">
119
+ <header class="mo-openid-cd-pricing-header">
120
+
121
+ <h2 style="margin-bottom: 10%;" >Custom Registration Form Add-On </h2>
122
+ <!-- <h3 class="mo-openid-subheading_plans" style="color:black;"><span> &nbsp;</span><br> <span>&#36;109 - 10 Instance </span><br><br /><br /></h3>-->
123
+
124
+ <label for="mo_openid_cra">Select No. of Instances : </label>
125
+ <select name="mo_openid_cra" id="mo_openid_cra">
126
+ <option value="1">1</option>
127
+ <option value="5">5</option>
128
+ <option value="10">10</option>
129
+ </select>
130
+
131
+ <div class="cd-price" style="margin-top: 9%;">
132
+ <span class="mo-openid-cd-currency">$</span>
133
+ <span id="mo_openid_cra1" class="mo-openid-cd-value">35</span> &nbsp;&nbsp;
134
+ <span class="mo-openid-cd-currency">$</span>
135
+ <span id="mo_openid_cra2" class="mo-openid-cd-value"><s>39</s></span>
136
+
137
+ </div>
138
+ </header>
139
+ <!-- .mo-openid-cd-pricing-header -->
140
+ <footer class="mo-openid-cd-pricing-footer">
141
+ <a href="#" class="mo-openid-cd-select" id="mosocial_purchase_cust_addon" onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')" >Upgrade Now</a>
142
+ </footer>
143
+
144
+ <div class="mo-openid-cd-pricing-body">
145
+ <ul class="mo-openid-cd-pricing-features">
146
+ <li>Create a pre-registration form</li>
147
+ <li>Allow user to select Role while Registration</li>
148
+ <li>All WordPress Themes Supported</li>
149
+ <li>Map Users Data returned from all Social Apps</li>
150
+ <li>Add Custom Fields in the Registration form</li>
151
+ <!-- <li>Edit Profile option using shortcode</li>-->
152
+ <!-- <li>Support input field types: text, date, checkbox or dropdown</li>-->
153
+ <li>Advanced Form Control</li>
154
+ <li>Sync existing meta field</li>
155
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
156
+ </ul>
157
+ </div> <!-- .mo-openid-cd-pricing-body -->
158
+ </li>
159
+ </ul> <!-- .mo-openid-cd-pricing-wrapper -->
160
+ </li>
161
+
162
+ <li class="mo-openid-cd-popular">
163
+ <ul class="mo-openid-cd-pricing-wrapper" id="col2">
164
+ <li data-type="singlesite" class="mosslp is-visible" style="">
165
+ <header class="mo-openid-cd-pricing-header">
166
+ <h2 style="margin-bottom: 10%;" >Standard<span style="font-size:0.5em"></span></h2>
167
+ <!-- <h3 class="mo-openid-subheading_plans" style="color:black;"><span> &nbsp;</span><br> <span>&#36;169 - 10 Instance </span><br><br /><br /></h3>-->
168
+
169
+ <label for="mo_openid_std">Select No. of Instances : </label>
170
+ <select name="mo_openid_std" id="mo_openid_std">
171
+ <option value="1">1</option>
172
+ <option value="5">5</option>
173
+ <option value="10">10</option>
174
+ </select>
175
+
176
+ <div class="cd-price" style="margin-top: 9%;">
177
+ <span class="mo-openid-cd-currency">$</span>
178
+ <span id="mo_openid_std1" class="mo-openid-cd-value">29</span> &nbsp;&nbsp;
179
+ <span class="mo-openid-cd-currency">$</span>
180
+ <span id="mo_openid_std2" class="mo-openid-cd-value"><s>39</s></span>
181
+ </div>
182
+ </header> <!-- .mo-openid-cd-pricing-header -->
183
+ <footer class="mo-openid-cd-pricing-footer">
184
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_standard_plan')" >Upgrade Now</a>
185
+ </footer>
186
+ <div class="mo-openid-cd-pricing-body">
187
+ <ul class="mo-openid-cd-pricing-features">
188
+ <li><b>All Free features +</b></li>
189
+ <li>7 Pre-configured Social Login Apps</li>
190
+ <li>
191
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">30 Custom Login Apps <i class="mofa mofa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>30 custom apps are <span id="mo_openid_dots2">...</span><span id="mo_openid_more2" style="display:none" ><br>Facebook,Google,Yandex,Paypal,<br>vkontakte,Reddit,twitter,linkedin,<br>amazon,windowslive,yahoo,disqus<br>,instagram,wordpress,pinterest,<br>
192
+ spotify,tumblr,vimeo,kakao<br>,discord,dribble,flickr,line,<br>meetup,naver,snapchat,foursquare,<br>teamsnap,stackexchange,livejournal & odnoklassniki.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots2','mo_openid_more2','mo_openid_myBtn2')" id="mo_openid_myBtn2">Read more</button>
193
+ </div>
194
+ </li>
195
+ <li>General Data Protection Regulation (GDPR)</li>
196
+ <li>Google recaptcha</li>
197
+ <li>Woocommerce Social Login</li>
198
+ <li>BuddyPress Social Login</li>
199
+ <li>Advance Account Linking</li>
200
+ <li>Various Email notification options to users & multiple admins</li>
201
+ <li>Woocommerce Display Options</li>
202
+ <li>Account Linking & Unlinking for Users</li>
203
+ <li>Welcome Email to end users</li>
204
+ <li>Customizable Email Notification template</li>
205
+ <li>Customizable welcome Email template</li>
206
+ <li>Custom CSS for Social Login buttons</li>
207
+ <li>Social Login Opens in a New Window</li>
208
+ <li>Domain restriction</li>
209
+ <li>Force Admin To Login Using Password</li>
210
+ <li>Send Username and Password Reset link</li>
211
+ <li>Disable Admin Bar</li>
212
+
213
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
214
+ </ul>
215
+ </div> <!-- .mo-openid-cd-pricing-body -->
216
+ </li>
217
+
218
+ <li data-type="multisite" class="momslp is-hidden" style="">
219
+ <header class="mo-openid-cd-pricing-header">
220
+ <h2 style="margin-bottom: 10%;">WooCommerce Integration Add-On</h2>
221
+ <label for="mo_openid_wca_in">Select No. of Instances : </label>
222
+ <select name="mo_openid_wca_in" id="mo_openid_wca_in">
223
+ <option value="1">1</option>
224
+ <option value="5">5</option>
225
+ <option value="10">10</option>
226
+ </select>
227
+
228
+ <div class="cd-price" style="margin-top: 9%;">
229
+ <span class="mo-openid-cd-currency">$</span>
230
+ <span id="mo_openid_wca_in1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
231
+ <span class="mo-openid-cd-currency">$</span>
232
+ <span id="mo_openid_wca_in2" class="mo-openid-cd-value"><s>29</s></span>
233
+ </div>
234
+ </header> <!-- .mo-openid-cd-pricing-header -->
235
+ <footer class="mo-openid-cd-pricing-footer">
236
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_woocommerce_addon')" >Upgrade Now</a>
237
+ </footer>
238
+ <div class="mo-openid-cd-pricing-body">
239
+ <ul class="mo-openid-cd-pricing-features">
240
+ <li><b>All Free features +</b></li>
241
+ <li>WooCommerce Display Options</li>
242
+ <li><div class="mo_openid_tooltip" >WooCommerce Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;"> First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.</span></li>
243
+ <li>Social Login on WooCommerce Login Page</li>
244
+ <li>Social Login on WooCommerce Registration Page</li>
245
+ <li>Social Login on WooCommerce Checkout Page</li>
246
+ <li>Before WooCommerce Login Form</li>
247
+ <li>Before 'Remember Me' of WooCommerce Login Form</li>
248
+ <li>After WooCommerce Login Form</li>
249
+ <li>Before WooCommerce Registration Form</li>
250
+ <li>Before 'Register button' of WooCommerce Registration Form</li>
251
+ <li>After WooCommerce Registration Form</li>
252
+ <li>Before & After WooCommerce Checkout Form</li>
253
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
254
+ </ul>
255
+ </div> <!-- .mo-openid-cd-pricing-body -->
256
+ </li>
257
+ </ul> <!-- .mo-openid-cd-pricing-wrapper -->
258
+ </li>
259
+
260
+ <li>
261
+ <ul class="mo-openid-cd-pricing-wrapper" id="col3">
262
+ <li data-type="singlesite" class="mosslp is-visible" style="">
263
+ <header class="mo-openid-cd-pricing-header">
264
+ <h2 style="margin-bottom: 10%;">Premium</h2>
265
+ <label for="mo_openid_pre">Select No. of Instances : </label>
266
+ <select name="mo_openid_pre" id="mo_openid_pre">
267
+ <option value="1">1</option>
268
+ <option value="5">5</option>
269
+ <option value="10">10</option>
270
+ </select>
271
+
272
+ <div class="cd-price" style="margin-top: 9%;">
273
+ <span class="mo-openid-cd-currency">$</span>
274
+ <span id="mo_openid_pre1" class="mo-openid-cd-value">49</span> &nbsp;&nbsp;
275
+ <span class="mo-openid-cd-currency">$</span>
276
+ <span id="mo_openid_pre2" class="mo-openid-cd-value"><s>59</s></span>
277
+ </div>
278
+ </header> <!-- .mo-openid-cd-pricing-header -->
279
+ <footer class="mo-openid-cd-pricing-footer">
280
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_premium_plan')" >Upgrade Now</a>
281
+ </footer>
282
+ <div class="mo-openid-cd-pricing-body">
283
+ <ul class="mo-openid-cd-pricing-features">
284
+ <li><b>All Free features +</b></li>
285
+ <li><b>All Standard features +</b></li>
286
+ <li>8 Pre-configured Social Login Apps</li>
287
+ <li>
288
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">37 Custom Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>37 custom apps are <span id="mo_openid_dots3">...</span><span id="mo_openid_more3" style="display:none" ><br>Facebook,Google,Yandex,Paypal,<br>vkontakte,Reddit,twitter,linkedin,<br>amazon,windowslive,yahoo,apple,<br>disqus,instagram,wordpress,pinterest<br>
289
+ spotify,tumblr,twitch,vimeo,<br>kakao,discord,dribble,flickr,<br>line,meetup,naver,snapchat,<br>foursquare,teamsnap,stackexchange,<br> Github,Mailru,Hubspot,livejournal & odnoklassniki.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots3','mo_openid_more3','mo_openid_myBtn3')" id="mo_openid_myBtn3">Read more</button>
290
+ </div>
291
+ </li>
292
+ <li>Apple, Twitch & Discord Social Login</li>
293
+ <!-- <li><span class="mo_openid_tooltip">Custom attribute mapping <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;">Extended attributes returned from social app are mapped to Custom attributes created by admin. These Attributes get stored in user_meta.</span></li>-->
294
+ <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/woocommerce.png" alt="wc" style="width:35px;height:20px;"> Woocommerce Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;"> First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.</span></li>
295
+ <li><span class="mo_openid_tooltip"><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/paidmember.png" alt="pmpro" style="width:35px;height:20px;"> Paid Membership pro Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;">Assign default levels or let users choose to set their levels provided by Paid Membership Pro to the users login using Social Login</span></li>
296
+ <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/buddypress.png" alt="bp" style="width:35px;height:20px;"> BuddyPress Integration<i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</span></li>
297
+ <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/mailchimp_logo.png" alt="mc" style="width:35px;height:20px;"> MailChimp Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.</span></li>
298
+ <li><div class="mo_openid_tooltip" >miniOrange OTP Integration<span style="color: red">*</span> <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">Verify your users via OTP on registration.</span></li>
299
+ <!-- <li><div class="mo_openid_tooltip" >Extended Profile Data <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">Extended profile data feature requires additional configuration. You need to have your own social media app and permissions from social media providers to collect extended user data.</span></li>-->
300
+ <!-- <li><div class="mo_openid_tooltip" >Custom Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> If you have a specific custom requirement in the Social Login Plugin, we can implement and integrate it in the Plugin fo you. This includes all those custom features that come under the scope of Social Login/ Sharing/ Comments and impart additional value to the plugin. These features are chargeable. Please send us a query through the support forum to get in touch with us about your custom requirements.</span></div></li>-->
301
+ <li>Social Login for WooCommerce, BuddyPress, PMPro, MemberPress & Ultimate Member</li>
302
+ <li>Send Account Activation Link to the Users</li>
303
+ <li>General Data Protection Regulation (GDPR)</li>
304
+ <li>Google recaptcha</li>
305
+ <li>Advance Account Linking</li>
306
+ <li>Various Email notification options to users & multiple admins</li>
307
+ <li>Account Linking & Unlinking for Users</li>
308
+ <li>Custom CSS for Social Login buttons</li>
309
+ <li>Domain Restriction</li>
310
+ <li>Force Admin To Login Using Password</li>
311
+ <li>Send username and password reset link</li>
312
+ <li>Disable admin bar</li>
313
+ <!-- <li>Restrict registration from specific pages</li>-->
314
+ <!-- <li>User Moderation</li>-->
315
+ <!-- <li>Advance Account Linking</li>-->
316
+ <!-- <li>General Data Protection Regulation (GDPR)</li>-->
317
+ <!-- <li>BuddyPress Display Options</li>-->
318
+ <!-- <li>Woocommerce Display Options</li>-->
319
+ <!-- <li>Account Linking & Unlinking for Users</li>-->
320
+ <!-- <li>Various Email notification options to Users and Multiple admins</li>-->
321
+ <!-- <li>Welcome Email to end users</li>-->
322
+ <!-- <li>Customizable Email Notification template</li>-->
323
+ <!-- <li>Customizable welcome Email template</li>-->
324
+ <!-- <li>Custom CSS for Social Login buttons</li>-->
325
+ <!-- <li>Social Login Opens in a New Window</li>-->
326
+ <!-- <li>Domain restriction</li>-->
327
+ <!-- <li>Force Admin To Login Using Password</li>-->
328
+ <!-- <li>Send username and password reset link</li>-->
329
+ <!-- <li>Disable admin bar</li>-->
330
+ <!-- <li>Google recaptcha</li>-->
331
+
332
+
333
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
334
+ </ul>
335
+ </div> <!-- .mo-openid-cd-pricing-body -->
336
+ </li>
337
+ <li data-type="multisite" class="momslp is-hidden" style="">
338
+ <a id="popover5" data-toggle="popover">
339
+ <header class="mo-openid-cd-pricing-header">
340
+ <h2 style="margin-bottom: 10%;">BuddyPress Integration Add-On</h2>
341
+ <label for="mo_openid_bpa">Select No. of Instances : </label>
342
+ <select name="mo_openid_bpa" id="mo_openid_bpa">
343
+ <option value="1">1</option>
344
+ <option value="5">5</option>
345
+ <option value="10">10</option>
346
+ </select>
347
+
348
+ <div class="cd-price" style="margin-top: 9%;">
349
+ <span class="mo-openid-cd-currency">$</span>
350
+ <span id="mo_openid_bpa1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
351
+ <span class="mo-openid-cd-currency">$</span>
352
+ <span id="mo_openid_bpa2" class="mo-openid-cd-value"><s>29</s></span>
353
+ </div>
354
+ </header> <!-- .mo-openid-cd-pricing-header -->
355
+ </a>
356
+ <footer class="mo-openid-cd-pricing-footer">
357
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_buddypress_addon')" >Upgrade Now</a>
358
+ </footer>
359
+ <div class="mo-openid-cd-pricing-body">
360
+ <ul class="mo-openid-cd-pricing-features">
361
+ <li><b>All Free features +</b></li>
362
+ <li>Social Login for BuddyPress</li>
363
+ <li><div class="mo_openid_tooltip" >BuddyPress Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</span></li>
364
+ <li>Before BuddyPress Registration Form</li>
365
+ <li>Before BuddyPress Account Details</li>
366
+ <li>After BuddyPress Registration Form</li>
367
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
368
+ </ul>
369
+ </div> <!-- .mo-openid-cd-pricing-body -->
370
+ </li>
371
+ </ul> <!-- .mo-openid-cd-pricing-wrapper -->
372
+ </li>
373
+
374
+ <li class="mo-openid-cd-popular">
375
+ <ul class="mo-openid-cd-pricing-wrapper" id="col4">
376
+ <li data-type="singlesite" class="mosslp is-visible" style="">
377
+ <header class="mo-openid-cd-pricing-header">
378
+ <h2 style="margin-bottom: 10%;">All-In-One</h2>
379
+ <label for="mo_openid_ai">Select No. of Instances : </label>
380
+ <select name="mo_openid_ai" id="mo_openid_ai">
381
+ <option value="1">1</option>
382
+ <option value="5">5</option>
383
+ <option value="10">10</option>
384
+ </select>
385
+
386
+ <div class="cd-price" style="margin-top: 9%;">
387
+ <span class="mo-openid-cd-currency">$</span>
388
+ <span id="mo_openid_ai1" class="mo-openid-cd-value">89</span> &nbsp;&nbsp;
389
+ <span class="mo-openid-cd-currency">$</span>
390
+ <span id="mo_openid_ai2" class="mo-openid-cd-value"><s>99</s></span>
391
+ </div>
392
+ </header> <!-- .mo-openid-cd-pricing-header -->
393
+ <footer class="mo-openid-cd-pricing-footer">
394
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_all_inclusive')" >Upgrade Now</a>
395
+ </footer>
396
+ <div class="mo-openid-cd-pricing-body">
397
+ <ul class="mo-openid-cd-pricing-features ">
398
+ <!--<li>
399
+ <a id="openid_question_login" class="mo_openid_all_feature_panel" style="color: black;" onclick="show_faq_options4(this.id)"><b id="allfeature"><span class="dashicons dashicons-arrow-right"></span>All Free features + </b></a>
400
+ <div class="mo_openid_help_desc" hidden="" id="openid_question_login_desc">
401
+ <h3>All Standard Features +</h3>
402
+ <h3>All Premium Features +</h3>
403
+ <h3>All Sharing Features +</h3>
404
+ <h3>All Popular Integrations</h3>
405
+ <h3><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/woocommerce.png" alt="int" style="width:35px;height:20px;"> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/buddypress.png" alt="int" style="width:35px;height:20px;"><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/mailchimp_logo.png" alt="int" style="width:35px;height:20px;"><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/paidmember.png" style="width:35px;height:20px;"></h3>
406
+ </div>
407
+ </li>-->
408
+ <li><b>All Free features +</b></li>
409
+ <li><b>All Standard features +</b></li>
410
+ <li><b>All Premium features +</b></li>
411
+ <li><b>All Sharing features +</b></li>
412
+ <li>Free Custom Registration Add-On</li>
413
+ <li>8 Pre-configured Social Login Apps</li>
414
+ <li>
415
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">37 Custom Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>33 custom apps are <span id="mo_openid_dots3">...</span><span id="mo_openid_more3" style="display:none" ><br>Facebook,Google,Yandex,Paypal,vkontakte,<br/>Reddit,twitter,linkedin,amazon,windowslive,<br/>yahoo,apple,disqus,instagram,wordpress,pinterest,<br>
416
+ spotify,tumblr,twitch,vimeo,kakao,discord,<br>dribble,flickr,line,meetup,naver,snapchat,foursquare,<br>teamsnap,stackexchange,livejournal & odnoklassniki.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots3','mo_openid_more3','mo_openid_myBtn3')" id="mo_openid_myBtn3">Read more</button>
417
+ </div>
418
+ </li>
419
+ <li>45 Social Sharing Apps</li>
420
+ <li>Basic Data Analytics</li>
421
+ <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/woocommerce.png" alt="wc" style="width:35px;height:20px;"> Woocommerce Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;"> First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.</span></li>
422
+ <li><span class="mo_openid_tooltip"><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/paidmember.png" alt="pmpro" style="width:35px;height:20px;"> Paid Membership pro Integration <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;">Assign default levels or let users choose to set their levels provided by Paid Membership Pro to the users login using Social Login</span></li>
423
+ <li><div class="mo_openid_tooltip" > <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/buddypress.png" alt="bp" style="width:35px;height:20px;"> BuddyPress Integration<i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</span></li>
424
+ <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/mailchimp_logo.png" alt="mc" style="width:35px;height:20px;"> MailChimp Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.</span></li>
425
+ <li>Social Login for WooCommerce, BuddyPress, PMPro, MemberPress & Ultimate Member</li>
426
+ <li>General Data Protection Regulation (GDPR)</li>
427
+ <li>Google recaptcha</li>
428
+ <li>Facebook Like & Recommended</li>
429
+ <li>Twitter Follow Button</li>
430
+ <li>Various Icon Customizations</li>
431
+ <li>Shortcodes to display social icons on<br/>any homepage page, post, popup and php pages.</li>
432
+ <li>Advance Account Activation & Account Linking</li>
433
+ <li>Various Email notification options to users & multiple admins</li>
434
+ <li>Custom CSS for Social Login buttons</li>
435
+ <li>Domain Restriction</li>
436
+ <li>Send Username and Password reset link</li>
437
+ <li>Social Share Count</li>
438
+ <li><span class="mo_openid_tooltip">Custom attribute mapping <i class="mofa mofa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;">Extended attributes returned from social app are mapped to Custom attributes created by admin. These Attributes get stored in user_meta.</span></li>
439
+ <li><div class="mo_openid_tooltip" >miniOrange OTP Integration<span style="color: red">*</span> <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">Verify your users via OTP on registration.</span></li>
440
+ <li><div class="mo_openid_tooltip" >Extended Profile Data <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">Extended profile data feature requires additional configuration. You need to have your own social media app and permissions from social media providers to collect extended user data.</span></li>
441
+ <li><div class="mo_openid_tooltip" >Custom Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> If you have a specific custom requirement in the Social Login Plugin, we can implement and integrate it in the Plugin fo you. This includes all those custom features that come under the scope of Social Login/ Sharing/ Comments and impart additional value to the plugin. These features are chargeable. Please send us a query through the support forum to get in touch with us about your custom requirements.</span></div></li>
442
+ <li> Display Options</li>
443
+ <li>Send account activation link to the user</li>
444
+ <li>Restrict registration from specific pages</li>
445
+ <li>User Moderation</li>
446
+ <li>Advance Account Linking</li>
447
+ <li>Woocommerce, BuddyPress & Ultimate Member Display Options</li>
448
+ <li>Disable admin bar</li>
449
+ <li>Pinterest Pin</li>
450
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
451
+ </ul>
452
+ </div> <!-- .mo-openid-cd-pricing-body -->
453
+ </li>
454
+ <li data-type="multisite" class="momslp is-hidden">
455
+ <header class="mo-openid-cd-pricing-header">
456
+ <h2 style="margin-bottom: 10%;">MailChimp Integration Add-on</h2>
457
+ <label for="mo_openid_mca">Select No. of Instances : </label>
458
+ <select name="mo_openid_mca" id="mo_openid_mca">
459
+ <option value="1">1</option>
460
+ <option value="5">5</option>
461
+ <option value="10">10</option>
462
+ </select>
463
+
464
+ <div class="cd-price" style="margin-top: 9%;">
465
+ <span class="mo-openid-cd-currency">$</span>
466
+ <span id="mo_openid_mca1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
467
+ <span class="mo-openid-cd-currency">$</span>
468
+ <span id="mo_openid_mca2" class="mo-openid-cd-value"><s>29</s></span>
469
+ </div>
470
+ </header> <!-- .mo-openid-cd-pricing-header -->
471
+ <footer class="mo-openid-cd-pricing-footer">
472
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_mailchimp_addon')" >Upgrade Now</a>
473
+ </footer>
474
+ <div class="mo-openid-cd-pricing-body">
475
+ <ul class="mo-openid-cd-pricing-features">
476
+ <li><b>All Free features +</b></li>
477
+ <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/mailchimp_logo.png" style="width:35px;height:20px;"> MailChimp Integration <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.</span></li>
478
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
479
+ </ul>
480
+ </div> <!-- .mo-openid-cd-pricing-body -->
481
+ </li>
482
+
483
+ </ul> <!-- .mo-openid-cd-pricing-wrapper -->
484
+ </li>
485
+
486
+ </ul> <!-- .mo-openid-cd-pricing-list -->
487
  </div>
488
  </div>
489
+ </div>
490
+ <script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
491
 
492
+ //apple plan
493
+ jQuery('#mo_openid_ap').on('change', function () {
494
+ if (this.value === "1") {
495
+ jQuery('#mo_openid_ap1').html("25");
496
+ jQuery('#mo_openid_ap2').html("<s>29</s>");
497
+ } else if (this.value === "5") {
498
+ jQuery('#mo_openid_ap1').html("89");
499
+ jQuery('#mo_openid_ap2').html("<s>145</s>");
500
+ }
501
+ else if (this.value === "10") {
502
+ jQuery('#mo_openid_ap1').html("149");
503
+ jQuery('#mo_openid_ap2').html("<s>290</s>");
504
+ }
505
+ });
506
 
507
+ //custom registration add on
508
+ jQuery('#mo_openid_cra').on('change', function () {
509
+ if (this.value === "1") {
510
+ jQuery('#mo_openid_cra1').html("35");
511
+ jQuery('#mo_openid_cra2').html("<s>39</s>");
512
+ } else if (this.value === "5") {
513
+ jQuery('#mo_openid_cra1').html("119");
514
+ jQuery('#mo_openid_cra2').html("<s>195</s>");
 
515
  }
516
+ else if (this.value === "10") {
517
+ jQuery('#mo_openid_cra1').html("179");
518
+ jQuery('#mo_openid_cra2').html("<s>390</s>");
519
+ }
520
+ });
521
+
522
+ //standard plan
523
+ jQuery('#mo_openid_std').on('change', function () {
524
+ if (this.value === "1") {
525
+ jQuery('#mo_openid_std1').html("29");
526
+ jQuery('#mo_openid_std2').html("<s>39</s>");
527
+ } else if (this.value === "5") {
528
+ jQuery('#mo_openid_std1').html("99");
529
+ jQuery('#mo_openid_std2').html("<s>195</s>");
530
+ }
531
+ else if (this.value === "10") {
532
+ jQuery('#mo_openid_std1').html("169");
533
+ jQuery('#mo_openid_std2').html("<s>390</s>");
534
+ }
535
+ });
536
+
537
+ //woocommerce addon/plan
538
+ jQuery('#mo_openid_wca_in').on('change', function () {
539
+ if (this.value === "1") {
540
+ jQuery('#mo_openid_wca_in1').html("25");
541
+ jQuery('#mo_openid_wca_in2').html("<s>29</s>");
542
+ } else if (this.value === "5") {
543
+ jQuery('#mo_openid_wca_in1').html("89");
544
+ jQuery('#mo_openid_wca_in2').html("<s>149</s>");
545
+ }
546
+ else if (this.value === "10") {
547
+ jQuery('#mo_openid_wca_in1').html("149");
548
+ jQuery('#mo_openid_wca_in2').html("<s>290</s>");
549
+ }
550
+ });
551
+
552
+ //premium plugin
553
+ jQuery('#mo_openid_pre').on('change', function () {
554
+ if (this.value === "1") {
555
+ jQuery('#mo_openid_pre1').html("49");
556
+ jQuery('#mo_openid_pre2').html("<s>59</s>");
557
+ } else if (this.value === "5") {
558
+ jQuery('#mo_openid_pre1').html("149");
559
+ jQuery('#mo_openid_pre2').html("<s>295</s>");
560
+ }
561
+ else if (this.value === "10") {
562
+ jQuery('#mo_openid_pre1').html("199");
563
+ jQuery('#mo_openid_pre2').html("<s>590</s>");
564
+ }
565
+ });
566
+
567
+ //buddypress addon/plan
568
+ jQuery('#mo_openid_bpa').on('change', function () {
569
+ if (this.value === "1") {
570
+ jQuery('#mo_openid_bpa1').html("25");
571
+ jQuery('#mo_openid_bpa2').html("<s>29</s>");
572
+ } else if (this.value === "5") {
573
+ jQuery('#mo_openid_bpa1').html("89");
574
+ jQuery('#mo_openid_bpa2').html("<s>149</s>");
575
+ }
576
+ else if (this.value === "10") {
577
+ jQuery('#mo_openid_bpa1').html("149");
578
+ jQuery('#mo_openid_bpa2').html("<s>290</s>");
579
+ }
580
+ });
581
+
582
+ //all-inclusive plan
583
+ jQuery('#mo_openid_ai').on('change', function () {
584
+ if (this.value === "1") {
585
+ jQuery('#mo_openid_ai1').html("89");
586
+ jQuery('#mo_openid_ai2').html("<s>99</s>");
587
+ } else if (this.value === "5") {
588
+ jQuery('#mo_openid_ai1').html("299");
589
+ jQuery('#mo_openid_ai2').html("<s>495</s>");
590
+ }
591
+ else if (this.value === "10") {
592
+ jQuery('#mo_openid_ai1').html("449");
593
+ jQuery('#mo_openid_ai2').html("<s>990</s>");
594
+ }
595
+ });
596
+
597
+ //mailchimp addon
598
+ jQuery('#mo_openid_mca').on('change', function () {
599
+ if (this.value === "1") {
600
+ jQuery('#mo_openid_mca1').html("25");
601
+ jQuery('#mo_openid_mca2').html("<s>29</s>");
602
+ } else if (this.value === "5") {
603
+ jQuery('#mo_openid_mca1').html("89");
604
+ jQuery('#mo_openid_mca2').html("<s>149</s>");
605
+ }
606
+ else if (this.value === "10") {
607
+ jQuery('#mo_openid_mca1').html("149");
608
+ jQuery('#mo_openid_mca2').html("<s>290</s>");
609
+ }
610
+ });
611
+
612
+ //social sharing plan
613
+ jQuery('#mo_openid_ss').on('change', function () {
614
+ if (this.value === "1") {
615
+ jQuery('#mo_openid_ss1').html("15");
616
+ jQuery('#mo_openid_ss2').html("<s>19</s>");
617
+ } else if (this.value === "5") {
618
+ jQuery('#mo_openid_ss1').html("45");
619
+ jQuery('#mo_openid_ss2').html("<s>95</s>");
620
+ }
621
+ else if (this.value === "10") {
622
+ jQuery('#mo_openid_ss1').html("99");
623
+ jQuery('#mo_openid_ss2').html("<s>190</s>");
624
+ }
625
+ });
626
+
627
+
628
+ var x="<?php echo get_option('mo_openid_extension_tab'); ?>";
629
+ if(x==1){
630
+ document.getElementById('multisite').checked= true;
631
+ document.getElementById('singlesite').checked= false;
632
+ }
633
+ var card1 = document.getElementById('col1');
634
+ var card2= document.getElementById('col2');
635
+ var card3= document.getElementById('col3');
636
+ var card4= document.getElementById('col4');
637
+
638
+ document.getElementById('multisite').addEventListener('click', function() {
639
+ card1.classList.toggle('flipped');
640
+ card2.classList.toggle('flipped');
641
+ card3.classList.toggle('flipped');
642
+ card4.classList.toggle('flipped');
643
+ }, false);
644
+
645
+ document.getElementById('singlesite').addEventListener('click', function() {
646
+ card1.classList.toggle('flipped');
647
+ card2.classList.toggle('flipped');
648
+ card3.classList.toggle('flipped');
649
+ card4.classList.toggle('flipped');
650
+ }, false);
651
+ </script>
652
+ <script>
653
+ jQuery("input[name=sitetype]:radio").change(function() {
654
+
655
+ if (this.value == 'multisite') {
656
+ jQuery('.mosslp').removeClass('is-visible').addClass('is-hidden');
657
+ jQuery('.momslp').addClass('is-visible').removeClass('is-hidden is-selected');
658
+ document.getElementById("list-type").style.width = "100%";
659
+ }
660
+ else{
661
+ document.getElementById("list-type").style.width = "100%";
662
+ jQuery('.mosslp').addClass('is-visible').removeClass('is-hidden');
663
+ jQuery('.momslp').removeClass('is-visible').addClass('is-hidden is-selected');
664
+ }
665
+ });
666
+
667
+ jQuery(document).ready(function($){
668
+
669
+ //document.getElementById("multisite").checked = true;
670
+ if(jQuery('#mo_license_plan_selected').val() == 'multisite'){
671
+ document.getElementById("multisite").checked = true;
672
+ }
673
+ if(document.getElementById("multisite").checked == true){
674
+ jQuery('.mosslp').removeClass('is-visible').addClass('is-hidden');
675
+ jQuery('.momslp').addClass('is-visible').removeClass('is-hidden is-selected');
676
+ }
677
+
678
+ //switch from monthly to annual pricing tables
679
+ bouncy_filter($('.cd-pricing-container'));
680
+
681
+ function bouncy_filter(container) {
682
+ container.each(function(){
683
+ var pricing_table = $(this);
684
+ var filter_list_container = pricing_table.children('.cd-pricing-switcher'),
685
+ filter_radios = filter_list_container.find('input[type="radio"]'),
686
+ pricing_table_wrapper = pricing_table.find('.mo-openid-cd-pricing-wrapper');
687
+
688
+ //store pricing table items
689
+ var table_elements = {};
690
+ filter_radios.each(function(){
691
+ var filter_type = $(this).val();
692
+ table_elements[filter_type] = pricing_table_wrapper.find('li[data-type="'+filter_type+'"]');
693
+ });
694
+
695
+ //detect input change event
696
+ filter_radios.on('change', function(event){
697
+ event.preventDefault();
698
+ //detect which radio input item was checked
699
+ var selected_filter = $(event.target).val();
700
+
701
+ //give higher z-index to the pricing table items selected by the radio input
702
+ show_selected_items(table_elements[selected_filter]);
703
+
704
+ //rotate each mo-openid-cd-pricing-wrapper
705
+ //at the end of the animation hide the not-selected pricing tables and rotate back the .mo-openid-cd-pricing-wrapper
706
+
707
+ if( !Modernizr.cssanimations ) {
708
+ hide_not_selected_items(table_elements, selected_filter);
709
+ pricing_table_wrapper.removeClass('is-switched');
710
+ } else {
711
+ pricing_table_wrapper.addClass('is-switched').eq(0).one('webkitAnimationEnd oanimationend msAnimationEnd animationend', function() {
712
+ hide_not_selected_items(table_elements, selected_filter);
713
+ pricing_table_wrapper.removeClass('is-switched');
714
+ //change rotation direction if .mo-openid-cd-pricing-list has the .cd-bounce-invert class
715
+ if(pricing_table.find('.mo-openid-cd-pricing-list').hasClass('cd-bounce-invert')) pricing_table_wrapper.toggleClass('reverse-animation');
716
+ });
717
  }
718
+ });
719
+ });
720
+ }
721
+ function show_selected_items(selected_elements) {
722
+ selected_elements.addClass('is-selected');
723
+ }
724
+
725
+ function hide_not_selected_items(table_containers, filter) {
726
+ $.each(table_containers, function(key, value){
727
+ if ( key != filter ) {
728
+ $(this).removeClass('is-visible is-selected').addClass('is-hidden');
729
+
730
+ } else {
731
+ $(this).addClass('is-visible').removeClass('is-hidden is-selected');
732
  }
733
  });
734
  }
735
+ });
736
+ </script>
737
+ <br/>&nbsp;<br/>
738
+ <div style="font-size: 15px; padding: 1%">
739
+ <hr><h3>Available Add on</h3>
740
+ <a style="text-decoration: none" target="_blank" href="<?php echo get_site_url() . "/wp-admin/admin.php?page=mo_openid_settings_addOn";?>">Social Login Custom Registration Form Add on</a>
741
+ <button style="margin-left: 2%; margin-top: -.5%" onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')" id="mosocial_purchase_cust_addon" class="button button-primary button-large">Upgrade Now</button>
742
+ <p style="font-size: 15px">Custom Registration Form Add-On helps you to integrate details of new as well as existing users. You can add as many fields as you want including the one which are returned by social sites at time of registration.</p>
743
+ </div>
744
+ <div class="clear">
745
+ <hr>
746
+ <h3>Refund Policy -</h3>
747
+ <p><b>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you
748
+ purchased is not working as advertised and you've attempted to resolve any issues with our support
749
+ team, which couldn't get resolved then we will refund the whole amount within 10 days of the
750
+ purchase. Please email us at <a href="mailto:info@xecurify.com"><i>info@xecurify.com</i></a> for any
751
+ queries regarding the return policy.</b></p>
752
+ <b>Not applicable for -</b>
753
+ <ol>
754
+ <li>Returns that are because of features that are not advertised.</li>
755
+ <li>Returns beyond 10 days.</li>
756
+ </ol>
757
+ </div>
758
+ <script>
759
+ //to set heading name
760
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Licensing Plans');?>');
761
+ function myFunction(dots_id,read_id,btn_id) {
762
+
763
+ var dots = document.getElementById(dots_id);
764
+ var moreText = document.getElementById(read_id);
765
+ var btnText = document.getElementById(btn_id);
766
+
767
+ if (dots.style.display === "none") {
768
+ dots.style.display = "inline";
769
+ btnText.innerHTML = "Read more";
770
+ moreText.style.display = "none";
771
+ } else {
772
+ dots.style.display = "none";
773
+ btnText.innerHTML = "Close";
774
+ moreText.style.display = "inline";
775
+ }
776
+ }
777
+ function mosocial_addonform(planType) {
778
+ jQuery.ajax({
779
+ url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
780
+ method: "POST", //request type,
781
+ dataType: 'json',
782
+ data: {
783
+ action: 'mo_register_customer_toggle_update',
784
+ },
785
+ success: function (result) {
786
+ if(result.status){
787
+ jQuery('#requestOrigin').val(planType);
788
+ jQuery('#mosocial_loginform').submit();
789
+ }
790
+ else
791
+ {
792
+ alert("It seems you are not registered with miniOrange. Please login or register with us to upgrade to premium plan.");
793
+ window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
794
+ }
795
+ }
796
+ });
797
+ }
798
+ </script>
799
 
800
  </td>
801
 
814
  {
815
  ?>
816
  <td style="vertical-align:top;width:100%;">
817
+
 
 
818
  <div style="float: left">
819
  <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
820
  <div>
823
  <tr style="background-color:#F5F5F5;">
824
  <th><br>
825
  <h2>Social Sharing Premium Applications<br/>&nbsp;</h2>
826
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">15</h1>
827
  </th>
828
  </tr>
829
  <tr>
852
  <tr style="background-color:#F5F5F5;">
853
  <th><br>
854
  <h2>Social Sharing Premium +<br/>Social Login Standard</h2>
855
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">49</h1>
856
  </th>
857
  </tr>
858
  <tr>
881
  <tr style="background-color:#F5F5F5;">
882
  <th><br>
883
  <h2>Social Sharing Premium +<br/>Social Login Premium</h2>
884
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" alt="int" style="width:20px;height:20px;">59</h1>
885
  </th>
886
  </tr>
887
  <tr>
911
  <th><br>
912
  <h1>Free</h1>
913
  <h2>(YOU ARE ON THIS PLAN)</h2>
914
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" alt="int" style="width:20px;height:20px;">0</h1>
915
  <h3>(Features and plans)</h3>
916
  </th>
917
  </tr>
923
  <tbody class="mo_align-center mo-fa-icon">
924
  <tr>
925
  <td>
926
+ <div class="mo_openid_tooltip" style="padding-left: 25px;">9 Pre-configured Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Pre-configured apps are already configured by miniOrange. Login flow will go from plugin to miniOrange and then back to plugin. 9 pre-configured apps are<span id="mo_openid_dots">...</span><span id="mo_openid_more" style="display: none"><br> google,vkontakte,twitter,linkedin,<br>amazon,windowslive,salesforce,<br/>yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots','mo_openid_more','mo_openid_myBtn')" id="mo_openid_myBtn">Read more</button</div>
927
  </td>
928
  </tr>
929
  <tr>
930
  <td>
931
+ <div class="mo_openid_tooltip" style="padding-left: 37px;">9 Custom Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>10 custom apps are <span id="mo_openid_dots1">...</span><span id="mo_openid_more1" style="display:none" ><br>Facebook,Google,vkontakte,<br/>twitter,linkedin,<br>amazon,windowslive,yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots1','mo_openid_more1','mo_openid_myBtn1')" id="mo_openid_myBtn1">Read more</button>
932
  </td>
933
  </tr>
934
  <tr>
990
  <h1>Sharing Premium</h1>
991
  <h2>&nbsp;</h2>
992
  <h1>
993
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" alt="int" style="width:20px;height:20px;"><s>29</s>
994
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" alt="int" style="width:20px;height:20px;">19</h1>
995
  </h1>
996
  <h3>(Features and plans)</h3>
997
  </th>
1067
  </th>
1068
  </tr>
1069
  <tr>
1070
+ <th><button style="width: 100%" onclick="mo_openid_support_form('Custom requirement for ')"
1071
+ class="mo-button-plan">Contact us with requirements</button></th>
1072
  </tr>
1073
  </thead>
1074
  <tbody class="mo_align-center mo-fa-icon">
1086
  <br/>&nbsp;<br/>
1087
  <div style="font-size: 15px; padding: 1%">
1088
  <hr><h3>Available Add on</h3>
1089
+ <a style="text-decoration: none" target="_blank" href="<?php echo get_site_url() . "/wp-admin/admin.php?page=mo_openid_settings_addOn";?>">Social Login Custom Registration Form Add on</a>
1090
  <button style="margin-left: 2%; margin-top: -.5%" onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')" id="mosocial_purchase_cust_addon" class="button button-primary button-large">Upgrade Now</button>
1091
  <p style="font-size: 15px">Custom Registration Form Add-On helps you to integrate details of new as well as existing users. You can add as many fields as you want including the one which are returned by social sites at time of registration.</p>
1092
  </div>
1158
  </td>
1159
  <?php
1160
  }