Version Description
*Removed banner *UI Changes
Download this release
Release Info
Developer | unsolvedcontriver |
Plugin | Social Login |
Version | 7.5.8 |
Comparing to | |
See all releases |
Code changes from version 7.5.7 to 7.5.8
- includes/css/mo_openid_style.css +291 -11
- includes/css/mo_sl_banner.css +0 -4
- includes/images/mo-sl-xmas.jpg +0 -0
- includes/images/support.png +0 -0
- includes/js/mo_openid_settings.js +0 -13
- miniorange_openid_sso_settings.php +2 -29
- miniorange_openid_sso_settings_page.php +86 -36
- readme.txt +9 -1
- social_apps/mo_openid_configured_apps_funct.php +12 -0
- view/add_on/mo_discord_add_on.php +3 -4
- view/add_on/mo_hubspot_add_on.php +1 -2
- view/config_apps/mo_openid_config_apps.php +1 -2
- view/customise_social_icons/mo_openid_cust_icons.php +0 -1
- view/disp_options/mo_openid_dispopt.php +0 -1
- view/email_settings/mo_openid_set_email.php +1 -2
- view/integration/mo_openid_integrate.php +6 -24
- view/licensing_plans/mo_openid_lic_plans.php +25 -2
- view/link_social_account/mo_openid_Acclink.php +2 -3
- view/premium_features/mo_openid_prem_feat.php +1 -6
- view/profile/mo_openid_profile.php +0 -1
- view/profile_completion/mo_openid_prof_comp.php +0 -1
- view/recaptcha/mo_openid_recap.php +1 -2
- view/redirect_options/mo_openid_redirect_op.php +0 -1
- view/registration/mo_openid_registration.php +1 -4
- view/shrtco/mo_openid_shrtco.php +0 -1
- view/tlwp/mo_openid_tlwp.php +1 -4
includes/css/mo_openid_style.css
CHANGED
@@ -317,9 +317,9 @@ input[type="button"]:hover {
|
|
317 |
.mo_support-help-button{
|
318 |
padding: 4px 8px;
|
319 |
float: right;
|
320 |
-
background-color: #
|
321 |
color: #fff;
|
322 |
-
border: 1px solid #
|
323 |
border-radius: 4px;
|
324 |
text-shadow: none;
|
325 |
font-size: 16px;
|
@@ -337,15 +337,21 @@ input[type="button"]:hover {
|
|
337 |
|
338 |
.mo-openid-premium{
|
339 |
font-size: 10px;
|
340 |
-
background: #
|
341 |
color: white;
|
342 |
font-weight: 600;
|
343 |
padding: 1px 4px;
|
344 |
border-radius: 4px;
|
345 |
font-family: monospace;
|
346 |
-
position:
|
347 |
-
left: 11
|
348 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
/*premium features*/
|
350 |
.card-content {
|
351 |
border: 5px solid #CCC;
|
@@ -441,7 +447,7 @@ input[type="button"]:hover {
|
|
441 |
|
442 |
/* Style the buttons inside the tab */
|
443 |
.mo_openid_highlight{
|
444 |
-
background-color:#
|
445 |
padding: 0.004%;
|
446 |
}
|
447 |
.mo_openid_note_style{
|
@@ -499,12 +505,26 @@ input[type="button"]:hover {
|
|
499 |
font-size: 14px;
|
500 |
}
|
501 |
.mo_openid_tab a:hover {
|
502 |
-
background-color: #
|
503 |
color: white;
|
|
|
504 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
505 |
.mo_openid_tab a.tablinks_active{
|
506 |
-
background-color:
|
507 |
-
color:
|
508 |
font-weight: bold;
|
509 |
}
|
510 |
|
@@ -772,7 +792,7 @@ a.mo-pugin-add-comp-link-sl {
|
|
772 |
border-radius: 0px 15px 15px 0px;
|
773 |
}
|
774 |
|
775 |
-
.mo_openid_table_layout input[
|
776 |
width: 80%;
|
777 |
}
|
778 |
|
@@ -1633,4 +1653,264 @@ input:checked + .slider:before {
|
|
1633 |
padding: 1px 12px;
|
1634 |
border-left-color: #427e05;
|
1635 |
|
1636 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
.mo_support-help-button{
|
318 |
padding: 4px 8px;
|
319 |
float: right;
|
320 |
+
background-color: #32373c;
|
321 |
color: #fff;
|
322 |
+
border: 1px solid #32373c;
|
323 |
border-radius: 4px;
|
324 |
text-shadow: none;
|
325 |
font-size: 16px;
|
337 |
|
338 |
.mo-openid-premium{
|
339 |
font-size: 10px;
|
340 |
+
background: #236d31;
|
341 |
color: white;
|
342 |
font-weight: 600;
|
343 |
padding: 1px 4px;
|
344 |
border-radius: 4px;
|
345 |
font-family: monospace;
|
346 |
+
position: relative;
|
347 |
+
left: 11%;
|
348 |
}
|
349 |
+
.mo-openid-premium:hover{
|
350 |
+
|
351 |
+
color: white;
|
352 |
+
|
353 |
+
}
|
354 |
+
|
355 |
/*premium features*/
|
356 |
.card-content {
|
357 |
border: 5px solid #CCC;
|
447 |
|
448 |
/* Style the buttons inside the tab */
|
449 |
.mo_openid_highlight{
|
450 |
+
background-color:#32373c;
|
451 |
padding: 0.004%;
|
452 |
}
|
453 |
.mo_openid_note_style{
|
505 |
font-size: 14px;
|
506 |
}
|
507 |
.mo_openid_tab a:hover {
|
508 |
+
background-color: #585858;
|
509 |
color: white;
|
510 |
+
transform: scale(1.1);
|
511 |
}
|
512 |
+
.mo_sl_header_text a:hover {
|
513 |
+
background-color: #585858;
|
514 |
+
color: white;
|
515 |
+
transform: scale(1.5);
|
516 |
+
}
|
517 |
+
|
518 |
+
.mo_sl_header_text {
|
519 |
+
color: white; text-decoration: none;font-size: 15px;
|
520 |
+
font-weight: 5;
|
521 |
+
}
|
522 |
+
.mo_sl_header_text a:hover {
|
523 |
+
color: #ea1414; }
|
524 |
+
|
525 |
.mo_openid_tab a.tablinks_active{
|
526 |
+
background-color: #585858;
|
527 |
+
color: white;
|
528 |
font-weight: bold;
|
529 |
}
|
530 |
|
792 |
border-radius: 0px 15px 15px 0px;
|
793 |
}
|
794 |
|
795 |
+
.mo_openid_table_layout input[type=text] {
|
796 |
width: 80%;
|
797 |
}
|
798 |
|
1653 |
padding: 1px 12px;
|
1654 |
border-left-color: #427e05;
|
1655 |
|
1656 |
+
}
|
1657 |
+
|
1658 |
+
|
1659 |
+
#mo-support-menu {
|
1660 |
+
position: absolute;
|
1661 |
+
left: 168%;
|
1662 |
+
top: 128%;
|
1663 |
+
margin: -75px 0 0 -75px;
|
1664 |
+
list-style: none;
|
1665 |
+
font-size: 200%;
|
1666 |
+
}
|
1667 |
+
|
1668 |
+
.mo-support-menu-button {
|
1669 |
+
opacity: 0;
|
1670 |
+
z-index: -1;
|
1671 |
+
}
|
1672 |
+
|
1673 |
+
.mo-support-menu-button {
|
1674 |
+
width: 70px;
|
1675 |
+
height: 70px;
|
1676 |
+
position: absolute;
|
1677 |
+
left: 190%;
|
1678 |
+
top: 140%;
|
1679 |
+
margin: 82px 0 0 140px;
|
1680 |
+
border-radius: 50%;
|
1681 |
+
box-shadow: 0 5px 10px black;
|
1682 |
+
background-size: 100%;
|
1683 |
+
overflow: hidden;
|
1684 |
+
text-decoration: none;
|
1685 |
+
background-color:#0002ab;
|
1686 |
+
}
|
1687 |
+
|
1688 |
+
#mo-support-menu:not(:target)>a:first-of-type,
|
1689 |
+
#mo-support-menu:target>a:last-of-type {
|
1690 |
+
opacity: 1;
|
1691 |
+
z-index: 1;
|
1692 |
+
}
|
1693 |
+
|
1694 |
+
#mo-support-menu:not(:target)>.icon-plus:before,
|
1695 |
+
#mo-support-menu:target>.icon-minus:before {
|
1696 |
+
opacity: 1;
|
1697 |
+
}
|
1698 |
+
|
1699 |
+
.mo-support-menu-item {
|
1700 |
+
width: 50px;
|
1701 |
+
height: 50px;
|
1702 |
+
position: absolute;
|
1703 |
+
line-height: 5px;
|
1704 |
+
left: 170%;
|
1705 |
+
top: 128%;
|
1706 |
+
margin: 88px 0 0 150px;
|
1707 |
+
border-radius: 50%;
|
1708 |
+
background-color:#0002ab;
|
1709 |
+
transform: translate(0px, 0px);
|
1710 |
+
transition: transform 500ms;
|
1711 |
+
z-index: -2;
|
1712 |
+
transition: .5s;
|
1713 |
+
box-shadow: 0 5px 10px black;
|
1714 |
+
}
|
1715 |
+
|
1716 |
+
.mo-support-menu-item:hover{
|
1717 |
+
opacity: 0.9;
|
1718 |
+
box-shadow: 0 10px 20px black;
|
1719 |
+
}
|
1720 |
+
|
1721 |
+
|
1722 |
+
.mo-support-menu-item a {
|
1723 |
+
color: #fff;
|
1724 |
+
position: relative;
|
1725 |
+
top: 30%;
|
1726 |
+
left: 0;
|
1727 |
+
text-decoration: none;
|
1728 |
+
}
|
1729 |
+
|
1730 |
+
#mo-support-menu:target>.mo-support-menu-item:nth-child(6) {
|
1731 |
+
transform: rotate(-100deg) translateY(-115px) rotate(100deg);
|
1732 |
+
transition-delay: 0s;
|
1733 |
+
}
|
1734 |
+
|
1735 |
+
#mo-support-menu:target>.mo-support-menu-item:nth-child(5) {
|
1736 |
+
transform: rotate(20deg) translateY(-120px) rotate(-20deg);
|
1737 |
+
transition-delay: 0.1s;
|
1738 |
+
}
|
1739 |
+
|
1740 |
+
#mo-support-menu:target>.mo-support-menu-item:nth-child(3) {
|
1741 |
+
transform: rotate(-20deg) translateY(-120px) rotate(20deg);
|
1742 |
+
transition-delay: 0.2s;
|
1743 |
+
}
|
1744 |
+
|
1745 |
+
#mo-support-menu:target>.mo-support-menu-item:nth-child(4) {
|
1746 |
+
transform: rotate(-60deg) translateY(-115px) rotate(60deg);
|
1747 |
+
transition-delay: 0.3s;
|
1748 |
+
}
|
1749 |
+
|
1750 |
+
.mo-sl-help-button-text {
|
1751 |
+
cursor: pointer;
|
1752 |
+
font-size: 16px;
|
1753 |
+
background-color: #002ab6;
|
1754 |
+
box-shadow: 1px 1px 10px 3px #8e8e9c;
|
1755 |
+
bottom: 6%;
|
1756 |
+
right: 11%;
|
1757 |
+
position: fixed;
|
1758 |
+
font-weight: 700;
|
1759 |
+
color: #fff;
|
1760 |
+
border-top-left-radius: 15px;
|
1761 |
+
border-top-right-radius: 15px;
|
1762 |
+
border-bottom-right-radius: 15px;
|
1763 |
+
border-bottom-left-radius: 15px;
|
1764 |
+
border: 3px solid #002ab6;
|
1765 |
+
padding: 9px;
|
1766 |
+
transition: all 3s ease-in-out;
|
1767 |
+
}
|
1768 |
+
@media (min-width:1750px){.mo-sl-help-button-text{right:6%!important}}
|
1769 |
+
@media (min-width:1600px) and (max-width:1750px){.mo-sl-help-button-text{right:9%!important}}
|
1770 |
+
@media (min-width:1400px) and (max-width:1600px){.mo-sl-help-button-text{right:10%!important}}
|
1771 |
+
@media (min-width:1300px) and (max-width:1400px){.mo-sl-help-button-text{right:11%!important}}
|
1772 |
+
@media (min-width:1100px) and (max-width:1300px){.mo-sl-help-button-text{right:12%!important}}
|
1773 |
+
@media (min-width:900px) and (max-width:1100px){.mo-sl-help-button-text{right:13%!important}}
|
1774 |
+
@media (min-width:800px) and (max-width:900px){.mo-sl-help-button-text{right:14%!important}}
|
1775 |
+
@media (min-width:700px) and (max-width:800px){.mo-sl-help-button-text{right:15%!important}}
|
1776 |
+
.mo-sl-help-button-text:before {
|
1777 |
+
content: "";
|
1778 |
+
width: 0;
|
1779 |
+
height: 0;
|
1780 |
+
position: absolute;
|
1781 |
+
border-top: 15px solid transparent;
|
1782 |
+
border-left: 30px solid #002ab6;
|
1783 |
+
border-bottom: 15px solid transparent;
|
1784 |
+
right: -32px;
|
1785 |
+
top: 16px;
|
1786 |
+
}
|
1787 |
+
|
1788 |
+
.tttooltip {
|
1789 |
+
position: relative;
|
1790 |
+
display: inline-block;
|
1791 |
+
}
|
1792 |
+
|
1793 |
+
.tttooltip .tttooltiptext {
|
1794 |
+
display: none;
|
1795 |
+
width: 120px;
|
1796 |
+
background-color: #002ab6;
|
1797 |
+
color: #fff;
|
1798 |
+
text-align: center;
|
1799 |
+
border-radius: 6px;
|
1800 |
+
padding: 20px 5px;
|
1801 |
+
margin-left: -170px;
|
1802 |
+
margin-top: -55px;
|
1803 |
+
font-size: 18px;
|
1804 |
+
/* Position the tooltip */
|
1805 |
+
box-shadow: 1px 1px 10px 3px #8e8e9c;
|
1806 |
+
position: absolute;
|
1807 |
+
z-index: 1;
|
1808 |
+
}
|
1809 |
+
|
1810 |
+
.tttooltip:hover .tttooltiptext {
|
1811 |
+
display: block;
|
1812 |
+
margin-left: -160px;
|
1813 |
+
margin-top: -55px;
|
1814 |
+
}
|
1815 |
+
|
1816 |
+
a.mo_sl_effect-shine:hover {
|
1817 |
+
-webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
|
1818 |
+
-webkit-mask-size: 200%;
|
1819 |
+
animation: shine 2s infinite;
|
1820 |
+
}
|
1821 |
+
|
1822 |
+
@-webkit-keyframes shine {
|
1823 |
+
from {
|
1824 |
+
-webkit-mask-position: 150%;
|
1825 |
+
}
|
1826 |
+
|
1827 |
+
to {
|
1828 |
+
-webkit-mask-position: -50%;
|
1829 |
+
}
|
1830 |
+
}
|
1831 |
+
|
1832 |
+
a.mo_sl_effect-shining {
|
1833 |
+
-webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(255, 255, 255, 0.6) 70%);
|
1834 |
+
-webkit-mask-size: 200%;
|
1835 |
+
animation: shining 2s infinite;
|
1836 |
+
}
|
1837 |
+
|
1838 |
+
@-webkit-keyframes shining {
|
1839 |
+
from {
|
1840 |
+
-webkit-mask-position: 150%;
|
1841 |
+
}
|
1842 |
+
|
1843 |
+
to {
|
1844 |
+
-webkit-mask-position: -50%;
|
1845 |
+
}
|
1846 |
+
}
|
1847 |
+
|
1848 |
+
|
1849 |
+
.mo_sl_expand{
|
1850 |
+
position:relative;
|
1851 |
+
text-decoration:none;
|
1852 |
+
display:inline-block;
|
1853 |
+
}
|
1854 |
+
|
1855 |
+
.mo_sl_expand:after {
|
1856 |
+
display:block;
|
1857 |
+
content: '';
|
1858 |
+
border-bottom: solid 3px #ffffff;
|
1859 |
+
transform: scaleX(0);
|
1860 |
+
transition: transform 250ms ease-in-out;
|
1861 |
+
transform-origin:100% 50%;
|
1862 |
+
}
|
1863 |
+
|
1864 |
+
.mo_sl_expand:hover:after {
|
1865 |
+
transform: scaleX(1);
|
1866 |
+
transform-origin:0 50%;
|
1867 |
+
}
|
1868 |
+
|
1869 |
+
/* Animation property */
|
1870 |
+
|
1871 |
+
/* Keyframes */
|
1872 |
+
@keyframes mo_wiggle {
|
1873 |
+
0%, 7% {
|
1874 |
+
transform: rotateZ(0);
|
1875 |
+
}
|
1876 |
+
15% {
|
1877 |
+
transform: rotateZ(-15deg);
|
1878 |
+
}
|
1879 |
+
20% {
|
1880 |
+
transform: rotateZ(10deg);
|
1881 |
+
}
|
1882 |
+
25% {
|
1883 |
+
transform: rotateZ(-10deg);
|
1884 |
+
}
|
1885 |
+
30% {
|
1886 |
+
transform: rotateZ(6deg);
|
1887 |
+
}
|
1888 |
+
35% {
|
1889 |
+
transform: rotateZ(-4deg);
|
1890 |
+
}
|
1891 |
+
40%, 100% {
|
1892 |
+
transform: rotateZ(0);
|
1893 |
+
}
|
1894 |
+
}
|
1895 |
+
|
1896 |
+
|
1897 |
+
.mo_button_black {
|
1898 |
+
position: absolute;
|
1899 |
+
background-color: white;
|
1900 |
+
color: black;
|
1901 |
+
border: 2px solid #e7e7e7;
|
1902 |
+
border-radius: 5px;
|
1903 |
+
padding: 5px;
|
1904 |
+
padding-left: 19px;
|
1905 |
+
padding-right: 19px;
|
1906 |
+
border-top: 6px solid #db4437;
|
1907 |
+
animation: mo_wiggle 2s linear infinite;
|
1908 |
+
transform-origin: 50% 5em;
|
1909 |
+
margin-top: -14px;
|
1910 |
+
}
|
1911 |
+
|
1912 |
+
.mo_button_black:hover {
|
1913 |
+
background-color: #e7e7e7;
|
1914 |
+
color: white;
|
1915 |
+
}
|
1916 |
+
|
includes/css/mo_sl_banner.css
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
/*eoss start*/
|
2 |
-
.mo_sl_notice{background-image:url(../images/mo-sl-xmas.jpg)!important;color:#fff}
|
3 |
-
.mo_sl_notice_url{color:#ff0!important}
|
4 |
-
/*eoss end*/
|
|
|
|
|
|
|
|
includes/images/mo-sl-xmas.jpg
DELETED
Binary file
|
includes/images/support.png
ADDED
Binary file
|
includes/js/mo_openid_settings.js
CHANGED
@@ -94,17 +94,4 @@ jQuery(document).ready(function () {
|
|
94 |
jQuery("#openid_question_plugin").click(function () {
|
95 |
jQuery("#openid_question_plugin_desc").slideToggle(400);
|
96 |
});
|
97 |
-
jQuery(document.body).on("click",".mo_sl_notice .notice-dismiss",function(o){
|
98 |
-
jQuery.ajax({
|
99 |
-
url:"admin-ajax.php",
|
100 |
-
type:"POST",
|
101 |
-
data:{
|
102 |
-
action:"mo_sl_dismiss_notice"
|
103 |
-
},
|
104 |
-
crossDomain:!0,
|
105 |
-
dataType:"json",
|
106 |
-
success:function(){return!0},
|
107 |
-
error:function(){return!1}
|
108 |
-
})
|
109 |
-
});
|
110 |
});
|
94 |
jQuery("#openid_question_plugin").click(function () {
|
95 |
jQuery("#openid_question_plugin_desc").slideToggle(400);
|
96 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
});
|
miniorange_openid_sso_settings.php
CHANGED
@@ -4,15 +4,14 @@
|
|
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.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.5.
|
13 |
define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
|
14 |
define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
|
15 |
-
define('MO_SL_CSS_URL', plugin_dir_url(__FILE__) . 'includes/css/mo_sl_banner.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION);
|
16 |
require('miniorange_openid_sso_settings_page.php');
|
17 |
require('view/config_apps/mo_openid_config_apps_funct.php');
|
18 |
require('view/profile_completion/mo_openid_prof_comp_funct.php');
|
@@ -64,10 +63,6 @@ class miniorange_openid_sso_settings
|
|
64 |
add_action( 'admin_footer', array( $this,'mo_openid_feedback_request' ));
|
65 |
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
|
66 |
|
67 |
-
//eoss
|
68 |
-
add_action( 'admin_notices', array( $this, 'mo_social_showNotice' ) );
|
69 |
-
add_action( 'wp_ajax_mo_sl_dismiss_notice', array( $this, 'mo_sl_dismiss_notice' ) );
|
70 |
-
|
71 |
//for addon
|
72 |
add_action('wp_ajax_verify_addon_licience', 'mo_openid_show_verify_addon_license_page');
|
73 |
|
@@ -269,7 +264,6 @@ Thank you.';
|
|
269 |
|
270 |
function mo_openid_plugin_settings_script() {
|
271 |
if(strpos(get_current_screen()->id, 'miniorange-social-login-sharing_page') === false) return;
|
272 |
-
wp_enqueue_style( 'mo_openid_banner_admin_settings_style' , MO_SL_CSS_URL);
|
273 |
wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
|
274 |
wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
|
275 |
wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
|
@@ -309,27 +303,6 @@ Thank you.';
|
|
309 |
add_option('mo_openid_amazon_enable','1');
|
310 |
}
|
311 |
|
312 |
-
function mo_social_showNotice(){
|
313 |
-
wp_enqueue_style( 'mo_openid_banner_admin_settings_style' , MO_SL_CSS_URL);
|
314 |
-
$licensePageUrl = admin_url().'admin.php?page=mo_openid_general_settings&tab=licensing_plans';
|
315 |
-
$current_url = admin_url().'admin.php?'.$_SERVER['QUERY_STRING'];
|
316 |
-
$isNoticeClosed = get_option("mo_social_hide_notice");
|
317 |
-
$rest_url=admin_url().'admin.php?page=mo_openid_general_settings&tab=rest_api_page';
|
318 |
-
if($isNoticeClosed !== "mo_social_hide_notice"){
|
319 |
-
if($current_url !== $licensePageUrl){
|
320 |
-
echo '<div class="mo_sl_notice updated notice is-dismissible" style="padding-bottom: 7px;background-color:#e0eeee99;">
|
321 |
-
<p style ="font-size:18px;"><img src="'.plugin_dir_url(__FILE__).'includes/images/miniOrange_logo.png'.'" class="show_mo_icon_form" style="width: 3%;margin-bottom: -1%;"> <b>Thank you for choosing miniOrange Social Login.<br><br> END OF YEAR SALE!<br>GET UPTO 70% OFF ON ALL PREMIUM PLANS & ADDON\'S. <a class="mo_sl_notice_url" href='.$licensePageUrl.'>CHECK OUR SALE OFFERS HERE</a></b></p>
|
322 |
-
<p style="font-size: initial"><b>Rest API / Mobile SSO:</b> Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fab fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fab fa-apple"><b> iOS</b></i> app? <a class="mo_sl_notice_url" style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade or <a class="mo_sl_notice_url" style="cursor: pointer" href='.$rest_url.'>Click here</a> for more details.</p>
|
323 |
-
<p style="font-size: initial"><b>Discord WordPress Integration:</b> Check out our <a class="mo_sl_notice_url" style="cursor: pointer" href="https://plugins.miniorange.com/discord-wordpress-add-on" target="_blank">Discord Add-on</a> if you\'re using Discord to manage your users for Membership, Role Mapping, Avatar Mapping, and more.</p>
|
324 |
-
</div>';
|
325 |
-
}
|
326 |
-
}
|
327 |
-
}
|
328 |
-
|
329 |
-
function mo_sl_dismiss_notice(){
|
330 |
-
update_option("mo_social_hide_notice","mo_social_hide_notice");
|
331 |
-
}
|
332 |
-
|
333 |
function new_miniorange_openid_menu() {
|
334 |
//Add miniOrange plugin to the menu
|
335 |
$page = add_menu_page( 'MO OpenID Settings ' . __( 'Configure OpenID', 'mo_openid_settings' ), 'miniOrange Social Login, Sharing', 'administrator',
|
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.5.8
|
8 |
* Author: miniOrange
|
9 |
* License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
*/
|
11 |
|
12 |
+
define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.8');
|
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');
|
16 |
require('view/config_apps/mo_openid_config_apps_funct.php');
|
17 |
require('view/profile_completion/mo_openid_prof_comp_funct.php');
|
63 |
add_action( 'admin_footer', array( $this,'mo_openid_feedback_request' ));
|
64 |
add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
|
65 |
|
|
|
|
|
|
|
|
|
66 |
//for addon
|
67 |
add_action('wp_ajax_verify_addon_licience', 'mo_openid_show_verify_addon_license_page');
|
68 |
|
264 |
|
265 |
function mo_openid_plugin_settings_script() {
|
266 |
if(strpos(get_current_screen()->id, 'miniorange-social-login-sharing_page') === false) return;
|
|
|
267 |
wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
|
268 |
wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
|
269 |
wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
|
303 |
add_option('mo_openid_amazon_enable','1');
|
304 |
}
|
305 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
function new_miniorange_openid_menu() {
|
307 |
//Add miniOrange plugin to the menu
|
308 |
$page = add_menu_page( 'MO OpenID Settings ' . __( 'Configure OpenID', 'mo_openid_settings' ), 'miniOrange Social Login, Sharing', 'administrator',
|
miniorange_openid_sso_settings_page.php
CHANGED
@@ -100,39 +100,19 @@ function mo_register_openid() {
|
|
100 |
$active_tab='integration';
|
101 |
}
|
102 |
?>
|
103 |
-
|
104 |
-
<table>
|
105 |
-
<tr>
|
106 |
-
<td><img id="logo" style="margin-top: 25px" src="<?php echo plugin_dir_url(__FILE__);?>includes/images/logo.png"></td>
|
107 |
-
<td> <a style="text-decoration:none" href="https://plugins.miniorange.com/" target="_blank"><h1 style="color: #c9302c"><?php echo mo_sl('miniOrange Social Login');?> </h1></a></td>
|
108 |
-
<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>
|
109 |
-
<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>
|
110 |
-
<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>
|
111 |
-
<td> <a id="doc_tab" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white;" class="button"<?php echo $active_tab == 'doc_tab' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'doc_tab'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Documentation");?></a></td>
|
112 |
-
<td> <a id="rest_api_page" style="margin-top: 23px;background: #3c434ad1;border-color: #0867B2;color: lightgreen;" class="button"<?php echo $active_tab == 'rest_api_page' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'rest_api_page'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Rest API");?></a></td>
|
113 |
-
<td> <a id="reports" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'reports' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'reports'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Reports");?></a></td>
|
114 |
-
<td>
|
115 |
-
<a id="mo_openid_rateus_modal" onclick="asdf(this)" style="margin-top: 23px" class="button" ><?php echo mo_sl('Rate us');?></a>
|
116 |
-
</td>
|
117 |
-
<td>
|
118 |
-
<button id="mo_openid_restart_gtour" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white; float: right" class="button" onclick="window.location= base_url+'/wp-admin/admin.php?page=mo_openid_general_settings&tab=config_apps';restart_tour()" value="Restart Tour"><?php echo mo_sl('Restart Tour');?></button>
|
119 |
-
</td>
|
120 |
-
<td><a id="mo_openid_setup_plugin" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white; float: right" class="button" href="https://youtu.be/ln17jan6t1Y" target="_blank"><?php echo mo_sl('Setup Plugin');?></a></td>
|
121 |
-
</tr>
|
122 |
-
</table>
|
123 |
-
</div>
|
124 |
<?php
|
125 |
include('view/rate_us/rate_us.php');
|
126 |
|
127 |
?>
|
128 |
-
<div style="width: 100
|
129 |
-
<div id="mo_openid_menu_height" style="width: 15%; float: left; background-color: #32373C;
|
130 |
<div style="margin-top: 9px;border-bottom: 0px;text-align:center;">
|
131 |
-
<div><img style="float:left;margin-left:8px;padding-top: 5px;" src="<?php echo plugins_url( 'includes/images/logo.png"', __FILE__ ); ?>"></div>
|
132 |
<br>
|
133 |
-
<span style="font-size:
|
134 |
</div>
|
135 |
-
<div class="mo_openid_tab" style="width:100%;
|
136 |
<a id="config_apps" class="tablinks<?php if($active_tab=="config_apps") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'config_apps'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Configure Apps');?></a>
|
137 |
<a id="customise_social_icons" class="tablinks<?php if($active_tab=="customise_social_icons") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'customise_social_icons'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Customise Social Login Icons')?></a>
|
138 |
<a id="disp_opt" class="tablinks<?php if($active_tab=="disp_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'disp_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Display Options');?></a>
|
@@ -144,7 +124,7 @@ function mo_register_openid() {
|
|
144 |
?>
|
145 |
<a id="tlwp" class="tablinks<?php if($active_tab=="tlwp") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'tlwp'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Create Temporary Login');?></a>
|
146 |
<?php } ?>
|
147 |
-
<a id="integration" style="color:
|
148 |
<a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
|
149 |
<a id="email_settings" class="tablinks<?php if($active_tab=="email_settings") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'email_settings'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Email Notification');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
150 |
<a id="recaptcha" class="tablinks<?php if($active_tab=="recaptcha") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'recaptcha'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Recaptcha / GDPR');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
@@ -152,7 +132,7 @@ function mo_register_openid() {
|
|
152 |
<a id="link_social_acc" class="tablinks<?php if($active_tab=="link_social_acc") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'link_social_acc'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Link Social Account & Domain Restriction');?><?php if($disable){?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span><?php } ?></a>
|
153 |
<a id="shortcodes" class="tablinks<?php if($active_tab=="shortcodes") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'shortcodes'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Shortcodes');?></a>
|
154 |
<a id="add_on" class="tablinks<?php if($active_tab=="add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a>
|
155 |
-
<a id="rest_api_page" style="color:
|
156 |
<a id="profile" class="tablinks<?php if($active_tab=="profile") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('User Profile');?></a>
|
157 |
</div>
|
158 |
</div>
|
@@ -160,8 +140,26 @@ function mo_register_openid() {
|
|
160 |
body {font-family: Arial, Helvetica, sans-serif;}
|
161 |
</style>
|
162 |
<div id="mo_openid_settings" style="width: 85%; float: right;">
|
163 |
-
<div style="background-color: #FFFFFF;width:
|
164 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
<div id="mo_openid_msgs"></div>
|
166 |
<table style="width:100%;">
|
167 |
<?php
|
@@ -245,11 +243,60 @@ function mo_register_openid() {
|
|
245 |
</div>
|
246 |
</div>
|
247 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
|
248 |
-
<input type="button" id="mymo_btn" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP'); ?>">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
</div>
|
|
|
250 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
251 |
<script>
|
|
|
252 |
jQuery("#contact_us_phone").intlTelInput();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
function mo_openid_support_form(abc) {
|
254 |
|
255 |
var def = "It seems that you have shown interest. Please elaborate more on your requirements.";
|
@@ -268,13 +315,13 @@ function mo_register_openid() {
|
|
268 |
document.getElementById("feature_plan").value= abc;
|
269 |
span.onclick = function () {
|
270 |
modal.style.display = "none";
|
271 |
-
mo_btn.style.display = "
|
272 |
}
|
273 |
window.onclick = function (event) {
|
274 |
if (event.target == modal) {
|
275 |
modal.style.display = "none";
|
276 |
modales.style.display = "none";
|
277 |
-
mo_btn.style.display = "
|
278 |
}
|
279 |
}
|
280 |
}
|
@@ -588,8 +635,11 @@ function mo_register_sharing_openid()
|
|
588 |
</div>
|
589 |
<br><br>
|
590 |
</li>
|
|
|
|
|
591 |
</div>
|
592 |
|
|
|
593 |
<?php
|
594 |
}
|
595 |
else
|
@@ -713,7 +763,7 @@ function mo_register_sharing_openid()
|
|
713 |
</div>
|
714 |
<script type="text/javascript" src="<?php echo plugins_url('/includes/js/mo_openid_phone.js', __FILE__); ?>"></script>
|
715 |
|
716 |
-
<input type="button" id="mymo_btn" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP')
|
717 |
|
718 |
</div>
|
719 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
@@ -900,7 +950,7 @@ function mo_comment_openid() {
|
|
900 |
</div></div>
|
901 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
|
902 |
|
903 |
-
<input type="button" id="mymo_btn" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP')
|
904 |
|
905 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
906 |
<script>
|
@@ -1215,7 +1265,7 @@ else
|
|
1215 |
</div>
|
1216 |
</div>
|
1217 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
|
1218 |
-
<input type="button" id="mymo_btn" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP')
|
1219 |
</div>
|
1220 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
1221 |
<script>
|
100 |
$active_tab='integration';
|
101 |
}
|
102 |
?>
|
103 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
<?php
|
105 |
include('view/rate_us/rate_us.php');
|
106 |
|
107 |
?>
|
108 |
+
<div style="width: 100%;margin-top: 13px;" id="mo-main-content-div">
|
109 |
+
<div id="mo_openid_menu_height" style="width: 15%; float: left; background-color: #32373C; ">
|
110 |
<div style="margin-top: 9px;border-bottom: 0px;text-align:center;">
|
111 |
+
<div><img style="float:left;margin-left:8px;padding-top: 5px; height: 52px;width: 54px;padding-bottom: 23px;" src="<?php echo plugins_url( 'includes/images/logo.png"', __FILE__ ); ?>"></div>
|
112 |
<br>
|
113 |
+
<span style="font-size:18px;color:white;float:left; font-weight: 900;"><?php echo mo_sl('miniOrange');?></span>
|
114 |
</div>
|
115 |
+
<div class="mo_openid_tab" style="width:100%;">
|
116 |
<a id="config_apps" class="tablinks<?php if($active_tab=="config_apps") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'config_apps'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Configure Apps');?></a>
|
117 |
<a id="customise_social_icons" class="tablinks<?php if($active_tab=="customise_social_icons") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'customise_social_icons'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Customise Social Login Icons')?></a>
|
118 |
<a id="disp_opt" class="tablinks<?php if($active_tab=="disp_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'disp_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Display Options');?></a>
|
124 |
?>
|
125 |
<a id="tlwp" class="tablinks<?php if($active_tab=="tlwp") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'tlwp'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Create Temporary Login');?></a>
|
126 |
<?php } ?>
|
127 |
+
<a id="integration" style="color: white;" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
128 |
<a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
|
129 |
<a id="email_settings" class="tablinks<?php if($active_tab=="email_settings") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'email_settings'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Email Notification');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
130 |
<a id="recaptcha" class="tablinks<?php if($active_tab=="recaptcha") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'recaptcha'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Recaptcha / GDPR');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
|
132 |
<a id="link_social_acc" class="tablinks<?php if($active_tab=="link_social_acc") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'link_social_acc'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Link Social Account & Domain Restriction');?><?php if($disable){?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span><?php } ?></a>
|
133 |
<a id="shortcodes" class="tablinks<?php if($active_tab=="shortcodes") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'shortcodes'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Shortcodes');?></a>
|
134 |
<a id="add_on" class="tablinks<?php if($active_tab=="add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a>
|
135 |
+
<a id="rest_api_page" style="color: white;" class="tablinks<?php if($active_tab=="rest_api_page") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'rest_api_page'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Rest API / Mobile SSO');?></a>
|
136 |
<a id="profile" class="tablinks<?php if($active_tab=="profile") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('User Profile');?></a>
|
137 |
</div>
|
138 |
</div>
|
140 |
body {font-family: Arial, Helvetica, sans-serif;}
|
141 |
</style>
|
142 |
<div id="mo_openid_settings" style="width: 85%; float: right;">
|
143 |
+
<div style="background-color: #FFFFFF;width: 100%;">
|
144 |
+
<div id="mo_openid_page_heading" class="mo_openid_highlight" style="color: white;margin: 0;padding-bottom: 32px;padding-top: 12px;"> 
|
145 |
+
<div align="center">
|
146 |
+
<table>
|
147 |
+
<tr>
|
148 |
+
<td><div>
|
149 |
+
<a id="addon" class="mo_sl_header_text mo_sl_effect-shine mo_sl_expand" style="color: white; text-decoration: none; " <?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>
|
150 |
+
<a id="pricing" class="mo_sl_header_text mo_sl_effect-shine mo_sl_expand" style="color: white; text-decoration: none; "<?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>
|
151 |
+
<a id="doc_tab" class="mo_sl_header_text mo_sl_effect-shine mo_sl_expand" style="color: white; text-decoration: none; "<?php echo $active_tab == 'doc_tab' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'doc_tab'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Documentation");?></a>
|
152 |
+
<b><a id="rest_api_page" class="mo_sl_header_text mo_sl_effect-shining mo_sl_expand" style="color: white; text-decoration: none; "<?php echo $active_tab == 'rest_api_page' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'rest_api_page'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Rest API");?></a></b>
|
153 |
+
<a id="reports" class="mo_sl_header_text mo_sl_effect-shine mo_sl_expand" style="color: white; text-decoration: none; "<?php echo $active_tab == 'reports' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'reports'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Reports");?></a>
|
154 |
+
<a id="mo_openid_rateus_modal" class="mo_sl_header_text mo_sl_effect-shine mo_sl_expand" onclick="asdf(this)" style="color: white; text-decoration: none; " ><?php echo mo_sl('Rate us');?></a>
|
155 |
+
<a id="sale" class="mo_sl_header_text mo_button_black " style="color: black; text-decoration: none; " href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" ><?php echo mo_sl('Sale');?></a>
|
156 |
+
<!-- <a id="mo_openid_restart_gtour" class="header_text" style="color: white; text-decoration: none; " onclick="window.location= base_url+'/wp-admin/admin.php?page=mo_openid_general_settings&tab=config_apps';restart_tour()" value="Restart Tour">--><?php //echo mo_sl('Restart Tour');?><!--</a>-->
|
157 |
+
</div>
|
158 |
+
</td>
|
159 |
+
</tr>
|
160 |
+
</table>
|
161 |
+
</div>
|
162 |
+
</div>
|
163 |
<div id="mo_openid_msgs"></div>
|
164 |
<table style="width:100%;">
|
165 |
<?php
|
243 |
</div>
|
244 |
</div>
|
245 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
|
246 |
+
<input type="button" id="mymo_btn" style="display: none" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP'); ?>">
|
247 |
+
<div style="position: fixed; bottom: 97px; right: 166px;" >
|
248 |
+
|
249 |
+
<ul id="mo-support-menu">
|
250 |
+
<a class="mo-support-menu-button" href="#mo-support-menu" onclick="hide_txt()" title="Need Help ?"> <img style=" height: 72px; width: 72px;" src="<?php echo plugins_url( 'includes/images/support.png"', __FILE__ ); ?>"> </a>
|
251 |
+
<a class="mo-support-menu-button" href="#0" onclick="un_hide_txt()" ><img style=" height: 72px; width: 72px;" src="<?php echo plugins_url( 'includes/images/support.png"', __FILE__ ); ?>"></a>
|
252 |
+
|
253 |
+
<li class="mo-support-menu-item ">
|
254 |
+
<div class="tttooltip" >
|
255 |
+
<a href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank">
|
256 |
+
<span > <i class="fab fa-wpforms" style="margin-left: 12px;margin-top: 12px;"></i></span>
|
257 |
+
</a>
|
258 |
+
<span class="tttooltiptext">Forum</span>
|
259 |
+
</div>
|
260 |
+
</li>
|
261 |
+
<li class="mo-support-menu-item mo-setup-video">
|
262 |
+
<div class="tttooltip" >
|
263 |
+
<a href="https://youtu.be/ln17jan6t1Y" target="_blank">
|
264 |
+
<span ><i class="fa fa-cogs" style="margin-left: 10px; margin-top: 12px;"></i></span>
|
265 |
+
</a>
|
266 |
+
<span class="tttooltiptext">Setup Video</span></div>
|
267 |
+
</li>
|
268 |
+
|
269 |
+
<li class="mo-support-menu-item">
|
270 |
+
<div class="tttooltip" >
|
271 |
+
<a href="#mo-support-menu" onclick="window.location= base_url+'/wp-admin/admin.php?page=mo_openid_general_settings&tab=config_apps';restart_tour()">
|
272 |
+
<span ><i class="fa fa-history" style="margin-left: 12px; margin-top: 12px;"></i></span>
|
273 |
+
</a>
|
274 |
+
<span class="tttooltiptext">Restart Tour</span></div>
|
275 |
+
</li>
|
276 |
+
<li class="mo-support-menu-item">
|
277 |
+
<div class="tttooltip" >
|
278 |
+
<a href="#mo-support-menu" onclick="mo_openid_support_form('')">
|
279 |
+
<span ><i class="fa fa-user" style="margin-left: 14px; margin-top: 12px;"></i></span>
|
280 |
+
</a>
|
281 |
+
<span class="tttooltiptext">Mail Us</span></div>
|
282 |
+
</li>
|
283 |
+
</ul>
|
284 |
</div>
|
285 |
+
<button type="button" id="need-help-txt" onclick="hide_txt()" class="mo-sl-help-button-text" style="">Hello there!<br>Need Help? Drop us an Email</button>
|
286 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
287 |
<script>
|
288 |
+
|
289 |
jQuery("#contact_us_phone").intlTelInput();
|
290 |
+
function hide_txt(){
|
291 |
+
|
292 |
+
var mod = document.getElementById("need-help-txt");
|
293 |
+
mod.style.display = "none";
|
294 |
+
}
|
295 |
+
function un_hide_txt(){
|
296 |
+
|
297 |
+
var mod = document.getElementById("need-help-txt");
|
298 |
+
mod.style.display = "block";
|
299 |
+
}
|
300 |
function mo_openid_support_form(abc) {
|
301 |
|
302 |
var def = "It seems that you have shown interest. Please elaborate more on your requirements.";
|
315 |
document.getElementById("feature_plan").value= abc;
|
316 |
span.onclick = function () {
|
317 |
modal.style.display = "none";
|
318 |
+
mo_btn.style.display = "none";
|
319 |
}
|
320 |
window.onclick = function (event) {
|
321 |
if (event.target == modal) {
|
322 |
modal.style.display = "none";
|
323 |
modales.style.display = "none";
|
324 |
+
mo_btn.style.display = "none";
|
325 |
}
|
326 |
}
|
327 |
}
|
635 |
</div>
|
636 |
<br><br>
|
637 |
</li>
|
638 |
+
|
639 |
+
|
640 |
</div>
|
641 |
|
642 |
+
|
643 |
<?php
|
644 |
}
|
645 |
else
|
763 |
</div>
|
764 |
<script type="text/javascript" src="<?php echo plugins_url('/includes/js/mo_openid_phone.js', __FILE__); ?>"></script>
|
765 |
|
766 |
+
<input type="button" id="mymo_btn" style="display: none" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP'); ?>">
|
767 |
|
768 |
</div>
|
769 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
950 |
</div></div>
|
951 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
|
952 |
|
953 |
+
<input type="button" id="mymo_btn" style="display: none" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP'); ?>">
|
954 |
|
955 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
956 |
<script>
|
1265 |
</div>
|
1266 |
</div>
|
1267 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/mo_openid_phone.js',__FILE__); ?>"></script>
|
1268 |
+
<input type="button" id="mymo_btn" style="display: none" class="mo_support-help-button" data-show="false" onclick="mo_openid_support_form('')" value="<?php echo mo_sl('NEED HELP'); ?>">
|
1269 |
</div>
|
1270 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
1271 |
<script>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
|
|
4 |
Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
|
5 |
Requires at least: 2.0.2
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 7.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
|
@@ -276,6 +276,10 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
276 |
16. Social Sharing icons without background.
|
277 |
|
278 |
==Changelog==
|
|
|
|
|
|
|
|
|
279 |
= 7.5.7 =
|
280 |
* Resolved the banner issue.
|
281 |
* Fixed Discord addon verification issue.
|
@@ -974,6 +978,10 @@ SECURITY FIXES
|
|
974 |
* First version of Social Login, Social Sharing plugin.
|
975 |
|
976 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
977 |
= 7.5.7 =
|
978 |
* Resolved the banner issue.
|
979 |
* Fixed Discord addon verification issue.
|
4 |
Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
|
5 |
Requires at least: 2.0.2
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 7.5.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
|
276 |
16. Social Sharing icons without background.
|
277 |
|
278 |
==Changelog==
|
279 |
+
= 7.5.8 =
|
280 |
+
*Removed banner
|
281 |
+
*UI Changes
|
282 |
+
|
283 |
= 7.5.7 =
|
284 |
* Resolved the banner issue.
|
285 |
* Fixed Discord addon verification issue.
|
978 |
* First version of Social Login, Social Sharing plugin.
|
979 |
|
980 |
== Upgrade Notice ==
|
981 |
+
= 7.5.8 =
|
982 |
+
*Removed banner
|
983 |
+
*UI Changes
|
984 |
+
|
985 |
= 7.5.7 =
|
986 |
* Resolved the banner issue.
|
987 |
* Fixed Discord addon verification issue.
|
social_apps/mo_openid_configured_apps_funct.php
CHANGED
@@ -251,6 +251,18 @@ function mo_openid_start_session_login($session_values){
|
|
251 |
function mo_openid_login_user($linked_email_id,$user_id,$user,$user_picture,$user_mod_msg){
|
252 |
if (get_option('moopenid_social_login_avatar') && isset($user_picture))
|
253 |
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
//comment by shresth as no add_action is found against this hook
|
255 |
//do_action('miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
256 |
do_action('wp_login', $user->user_login, $user);
|
251 |
function mo_openid_login_user($linked_email_id,$user_id,$user,$user_picture,$user_mod_msg){
|
252 |
if (get_option('moopenid_social_login_avatar') && isset($user_picture))
|
253 |
update_user_meta($user_id, 'moopenid_user_avatar', $user_picture);
|
254 |
+
|
255 |
+
include_once(ABSPATH.'wp-admin/includes/plugin.php');
|
256 |
+
if (is_plugin_active('miniorange-login-openid-discord-addon/mo_openid_discord_integration.php')) {
|
257 |
+
mo_discord_login($user_id);
|
258 |
+
$discord_status= get_user_meta($user_id,'discord_status');
|
259 |
+
if($discord_status[0]== "false"){
|
260 |
+
?>
|
261 |
+
<p class="mo_openid_note_style">You do not have access to this page kindly connect with discord server.</p>
|
262 |
+
<?php
|
263 |
+
exit;
|
264 |
+
}
|
265 |
+
}
|
266 |
//comment by shresth as no add_action is found against this hook
|
267 |
//do_action('miniorange_collect_attributes_for_authenticated_user', $user, mo_openid_get_redirect_url());
|
268 |
do_action('wp_login', $user->user_login, $user);
|
view/add_on/mo_discord_add_on.php
CHANGED
@@ -31,8 +31,8 @@ function mo_openid_discord_add_on_display()
|
|
31 |
|
32 |
<div class="mo_openid_note_style " style="border-left: 6px solid #2196F3;border-radius: 5px" >
|
33 |
<ul style="list-style: initial;margin-left: 2%; font-weight: bold;" >
|
34 |
-
<li>We provide <b>DISCORD ROLE MAPPING</b> based on
|
35 |
-
<li>Automate the process of adding users to the discord server when
|
36 |
<li>Kick the user from the discord server when the user is deleted from the WordPress website.</li>
|
37 |
<li>Kick the user when the subscription/membership ended.</li>
|
38 |
<li>Other Use Case as per customers requirement. For more details <a style="cursor: pointer" onclick="mo_openid_support_form()">Contact Us</a></li>
|
@@ -95,8 +95,7 @@ function mo_openid_discord_add_on_display()
|
|
95 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
96 |
<script type="text/javascript">
|
97 |
//to set heading name
|
98 |
-
|
99 |
-
jQuery(document).ready(function($){
|
100 |
jQuery("#mosocial_purchase_dis_verify").on("click",function(){
|
101 |
mo_verify_add_on_license_key();
|
102 |
});
|
31 |
|
32 |
<div class="mo_openid_note_style " style="border-left: 6px solid #2196F3;border-radius: 5px" >
|
33 |
<ul style="list-style: initial;margin-left: 2%; font-weight: bold;" >
|
34 |
+
<li>We provide <b>DISCORD ROLE MAPPING</b> based on WordPress role and membership/subscription of the end-user. </li>
|
35 |
+
<li>Automate the process of adding users to the discord server when users register to the website.</li>
|
36 |
<li>Kick the user from the discord server when the user is deleted from the WordPress website.</li>
|
37 |
<li>Kick the user when the subscription/membership ended.</li>
|
38 |
<li>Other Use Case as per customers requirement. For more details <a style="cursor: pointer" onclick="mo_openid_support_form()">Contact Us</a></li>
|
95 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
96 |
<script type="text/javascript">
|
97 |
//to set heading name
|
98 |
+
jQuery(document).ready(function($){
|
|
|
99 |
jQuery("#mosocial_purchase_dis_verify").on("click",function(){
|
100 |
mo_verify_add_on_license_key();
|
101 |
});
|
view/add_on/mo_hubspot_add_on.php
CHANGED
@@ -117,8 +117,7 @@ function mo_openid_hubspot_add_on_display()
|
|
117 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
118 |
<script type="text/javascript">
|
119 |
//to set heading name
|
120 |
-
|
121 |
-
jQuery(document).ready(function($){
|
122 |
jQuery("#mosocial_purchase_hub_verify").on("click",function(){
|
123 |
jQuery.ajax({
|
124 |
url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
|
117 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
118 |
<script type="text/javascript">
|
119 |
//to set heading name
|
120 |
+
jQuery(document).ready(function($){
|
|
|
121 |
jQuery("#mosocial_purchase_hub_verify").on("click",function(){
|
122 |
jQuery.ajax({
|
123 |
url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
|
view/config_apps/mo_openid_config_apps.php
CHANGED
@@ -42,7 +42,7 @@ function mo_openid_show_apps()
|
|
42 |
<div class="mo-openid-sort-apps-div mo-openid-hover-div-sett" data-provider="<?php echo $apps?>" id="<?php echo $apps?>" style="opacity: <?php if(get_option('mo_openid_'.$apps.'_enable')) echo '1'; else echo '0.6'?>">
|
43 |
<div class="mo-openid-sort-apps-i-div mo-openid-sort-apps-open-settings-div" title="Configure Settings" style="cursor: pointer; background-color:<?php echo $blcolor?>;">
|
44 |
<div style="position: absolute;right: 5px;top: 5px;<?php if($checked!='checked') { ?> display: none; <?php } ?>" id="mo_openid_<?php echo $apps?>_active_div">
|
45 |
-
<span style="font-size: 10px;background: #
|
46 |
</div>
|
47 |
<i class="fab fa-<?php echo $icons;?>" style="font-size: 60px;color:white"></i>
|
48 |
|
@@ -134,7 +134,6 @@ function mo_openid_show_apps()
|
|
134 |
|
135 |
<script>
|
136 |
//to set heading name
|
137 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Configure Applications'); ?>');
|
138 |
//to enable apps from outside toggle
|
139 |
function enable_default_app(app_name) {
|
140 |
var a = document.getElementById('mo_apps_'.concat(app_name));
|
42 |
<div class="mo-openid-sort-apps-div mo-openid-hover-div-sett" data-provider="<?php echo $apps?>" id="<?php echo $apps?>" style="opacity: <?php if(get_option('mo_openid_'.$apps.'_enable')) echo '1'; else echo '0.6'?>">
|
43 |
<div class="mo-openid-sort-apps-i-div mo-openid-sort-apps-open-settings-div" title="Configure Settings" style="cursor: pointer; background-color:<?php echo $blcolor?>;">
|
44 |
<div style="position: absolute;right: 5px;top: 5px;<?php if($checked!='checked') { ?> display: none; <?php } ?>" id="mo_openid_<?php echo $apps?>_active_div">
|
45 |
+
<span style="font-size: 10px;background: #236d31;color: white;font-weight: 600;padding: 1px 4px;border-radius: 4px;font-family: monospace;"><?php echo mo_sl('Active');?></span>
|
46 |
</div>
|
47 |
<i class="fab fa-<?php echo $icons;?>" style="font-size: 60px;color:white"></i>
|
48 |
|
134 |
|
135 |
<script>
|
136 |
//to set heading name
|
|
|
137 |
//to enable apps from outside toggle
|
138 |
function enable_default_app(app_name) {
|
139 |
var a = document.getElementById('mo_apps_'.concat(app_name));
|
view/customise_social_icons/mo_openid_cust_icons.php
CHANGED
@@ -301,7 +301,6 @@ function mo_openid_customise_social_icons(){
|
|
301 |
<script>
|
302 |
|
303 |
//to set heading name
|
304 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Customize Login Icons"); ?>');
|
305 |
|
306 |
function mo_hover_on(x,y,z){
|
307 |
var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
|
301 |
<script>
|
302 |
|
303 |
//to set heading name
|
|
|
304 |
|
305 |
function mo_hover_on(x,y,z){
|
306 |
var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
|
view/disp_options/mo_openid_dispopt.php
CHANGED
@@ -186,7 +186,6 @@ function mo_openid_disp_opt()
|
|
186 |
</form>
|
187 |
<script>
|
188 |
//to set heading name
|
189 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Display Options"); ?>');
|
190 |
function show_license_options1(click_id){
|
191 |
var span = jQuery('#' + click_id).find('span').attr('class');
|
192 |
if (span.includes('dashicons-arrow-right')){
|
186 |
</form>
|
187 |
<script>
|
188 |
//to set heading name
|
|
|
189 |
function show_license_options1(click_id){
|
190 |
var span = jQuery('#' + click_id).find('span').attr('class');
|
191 |
if (span.includes('dashicons-arrow-right')){
|
view/email_settings/mo_openid_set_email.php
CHANGED
@@ -71,9 +71,8 @@ function mo_openid_email_notification(){
|
|
71 |
</div>
|
72 |
<script>
|
73 |
//to set heading name
|
74 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Email Notification');?>');
|
75 |
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
|
76 |
-
|
77 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
78 |
//win_height=win_height+18;
|
79 |
jQuery(".mo_container").css({height:win_height});
|
71 |
</div>
|
72 |
<script>
|
73 |
//to set heading name
|
|
|
74 |
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
|
75 |
+
|
76 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
77 |
//win_height=win_height+18;
|
78 |
jQuery(".mo_container").css({height:win_height});
|
view/integration/mo_openid_integrate.php
CHANGED
@@ -165,10 +165,7 @@ You\'ll also have the option to sync Woocommerce checkout fields, which will pre
|
|
165 |
|
166 |
</div>
|
167 |
<td>
|
168 |
-
|
169 |
-
//to set heading name
|
170 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Woocommerce Integration'); ?>');
|
171 |
-
</script>
|
172 |
</td>
|
173 |
<?php
|
174 |
}
|
@@ -323,20 +320,14 @@ The BuddyPress integration with social login can be done using any Social login
|
|
323 |
</div>
|
324 |
</form>
|
325 |
<td>
|
326 |
-
|
327 |
-
//to set heading name
|
328 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('BuddyPress Integration'); ?>');
|
329 |
-
</script>
|
330 |
</td>
|
331 |
<?php
|
332 |
}
|
333 |
|
334 |
else if( $active_tab_int == 'integration-mailchimp' ) {
|
335 |
?>
|
336 |
-
|
337 |
-
//to set heading name
|
338 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Mailchimp Integration");?>');
|
339 |
-
</script>
|
340 |
<div class="mo_openid_table_layout" id="customization_ins" style="display: block">
|
341 |
<table>
|
342 |
<tr>
|
@@ -388,10 +379,7 @@ The BuddyPress integration with social login can be done using any Social login
|
|
388 |
|
389 |
else if( $active_tab_int == 'integration-customregistration' ) {
|
390 |
?>
|
391 |
-
|
392 |
-
//to set heading name
|
393 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Custom Registration Add On");?>');
|
394 |
-
</script>
|
395 |
<div class="mo_openid_table_layout" id="customization_ins" style="display: block">
|
396 |
<table>
|
397 |
<tr>
|
@@ -629,10 +617,7 @@ You\'ll also have the choice of assigning a default membership level to users or
|
|
629 |
</div>
|
630 |
</form>
|
631 |
<td>
|
632 |
-
|
633 |
-
//to set heading name
|
634 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('MemberPress Integration'); ?>');
|
635 |
-
</script>
|
636 |
</td>
|
637 |
<?php
|
638 |
}
|
@@ -723,10 +708,7 @@ You\'ll also have the choice of assigning a default membership level to users or
|
|
723 |
</div>
|
724 |
</form>
|
725 |
<td>
|
726 |
-
|
727 |
-
//to set heading name
|
728 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Paid Membership Pro Integration'); ?>');
|
729 |
-
</script>
|
730 |
</td>
|
731 |
<?php
|
732 |
}
|
165 |
|
166 |
</div>
|
167 |
<td>
|
168 |
+
|
|
|
|
|
|
|
169 |
</td>
|
170 |
<?php
|
171 |
}
|
320 |
</div>
|
321 |
</form>
|
322 |
<td>
|
323 |
+
|
|
|
|
|
|
|
324 |
</td>
|
325 |
<?php
|
326 |
}
|
327 |
|
328 |
else if( $active_tab_int == 'integration-mailchimp' ) {
|
329 |
?>
|
330 |
+
|
|
|
|
|
|
|
331 |
<div class="mo_openid_table_layout" id="customization_ins" style="display: block">
|
332 |
<table>
|
333 |
<tr>
|
379 |
|
380 |
else if( $active_tab_int == 'integration-customregistration' ) {
|
381 |
?>
|
382 |
+
|
|
|
|
|
|
|
383 |
<div class="mo_openid_table_layout" id="customization_ins" style="display: block">
|
384 |
<table>
|
385 |
<tr>
|
617 |
</div>
|
618 |
</form>
|
619 |
<td>
|
620 |
+
|
|
|
|
|
|
|
621 |
</td>
|
622 |
<?php
|
623 |
}
|
708 |
</div>
|
709 |
</form>
|
710 |
<td>
|
711 |
+
|
|
|
|
|
|
|
712 |
</td>
|
713 |
<?php
|
714 |
}
|
view/licensing_plans/mo_openid_lic_plans.php
CHANGED
@@ -4,8 +4,32 @@ function mo_openid_licensing_plans()
|
|
4 |
{
|
5 |
wp_enqueue_style( 'mo_openid_plugins_page_style', plugin_dir_url(dirname(dirname(__FILE__))).'includes/css/mo_openid_licensing_plan.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION );
|
6 |
?>
|
|
|
|
|
7 |
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
<input type="hidden" id="mo_license_plan_selected" value="" />
|
11 |
<div class="mo-openid-tab-content">
|
@@ -1644,7 +1668,6 @@ function mo_openid_licensing_plans()
|
|
1644 |
</script>
|
1645 |
<script>
|
1646 |
//to set heading name
|
1647 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Licensing Plans');?>');
|
1648 |
|
1649 |
|
1650 |
function myFunction(dots_id,read_id,btn_id) {
|
4 |
{
|
5 |
wp_enqueue_style( 'mo_openid_plugins_page_style', plugin_dir_url(dirname(dirname(__FILE__))).'includes/css/mo_openid_licensing_plan.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION );
|
6 |
?>
|
7 |
+
<style>
|
8 |
+
@import url(https://fonts.googleapis.com/css?family=Inconsolata);
|
9 |
|
10 |
+
|
11 |
+
@-webkit-keyframes salePulse {
|
12 |
+
from { background-color: #a00; }
|
13 |
+
50% { background-color: #c00; -webkit-transform:scale(1.1); }
|
14 |
+
to { background-color: #a00; }
|
15 |
+
}
|
16 |
+
|
17 |
+
mark.sale {
|
18 |
+
background:#c00; /* fallback for non-webkit browsers */
|
19 |
+
display:block; /* or it wont work */
|
20 |
+
width:320px;
|
21 |
+
text-align:center;
|
22 |
+
line-height:3em;
|
23 |
+
border-radius:0.1em;
|
24 |
+
color:#fff;
|
25 |
+
font-weight:bold;
|
26 |
+
-webkit-animation-name:salePulse;
|
27 |
+
-webkit-animation-duration:1s;
|
28 |
+
-webkit-animation-iteration-count:infinite;
|
29 |
+
margin: 0 auto;
|
30 |
+
}
|
31 |
+
</style>
|
32 |
+
<mark class="sale" style="font-family: 'Inconsolata', san-srif ;">Minimum 50% off on all Social Login Products</mark>
|
33 |
|
34 |
<input type="hidden" id="mo_license_plan_selected" value="" />
|
35 |
<div class="mo-openid-tab-content">
|
1668 |
</script>
|
1669 |
<script>
|
1670 |
//to set heading name
|
|
|
1671 |
|
1672 |
|
1673 |
function myFunction(dots_id,read_id,btn_id) {
|
view/link_social_account/mo_openid_Acclink.php
CHANGED
@@ -69,7 +69,6 @@ function mo_openid_linkSocialAcc(){
|
|
69 |
</div>
|
70 |
<script>
|
71 |
//to set heading name
|
72 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Link Social Account');?>');
|
73 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
74 |
//win_height=win_height+18;
|
75 |
jQuery(".mo_container").css({height:win_height});
|
@@ -83,11 +82,11 @@ function mo_openid_linkSocialAcc(){
|
|
83 |
success: function (result) {
|
84 |
if (result.status=='true') {
|
85 |
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
|
86 |
-
|
87 |
}
|
88 |
else {
|
89 |
var temp = jQuery("");
|
90 |
-
jQuery("#mo_openid_page_heading").append(temp);
|
91 |
}
|
92 |
}
|
93 |
});
|
69 |
</div>
|
70 |
<script>
|
71 |
//to set heading name
|
|
|
72 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
73 |
//win_height=win_height+18;
|
74 |
jQuery(".mo_container").css({height:win_height});
|
82 |
success: function (result) {
|
83 |
if (result.status=='true') {
|
84 |
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
|
85 |
+
// jQuery("#mo_openid_page_heading").append(temp);
|
86 |
}
|
87 |
else {
|
88 |
var temp = jQuery("");
|
89 |
+
//jQuery("#mo_openid_page_heading").append(temp);
|
90 |
}
|
91 |
}
|
92 |
});
|
view/premium_features/mo_openid_prem_feat.php
CHANGED
@@ -154,11 +154,6 @@ function mo_openid_premium_features(){
|
|
154 |
</div>
|
155 |
</div>
|
156 |
|
157 |
-
|
158 |
-
//to set heading name
|
159 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Premium Features'); ?>');
|
160 |
-
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\"><?php echo mo_sl('PRO');?></a>");
|
161 |
-
jQuery("#mo_openid_page_heading").append(temp);
|
162 |
-
</script>
|
163 |
<?php
|
164 |
}
|
154 |
</div>
|
155 |
</div>
|
156 |
|
157 |
+
|
|
|
|
|
|
|
|
|
|
|
158 |
<?php
|
159 |
}
|
view/profile/mo_openid_profile.php
CHANGED
@@ -88,7 +88,6 @@ function mo_openid_profile(){
|
|
88 |
?>
|
89 |
<script>
|
90 |
//to set heading name
|
91 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('User Profile Details');?>');
|
92 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
93 |
//win_height=win_height+18;
|
94 |
jQuery(".mo_container").css({height:win_height});
|
88 |
?>
|
89 |
<script>
|
90 |
//to set heading name
|
|
|
91 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
92 |
//win_height=win_height+18;
|
93 |
jQuery(".mo_container").css({height:win_height});
|
view/profile_completion/mo_openid_prof_comp.php
CHANGED
@@ -62,7 +62,6 @@ function mo_openid_profile_completion(){
|
|
62 |
</div>
|
63 |
<script>
|
64 |
//to set heading name
|
65 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Profile Completion');?>');
|
66 |
//var win_height = jQuery('#mo_openid_menu_height').height();
|
67 |
//win_height=win_height+18;
|
68 |
//jQuery(".mo_container").css({height:win_height});
|
62 |
</div>
|
63 |
<script>
|
64 |
//to set heading name
|
|
|
65 |
//var win_height = jQuery('#mo_openid_menu_height').height();
|
66 |
//win_height=win_height+18;
|
67 |
//jQuery(".mo_container").css({height:win_height});
|
view/recaptcha/mo_openid_recap.php
CHANGED
@@ -75,9 +75,8 @@ function mo_openid_configure_recaptcha(){
|
|
75 |
</table>
|
76 |
<script>
|
77 |
//to set heading name
|
78 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Configure reCAPTCHA Settings');?>');
|
79 |
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
|
80 |
-
|
81 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
82 |
//win_height=win_height+18;
|
83 |
jQuery(".mo_container").css({height:win_height});
|
75 |
</table>
|
76 |
<script>
|
77 |
//to set heading name
|
|
|
78 |
var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
|
79 |
+
|
80 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
81 |
//win_height=win_height+18;
|
82 |
jQuery(".mo_container").css({height:win_height});
|
view/redirect_options/mo_openid_redirect_op.php
CHANGED
@@ -185,7 +185,6 @@ function mo_openid_redirect_opt()
|
|
185 |
</div>
|
186 |
<script>
|
187 |
//to set heading name
|
188 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Redirection Options');?>');
|
189 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
190 |
//win_height=win_height+18;
|
191 |
jQuery(".mo_container").css({height:win_height});
|
185 |
</div>
|
186 |
<script>
|
187 |
//to set heading name
|
|
|
188 |
var win_height = jQuery('#mo_openid_menu_height').height();
|
189 |
//win_height=win_height+18;
|
190 |
jQuery(".mo_container").css({height:win_height});
|
view/registration/mo_openid_registration.php
CHANGED
@@ -95,9 +95,6 @@ function mo_openid_registration()
|
|
95 |
<br/><b><input type="submit" name="submit" value="<?php echo mo_sl('Save');?>" style="width:150px;text-shadow: none;background-color:#0867b2;color:white;box-shadow:none;" class="button button-primary button-large" /></b>
|
96 |
</div>
|
97 |
</form>
|
98 |
-
|
99 |
-
//to set heading name
|
100 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Registration Options');?>');
|
101 |
-
</script>
|
102 |
<?php
|
103 |
}
|
95 |
<br/><b><input type="submit" name="submit" value="<?php echo mo_sl('Save');?>" style="width:150px;text-shadow: none;background-color:#0867b2;color:white;box-shadow:none;" class="button button-primary button-large" /></b>
|
96 |
</div>
|
97 |
</form>
|
98 |
+
|
|
|
|
|
|
|
99 |
<?php
|
100 |
}
|
view/shrtco/mo_openid_shrtco.php
CHANGED
@@ -189,7 +189,6 @@ function mo_openid_login_shortcodes(){
|
|
189 |
</div>
|
190 |
<script>
|
191 |
//to set heading name
|
192 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Social Login Shortcodes');?>');
|
193 |
function copyToClipboard(copyButton, element, copyelement) {
|
194 |
var temp = jQuery("<input>");
|
195 |
jQuery("body").append(temp);
|
189 |
</div>
|
190 |
<script>
|
191 |
//to set heading name
|
|
|
192 |
function copyToClipboard(copyButton, element, copyelement) {
|
193 |
var temp = jQuery("<input>");
|
194 |
jQuery("body").append(temp);
|
view/tlwp/mo_openid_tlwp.php
CHANGED
@@ -102,10 +102,7 @@ function mo_openid_tlwp(){
|
|
102 |
}
|
103 |
}
|
104 |
?>
|
105 |
-
|
106 |
-
//to set heading name
|
107 |
-
jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Create a new Temporary Login"); ?>');
|
108 |
-
</script>
|
109 |
<div class="mo_openid_table_layout">
|
110 |
<form method="post" >
|
111 |
<br><br>
|
102 |
}
|
103 |
}
|
104 |
?>
|
105 |
+
|
|
|
|
|
|
|
106 |
<div class="mo_openid_table_layout">
|
107 |
<form method="post" >
|
108 |
<br><br>
|