Version Description
- Updated jQuery deprecated function.
- Minor UI changes.
- Added MemberPress display options in premium version.
- Added GitHub, HubSpot, mail.ru in premium version.
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Social Login |
Version | 7.4.1 |
Comparing to | |
See all releases |
Code changes from version 7.4.0 to 7.4.1
- includes/css/mo_openid_style.css +11 -19
- includes/images/icons/github.png +0 -0
- includes/images/icons/hubspot.png +0 -0
- includes/images/icons/mailru.png +0 -0
- includes/js/settings_popup.js +1 -1
- includes/js/social_login.js +1 -1
- miniorange_openid_sso_settings.php +5 -5
- miniorange_openid_sso_settings_page.php +4 -6
- mo-openid-social-login-functions.php +0 -2
- mo_openid_feedback_form.php +95 -91
- readme.txt +30 -4
- social_apps/github.php +7 -0
- social_apps/hubspot.php +7 -0
- social_apps/mailru.php +7 -0
- social_apps/windowslive.php +1 -1
- uninstall.php +0 -2
- view/config_apps/mo_openid_config_apps.php +4 -4
- view/disp_options/mo_openid_dispopt.php +15 -0
- view/faq/mo_openid_faq.php +67 -77
- view/licensing_plans/mo_openid_lic_plans.php +11 -11
- view/rate_us/rate_us.php +3 -3
- view/soc_sha/share_cnt/mo_openid_shrcnt.php +1 -1
- view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php +0 -1
includes/css/mo_openid_style.css
CHANGED
@@ -286,7 +286,7 @@ input[type="button"]:hover {
|
|
286 |
background: #0867b2;
|
287 |
}
|
288 |
|
289 |
-
.
|
290 |
/* remove inline-block whitespace */
|
291 |
font-size: 0;
|
292 |
/* flip the order so we can use the + and ~ combinators */
|
@@ -294,13 +294,13 @@ input[type="button"]:hover {
|
|
294 |
direction: rtl;
|
295 |
/* the hidden clearer */
|
296 |
}
|
297 |
-
.
|
298 |
font-size: 1rem;
|
299 |
}
|
300 |
-
.
|
301 |
display: none;
|
302 |
}
|
303 |
-
.
|
304 |
/* only enough room for the star */
|
305 |
display: inline-block;
|
306 |
overflow: hidden;
|
@@ -309,7 +309,7 @@ input[type="button"]:hover {
|
|
309 |
white-space: nowrap;
|
310 |
cursor: pointer;
|
311 |
}
|
312 |
-
.
|
313 |
display: inline-block;
|
314 |
font-family: Helvetica, arial, sans-serif;
|
315 |
text-indent: -9999px;
|
@@ -317,25 +317,25 @@ input[type="button"]:hover {
|
|
317 |
content: "☆";
|
318 |
color: #888;
|
319 |
}
|
320 |
-
.
|
321 |
content: "★";
|
322 |
color: #ecf00e;
|
323 |
text-shadow: 0 0 1px #333;
|
324 |
}
|
325 |
-
.
|
326 |
text-indent: -9999px;
|
327 |
width: .5em;
|
328 |
margin-left: -.5em;
|
329 |
}
|
330 |
-
.
|
331 |
width: .5em;
|
332 |
}
|
333 |
-
.
|
334 |
content: "☆";
|
335 |
color: #888;
|
336 |
text-shadow: none;
|
337 |
}
|
338 |
-
.
|
339 |
content: "★";
|
340 |
color: #e52;
|
341 |
text-shadow: 0 0 1px #333;
|
@@ -353,17 +353,10 @@ input[type="button"]:hover {
|
|
353 |
margin: 1em auto;
|
354 |
}
|
355 |
|
356 |
-
#log {
|
357 |
-
margin: 1em auto;
|
358 |
-
width: 5em;
|
359 |
-
text-align: center;
|
360 |
-
background: transparent;
|
361 |
-
}
|
362 |
-
|
363 |
#wpfooter {
|
364 |
position: unset;
|
365 |
}
|
366 |
-
.
|
367 |
|
368 |
padding: 4px 8px;
|
369 |
float: right;
|
@@ -525,7 +518,6 @@ input[type="button"]:hover {
|
|
525 |
margin-top: -5px;
|
526 |
border-width: 5px;
|
527 |
border-style: solid;
|
528 |
-
border-color: transparent black transparent transparent;
|
529 |
}
|
530 |
.mo_openid_tooltip:hover .mo_openid_tooltiptext {
|
531 |
visibility: visible;
|
286 |
background: #0867b2;
|
287 |
}
|
288 |
|
289 |
+
.mo_openid_star-cb-group {
|
290 |
/* remove inline-block whitespace */
|
291 |
font-size: 0;
|
292 |
/* flip the order so we can use the + and ~ combinators */
|
294 |
direction: rtl;
|
295 |
/* the hidden clearer */
|
296 |
}
|
297 |
+
.mo_openid_star-cb-group * {
|
298 |
font-size: 1rem;
|
299 |
}
|
300 |
+
.mo_openid_star-cb-group > input {
|
301 |
display: none;
|
302 |
}
|
303 |
+
.mo_openid_star-cb-group > input + label {
|
304 |
/* only enough room for the star */
|
305 |
display: inline-block;
|
306 |
overflow: hidden;
|
309 |
white-space: nowrap;
|
310 |
cursor: pointer;
|
311 |
}
|
312 |
+
.mo_openid_star-cb-group > input + label:before {
|
313 |
display: inline-block;
|
314 |
font-family: Helvetica, arial, sans-serif;
|
315 |
text-indent: -9999px;
|
317 |
content: "☆";
|
318 |
color: #888;
|
319 |
}
|
320 |
+
.mo_openid_star-cb-group > input:checked ~ label:before, .mo_openid_star-cb-group > input + label:hover ~ label:before, .mo_openid_star-cb-group > input + label:hover:before {
|
321 |
content: "★";
|
322 |
color: #ecf00e;
|
323 |
text-shadow: 0 0 1px #333;
|
324 |
}
|
325 |
+
.mo_openid_star-cb-group > .mo_openid_star-cb-clear + label {
|
326 |
text-indent: -9999px;
|
327 |
width: .5em;
|
328 |
margin-left: -.5em;
|
329 |
}
|
330 |
+
.mo_openid_star-cb-group > .mo_openid_star-cb-clear + label:before {
|
331 |
width: .5em;
|
332 |
}
|
333 |
+
.mo_openid_star-cb-group:hover > input + label:before {
|
334 |
content: "☆";
|
335 |
color: #888;
|
336 |
text-shadow: none;
|
337 |
}
|
338 |
+
.mo_openid_star-cb-group:hover > input + label:hover ~ label:before, .mo_openid_star-cb-group:hover > input + label:hover:before {
|
339 |
content: "★";
|
340 |
color: #e52;
|
341 |
text-shadow: 0 0 1px #333;
|
353 |
margin: 1em auto;
|
354 |
}
|
355 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
#wpfooter {
|
357 |
position: unset;
|
358 |
}
|
359 |
+
.mo_support-help-button{
|
360 |
|
361 |
padding: 4px 8px;
|
362 |
float: right;
|
518 |
margin-top: -5px;
|
519 |
border-width: 5px;
|
520 |
border-style: solid;
|
|
|
521 |
}
|
522 |
.mo_openid_tooltip:hover .mo_openid_tooltiptext {
|
523 |
visibility: visible;
|
includes/images/icons/github.png
ADDED
Binary file
|
includes/images/icons/hubspot.png
ADDED
Binary file
|
includes/images/icons/mailru.png
ADDED
Binary file
|
includes/js/settings_popup.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
jQuery(window).load
|
2 |
var elemDiv = document.createElement("div");
|
3 |
elemDiv.id = "mo-openid-content-id";
|
4 |
elemDiv.style.display = "none";
|
1 |
+
jQuery(window).on('load',function () {
|
2 |
var elemDiv = document.createElement("div");
|
3 |
elemDiv.id = "mo-openid-content-id";
|
4 |
elemDiv.style.display = "none";
|
includes/js/social_login.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
jQuery(window).load
|
2 |
function mo_openid_set_cookie(cname,cvalue){var d=new Date();d.setTime(d.getTime()+(3*60*1000));var expires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+";"+expires+";path=/"}
|
3 |
function mo_openid_get_cookie(cname){var name=cname+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)}
|
4 |
if(c.indexOf(name)==0){return c.substring(name.length,c.length)}}
|
1 |
+
jQuery(window).on('load',function () {
|
2 |
function mo_openid_set_cookie(cname,cvalue){var d=new Date();d.setTime(d.getTime()+(3*60*1000));var expires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+";"+expires+";path=/"}
|
3 |
function mo_openid_get_cookie(cname){var name=cname+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)}
|
4 |
if(c.indexOf(name)==0){return c.substring(name.length,c.length)}}
|
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.
|
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.
|
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');
|
@@ -83,7 +83,7 @@ class miniorange_openid_sso_settings
|
|
83 |
add_option('mo_openid_admin_api_key','BjIZyuSDTE90MVWp4pRLr3dzrFs8h74T');
|
84 |
add_option('mo_openid_customer_token','6osoapPWEgGlBRgT');
|
85 |
add_option('app_pos','facebook#google#vkontakte#twitter#instagram#linkedin#amazon#salesforce#windowslive#yahoo');
|
86 |
-
update_option('app_pos_premium','apple#paypal#wordpress#disqus#pinterest#yandex#spotify#reddit#tumblr#twitch#vimeo#kakao#discord#dribbble#flickr#line#meetup#stackexchange#livejournal#snapchat#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq');
|
87 |
add_option('mo_openid_default_login_enable',1);
|
88 |
add_option( 'mo_openid_login_theme', 'longbutton' );
|
89 |
add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
|
@@ -101,7 +101,7 @@ class miniorange_openid_sso_settings
|
|
101 |
add_option( 'mo_openid_login_widget_customize_logout_text', 'Logout?' );
|
102 |
add_option('mo_login_openid_login_widget_customize_textcolor','000000');
|
103 |
add_option( 'mo_openid_login_widget_customize_text', 'Connect with' );
|
104 |
-
add_option( 'moopenid_logo_check',
|
105 |
add_option( 'mo_openid_enable_profile_completion','0' );
|
106 |
add_option( 'mo_openid_account_linking_enable','0' );
|
107 |
add_option( 'mo_openid_auto_register_enable', '1');
|
@@ -338,7 +338,7 @@ Thank you.';
|
|
338 |
{
|
339 |
if(is_admin() && get_option('Activated_Plugin')=='Plugin-Slug') {
|
340 |
delete_option('Activated_Plugin');
|
341 |
-
update_option('mo_openid_message','Go to plugin <b><a href="admin.php?page=
|
342 |
add_action('admin_notices', 'mo_openid_activation_message');
|
343 |
}
|
344 |
|
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.1
|
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.1');
|
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');
|
83 |
add_option('mo_openid_admin_api_key','BjIZyuSDTE90MVWp4pRLr3dzrFs8h74T');
|
84 |
add_option('mo_openid_customer_token','6osoapPWEgGlBRgT');
|
85 |
add_option('app_pos','facebook#google#vkontakte#twitter#instagram#linkedin#amazon#salesforce#windowslive#yahoo');
|
86 |
+
update_option('app_pos_premium','apple#paypal#wordpress#github#hubspot#mailru#disqus#pinterest#yandex#spotify#reddit#tumblr#twitch#vimeo#kakao#discord#dribbble#flickr#line#meetup#stackexchange#livejournal#snapchat#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq');
|
87 |
add_option('mo_openid_default_login_enable',1);
|
88 |
add_option( 'mo_openid_login_theme', 'longbutton' );
|
89 |
add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
|
101 |
add_option( 'mo_openid_login_widget_customize_logout_text', 'Logout?' );
|
102 |
add_option('mo_login_openid_login_widget_customize_textcolor','000000');
|
103 |
add_option( 'mo_openid_login_widget_customize_text', 'Connect with' );
|
104 |
+
add_option( 'moopenid_logo_check', 0);
|
105 |
add_option( 'mo_openid_enable_profile_completion','0' );
|
106 |
add_option( 'mo_openid_account_linking_enable','0' );
|
107 |
add_option( 'mo_openid_auto_register_enable', '1');
|
338 |
{
|
339 |
if(is_admin() && get_option('Activated_Plugin')=='Plugin-Slug') {
|
340 |
delete_option('Activated_Plugin');
|
341 |
+
update_option('mo_openid_message','Go to plugin <b><a href="admin.php?page=mo_openid_general_settings">settings</a></b> to enable Social Login, Social Sharing by miniOrange.');
|
342 |
add_action('admin_notices', 'mo_openid_activation_message');
|
343 |
}
|
344 |
|
miniorange_openid_sso_settings_page.php
CHANGED
@@ -198,7 +198,7 @@ function mo_register_openid() {
|
|
198 |
</div>
|
199 |
</div>
|
200 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/phone.js',__FILE__); ?>"></script>
|
201 |
-
<input type="button" id="myBtn" class="
|
202 |
</div>
|
203 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
204 |
<script>
|
@@ -602,8 +602,6 @@ function mo_register_sharing_openid()
|
|
602 |
case 'mo_twitter_btn':
|
603 |
mo_twitter_btn();
|
604 |
break;
|
605 |
-
|
606 |
-
|
607 |
}
|
608 |
?>
|
609 |
</td>
|
@@ -614,7 +612,7 @@ function mo_register_sharing_openid()
|
|
614 |
</div>
|
615 |
<script type="text/javascript" src="<?php echo plugins_url('/includes/js/phone.js', __FILE__); ?>"></script>
|
616 |
|
617 |
-
<input type="button" id="myBtn" class="
|
618 |
|
619 |
</div>
|
620 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
@@ -749,7 +747,7 @@ function mo_comment_openid() {
|
|
749 |
</div></div>
|
750 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/phone.js',__FILE__); ?>"></script>
|
751 |
|
752 |
-
<input type="button" id="myBtn" class="
|
753 |
|
754 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
755 |
<script>
|
@@ -920,7 +918,7 @@ function mo_openid_addon_desc_page() {
|
|
920 |
</div>
|
921 |
</div>
|
922 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/phone.js',__FILE__); ?>"></script>
|
923 |
-
<input type="button" id="myBtn" class="
|
924 |
</div>
|
925 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
926 |
<script>
|
198 |
</div>
|
199 |
</div>
|
200 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/phone.js',__FILE__); ?>"></script>
|
201 |
+
<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'); ?>">
|
202 |
</div>
|
203 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
204 |
<script>
|
602 |
case 'mo_twitter_btn':
|
603 |
mo_twitter_btn();
|
604 |
break;
|
|
|
|
|
605 |
}
|
606 |
?>
|
607 |
</td>
|
612 |
</div>
|
613 |
<script type="text/javascript" src="<?php echo plugins_url('/includes/js/phone.js', __FILE__); ?>"></script>
|
614 |
|
615 |
+
<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');?>">
|
616 |
|
617 |
</div>
|
618 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
747 |
</div></div>
|
748 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/phone.js',__FILE__); ?>"></script>
|
749 |
|
750 |
+
<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');?>">
|
751 |
|
752 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
753 |
<script>
|
918 |
</div>
|
919 |
</div>
|
920 |
<script type="text/javascript" src= "<?php echo plugins_url('/includes/js/phone.js',__FILE__); ?>"></script>
|
921 |
+
<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');?>">
|
922 |
</div>
|
923 |
<?php include('view/support_form/miniorange_openid_support_form.php');?>
|
924 |
<script>
|
mo-openid-social-login-functions.php
CHANGED
@@ -941,8 +941,6 @@ function mo_openid_registeration_modal(){
|
|
941 |
}
|
942 |
|
943 |
function create_customer(){
|
944 |
-
delete_option('mo_openid_sms_otp_count');
|
945 |
-
delete_option('mo_openid_email_otp_count');
|
946 |
$customer = new CustomerOpenID();
|
947 |
$customerKey = json_decode( $customer->create_customer(), true );
|
948 |
if( strcasecmp( $customerKey['status'], 'CUSTOMER_USERNAME_ALREADY_EXISTS') == 0 ) {
|
941 |
}
|
942 |
|
943 |
function create_customer(){
|
|
|
|
|
944 |
$customer = new CustomerOpenID();
|
945 |
$customerKey = json_decode( $customer->create_customer(), true );
|
946 |
if( strcasecmp( $customerKey['status'], 'CUSTOMER_USERNAME_ALREADY_EXISTS') == 0 ) {
|
mo_openid_feedback_form.php
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
-
<?php
|
|
|
|
|
2 |
|
3 |
if ( 'plugins.php' != basename($_SERVER['PHP_SELF']) ) {
|
4 |
-
|
5 |
}
|
6 |
wp_enqueue_style( 'wp-pointer' );
|
7 |
wp_enqueue_script( 'wp-pointer' );
|
@@ -56,7 +58,7 @@
|
|
56 |
$email=get_option('mo_openid_admin_email');
|
57 |
else
|
58 |
$email = get_option('admin_email');
|
59 |
-
|
60 |
<br>
|
61 |
Email: <input type="text" id="mo_feedback_email" name="mo_feedback_email" value="<?php echo $email?>"/>
|
62 |
<br><br>
|
@@ -79,104 +81,106 @@
|
|
79 |
|
80 |
</div>
|
81 |
|
82 |
-
<script>
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
144 |
|
145 |
-
|
146 |
-
|
147 |
|
148 |
-
|
149 |
-
{
|
150 |
-
if(x==i)
|
151 |
{
|
152 |
-
if(x==
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
|
|
|
|
159 |
{jQuery('#text_'+i).show();}
|
160 |
-
|
161 |
{jQuery('#text_'+i).hide();}
|
|
|
162 |
}
|
163 |
-
}
|
164 |
|
165 |
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
175 |
}
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
</script><?php
|
180 |
|
181 |
}
|
182 |
?>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function mo_openid_display_feedback_form(){
|
4 |
|
5 |
if ( 'plugins.php' != basename($_SERVER['PHP_SELF']) ) {
|
6 |
+
return;
|
7 |
}
|
8 |
wp_enqueue_style( 'wp-pointer' );
|
9 |
wp_enqueue_script( 'wp-pointer' );
|
58 |
$email=get_option('mo_openid_admin_email');
|
59 |
else
|
60 |
$email = get_option('admin_email');
|
61 |
+
?>
|
62 |
<br>
|
63 |
Email: <input type="text" id="mo_feedback_email" name="mo_feedback_email" value="<?php echo $email?>"/>
|
64 |
<br><br>
|
81 |
|
82 |
</div>
|
83 |
|
84 |
+
<script>
|
85 |
+
function mo_openid_skip_feedback(){
|
86 |
+
jQuery('#mo_openid_feedback_form_close').submit();
|
87 |
+
}
|
88 |
+
jQuery('a[aria-label="Deactivate Social Login, Social Sharing by miniOrange"]').click(function(){
|
89 |
+
// Get the mo_openid_modal
|
90 |
+
var mo_openid_modal = document.getElementById('mo_openid_myModal');
|
91 |
+
|
92 |
+
// Get the button that opens the mo_openid_modal
|
93 |
+
var btn = document.getElementById("myBtn");
|
94 |
+
|
95 |
+
// Get the <span> element that closes the mo_openid_modal
|
96 |
+
var span = document.getElementsByClassName("mo_openid_close")[0];
|
97 |
+
|
98 |
+
// When the user clicks the button, open the mo_openid_modal
|
99 |
+
|
100 |
+
mo_openid_modal.style.display = "block";
|
101 |
+
var i=0;
|
102 |
+
var show_link='';
|
103 |
+
|
104 |
+
jQuery('input:radio[name="deactivate_plugin"]').click(function () {
|
105 |
+
var reason= jQuery(this).val();
|
106 |
+
jQuery('#mo_openid_query_feedback').removeAttr('required');
|
107 |
+
|
108 |
+
if(reason=='Facing issues During Registration'){
|
109 |
+
jQuery('#mo_openid_query_feedback').attr("placeholder", "Can you please describe the issue in detail?");
|
110 |
+
jQuery('#link_id').hide();
|
111 |
+
}else if(reason=="Does not have the features I am looking for"){
|
112 |
+
add_text_box(3,"Let us know what feature are you looking for");
|
113 |
+
}else if(reason=="Other Reasons:"){
|
114 |
+
add_text_box(8,"Can you let us know the reason for deactivation?");
|
115 |
+
}else if(reason=="Not Receiving OTP During Registration"){
|
116 |
+
show_link='<p style="background-color:#feffb2;padding:5px 10px;">Please '+'<a href="https://www.miniorange.com/businessfreetrial" target="_blank"><b>click here</b></a>'+' to create an account.</p>';
|
117 |
+
add_text_box(2,"Can you please describe the issue in detail?");
|
118 |
+
|
119 |
+
}else if(reason=="Bugs in the plugin"){
|
120 |
+
add_text_box(6,"Can you please let us know about the bug in detail?");
|
121 |
+
}else if(reason=="Login Icons are not displayed on custom registration/login page"){
|
122 |
+
show_link='<p style="background-color:#feffb2;padding:5px 10px;"><a href="\n' +
|
123 |
+
'https://plugins.miniorange.com/guide-to-display-social-login-icons-using-shortcode-in-wordpress" target="_blank"><b>Please add [miniorange_social_login] shortcode on custom registration/login page. For more information please refer the guide: <b>Guide</b></p>';
|
124 |
+
add_text_box(4,"If you are still facing the issue please elaborate here.");
|
125 |
+
}else if(reason=="Confusing Interface"){
|
126 |
+
show_link='<p style="background-color:#feffb2;padding:5px 10px;">If you are facing issue while setting up the plugin. Please check out this ' + '<a href="https://www.youtube.com/watch?v=Hn4gMFi8pOE" target="_blank"><b>setup video.</b></p>';
|
127 |
+
add_text_box(5,"Finding it confusing? let us know so that we can improve the interface");
|
128 |
+
}else if(reason=="Not Working"){
|
129 |
+
add_text_box(0,"Please specify which functionality is not working.");
|
130 |
+
}
|
131 |
+
else if(reason=="I dont want to register"){
|
132 |
+
show_link='<p style="background-color:#feffb2;padding:5px 10px;"><a href="https://faq.miniorange.com/knowledgebase/why-should-i-register/" target="_blank"><b>Why should I register?</b></p>';
|
133 |
+
add_text_box(7,"");
|
134 |
+
}
|
135 |
+
else if(reason=="Installing paid version"){
|
136 |
+
add_text_box(10,"Can you please let us know on which plan you have upgraded?");
|
137 |
+
}
|
138 |
+
else if(reason=="Remove miniOrange Logo under Icons"){
|
139 |
+
show_link='<p style="background-color:#feffb2;padding:5px 10px;"><a href="\n' +
|
140 |
+
'https://plugins.miniorange.com/disable-miniorange-branding-logo" target="_blank"><b>Please refer to the guide to remove the miniOrange Icon from the login page : <b>Guide</b></p>';
|
141 |
+
add_text_box(9,"");
|
142 |
+
}
|
143 |
+
else if(reason=="Facebook Login Error"){
|
144 |
+
show_link='<p style="background-color:#feffb2;padding:5px 10px;">Sorry for your inconvenience. Facebook has blocked our default app so please configure your own custom app.'+'<br>'+'Follow <a href="https://faq.miniorange.com/knowledgebase/facebook-configuration-error/" target="_blank"><b>Facebook setup link</b></a> | <a href="https://www.youtube.com/watch?v=hHx-oR7XiZo&feature=youtu.be" target="_blank"><b>Setup Video.</b></a></p>';
|
145 |
+
add_text_box(1,"Please explain your issue in detail.");
|
146 |
+
}
|
147 |
+
});
|
148 |
|
149 |
+
function add_text_box(x,place_holder) {
|
150 |
+
jQuery('#text_'+x).html('<textarea id="mo_openid_query_feedback" name="mo_openid_query_feedback" rows="3" style="margin-left:3%" cols="50" placeholder="'+place_holder+'"></textarea>');
|
151 |
|
152 |
+
for (i = 0; i <11 ; i++)
|
|
|
|
|
153 |
{
|
154 |
+
if(x==i)
|
155 |
+
{
|
156 |
+
if(x==1||x==4||x==7||x==9||x==2||x==5) {jQuery('#link_id_' + x).html(show_link);jQuery('#link_id_' + x).show();} else{jQuery('#link_id_'+i).hide();}
|
157 |
+
}
|
158 |
+
else{
|
159 |
+
jQuery('#link_id_'+i).hide();
|
160 |
+
}
|
161 |
+
if(i==10 && x==i){jQuery('#text_'+i).hide();jQuery('#link_id_'+i).hide();}
|
162 |
+
if(i==x&&x!=7&&x!=9)
|
163 |
{jQuery('#text_'+i).show();}
|
164 |
+
else
|
165 |
{jQuery('#text_'+i).hide();}
|
166 |
+
}
|
167 |
}
|
|
|
168 |
|
169 |
|
170 |
+
// When the user clicks on <span> (x), mo_openid_close the mo_openid_modal
|
171 |
+
span.onclick = function() {
|
172 |
+
window.location.reload(true);
|
173 |
+
}
|
174 |
|
175 |
+
// When the user clicks anywhere outside of the mo_openid_modal, mo_openid_close it
|
176 |
+
window.onclick = function(event) {
|
177 |
+
if (event.target == mo_openid_modal) {
|
178 |
+
mo_openid_modal.style.display = "none";
|
179 |
+
}
|
180 |
}
|
181 |
+
return false;
|
182 |
+
});
|
183 |
+
</script><?php
|
|
|
184 |
|
185 |
}
|
186 |
?>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.5
|
7 |
-
Stable tag: 7.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
|
@@ -35,26 +35,40 @@ Social Plugin enables social login, social sharing, social comments using social
|
|
35 |
* SHORTCODE available for social login.
|
36 |
* **Support** using email and in-plugin support form.
|
37 |
|
38 |
-
= WooCommerce Social Login Features =
|
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.
|
40 |
* Woocommerce Display Options
|
41 |
* WooCommerce Login form
|
42 |
* WooCommerce Registration form
|
43 |
* WooCommerce Checkout form
|
44 |
|
45 |
-
= BuddyPress Social Login Features =
|
46 |
* **BuddyPress Integration** Sync profile picture from social application to BuddyPress avatar. Sync user social profile to BuddyPress custom fields.
|
47 |
* BuddyPress Display Options
|
48 |
* Before BuddyPress Registration Form
|
49 |
* Before BuddyPress Account Details
|
50 |
* After BuddyPress Registration Form Login form
|
51 |
|
52 |
-
= BuddyBoss Social Login Features =
|
53 |
* **BuddyBoss Integration** Sync profile picture from social application to BuddyBoss avatar. Sync user social profile to BuddyBoss custom fields.
|
54 |
* BuddyBoss Display Options
|
55 |
* Before BuddyBoss Registration Form
|
56 |
* After BuddyBoss Registration Form Login form
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
= Free Social Sharing & Social Comments Features =
|
59 |
* Share with social applications - Facebook, Twitter, Google+, Pinterest, Reddit, Vkontakte, Tumblr, StumbleUpon, LinkedIn, Pocket, Digg, Email, Print, Whatsapp
|
60 |
* **Icon Customizations** - customize shape, theme, space & size of social sharing icons.
|
@@ -204,6 +218,12 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
204 |
12. Social Sharing icons without background.
|
205 |
|
206 |
==Changelog==
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
= 7.4.0 =
|
208 |
* Added Documentation and videos for WooCommerce, BuddyPress, MailChimp and Paid membership Pro integrations.
|
209 |
* Resolved CSS conflicts with other themes.
|
@@ -779,6 +799,12 @@ SECURITY FIXES
|
|
779 |
* First version of Social Login, Social Sharing plugin.
|
780 |
|
781 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
|
|
782 |
= 7.4.0 =
|
783 |
* Added Documentation and videos for WooCommerce, BuddyPress, MailChimp and Paid membership Pro integrations.
|
784 |
* Resolved CSS conflicts with other themes.
|
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.5
|
7 |
+
Stable tag: 7.4.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
|
35 |
* SHORTCODE available for social login.
|
36 |
* **Support** using email and in-plugin support form.
|
37 |
|
38 |
+
= WooCommerce Social Login Features [Premium]=
|
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.
|
40 |
* Woocommerce Display Options
|
41 |
* WooCommerce Login form
|
42 |
* WooCommerce Registration form
|
43 |
* WooCommerce Checkout form
|
44 |
|
45 |
+
= BuddyPress Social Login Features [Premium]=
|
46 |
* **BuddyPress Integration** Sync profile picture from social application to BuddyPress avatar. Sync user social profile to BuddyPress custom fields.
|
47 |
* BuddyPress Display Options
|
48 |
* Before BuddyPress Registration Form
|
49 |
* Before BuddyPress Account Details
|
50 |
* After BuddyPress Registration Form Login form
|
51 |
|
52 |
+
= BuddyBoss Social Login Features [Premium]=
|
53 |
* **BuddyBoss Integration** Sync profile picture from social application to BuddyBoss avatar. Sync user social profile to BuddyBoss custom fields.
|
54 |
* BuddyBoss Display Options
|
55 |
* Before BuddyBoss Registration Form
|
56 |
* After BuddyBoss Registration Form Login form
|
57 |
|
58 |
+
= Ultimate Membership Pro - Social Login Features [Premium]=
|
59 |
+
* Ultimate Membership Pro Display Options
|
60 |
+
* Before Ultimate Member Login Form Fields
|
61 |
+
* After Ultimate Member Login Form Fields
|
62 |
+
* Before Ultimate Member Registration Form Fields
|
63 |
+
* After Ultimate Member Registration Form Fields
|
64 |
+
* After Ultimate Member Register button
|
65 |
+
|
66 |
+
= MemberPress - Social Login Features [Premium]=
|
67 |
+
* MemberPress Display Options
|
68 |
+
* After MemberPress Login Form
|
69 |
+
* After MemberPress Account Form
|
70 |
+
* After MemberPress Checkout Form
|
71 |
+
|
72 |
= Free Social Sharing & Social Comments Features =
|
73 |
* Share with social applications - Facebook, Twitter, Google+, Pinterest, Reddit, Vkontakte, Tumblr, StumbleUpon, LinkedIn, Pocket, Digg, Email, Print, Whatsapp
|
74 |
* **Icon Customizations** - customize shape, theme, space & size of social sharing icons.
|
218 |
12. Social Sharing icons without background.
|
219 |
|
220 |
==Changelog==
|
221 |
+
= 7.4.1 =
|
222 |
+
* Updated jQuery deprecated function.
|
223 |
+
* Minor UI changes.
|
224 |
+
* Added MemberPress display options in premium version.
|
225 |
+
* Added GitHub, HubSpot, mail.ru in premium version.
|
226 |
+
|
227 |
= 7.4.0 =
|
228 |
* Added Documentation and videos for WooCommerce, BuddyPress, MailChimp and Paid membership Pro integrations.
|
229 |
* Resolved CSS conflicts with other themes.
|
799 |
* First version of Social Login, Social Sharing plugin.
|
800 |
|
801 |
== Upgrade Notice ==
|
802 |
+
= 7.4.1 =
|
803 |
+
* Updated jQuery deprecated function.
|
804 |
+
* Minor UI changes.
|
805 |
+
* Added MemberPress display options in premium version.
|
806 |
+
* Added GitHub, HubSpot, mail.ru in premium version.
|
807 |
+
|
808 |
= 7.4.0 =
|
809 |
* Added Documentation and videos for WooCommerce, BuddyPress, MailChimp and Paid membership Pro integrations.
|
810 |
* Resolved CSS conflicts with other themes.
|
social_apps/github.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class mo_github
|
5 |
+
{
|
6 |
+
public $color="#000000";
|
7 |
+
}
|
social_apps/hubspot.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class mo_hubspot
|
5 |
+
{
|
6 |
+
public $color="#314558";
|
7 |
+
}
|
social_apps/mailru.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class mo_mailru
|
5 |
+
{
|
6 |
+
public $color="#144786";
|
7 |
+
}
|
social_apps/windowslive.php
CHANGED
@@ -14,7 +14,7 @@ class mo_windowslive
|
|
14 |
$this->site_url = get_option('siteurl');
|
15 |
$this->instructions = "Go to <a href=\"https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade/\" target=\"_blank\">https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade</a> and sign in with your Microsoft azure account.##Click on <b>New Registration tab</b>.##Name your new app and select Accounts in any organizational directory as supported accounts types . click on <b>Register</b>.##Click on <strong>Authentication</strong> from left side menu. ##Enter <b><code id='12'>" . mo_get_permalink('windowslive') . "</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, '#12', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as Redirect URL.<strong>Copy the Client ID from the Overview tab.</strong>. This is your <b>Client ID </b>.##Go to Certificates and Security tab.##Click on <b>New Client Sceret</b>. Copy your password. This is your <b>Client Secret</b>.##Scroll down to <strong>Advanced Options</strong> and make sure <strong>Live SDK support</strong> is checked.##Click on the Save button.##Copy the client ID and client secret to your clipboard, as you will need them to configure above. ##Click on the Save settings button.##Go to Social Login tab to configure the display as well as other login settings.";
|
16 |
}else{
|
17 |
-
$this->instructions= "<strong style='color: red;font-weight: bold'><br>You have selected plain permalink and
|
18 |
}
|
19 |
|
20 |
}
|
14 |
$this->site_url = get_option('siteurl');
|
15 |
$this->instructions = "Go to <a href=\"https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade/\" target=\"_blank\">https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade</a> and sign in with your Microsoft azure account.##Click on <b>New Registration tab</b>.##Name your new app and select Accounts in any organizational directory as supported accounts types . click on <b>Register</b>.##Click on <strong>Authentication</strong> from left side menu. ##Enter <b><code id='12'>" . mo_get_permalink('windowslive') . "</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, '#12', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as Redirect URL.<strong>Copy the Client ID from the Overview tab.</strong>. This is your <b>Client ID </b>.##Go to Certificates and Security tab.##Click on <b>New Client Sceret</b>. Copy your password. This is your <b>Client Secret</b>.##Scroll down to <strong>Advanced Options</strong> and make sure <strong>Live SDK support</strong> is checked.##Click on the Save button.##Copy the client ID and client secret to your clipboard, as you will need them to configure above. ##Click on the Save settings button.##Go to Social Login tab to configure the display as well as other login settings.";
|
16 |
}else{
|
17 |
+
$this->instructions= "<strong style='color: red;font-weight: bold'><br>You have selected plain permalink and Windows Live doesnot support it.</strong><br><br> Please change the permalink to continue further.Follow the steps given below:<br>1. Go to settings from the left panel and select the permalinks option.<br>2. Plain permalink is selected ,so please select any other permalink and click on save button.<br> <strong class='mo_openid_note_style' style='color: red;font-weight: bold'> When you will change the permalink ,then you have to re-configure the already set up custom apps because that will change the redirect URL.</strong>";
|
18 |
}
|
19 |
|
20 |
}
|
uninstall.php
CHANGED
@@ -125,8 +125,6 @@ delete_option('mo_sharing_icon_space');
|
|
125 |
delete_option('mo_openid_logout_redirect');
|
126 |
delete_option('mo_openid_logout_redirection_enable');
|
127 |
delete_option('mo_openid_logout_redirect_url');
|
128 |
-
delete_option('mo_openid_sms_otp_count');
|
129 |
-
delete_option('mo_openid_email_otp_count');
|
130 |
delete_option('mo_openid_login_role_mapping');
|
131 |
delete_option('moopenid_logo_check');
|
132 |
|
125 |
delete_option('mo_openid_logout_redirect');
|
126 |
delete_option('mo_openid_logout_redirection_enable');
|
127 |
delete_option('mo_openid_logout_redirect_url');
|
|
|
|
|
128 |
delete_option('mo_openid_login_role_mapping');
|
129 |
delete_option('moopenid_logo_check');
|
130 |
|
view/config_apps/mo_openid_config_apps.php
CHANGED
@@ -82,7 +82,7 @@ function mo_openid_show_apps()
|
|
82 |
alt="<?php echo $apps?>"/>
|
83 |
</div>
|
84 |
<div id="mo-openid-hover-app-sett-show" style="display: block">
|
85 |
-
<div style="display: inline-block; text-align: center;width: 100%;position: absolute;font-size: 13px;"><span style="color:black"><?php echo strtoupper($apps)?></span></div>
|
86 |
</div>
|
87 |
</div>
|
88 |
<?php
|
@@ -1008,20 +1008,20 @@ function mo_openid_show_apps()
|
|
1008 |
var popup2 = '<div class="mo_openid_popup" popup-name="popup-2" border="1" id = "mo_openid_delay_registration" style="display:none; float: left; width: 100%; overflow: hidden">' +
|
1009 |
'<div class="mo_openid_rateus_modal_content" style="background-color: #FFFFFF; margin-top: 10% ">'+
|
1010 |
'<div id="cronmoOpenIdRateUs">\n' +
|
1011 |
-
'<span class="
|
1012 |
'<table style="width: 100%"><tr style="background-color: #0867b2"><td>\n' +
|
1013 |
'<span style="margin-top: 2%;margin-right: 2%" class="mo_openid_close-button">×</span>\n' +
|
1014 |
'<center><h2 style="color: #FFFFFF"><strong>Rate Us</strong></h2></center></td></tr>\n' +
|
1015 |
'</table>' +
|
1016 |
'<form>\n' +
|
1017 |
'<fieldset class="mo-openid-star-back-rateus" id="cronmo_openid_fieldset" style="margin-top: 14%">\n' +
|
1018 |
-
'<span class="
|
1019 |
'<input type="radio" id="cronrating-5" name="rating" value="5" onclick="five_star();window.open(\'https://wordpress.org/support/plugin/miniorange-login-openid/reviews/\', \'_blank\');" /><label for="cronrating-5">5</label>\n' +
|
1020 |
'<input type="radio" class="mo_start_less5" id="cronrating-4" name="rating" value="4" /><label for="cronrating-4">4</label>\n' +
|
1021 |
'<input type="radio" class="mo_start_less5" id="cronrating-3" name="rating" value="3" /><label for="cronrating-3">3</label>\n' +
|
1022 |
'<input type="radio" class="mo_start_less5" id="cronrating-2" name="rating" value="2" /><label for="cronrating-2">2</label>\n' +
|
1023 |
'<input type="radio" class="mo_start_less5" id="cronrating-1" name="rating" value="1" /><label for="cronrating-1">1</label>\n' +
|
1024 |
-
'<input type="radio" id="cronrating-0" name="rating" value="0" class="
|
1025 |
'</span>\n' +
|
1026 |
'</fieldset>\n' +
|
1027 |
'</form>\n' +
|
82 |
alt="<?php echo $apps?>"/>
|
83 |
</div>
|
84 |
<div id="mo-openid-hover-app-sett-show" style="display: block">
|
85 |
+
<div style="display: inline-block; text-align: center;width: 100%;position: absolute;font-size: 13px;"><span style="color:black"><?php if($apps == 'mailru') $apps='mail.ru'; echo strtoupper($apps)?></span></div>
|
86 |
</div>
|
87 |
</div>
|
88 |
<?php
|
1008 |
var popup2 = '<div class="mo_openid_popup" popup-name="popup-2" border="1" id = "mo_openid_delay_registration" style="display:none; float: left; width: 100%; overflow: hidden">' +
|
1009 |
'<div class="mo_openid_rateus_modal_content" style="background-color: #FFFFFF; margin-top: 10% ">'+
|
1010 |
'<div id="cronmoOpenIdRateUs">\n' +
|
1011 |
+
'<span class="mo_openid_star-cb-group" >\n' +
|
1012 |
'<table style="width: 100%"><tr style="background-color: #0867b2"><td>\n' +
|
1013 |
'<span style="margin-top: 2%;margin-right: 2%" class="mo_openid_close-button">×</span>\n' +
|
1014 |
'<center><h2 style="color: #FFFFFF"><strong>Rate Us</strong></h2></center></td></tr>\n' +
|
1015 |
'</table>' +
|
1016 |
'<form>\n' +
|
1017 |
'<fieldset class="mo-openid-star-back-rateus" id="cronmo_openid_fieldset" style="margin-top: 14%">\n' +
|
1018 |
+
'<span class="mo_openid_star-cb-group">\n' +
|
1019 |
'<input type="radio" id="cronrating-5" name="rating" value="5" onclick="five_star();window.open(\'https://wordpress.org/support/plugin/miniorange-login-openid/reviews/\', \'_blank\');" /><label for="cronrating-5">5</label>\n' +
|
1020 |
'<input type="radio" class="mo_start_less5" id="cronrating-4" name="rating" value="4" /><label for="cronrating-4">4</label>\n' +
|
1021 |
'<input type="radio" class="mo_start_less5" id="cronrating-3" name="rating" value="3" /><label for="cronrating-3">3</label>\n' +
|
1022 |
'<input type="radio" class="mo_start_less5" id="cronrating-2" name="rating" value="2" /><label for="cronrating-2">2</label>\n' +
|
1023 |
'<input type="radio" class="mo_start_less5" id="cronrating-1" name="rating" value="1" /><label for="cronrating-1">1</label>\n' +
|
1024 |
+
'<input type="radio" id="cronrating-0" name="rating" value="0" class="mo_openid_star-cb-clear" /><label for="cronrating-0">0</label>\n' +
|
1025 |
'</span>\n' +
|
1026 |
'</fieldset>\n' +
|
1027 |
'</form>\n' +
|
view/disp_options/mo_openid_dispopt.php
CHANGED
@@ -47,6 +47,21 @@ function mo_openid_disp_opt()
|
|
47 |
<input disabled type="checkbox" id="ultimate_register_form_end" /><?php echo mo_sl("After Ultimate Member Registration Form Fields");?>
|
48 |
<span class="mo_openid_checkbox_checkmark"></span>
|
49 |
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
</div>
|
51 |
<div style="width:50%; background:white; float:right; border: 1px transparent;">
|
52 |
<b style="font-size:17px;"><?php echo mo_sl('Woocommerce display options');?></b><br><br><br>
|
47 |
<input disabled type="checkbox" id="ultimate_register_form_end" /><?php echo mo_sl("After Ultimate Member Registration Form Fields");?>
|
48 |
<span class="mo_openid_checkbox_checkmark"></span>
|
49 |
</label>
|
50 |
+
<br/><br/>
|
51 |
+
<b style="font-size:17px;"><?php echo mo_sl("MemberPress display options");?> </b><a style="left: 1%; 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><br><br>
|
52 |
+
|
53 |
+
<label class="mo_openid_checkbox_container_disable">
|
54 |
+
<input disabled type="checkbox"/><?php echo mo_sl("After MemberPress Login Form");?>
|
55 |
+
<span class="mo_openid_checkbox_checkmark"></span>
|
56 |
+
</label>
|
57 |
+
<label class="mo_openid_checkbox_container_disable">
|
58 |
+
<input disabled type="checkbox"/><?php echo mo_sl("After MemberPress Account Form");?>
|
59 |
+
<span class="mo_openid_checkbox_checkmark"></span>
|
60 |
+
</label>
|
61 |
+
<label class="mo_openid_checkbox_container_disable">
|
62 |
+
<input disabled type="checkbox"/><?php echo mo_sl("After MemberPress Checkout Form");?>
|
63 |
+
<span class="mo_openid_checkbox_checkmark"></span>
|
64 |
+
</label>
|
65 |
</div>
|
66 |
<div style="width:50%; background:white; float:right; border: 1px transparent;">
|
67 |
<b style="font-size:17px;"><?php echo mo_sl('Woocommerce display options');?></b><br><br><br>
|
view/faq/mo_openid_faq.php
CHANGED
@@ -7,6 +7,72 @@ function mo_openid_faq(){ ?>
|
|
7 |
<tr>
|
8 |
<td>
|
9 |
<p><?php echo mo_sl('If you are unable to open any section, press CTRL + F5 to clear cache');?>.<p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
<h3><a id="openid_question_plugin" class="mo_openid_title_panel" onclick="show_faq_options(this.id)"><span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Site Issue');?></a></h3>
|
11 |
<div class="mo_openid_help_desc" hidden="" id="openid_question_plugin_desc">
|
12 |
<h4><a id="openid_question14"><?php echo mo_sl('I installed the plugin and my website stopped working. How can I recover my site?');?></a></h4>
|
@@ -62,18 +128,8 @@ function mo_openid_faq(){ ?>
|
|
62 |
</tr>
|
63 |
<tr>
|
64 |
<td>
|
65 |
-
<h3><a id="openid_question_otp" class="mo_openid_title_panel" onclick="show_faq_options3(this.id)"> <span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('
|
66 |
<div class="mo_openid_help_desc" hidden="" id="openid_question_otp_desc">
|
67 |
-
<h4><a id="openid_question7" ><?php echo mo_sl('I did not recieve OTP. What should I do?');?></a></h4>
|
68 |
-
<div id="openid_question7_desc">
|
69 |
-
<?php echo mo_sl("The OTP is sent as an email to your email address with which you have registered with miniOrange. If you can't see the email from miniOrange in your mails, please make sure to check your SPAM folder.");?> <br/><br/><?php echo mo_sl("If you don't see an email even in SPAM folder, please verify your account using your mobile number. You will get an OTP on your mobile number which you need to enter on the page. If none of the above works, please contact us using the Support form on the right.");?>
|
70 |
-
</div>
|
71 |
-
<hr>
|
72 |
-
<h4><a id="openid_question8" ><?php echo mo_sl('After entering OTP, I get Invalid OTP. What should I do?');?></a></h4>
|
73 |
-
<div id="openid_question8_desc">
|
74 |
-
<?php echo mo_sl( 'Use the ');?><b><?php echo mo_sl('Resend OTP');?></b> <?php echo mo_sl('option to get an additional OTP. Plese make sure you did not enter the first OTP you recieved if you selected');?> <b><?php echo mo_sl('Resend OTP');?></b> <?php echo mo_sl('option to get an additional OTP. Enter the latest OTP since the previous ones expire once you click on Resend OTP.');?> <br/><br/><?php echo mo_sl('If OTP sent on your email address are not working, please verify your account using your mobile number. You will get an OTP on your mobile number which you need to enter on the page. If none of the above works, please contact us using the Support form on the right.');?>
|
75 |
-
</div>
|
76 |
-
<hr>
|
77 |
<h4><a id="openid_question5" ><?php echo mo_sl('I forgot the password of my miniOrange account. How can I reset it?');?></a></h4>
|
78 |
<div id="openid_question5_desc">
|
79 |
<?php echo mo_sl('There are two cases according to the page you see');?> -<br><br/>
|
@@ -84,72 +140,6 @@ function mo_openid_faq(){ ?>
|
|
84 |
<hr>
|
85 |
</td>
|
86 |
</tr>
|
87 |
-
<tr>
|
88 |
-
<td>
|
89 |
-
<h3><a id="openid_question_login" class="mo_openid_title_panel" onclick="show_faq_options4(this.id)"><span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Social login');?> </a></h3>
|
90 |
-
<div class="mo_openid_help_desc" hidden="" id="openid_question_login_desc">
|
91 |
-
<h4><a id="openid_question2" ><?php echo mo_sl('How to add login icons to frontend login page?');?></a></h4>
|
92 |
-
<div id="openid_question2_desc">
|
93 |
-
<?php echo mo_sl("You can add social login icons to frontend login page using our shortcode [miniorange_social_login]. Refer to 'Shortcode' tab to add customizations to Shortcode.");?>
|
94 |
-
</div>
|
95 |
-
<hr>
|
96 |
-
<h4><a id="openid_question4" ><?php echo mo_sl('How can I put social login icons on a page without using widgets?');?></a></h4>
|
97 |
-
<div id="openid_question4_desc">
|
98 |
-
<?php echo mo_sl("You can add social login icons to any page or custom login page using 'social login shortcode' [miniorange_social_login]. Refer to 'Shortcode' tab to add customizations to Shortcode.");?>
|
99 |
-
</div>
|
100 |
-
<hr>
|
101 |
-
<h4><a id="openid_question12" ><?php echo mo_sl('Social Login icons are not added to login/registration form.');?></a></h4>
|
102 |
-
<div id="openid_question12_desc">
|
103 |
-
<?php echo mo_sl("Your login/registration form may not be wordpress's default login/registration form. In this case you can add social login icons to custom login/registration form using 'social login shortcode' [miniorange_social_login]. Refer to 'Shortcode' tab to add customizations to Shortcode.");?>
|
104 |
-
</div>
|
105 |
-
<hr>
|
106 |
-
<h4><a id="openid_question3" ><?php echo mo_sl('How can I redirect to my blog page after login?');?></a></h4>
|
107 |
-
<div id="openid_question3_desc">
|
108 |
-
<?php echo mo_sl('You can select one of the options from');?> <b><?php echo mo_sl('Redirect URL after login');?></b> <?php echo mo_sl('of');?> <b><?php echo mo_sl('Display Option');?></b><?php echo mo_sl(' section under');?> <b><?php echo mo_sl('Social Login');?></b><?php echo mo_sl( 'tab.');?> <br>
|
109 |
-
1. <?php echo mo_sl('Same page where user logged in');?> <br>
|
110 |
-
2. <?php echo mo_sl('Homepage');?> <br>
|
111 |
-
3. <?php echo mo_sl('Account Dsahboard');?> <br>
|
112 |
-
4. <?php echo mo_Sl('Custom URL - Example:');?> https://www.example.com <br>
|
113 |
-
</div>
|
114 |
-
<hr>
|
115 |
-
<h4><a id="openid_question11" ><?php echo mo_sl('After logout I am redirected to blank page');?></a></h4>
|
116 |
-
<div id="openid_question11_desc">
|
117 |
-
<?php echo mo_sl('Your theme and Social Login plugin may conflict during logout. To resolve it you need to uncheck');?> <b><?php echo mo_sl('Enable Logout Redirection');?></b><?php mo_sl( 'checkbox under');?> <b><?php echo mo_sl('Display Option');?></b> <?php echo mo_sl('of');?> <b><?php echo mo_sl('Social Login');?></b> <?php echo mo_sl('tab');?>.
|
118 |
-
</div>
|
119 |
-
<hr>
|
120 |
-
<h4><a id="openid_question5" ><?php echo mo_sl('My users get the following message -"Registration has been disabled for this site. Please contact your administrator." What should I do?');?></a></h4>
|
121 |
-
<div id="openid_question5_desc">
|
122 |
-
<?php echo mo_sl('This means you must have unchecked the check-box of auto-register in the Social Login tab. Please check it. This will allow new users to be able to register to your site.');?>
|
123 |
-
</div>
|
124 |
-
<hr>
|
125 |
-
<h4><a id="openid_question7" ><?php echo mo_sl('Why do my users get a message that it is not secure to proceed?');?></a></h4>
|
126 |
-
<div id="openid_question7_desc"><?php echo mo_sl("Your website must be starting with http://. Now generally that's not an issue but our service uses https://( s stands for secure). You get a warning from the browser that the information is being passed insecurely. This happens after you log in to social media application and are coming back to your website. The warning is triggered from the browser since the data passes from https:// to http://, i.e. from a secure site to non-secure site.<br><br>We make sure that the information(email, name, username) getting passed from social media application to your website is encrypted with a key which is unique to you. So, even if the there is a warning of sending information without security, that information is encrypted.");?> <br><br>
|
127 |
-
<strong><?php echo mo_sl('To remove this warning, you can add an SSL certificate to your website to change it to https OR use your own');?> <a href="admin.php?page=mo_openid_general_settings&tab=custom_app"></strong><?php echo mo_sl('Custom App');?></a>
|
128 |
-
</div>
|
129 |
-
<hr>
|
130 |
-
<h4><a id="openid_question1" ><?php echo mo_sl('My users get the following message -"There was an error in registration. Please contact your administrator." What should I do?');?></a></h4>
|
131 |
-
<div id="openid_question1_desc">
|
132 |
-
<?php echo mo_sl('This message is thrown by WordPress when there is an error in user-registration');?>. <br><br>
|
133 |
-
1. <?php echo mo_sl('To see the actual error thrown by WordPress, go to \wordpress\wp-content\plugins\miniorange-login-openid\class-mo-openid-login-widget.php file');?><br>
|
134 |
-
2. <?php echo mo_sl('Search for the line');?> :<br/><code> //print_r($user_id); </code> <br>
|
135 |
-
3. <?php echo mo_sl('Change it to');?><br/> <code>print_r($user_id); </code><br>
|
136 |
-
4. <?php echo mo_sl('Save the file and try logging again. Please send us the error you see while logging in through the support forum to your right.');?>
|
137 |
-
</div>
|
138 |
-
<h4><a id="openid_question6" ><?php echo mo_sl('How do I centre the social login icons?');?></a></h4>
|
139 |
-
<div id="openid_question6_desc">
|
140 |
-
1.<?php echo mo_sl('If you are making changes to a PHP file');?>.<br/><br/>
|
141 |
-
<?php echo mo_sl('Go to the PHP file which invokes your page/post and insert the following html snippet. Also, increase the margin-left value as per your requirement. Save the file.');?> <br>
|
142 |
-
<code><div style="margin-left:100px;"> <br><?php echo apply_shortcodes('[miniorange_social_login]')?> <br>
|
143 |
-
</div> </code><br/><br/>
|
144 |
-
2.<?php echo mo_sl('If you are making changes to an HTML file.');?><br/><br/>
|
145 |
-
<?php echo mo_sl('Go to the HTML file which invokes your page/post and insert the following html snippet. Also, increase the margin-left value as per your requirement. Save the file.');?> <br>
|
146 |
-
<code><div style="margin-left:100px;"> <br>[miniorange_social_login]')<br>
|
147 |
-
</div> </code>
|
148 |
-
</div>
|
149 |
-
</div>
|
150 |
-
<hr>
|
151 |
-
</td>
|
152 |
-
</tr>
|
153 |
<tr>
|
154 |
<td>
|
155 |
<h3><a id="openid_question_sharing" class="mo_openid_title_panel" onclick="show_faq_options5(this.id)"><span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Social Sharing');?></a></h3>
|
7 |
<tr>
|
8 |
<td>
|
9 |
<p><?php echo mo_sl('If you are unable to open any section, press CTRL + F5 to clear cache');?>.<p>
|
10 |
+
<h3><a id="openid_question_login" class="mo_openid_title_panel" onclick="show_faq_options4(this.id)"><span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Social login');?> </a></h3>
|
11 |
+
<div class="mo_openid_help_desc" hidden="" id="openid_question_login_desc">
|
12 |
+
<h4><a id="openid_question2" ><?php echo mo_sl('How to add login icons to frontend login page?');?></a></h4>
|
13 |
+
<div id="openid_question2_desc">
|
14 |
+
<?php echo mo_sl("You can add social login icons to frontend login page using our shortcode [miniorange_social_login]. Refer to 'Shortcode' tab to add customizations to Shortcode.");?>
|
15 |
+
</div>
|
16 |
+
<hr>
|
17 |
+
<h4><a id="openid_question4" ><?php echo mo_sl('How can I put social login icons on a page without using widgets?');?></a></h4>
|
18 |
+
<div id="openid_question4_desc">
|
19 |
+
<?php echo mo_sl("You can add social login icons to any page or custom login page using 'social login shortcode' [miniorange_social_login]. Refer to 'Shortcode' tab to add customizations to Shortcode.");?>
|
20 |
+
</div>
|
21 |
+
<hr>
|
22 |
+
<h4><a id="openid_question12" ><?php echo mo_sl('Social Login icons are not added to login/registration form.');?></a></h4>
|
23 |
+
<div id="openid_question12_desc">
|
24 |
+
<?php echo mo_sl("Your login/registration form may not be wordpress's default login/registration form. In this case you can add social login icons to custom login/registration form using 'social login shortcode' [miniorange_social_login]. Refer to 'Shortcode' tab to add customizations to Shortcode.");?>
|
25 |
+
</div>
|
26 |
+
<hr>
|
27 |
+
<h4><a id="openid_question3" ><?php echo mo_sl('How can I redirect to my blog page after login?');?></a></h4>
|
28 |
+
<div id="openid_question3_desc">
|
29 |
+
<?php echo mo_sl('You can select one of the options from');?> <b><?php echo mo_sl('Redirect URL after login');?></b> <?php echo mo_sl('of');?> <b><?php echo mo_sl('Display Option');?></b><?php echo mo_sl(' section under');?> <b><?php echo mo_sl('Social Login');?></b><?php echo mo_sl( 'tab.');?> <br>
|
30 |
+
1. <?php echo mo_sl('Same page where user logged in');?> <br>
|
31 |
+
2. <?php echo mo_sl('Homepage');?> <br>
|
32 |
+
3. <?php echo mo_sl('Account Dsahboard');?> <br>
|
33 |
+
4. <?php echo mo_Sl('Custom URL - Example:');?> https://www.example.com <br>
|
34 |
+
</div>
|
35 |
+
<hr>
|
36 |
+
<h4><a id="openid_question11" ><?php echo mo_sl('After logout I am redirected to blank page');?></a></h4>
|
37 |
+
<div id="openid_question11_desc">
|
38 |
+
<?php echo mo_sl('Your theme and Social Login plugin may conflict during logout. To resolve it you need to uncheck');?> <b><?php echo mo_sl('Enable Logout Redirection');?></b><?php mo_sl( 'checkbox under');?> <b><?php echo mo_sl('Display Option');?></b> <?php echo mo_sl('of');?> <b><?php echo mo_sl('Social Login');?></b> <?php echo mo_sl('tab');?>.
|
39 |
+
</div>
|
40 |
+
<hr>
|
41 |
+
<h4><a id="openid_question5" ><?php echo mo_sl('My users get the following message -"Registration has been disabled for this site. Please contact your administrator." What should I do?');?></a></h4>
|
42 |
+
<div id="openid_question5_desc">
|
43 |
+
<?php echo mo_sl('This means you must have unchecked the check-box of auto-register in the Social Login tab. Please check it. This will allow new users to be able to register to your site.');?>
|
44 |
+
</div>
|
45 |
+
<hr>
|
46 |
+
<h4><a id="openid_question7" ><?php echo mo_sl('Why do my users get a message that it is not secure to proceed?');?></a></h4>
|
47 |
+
<div id="openid_question7_desc"><?php echo mo_sl("Your website must be starting with http://. Now generally that's not an issue but our service uses https://( s stands for secure). You get a warning from the browser that the information is being passed insecurely. This happens after you log in to social media application and are coming back to your website. The warning is triggered from the browser since the data passes from https:// to http://, i.e. from a secure site to non-secure site.<br><br>We make sure that the information(email, name, username) getting passed from social media application to your website is encrypted with a key which is unique to you. So, even if the there is a warning of sending information without security, that information is encrypted.");?> <br><br>
|
48 |
+
<strong><?php echo mo_sl('To remove this warning, you can add an SSL certificate to your website to change it to https OR use your own');?> <a href="admin.php?page=mo_openid_general_settings&tab=custom_app"></strong><?php echo mo_sl('Custom App');?></a>
|
49 |
+
</div>
|
50 |
+
<hr>
|
51 |
+
<h4><a id="openid_question1" ><?php echo mo_sl('My users get the following message -"There was an error in registration. Please contact your administrator." What should I do?');?></a></h4>
|
52 |
+
<div id="openid_question1_desc">
|
53 |
+
<?php echo mo_sl('This message is thrown by WordPress when there is an error in user-registration');?>. <br><br>
|
54 |
+
1. <?php echo mo_sl('To see the actual error thrown by WordPress, go to \wordpress\wp-content\plugins\miniorange-login-openid\class-mo-openid-login-widget.php file');?><br>
|
55 |
+
2. <?php echo mo_sl('Search for the line');?> :<br/><code> //print_r($user_id); </code> <br>
|
56 |
+
3. <?php echo mo_sl('Change it to');?><br/> <code>print_r($user_id); </code><br>
|
57 |
+
4. <?php echo mo_sl('Save the file and try logging again. Please send us the error you see while logging in through the support forum to your right.');?>
|
58 |
+
</div>
|
59 |
+
<h4><a id="openid_question6" ><?php echo mo_sl('How do I centre the social login icons?');?></a></h4>
|
60 |
+
<div id="openid_question6_desc">
|
61 |
+
1.<?php echo mo_sl('If you are making changes to a PHP file');?>.<br/><br/>
|
62 |
+
<?php echo mo_sl('Go to the PHP file which invokes your page/post and insert the following html snippet. Also, increase the margin-left value as per your requirement. Save the file.');?> <br>
|
63 |
+
<code><div style="margin-left:100px;"> <br><?php echo apply_shortcodes('[miniorange_social_login]')?> <br>
|
64 |
+
</div> </code><br/><br/>
|
65 |
+
2.<?php echo mo_sl('If you are making changes to an HTML file.');?><br/><br/>
|
66 |
+
<?php echo mo_sl('Go to the HTML file which invokes your page/post and insert the following html snippet. Also, increase the margin-left value as per your requirement. Save the file.');?> <br>
|
67 |
+
<code><div style="margin-left:100px;"> <br>[miniorange_social_login]')<br>
|
68 |
+
</div> </code>
|
69 |
+
</div>
|
70 |
+
</div>
|
71 |
+
<hr>
|
72 |
+
</td>
|
73 |
+
</tr>
|
74 |
+
<tr>
|
75 |
+
<td>
|
76 |
<h3><a id="openid_question_plugin" class="mo_openid_title_panel" onclick="show_faq_options(this.id)"><span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Site Issue');?></a></h3>
|
77 |
<div class="mo_openid_help_desc" hidden="" id="openid_question_plugin_desc">
|
78 |
<h4><a id="openid_question14"><?php echo mo_sl('I installed the plugin and my website stopped working. How can I recover my site?');?></a></h4>
|
128 |
</tr>
|
129 |
<tr>
|
130 |
<td>
|
131 |
+
<h3><a id="openid_question_otp" class="mo_openid_title_panel" onclick="show_faq_options3(this.id)"> <span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Forgot Password');?> </a></h3>
|
132 |
<div class="mo_openid_help_desc" hidden="" id="openid_question_otp_desc">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
<h4><a id="openid_question5" ><?php echo mo_sl('I forgot the password of my miniOrange account. How can I reset it?');?></a></h4>
|
134 |
<div id="openid_question5_desc">
|
135 |
<?php echo mo_sl('There are two cases according to the page you see');?> -<br><br/>
|
140 |
<hr>
|
141 |
</td>
|
142 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
<tr>
|
144 |
<td>
|
145 |
<h3><a id="openid_question_sharing" class="mo_openid_title_panel" onclick="show_faq_options5(this.id)"><span class="dashicons dashicons-arrow-right"></span><?php echo mo_sl('Social Sharing');?></a></h3>
|
view/licensing_plans/mo_openid_lic_plans.php
CHANGED
@@ -13,7 +13,7 @@ function mo_openid_licensing_plans()
|
|
13 |
<tr style="background-color:#F5F5F5;">
|
14 |
<th><br>
|
15 |
<h2>WooCommerce Integration Plan</h2>
|
16 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
17 |
</th>
|
18 |
</tr>
|
19 |
<tr>
|
@@ -42,7 +42,7 @@ function mo_openid_licensing_plans()
|
|
42 |
<tr style="background-color:#F5F5F5;">
|
43 |
<th><br>
|
44 |
<h2>BuddyPress Integration Plan</h2>
|
45 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
46 |
</th>
|
47 |
</tr>
|
48 |
<tr>
|
@@ -71,7 +71,7 @@ function mo_openid_licensing_plans()
|
|
71 |
<tr style="background-color:#F5F5F5;">
|
72 |
<th><br>
|
73 |
<h2>Login with Apple Plan</h2>
|
74 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
75 |
</th>
|
76 |
</tr>
|
77 |
<tr>
|
@@ -101,11 +101,11 @@ function mo_openid_licensing_plans()
|
|
101 |
<tr>
|
102 |
<th><span style="font-size: 15px">Features List</span></th>
|
103 |
<th><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/bronze.png" style="width:35px;height:35px;" class="mo-center"><span style="font-size: 15px">Free Plan</span><br>
|
104 |
-
<br><span>$0</span><br><br>
|
105 |
<button style="background-color: #0C1F28; width: 100%; height: 52px; font-size: 13px;" onclick="mo_openid_support_form('')" class="mo-plan">Contact us for more features</button></th>
|
106 |
|
107 |
<th><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/silve.png" style="width:35px;height:35px;" class="mo-center"><span style="font-size: 15px">Standard Plan</span><br>
|
108 |
-
<br><span
|
109 |
<button style="background-color: #0C1F28; width: 100%; height: 52px; font-size: 13px;" onclick="mosocial_addonform('wp_social_login_standard_plan')" class="mo-plan">Upgrade Now</button>
|
110 |
</th>
|
111 |
|
@@ -152,10 +152,11 @@ Yahoo,LinkedIn
|
|
152 |
Livejournal
|
153 |
& Odnoklassniki.</span></div></span></td>
|
154 |
|
155 |
-
<td align="center"><span class="mo_lic_color" style="font-size:15px;"> <div class="mo_openid_tooltip" >
|
156 |
Vkontakte,Reddit,Twitter,
|
157 |
Linkedin,Amazon,Windowslive,
|
158 |
Yahoo,Disqus,Instagram,
|
|
|
159 |
Wordpress,Pinterest,
|
160 |
Spotify,Tumblr,Vimeo,
|
161 |
Kakao,Dirbble,Flickr,
|
@@ -617,7 +618,7 @@ function mo_openid_licensing_plan_sharing()
|
|
617 |
<tr style="background-color:#F5F5F5;">
|
618 |
<th><br>
|
619 |
<h2>Social Sharing Premium Applications<br/> </h2>
|
620 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
621 |
</th>
|
622 |
</tr>
|
623 |
<tr>
|
@@ -646,7 +647,7 @@ function mo_openid_licensing_plan_sharing()
|
|
646 |
<tr style="background-color:#F5F5F5;">
|
647 |
<th><br>
|
648 |
<h2>Social Sharing Premium +<br/>Social Login Standard</h2>
|
649 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
650 |
</th>
|
651 |
</tr>
|
652 |
<tr>
|
@@ -675,7 +676,7 @@ function mo_openid_licensing_plan_sharing()
|
|
675 |
<tr style="background-color:#F5F5F5;">
|
676 |
<th><br>
|
677 |
<h2>Social Sharing Premium +<br/>Social Login Premium</h2>
|
678 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
679 |
</th>
|
680 |
</tr>
|
681 |
<tr>
|
@@ -968,8 +969,7 @@ function mo_openid_licensing_plans_addon()
|
|
968 |
<h1>Custom Registration Form</h1>
|
969 |
<h1>Add-On</h1>
|
970 |
<h1>
|
971 |
-
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)))
|
972 |
-
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">15</h1>
|
973 |
<h3>Features/ Plan</h3></th>
|
974 |
</tr>
|
975 |
<tr>
|
13 |
<tr style="background-color:#F5F5F5;">
|
14 |
<th><br>
|
15 |
<h2>WooCommerce Integration Plan</h2>
|
16 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
|
17 |
</th>
|
18 |
</tr>
|
19 |
<tr>
|
42 |
<tr style="background-color:#F5F5F5;">
|
43 |
<th><br>
|
44 |
<h2>BuddyPress Integration Plan</h2>
|
45 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
|
46 |
</th>
|
47 |
</tr>
|
48 |
<tr>
|
71 |
<tr style="background-color:#F5F5F5;">
|
72 |
<th><br>
|
73 |
<h2>Login with Apple Plan</h2>
|
74 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
|
75 |
</th>
|
76 |
</tr>
|
77 |
<tr>
|
101 |
<tr>
|
102 |
<th><span style="font-size: 15px">Features List</span></th>
|
103 |
<th><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/bronze.png" style="width:35px;height:35px;" class="mo-center"><span style="font-size: 15px">Free Plan</span><br>
|
104 |
+
(You are on this plan)<br><span>$0</span><br><br>
|
105 |
<button style="background-color: #0C1F28; width: 100%; height: 52px; font-size: 13px;" onclick="mo_openid_support_form('')" class="mo-plan">Contact us for more features</button></th>
|
106 |
|
107 |
<th><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/silve.png" style="width:35px;height:35px;" class="mo-center"><span style="font-size: 15px">Standard Plan</span><br>
|
108 |
+
<br><span> $39 - 1 Instance</span><br> <span>$189 - 10 Instance </span><br>
|
109 |
<button style="background-color: #0C1F28; width: 100%; height: 52px; font-size: 13px;" onclick="mosocial_addonform('wp_social_login_standard_plan')" class="mo-plan">Upgrade Now</button>
|
110 |
</th>
|
111 |
|
152 |
Livejournal
|
153 |
& Odnoklassniki.</span></div></span></td>
|
154 |
|
155 |
+
<td align="center"><span class="mo_lic_color" style="font-size:15px;"> <div class="mo_openid_tooltip" >37 apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;font-size:13px"> Facebook,Google,Yandex,Paypal,
|
156 |
Vkontakte,Reddit,Twitter,
|
157 |
Linkedin,Amazon,Windowslive,
|
158 |
Yahoo,Disqus,Instagram,
|
159 |
+
GitHub, mail.ru, HubSpot,
|
160 |
Wordpress,Pinterest,
|
161 |
Spotify,Tumblr,Vimeo,
|
162 |
Kakao,Dirbble,Flickr,
|
618 |
<tr style="background-color:#F5F5F5;">
|
619 |
<th><br>
|
620 |
<h2>Social Sharing Premium Applications<br/> </h2>
|
621 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">15</h1>
|
622 |
</th>
|
623 |
</tr>
|
624 |
<tr>
|
647 |
<tr style="background-color:#F5F5F5;">
|
648 |
<th><br>
|
649 |
<h2>Social Sharing Premium +<br/>Social Login Standard</h2>
|
650 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">49</h1>
|
651 |
</th>
|
652 |
</tr>
|
653 |
<tr>
|
676 |
<tr style="background-color:#F5F5F5;">
|
677 |
<th><br>
|
678 |
<h2>Social Sharing Premium +<br/>Social Login Premium</h2>
|
679 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">59</h1>
|
680 |
</th>
|
681 |
</tr>
|
682 |
<tr>
|
969 |
<h1>Custom Registration Form</h1>
|
970 |
<h1>Add-On</h1>
|
971 |
<h1>
|
972 |
+
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
|
|
|
973 |
<h3>Features/ Plan</h3></th>
|
974 |
</tr>
|
975 |
<tr>
|
view/rate_us/rate_us.php
CHANGED
@@ -6,19 +6,19 @@ echo' <div id="mo_openid_rateus_myModal" class="mo_openid_modal_rateus">
|
|
6 |
<div class="mo_openid_rateus_modal_content" id="color_change" style="background-color: #FFFFFF">
|
7 |
<div id="moOpenIdRateUs">
|
8 |
|
9 |
-
<span class="
|
10 |
<table style="width: 100%"><tr style="background-color: #0867b2"><td>
|
11 |
<span style="margin-top: 2%;margin-right: 2%" class="mo_openid_rateus_close">×</span>
|
12 |
<center><h2 style="color: #FFFFFF"><strong>Rate Us</strong></h2></center></td></tr>
|
13 |
</table><form>
|
14 |
<fieldset class="mo-openid-star-back-rateus" id="mo_openid_fieldset" style="margin-top: 20%">
|
15 |
-
<span class="
|
16 |
<input type="radio" id="mo_openid_rating-5" name="mo_openid_rating" value="5" onclick="window.open(\'https://wordpress.org/support/plugin/miniorange-login-openid/reviews/\', \'_blank\'); five_star();" /><label for="mo_openid_rating-5">5</label>
|
17 |
<input type="radio" id="mo_openid_rating-4" name="mo_openid_rating" value="4" onclick="form_popup(4); " /><label for="mo_openid_rating-4">4</label>
|
18 |
<input type="radio" id="mo_openid_rating-3" name="mo_openid_rating" value="3" onclick="form_popup(3); " /><label for="mo_openid_rating-3">3</label>
|
19 |
<input type="radio" id="mo_openid_rating-2" name="mo_openid_rating" value="2" onclick="form_popup(2); " /><label for="mo_openid_rating-2">2</label>
|
20 |
<input type="radio" id="mo_openid_rating-1" name="mo_openid_rating" value="1" onclick="form_popup(1); " /><label for="mo_openid_rating-1">1</label>
|
21 |
-
<input type="radio" id="mo_openid_rating-0" name="mo_openid_rating" value="0" class="
|
22 |
</span>
|
23 |
</fieldset>
|
24 |
</form>
|
6 |
<div class="mo_openid_rateus_modal_content" id="color_change" style="background-color: #FFFFFF">
|
7 |
<div id="moOpenIdRateUs">
|
8 |
|
9 |
+
<span class="mo_openid_star-cb-group" >
|
10 |
<table style="width: 100%"><tr style="background-color: #0867b2"><td>
|
11 |
<span style="margin-top: 2%;margin-right: 2%" class="mo_openid_rateus_close">×</span>
|
12 |
<center><h2 style="color: #FFFFFF"><strong>Rate Us</strong></h2></center></td></tr>
|
13 |
</table><form>
|
14 |
<fieldset class="mo-openid-star-back-rateus" id="mo_openid_fieldset" style="margin-top: 20%">
|
15 |
+
<span class="mo_openid_star-cb-group">
|
16 |
<input type="radio" id="mo_openid_rating-5" name="mo_openid_rating" value="5" onclick="window.open(\'https://wordpress.org/support/plugin/miniorange-login-openid/reviews/\', \'_blank\'); five_star();" /><label for="mo_openid_rating-5">5</label>
|
17 |
<input type="radio" id="mo_openid_rating-4" name="mo_openid_rating" value="4" onclick="form_popup(4); " /><label for="mo_openid_rating-4">4</label>
|
18 |
<input type="radio" id="mo_openid_rating-3" name="mo_openid_rating" value="3" onclick="form_popup(3); " /><label for="mo_openid_rating-3">3</label>
|
19 |
<input type="radio" id="mo_openid_rating-2" name="mo_openid_rating" value="2" onclick="form_popup(2); " /><label for="mo_openid_rating-2">2</label>
|
20 |
<input type="radio" id="mo_openid_rating-1" name="mo_openid_rating" value="1" onclick="form_popup(1); " /><label for="mo_openid_rating-1">1</label>
|
21 |
+
<input type="radio" id="mo_openid_rating-0" name="mo_openid_rating" value="0" class="mo_openid_star-cb-clear" /><label for="mo_openid_rating-0">0</label>
|
22 |
</span>
|
23 |
</fieldset>
|
24 |
</form>
|
view/soc_sha/share_cnt/mo_openid_shrcnt.php
CHANGED
@@ -14,7 +14,7 @@ function mo_openid_share_cnt(){
|
|
14 |
<tr>
|
15 |
<td>
|
16 |
|
17 |
-
<p class="mo_openid_note_style" style="font-size: 15px;"><?php echo mo_sl('Share counts are supported for <b>Facebook</b> If you are Enabling share counts then it will give you the exact counts of share that is done by that particular social media.');?><br><br><?php echo mo_sl(' <b>Vkontakte</b>, <b>Stumble Upon</b>, <b>Buffer</b> and <b>
|
18 |
|
19 |
<br>
|
20 |
<label class="mo_openid_checkbox_container"> <b style="font-size: 14px;"><?php echo mo_sl('Enable share counts');?></b>
|
14 |
<tr>
|
15 |
<td>
|
16 |
|
17 |
+
<p class="mo_openid_note_style" style="font-size: 15px;"><?php echo mo_sl('Share counts are supported for <b>Facebook</b> If you are Enabling share counts then it will give you the exact counts of share that is done by that particular social media.');?><br><br><?php echo mo_sl(' <b>Vkontakte</b>, <b>Stumble Upon</b>, <b>Buffer</b>, <b>Pinterest</b> and <b>Reddit</b> are supported in Paid Version');?>.<a style="left: 1%; 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>.</p>
|
18 |
|
19 |
<br>
|
20 |
<label class="mo_openid_checkbox_container"> <b style="font-size: 14px;"><?php echo mo_sl('Enable share counts');?></b>
|
view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php
CHANGED
@@ -34,7 +34,6 @@ function mo_openid_social_icons_customization(){
|
|
34 |
<?php
|
35 |
// $user_id=get_current_user_id();
|
36 |
// $user_info = get_userdata($user_id);
|
37 |
-
//var_dump(get_option('mo_openid_custom_social_sharing'));
|
38 |
if(get_option('mo_openid_custom_social_sharing')) {
|
39 |
$custom_attr = get_option('mo_openid_custom_social_sharing');
|
40 |
$k=count($custom_attr);
|
34 |
<?php
|
35 |
// $user_id=get_current_user_id();
|
36 |
// $user_info = get_userdata($user_id);
|
|
|
37 |
if(get_option('mo_openid_custom_social_sharing')) {
|
38 |
$custom_attr = get_option('mo_openid_custom_social_sharing');
|
39 |
$k=count($custom_attr);
|