Social Login - Version 6.2.2

Version Description

  • Added Woocommerce display options
  • Added BuddyPress display options
  • Support for 9 apps now (Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Salesforce )
  • Fixed OTP issue in Profile Completion
Download this release

Release Info

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

Code changes from version 6.2.1 to 6.2.2

class-mo-openid-login-widget.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php
2
  include "twitter_oauth.php";
3
 
4
  if(mo_openid_is_customer_registered()) {
@@ -903,10 +903,6 @@ if(mo_openid_is_customer_registered()) {
903
  wp_die('There was an error in registration. Please contact your administrator.');
904
  }
905
 
906
- if( get_option('mo_openid_email_enable') == 1 && get_option('mo_openid_oauth') == 1) {
907
- mo_openid_send_email($user_id);
908
- }
909
-
910
  $user = get_user_by('email', $_SESSION['user_email'] );
911
  if(get_option('mo_openid_login_role_mapping')){
912
  $user->set_role( get_option('mo_openid_login_role_mapping') );
@@ -1121,10 +1117,6 @@ if(mo_openid_is_customer_registered()) {
1121
  wp_die('There was an error in registration. Please contact your administrator.');
1122
  }
1123
 
1124
- if( get_option('mo_openid_email_enable') == 1 && get_option('mo_openid_oauth') == 1) {
1125
- mo_openid_send_email($user_id);
1126
- }
1127
-
1128
  $_SESSION['social_app_name'] = $decrypted_app_name;
1129
  $_SESSION['user_email'] = $user_email;
1130
  $_SESSION['social_user_id'] = $decrypted_user_id;
@@ -1304,10 +1296,6 @@ if(mo_openid_is_customer_registered()) {
1304
  wp_die('There was an error in registration. Please contact your administrator.');
1305
  }
1306
 
1307
- if( get_option('mo_openid_email_enable') == 1 && get_option('mo_openid_oauth') == 1) {
1308
- mo_openid_send_email($user_id);
1309
- }
1310
-
1311
  update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
1312
 
1313
  $_SESSION['social_app_name'] = $decrypted_app_name;
@@ -1455,9 +1443,6 @@ if(mo_openid_is_customer_registered()) {
1455
  //print_r($user_id);
1456
  wp_die('There was an error in registration. Please contact your administrator.');
1457
  }
1458
- if( get_option('mo_openid_email_enable') == 1 && get_option('mo_openid_oauth') == 1) {
1459
- mo_openid_send_email($user_id);
1460
- }
1461
 
1462
  $_SESSION['social_app_name'] = $decrypted_app_name;
1463
  $_SESSION['user_email'] = $user_email;
@@ -1894,10 +1879,6 @@ if(mo_openid_is_customer_registered()) {
1894
  wp_die('There was an error in registration. Please contact your administrator.');
1895
  }
1896
 
1897
- if( get_option('mo_openid_email_enable') == 1 && get_option('mo_openid_oauth') == 1) {
1898
- mo_openid_send_email($user_id);
1899
- }
1900
-
1901
  update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
1902
 
1903
  $_SESSION['social_app_name'] = $social_app_name;
@@ -2044,10 +2025,6 @@ if(mo_openid_is_customer_registered()) {
2044
  wp_die('There was an error in registration. Please contact your administrator.');
2045
  }
2046
 
2047
- if( get_option('mo_openid_email_enable') == 1 && get_option('mo_openid_oauth') == 1) {
2048
- mo_openid_send_email($user_id);
2049
- }
2050
-
2051
  mo_openid_start_session();
2052
  $_SESSION['username'] = $user_name;
2053
  $_SESSION['user_email'] = $user_email;
@@ -2394,17 +2371,19 @@ if(mo_openid_is_customer_registered()) {
2394
  }
2395
 
2396
  function mo_openid_send_email($user_id=''){
2397
- global $wpdb;
2398
- $admin_mail = get_option('mo_openid_admin_email');
2399
- $user_name = ($user_id=='')?"##UserName##":($wpdb->get_var( $wpdb->prepare( "SELECT user_login FROM {$wpdb->users} WHERE ID = %d",$user_id )) );
2400
- $content = get_option('mo_openid_register_email_message');
2401
- $from_mail = "no-reply@miniorange.com";
2402
- $subject = "[".get_bloginfo('name')."] New User Registration - Social Login";
2403
-
2404
- $content = str_replace('##User Name##',$user_name,$content);
2405
- $headers = "From: no-reply@miniorange.com\r\n";
2406
- $headers .= "Content-Type: text/html";
2407
- wp_mail( $admin_mail, $subject, $content, $headers );
 
 
2408
  }
2409
 
2410
  function mo_openid_disabled_register_message() {
@@ -2543,9 +2522,7 @@ Thank you.';
2543
  */
2544
 
2545
  function checkTimeStamp($sentTime,$validatedTime){
2546
- $from_time = strtotime($sentTime);
2547
- $to_time = strtotime($validatedTime);
2548
- $diff = round(abs($to_time - $from_time) / 60,2);
2549
  if($diff>5)
2550
  return false;
2551
  else
@@ -2631,6 +2608,7 @@ Thank you.';
2631
  add_action( 'wp_login', 'mo_openid_link_account', 9, 2);
2632
  add_filter( 'login_message', 'mo_openid_account_linking');
2633
  add_action( 'delete_user', 'mo_openid_delete_account_linking_rows' );
 
2634
 
2635
  //compatibility with international characters
2636
  add_filter('sanitize_user', 'mo_openid_sanitize_user', 10, 3);
1
+ <?php
2
  include "twitter_oauth.php";
3
 
4
  if(mo_openid_is_customer_registered()) {
903
  wp_die('There was an error in registration. Please contact your administrator.');
904
  }
905
 
 
 
 
 
906
  $user = get_user_by('email', $_SESSION['user_email'] );
907
  if(get_option('mo_openid_login_role_mapping')){
908
  $user->set_role( get_option('mo_openid_login_role_mapping') );
1117
  wp_die('There was an error in registration. Please contact your administrator.');
1118
  }
1119
 
 
 
 
 
1120
  $_SESSION['social_app_name'] = $decrypted_app_name;
1121
  $_SESSION['user_email'] = $user_email;
1122
  $_SESSION['social_user_id'] = $decrypted_user_id;
1296
  wp_die('There was an error in registration. Please contact your administrator.');
1297
  }
1298
 
 
 
 
 
1299
  update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
1300
 
1301
  $_SESSION['social_app_name'] = $decrypted_app_name;
1443
  //print_r($user_id);
1444
  wp_die('There was an error in registration. Please contact your administrator.');
1445
  }
 
 
 
1446
 
1447
  $_SESSION['social_app_name'] = $decrypted_app_name;
1448
  $_SESSION['user_email'] = $user_email;
1879
  wp_die('There was an error in registration. Please contact your administrator.');
1880
  }
1881
 
 
 
 
 
1882
  update_option('mo_openid_user_count',get_option('mo_openid_user_count')+1);
1883
 
1884
  $_SESSION['social_app_name'] = $social_app_name;
2025
  wp_die('There was an error in registration. Please contact your administrator.');
2026
  }
2027
 
 
 
 
 
2028
  mo_openid_start_session();
2029
  $_SESSION['username'] = $user_name;
2030
  $_SESSION['user_email'] = $user_email;
2371
  }
2372
 
2373
  function mo_openid_send_email($user_id=''){
2374
+ if( get_option('mo_openid_email_enable') == 1) {
2375
+ global $wpdb;
2376
+ $admin_mail = get_option('mo_openid_admin_email');
2377
+ $user_name = ($user_id == '') ? "##UserName##" : ($wpdb->get_var($wpdb->prepare("SELECT user_login FROM {$wpdb->users} WHERE ID = %d", $user_id)));
2378
+ $content = get_option('mo_openid_register_email_message');
2379
+ $from_mail = "no-reply@miniorange.com";
2380
+ $subject = "[" . get_bloginfo('name') . "] New User Registration - Social Login";
2381
+
2382
+ $content = str_replace('##User Name##', $user_name, $content);
2383
+ $headers = "From: no-reply@miniorange.com\r\n";
2384
+ $headers .= "Content-Type: text/html";
2385
+ wp_mail($admin_mail, $subject, $content, $headers);
2386
+ }
2387
  }
2388
 
2389
  function mo_openid_disabled_register_message() {
2522
  */
2523
 
2524
  function checkTimeStamp($sentTime,$validatedTime){
2525
+ $diff = round(abs($validatedTime - $sentTime) / 60,2);
 
 
2526
  if($diff>5)
2527
  return false;
2528
  else
2608
  add_action( 'wp_login', 'mo_openid_link_account', 9, 2);
2609
  add_filter( 'login_message', 'mo_openid_account_linking');
2610
  add_action( 'delete_user', 'mo_openid_delete_account_linking_rows' );
2611
+ add_action( 'mo_user_register','mo_openid_send_email',1,1 );
2612
 
2613
  //compatibility with international characters
2614
  add_filter('sanitize_user', 'mo_openid_sanitize_user', 10, 3);
miniorange_openid_sso_settings.php CHANGED
@@ -4,7 +4,7 @@
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, Twitter, LinkedIn etc using customizable buttons.
7
- * Version: 6.2.1
8
  * Author: miniOrange
9
  * Author URI: https://www.miniorange.com
10
  * License: GPL2
@@ -59,8 +59,47 @@ class Miniorange_OpenID_SSO {
59
 
60
  //add social login to woocommerce
61
  if(get_option('mo_openid_woocommerce_login_form') == 1){
62
- add_action( 'woocommerce_login_form', array($this, 'mo_openid_add_social_login'));
63
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  if(get_option('mo_openid_logout_redirection_enable') == 0){
66
  remove_filter( 'logout_url', 'mo_openid_redirect_after_logout');
@@ -124,8 +163,7 @@ class Miniorange_OpenID_SSO {
124
  if(get_option('moopenid_social_login_avatar')) {
125
  add_filter( 'get_avatar', array( $this, 'mo_social_login_custom_avatar' ), 15, 5 );
126
  add_filter( 'get_avatar_url', array( $this, 'mo_social_login_custom_avatar_url' ), 15, 3);
127
- if(mo_openid_is_customer_valid()) // and if existing customer
128
- add_filter( 'bp_core_fetch_avatar', array( $this, 'mo_social_login_buddypress_avatar' ), 10, 2);
129
  }
130
 
131
  remove_action( 'admin_notices', array( $this, 'mo_openid_success_message') );
@@ -185,6 +223,21 @@ class Miniorange_OpenID_SSO {
185
  add_option( 'mo_openid_share_email_body','Check out this site ##url##' );
186
  add_option( 'mo_openid_enable_profile_completion','1' );
187
  add_option( 'moopenid_logo_check','1' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  }
189
 
190
  function mo_openid_deactivate() {
@@ -688,9 +741,25 @@ class Miniorange_OpenID_SSO {
688
  update_option( 'mo_openid_default_login_enable', isset( $_POST['mo_openid_default_login_enable']) ? $_POST['mo_openid_default_login_enable'] : 0);
689
  update_option( 'mo_openid_default_register_enable', isset( $_POST['mo_openid_default_register_enable']) ? $_POST['mo_openid_default_register_enable'] : 0);
690
  update_option( 'mo_openid_default_comment_enable', isset( $_POST['mo_openid_default_comment_enable']) ? $_POST['mo_openid_default_comment_enable'] : 0);
 
 
691
  update_option( 'mo_openid_woocommerce_login_form', isset( $_POST['mo_openid_woocommerce_login_form']) ? $_POST['mo_openid_woocommerce_login_form'] : 0);
692
-
693
- //Redirect URL
 
 
 
 
 
 
 
 
 
 
 
 
 
 
694
  update_option( 'mo_openid_login_redirect', $_POST['mo_openid_login_redirect']);
695
  update_option( 'mo_openid_login_redirect_url', $_POST['mo_openid_login_redirect_url'] );
696
 
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, Twitter, LinkedIn etc using customizable buttons.
7
+ * Version: 6.2.2
8
  * Author: miniOrange
9
  * Author URI: https://www.miniorange.com
10
  * License: GPL2
59
 
60
  //add social login to woocommerce
61
  if(get_option('mo_openid_woocommerce_login_form') == 1){
62
+ add_action( 'woocommerce_login_form_end', array($this, 'mo_openid_add_social_login'));
63
  }
64
+ if(get_option('mo_openid_woocommerce_before_login_form') == 1){
65
+ add_action( 'woocommerce_login_form_start', array($this, 'mo_openid_add_social_login'));
66
+ }
67
+ if(get_option('mo_openid_woocommerce_center_login_form') == 1){
68
+ add_action( 'woocommerce_login_form', array($this, 'mo_openid_add_social_login'));
69
+ }
70
+ if(get_option('mo_openid_woocommerce_register_form_start') == 1){
71
+ add_action( 'woocommerce_register_form_start', array($this, 'mo_openid_add_social_login'));
72
+ }
73
+ if(get_option('mo_openid_woocommerce_center_register_form') == 1){
74
+ add_action( 'woocommerce_register_form', array($this, 'mo_openid_add_social_login'));
75
+ }
76
+ if(get_option('mo_openid_woocommerce_register_form_end') == 1){
77
+ add_action( 'woocommerce_register_form_end', array($this, 'mo_openid_add_social_login'));
78
+ }
79
+ if(get_option('mo_openid_woocommerce_before_checkout_billing_form') == 1){
80
+ add_action( 'woocommerce_before_checkout_billing_form', array($this, 'mo_openid_add_social_login'));
81
+ }
82
+ if(get_option('mo_openid_woocommerce_after_checkout_billing_form') == 1){
83
+ add_action( 'woocommerce_after_checkout_billing_form', array($this, 'mo_openid_add_social_login'));
84
+ }
85
+
86
+ /* if(get_option('mo_openid_woocommerce_edit_account_form_start') == 1){
87
+ add_action( 'woocommerce_edit_account_form_start', array($this, 'mo_openid_add_social_login'));
88
+ }
89
+ if(get_option('mo_openid_woocommerce_edit_account_form_end') == 1){
90
+ add_action( 'woocommerce_edit_account_form_end', array($this, 'mo_openid_add_social_login'));
91
+ }*/
92
+
93
+ //add social login to buddypress
94
+ if(get_option('mo_openid_bp_before_register_page') == 1){
95
+ add_action( 'bp_before_register_page', array($this, 'mo_openid_add_social_login'));
96
+ }
97
+ if(get_option('mo_openid_bp_before_account_details_fields') == 1){
98
+ add_action( 'bp_before_account_details_fields', array($this, 'mo_openid_add_social_login'));
99
+ }
100
+ if(get_option('mo_openid_bp_after_register_page') == 1){
101
+ add_action( 'bp_after_register_page', array($this, 'mo_openid_add_social_login'));
102
+ }
103
 
104
  if(get_option('mo_openid_logout_redirection_enable') == 0){
105
  remove_filter( 'logout_url', 'mo_openid_redirect_after_logout');
163
  if(get_option('moopenid_social_login_avatar')) {
164
  add_filter( 'get_avatar', array( $this, 'mo_social_login_custom_avatar' ), 15, 5 );
165
  add_filter( 'get_avatar_url', array( $this, 'mo_social_login_custom_avatar_url' ), 15, 3);
166
+ add_filter( 'bp_core_fetch_avatar', array( $this, 'mo_social_login_buddypress_avatar' ), 10, 2);
 
167
  }
168
 
169
  remove_action( 'admin_notices', array( $this, 'mo_openid_success_message') );
223
  add_option( 'mo_openid_share_email_body','Check out this site ##url##' );
224
  add_option( 'mo_openid_enable_profile_completion','1' );
225
  add_option( 'moopenid_logo_check','1' );
226
+ //woocommerce display options
227
+ add_option( 'mo_openid_woocommerce_login_form','0');
228
+ add_option( 'mo_openid_woocommerce_before_login_form','0');
229
+ add_option( 'mo_openid_woocommerce_center_login_form','0');
230
+ add_option( 'mo_openid_woocommerce_register_form_start','0');
231
+ add_option( 'mo_openid_woocommerce_center_register_form','0');
232
+ add_option( 'mo_openid_woocommerce_register_form_end','0');
233
+ add_option( 'mo_openid_woocommerce_before_checkout_billing_form','0');
234
+ add_option( 'mo_openid_woocommerce_after_checkout_billing_form','0');
235
+ // add_option( 'mo_openid_woocommerce_edit_account_form_start');
236
+ // add_option( 'mo_openid_woocommerce_edit_account_form_end');
237
+ //buddypress display options
238
+ add_option( 'mo_openid_bp_before_register_page','0');
239
+ add_option( 'mo_openid_bp_before_account_details_fields','0');
240
+ add_option( 'mo_openid_bp_after_register_page','0');
241
  }
242
 
243
  function mo_openid_deactivate() {
741
  update_option( 'mo_openid_default_login_enable', isset( $_POST['mo_openid_default_login_enable']) ? $_POST['mo_openid_default_login_enable'] : 0);
742
  update_option( 'mo_openid_default_register_enable', isset( $_POST['mo_openid_default_register_enable']) ? $_POST['mo_openid_default_register_enable'] : 0);
743
  update_option( 'mo_openid_default_comment_enable', isset( $_POST['mo_openid_default_comment_enable']) ? $_POST['mo_openid_default_comment_enable'] : 0);
744
+
745
+ // woocommerce display options
746
  update_option( 'mo_openid_woocommerce_login_form', isset( $_POST['mo_openid_woocommerce_login_form']) ? $_POST['mo_openid_woocommerce_login_form'] : 0);
747
+ update_option( 'mo_openid_woocommerce_before_login_form', isset( $_POST['mo_openid_woocommerce_before_login_form']) ? $_POST['mo_openid_woocommerce_before_login_form'] : 0);
748
+ update_option( 'mo_openid_woocommerce_center_login_form', isset( $_POST['mo_openid_woocommerce_center_login_form']) ? $_POST['mo_openid_woocommerce_center_login_form'] : 0);
749
+ update_option( 'mo_openid_woocommerce_register_form_start', isset( $_POST['mo_openid_woocommerce_register_form_start']) ? $_POST['mo_openid_woocommerce_register_form_start'] : 0);
750
+ update_option( 'mo_openid_woocommerce_center_register_form', isset( $_POST['mo_openid_woocommerce_center_register_form']) ? $_POST['mo_openid_woocommerce_center_register_form'] : 0);
751
+ update_option( 'mo_openid_woocommerce_register_form_end', isset( $_POST['mo_openid_woocommerce_register_form_end']) ? $_POST['mo_openid_woocommerce_register_form_end'] : 0);
752
+ update_option( 'mo_openid_woocommerce_before_checkout_billing_form', isset( $_POST['mo_openid_woocommerce_before_checkout_billing_form']) ? $_POST['mo_openid_woocommerce_before_checkout_billing_form'] : 0);
753
+ update_option( 'mo_openid_woocommerce_after_checkout_billing_form', isset( $_POST['mo_openid_woocommerce_after_checkout_billing_form']) ? $_POST['mo_openid_woocommerce_after_checkout_billing_form'] : 0);
754
+ // update_option( 'mo_openid_woocommerce_edit_account_form_start', isset( $_POST['mo_openid_woocommerce_edit_account_form_start']) ? $_POST['mo_openid_woocommerce_edit_account_form_start'] : 0);
755
+ // update_option( 'mo_openid_woocommerce_edit_account_form_end', isset( $_POST['mo_openid_woocommerce_edit_account_form_end']) ? $_POST['mo_openid_woocommerce_edit_account_form_end'] : 0);
756
+
757
+ //buddypress display options
758
+ update_option( 'mo_openid_bp_before_register_page', isset( $_POST['mo_openid_bp_before_register_page']) ? $_POST['mo_openid_bp_before_register_page'] : 0);
759
+ update_option( 'mo_openid_bp_before_account_details_fields', isset( $_POST['mo_openid_bp_before_account_details_fields']) ? $_POST['mo_openid_bp_before_account_details_fields'] : 0);
760
+ update_option( 'mo_openid_bp_after_register_page', isset( $_POST['mo_openid_bp_after_register_page']) ? $_POST['mo_openid_bp_after_register_page'] : 0);
761
+
762
+ //Redirect URL
763
  update_option( 'mo_openid_login_redirect', $_POST['mo_openid_login_redirect']);
764
  update_option( 'mo_openid_login_redirect_url', $_POST['mo_openid_login_redirect_url'] );
765
 
miniorange_openid_sso_settings_page.php CHANGED
@@ -279,34 +279,6 @@ function mo_openid_apps_config() {
279
  <p>Select applications to enable social login</p>
280
 
281
  <tr>
282
- <?php if(get_option('mo_openid_oauth')=='1') {?>
283
- <td>
284
- <table style="width:100%">
285
- <tr>
286
- <td><input type="checkbox" id="facebook_enable" class="app_enable" name="mo_openid_facebook_enable" value="1" onchange="previewLoginIcons();"
287
- <?php checked( get_option('mo_openid_facebook_enable') == 1 );?> /><strong>Facebook</strong>
288
- </td>
289
-
290
-
291
- </tr>
292
- <tr>
293
- <td>
294
- <input type="checkbox" id="google_enable" class="app_enable" name="mo_openid_google_enable" value="1" onchange="previewLoginIcons();"
295
- <?php checked( get_option('mo_openid_google_enable') == 1 );?> /><strong>Google</strong>
296
- </td>
297
-
298
- </tr>
299
- <tr>
300
- <td>
301
- <input type="checkbox" id="twitter_enable" class="app_enable" name="mo_openid_twitter_enable" value="1" onchange="previewLoginIcons();"
302
- <?php checked( get_option('mo_openid_twitter_enable') == 1 );?> /><strong>Twitter</strong>
303
- </td>
304
-
305
- </tr>
306
- </table>
307
- </td>
308
- <?php }
309
- else {?>
310
  <td>
311
  <table style="width:100%">
312
  <tr>
@@ -351,7 +323,6 @@ function mo_openid_apps_config() {
351
  </tr>
352
  </table>
353
  </td>
354
- <?php }?>
355
  </tr>
356
 
357
  <tr>
@@ -462,13 +433,6 @@ function mo_openid_apps_config() {
462
  <tr>
463
  <td> <br><b>Preview : </b><br/><span hidden id="no_apps_text">No apps selected</span>
464
  <div>
465
- <?php if(get_option('mo_openid_oauth')=='1') {?>
466
- <img class="mo_login_icon_preview" id="mo_login_icon_preview_facebook" src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" />
467
- <img class="mo_login_icon_preview" id="mo_login_icon_preview_google" src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" />
468
- <img class="mo_login_icon_preview" id="mo_login_icon_preview_twitter" src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" />
469
-
470
- <?php }
471
- else { ?>
472
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_facebook" src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" />
473
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_google" src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" />
474
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_vkontakte" src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" />
@@ -478,21 +442,9 @@ function mo_openid_apps_config() {
478
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_amazon" src="<?php echo plugins_url( 'includes/images/icons/amazon.png', __FILE__ )?>" />
479
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_salesforce" src="<?php echo plugins_url( 'includes/images/icons/salesforce.png', __FILE__ )?>" />
480
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_windowslive" src="<?php echo plugins_url( 'includes/images/icons/windowslive.png', __FILE__ )?>" />
481
- <?php }?>
482
  </div>
483
 
484
  <div>
485
- <?php if(get_option('mo_openid_oauth')=='1') {?>
486
- <a id="mo_login_button_preview_facebook" class="btn btn-block btn-defaulttheme btn-social btn-facebook btn-custom-size"> <i class="fa fa-facebook"></i><?php
487
- echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
488
- <a id="mo_login_button_preview_google" class="btn btn-block btn-defaulttheme btn-social btn-google btn-custom-size"> <i class="fa fa-google-plus"></i><?php
489
- echo get_option('mo_openid_login_button_customize_text'); ?> Google</a>
490
- <a id="mo_login_button_preview_twitter" class="btn btn-block btn-defaulttheme btn-social btn-twitter btn-custom-size"> <i class="fa fa-twitter"></i><?php
491
- echo get_option('mo_openid_login_button_customize_text'); ?> Twitter</a>
492
-
493
-
494
- <?php }
495
- else {?>
496
  <a id="mo_login_button_preview_facebook" class="btn btn-block btn-defaulttheme btn-social btn-facebook btn-custom-size"> <i class="fa fa-facebook"></i><?php
497
  echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
498
  <a id="mo_login_button_preview_google" class="btn btn-block btn-defaulttheme btn-social btn-google btn-custom-size"> <i class="fa fa-google-plus"></i><?php
@@ -511,17 +463,9 @@ function mo_openid_apps_config() {
511
  echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
512
  <a id="mo_login_button_preview_windowslive" class="btn btn-block btn-defaulttheme btn-social btn-microsoft btn-custom-size"> <i class="fa fa-windows"></i><?php
513
  echo get_option('mo_openid_login_button_customize_text'); ?> Windows</a>
514
- <?php }?>
515
  </div>
516
 
517
  <div>
518
- <?php if(get_option('mo_openid_oauth')=='1') {?>
519
- <i class="mo_custom_login_icon_preview fa fa-facebook" id="mo_custom_login_icon_preview_facebook" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
520
- <i class="mo_custom_login_icon_preview fa fa-google-plus" id="mo_custom_login_icon_preview_google" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
521
- <i class="mo_custom_login_icon_preview fa fa-twitter" id="mo_custom_login_icon_preview_twitter" style="color:#ffffff;text-align:center;margin-top:5px;" ></i>
522
-
523
- <?php }
524
- else {?>
525
  <i class="mo_custom_login_icon_preview fa fa-facebook" id="mo_custom_login_icon_preview_facebook" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
526
  <i class="mo_custom_login_icon_preview fa fa-google-plus" id="mo_custom_login_icon_preview_google" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
527
  <i class="mo_custom_login_icon_preview fa fa-vk" id="mo_custom_login_icon_preview_vkontakte" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
@@ -531,19 +475,9 @@ function mo_openid_apps_config() {
531
  <i class="mo_custom_login_icon_preview fa fa-amazon" id="amazoncustom" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
532
  <i class="mo_custom_login_icon_preview fa fa-cloud" id="salesforcecustom" style="margin-bottom:-10px;color:#ffffff;text-align:center;margin-top:5px;" ></i>
533
  <i class="mo_custom_login_icon_preview fa fa-windows" id="mo_custom_login_icon_preview_windows" style="color:#ffffff;text-align:center;margin-top:5px;" ></i>
534
- <?php }?>
535
  </div>
536
 
537
  <div>
538
- <?php if(get_option('mo_openid_oauth')=='1') {?>
539
- <a id="mo_custom_login_button_preview_facebook" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-facebook"></i><?php
540
- echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
541
- <a id="mo_custom_login_button_preview_google" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-google-plus"></i><?php
542
- echo get_option('mo_openid_login_button_customize_text'); ?> Google</a>
543
- <a id="mo_custom_login_button_preview_twitter" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-twitter"></i><?php
544
- echo get_option('mo_openid_login_button_customize_text'); ?> Twitter</a>
545
- <?php }
546
- else {?>
547
  <a id="mo_custom_login_button_preview_facebook" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-facebook"></i><?php
548
  echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
549
  <a id="mo_custom_login_button_preview_google" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-google-plus"></i><?php
@@ -561,8 +495,7 @@ function mo_openid_apps_config() {
561
  <a id="mo_custom_login_button_preview_salesforce" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-cloud"></i><?php
562
  echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
563
  <a id="mo_custom_login_button_preview_windows" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-windows"></i><?php
564
- echo get_option('mo_openid_login_button_customize_text'); ?> Windows</a>
565
- <?php }?>
566
  </div>
567
  </td>
568
  </tr>
@@ -621,15 +554,12 @@ function mo_openid_apps_config() {
621
  value="<?php echo get_option('mo_openid_login_widget_customize_logout_text'); ?>" /></td>
622
  </tr>
623
  <?php }?>
624
- <td>
625
- <br>
626
- <hr>
627
- <h3>Display Options</h3>
628
-
629
- <b>Select the options where you want to display the social login icons</b>
630
- </td>
631
- </tr>
632
-
633
 
634
  <tr>
635
  <td class="mo_openid_table_td_checkbox">
@@ -646,13 +576,83 @@ function mo_openid_apps_config() {
646
  <input type="checkbox" id="default_comment_enable" name="mo_openid_default_comment_enable" value="1"
647
  <?php checked( get_option('mo_openid_default_comment_enable') == 1 );?> />Comment Form</td>
648
  </tr>
649
- <?php if(get_option('mo_openid_oauth')!='1') {?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
650
  <tr>
651
  <td class="mo_openid_table_td_checkbox">
652
  <input type="checkbox" id="woocommerce_login_form" name="mo_openid_woocommerce_login_form" value="1"
653
- <?php checked( get_option('mo_openid_woocommerce_login_form') == 1 );?> />WooCommerce Login Form</td>
654
  </tr>
655
- <?php }?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  <tr><td>&nbsp;</td></tr>
657
 
658
  <tr>
@@ -967,7 +967,6 @@ function mo_openid_apps_config() {
967
 
968
  function previewLoginIcons() {
969
  var flag = 0;
970
- <?php if(get_option('mo_openid_oauth')!='1') {?>
971
  if (document.getElementById('google_enable').checked) {
972
  flag = 1;
973
  if(document.getElementById('mo_openid_login_default_radio').checked && !document.getElementById('iconwithtext').checked)
@@ -1130,66 +1129,6 @@ function mo_openid_apps_config() {
1130
  jQuery("#mo_login_button_preview_twitter").hide();
1131
  jQuery("#mo_custom_login_button_preview_twitter").hide();
1132
  }
1133
-
1134
- <?php }else {?>
1135
- if (document.getElementById('google_enable').checked) {
1136
- flag = 1;
1137
- if(document.getElementById('mo_openid_login_default_radio').checked && !document.getElementById('iconwithtext').checked)
1138
- jQuery("#mo_login_icon_preview_google").show();
1139
- if(document.getElementById('mo_openid_login_custom_radio').checked && !document.getElementById('iconwithtext').checked)
1140
- jQuery("#mo_custom_login_icon_preview_google").show();
1141
- if(document.getElementById('mo_openid_login_default_radio').checked && document.getElementById('iconwithtext').checked)
1142
- jQuery("#mo_login_button_preview_google").show();
1143
- if(document.getElementById('mo_openid_login_custom_radio').checked && document.getElementById('iconwithtext').checked)
1144
- jQuery("#mo_custom_login_button_preview_google").show();
1145
- } else if(!document.getElementById('google_enable').checked){
1146
- jQuery("#mo_login_icon_preview_google").hide();
1147
- jQuery("#mo_custom_login_icon_preview_google").hide();
1148
- jQuery("#mo_login_button_preview_google").hide();
1149
- jQuery("#mo_custom_login_button_preview_google").hide();
1150
-
1151
- }
1152
-
1153
- if (document.getElementById('facebook_enable').checked) {
1154
- flag = 1;
1155
- if(document.getElementById('mo_openid_login_default_radio').checked && !document.getElementById('iconwithtext').checked)
1156
- jQuery("#mo_login_icon_preview_facebook").show();
1157
- if(document.getElementById('mo_openid_login_custom_radio').checked && !document.getElementById('iconwithtext').checked)
1158
- jQuery("#mo_custom_login_icon_preview_facebook").show();
1159
- if(document.getElementById('mo_openid_login_default_radio').checked && document.getElementById('iconwithtext').checked)
1160
- jQuery("#mo_login_button_preview_facebook").show();
1161
- if(document.getElementById('mo_openid_login_custom_radio').checked && document.getElementById('iconwithtext').checked)
1162
- jQuery("#mo_custom_login_button_preview_facebook").show();
1163
- }else if(!document.getElementById('facebook_enable').checked){
1164
- jQuery("#mo_login_icon_preview_facebook").hide();
1165
- jQuery("#mo_custom_login_icon_preview_facebook").hide();
1166
- jQuery("#mo_login_button_preview_facebook").hide();
1167
- jQuery("#mo_custom_login_button_preview_facebook").hide();
1168
- }
1169
-
1170
- if (document.getElementById('twitter_enable').checked) {
1171
- if(flag) {
1172
- jQuery("#no_apps_text").hide();
1173
- } else {
1174
- jQuery("#no_apps_text").show();
1175
- }
1176
-
1177
- flag = 1;
1178
- if(document.getElementById('mo_openid_login_default_radio').checked && !document.getElementById('iconwithtext').checked)
1179
- jQuery("#mo_login_icon_preview_twitter").show();
1180
- if(document.getElementById('mo_openid_login_custom_radio').checked && !document.getElementById('iconwithtext').checked)
1181
- jQuery("#mo_custom_login_icon_preview_twitter").show();
1182
- if(document.getElementById('mo_openid_login_default_radio').checked && document.getElementById('iconwithtext').checked)
1183
- jQuery("#mo_login_button_preview_twitter").show();
1184
- if(document.getElementById('mo_openid_login_custom_radio').checked && document.getElementById('iconwithtext').checked)
1185
- jQuery("#mo_custom_login_button_preview_twitter").show();
1186
- }else if(!document.getElementById('twitter_enable').checked){
1187
- jQuery("#mo_login_icon_preview_twitter").hide();
1188
- jQuery("#mo_custom_login_icon_preview_twitter").hide();
1189
- jQuery("#mo_login_button_preview_twitter").hide();
1190
- jQuery("#mo_custom_login_button_preview_twitter").hide();
1191
- }
1192
- <?php }?>
1193
  }
1194
  checkLoginButton();
1195
  </script>
@@ -1204,8 +1143,7 @@ function mo_openid_apps_config() {
1204
  <td><input type="checkbox" id="moopenid_social_login_avatar" name="moopenid_social_login_avatar" value="1" <?php checked( get_option('moopenid_social_login_avatar') == 1 );?> /><b>Set Display Picture for User</b>
1205
  </td>
1206
  </tr>
1207
-
1208
- <?php if(get_option('mo_openid_oauth')=='1'){?>
1209
  <tr>
1210
  <td>
1211
  <br/>
@@ -1215,13 +1153,14 @@ function mo_openid_apps_config() {
1215
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ <b>Notice:</b> SMTP should be configured. ]
1216
  </td>
1217
  </tr>
1218
- <tr >
1219
- <td>
1220
- <div ><br>
1221
- <input type="checkbox" id="moopenid_logo_check" name="moopenid_logo_check" value="1" <?php checked( get_option('moopenid_logo_check') == 1 );?> /><b>Display miniOrange logo with social login icons and on account linking & profile completion forms.</b>
1222
- </div>
1223
- </td>
1224
- </tr>
 
1225
  <?php }?>
1226
  <tr>
1227
  <td>
@@ -2528,24 +2467,30 @@ function mo_openid_pricing_info(){
2528
  <tbody class="mo_align-center mo-fa-icon">
2529
  <tr>
2530
  <td>Pre-configured Social Login Apps</td>
2531
- <td>Facebook, Google, Twitter</td>
2532
- <td>All Apps*</i></td>
2533
- <td>All Apps*</td>
2534
  </tr>
2535
  <tr>
2536
  <td>Custom Social Login Apps</td>
2537
  <td>Facebook, Google, Twitter</td>
2538
- <td>All Apps*</i></td>
2539
- <td>All Apps*</td>
2540
  </tr>
2541
  <tr>
2542
- <td>Social Sharing </td>
2543
  <td><i class="fa fa-check"></i></td>
2544
  <td><i class="fa fa-check"></i></td>
2545
  <td><i class="fa fa-check"></i></td>
2546
  </tr>
2547
  <tr>
2548
- <td>Social Comments</td>
 
 
 
 
 
 
2549
  <td><i class="fa fa-check"></i></td>
2550
  <td><i class="fa fa-check"></i></td>
2551
  <td><i class="fa fa-check"></i></td>
@@ -2599,13 +2544,29 @@ function mo_openid_pricing_info(){
2599
  <td><i class="fa fa-check"></i></</td>
2600
  </tr>
2601
  <tr>
2602
- <?php if(get_option('mo_openid_oauth') == 1){ ?>
2603
  <td>Email notification to admin </td>
2604
  <td><i class="fa fa-check"></i></td>
2605
  <td><i class="fa fa-check"></i></td>
2606
  <td><i class="fa fa-check"></i></td>
2607
  </tr>
2608
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2609
  <tr>
2610
  <td>Email Notification to multiple admins</td>
2611
  <td></td>
@@ -2642,14 +2603,14 @@ function mo_openid_pricing_info(){
2642
  <td><i class="fa fa-check"></i></td>
2643
  <td><i class="fa fa-check"></i></td>
2644
  </tr>
2645
- <tr>
2646
- <td>BuddyPress Integration**</td>
2647
  <td></td>
2648
  <td></td>
2649
  <td><i class="fa fa-check"></i></td>
2650
  </tr>
2651
  <tr>
2652
- <td>Woocommerce Integration**</td>
2653
  <td></td>
2654
  <td></td>
2655
  <td><i class="fa fa-check"></i></td>
@@ -2706,8 +2667,8 @@ function mo_openid_pricing_info(){
2706
  <ol>
2707
  <table border-spacing: 5px;>
2708
  <tr>
2709
- <td width="17%"><b>All Apps :</b></td>
2710
- <td>Facebook, Google, Twitter, Vkontakte, LinkedIn, Windows Live, Amazon, Instagram</td>
2711
  </tr>
2712
  <tr>
2713
  <td width="17%"><b>Pre-configured Apps :</b></td>
@@ -2725,11 +2686,11 @@ function mo_openid_pricing_info(){
2725
  <table border-spacing: 5px;>
2726
  <tr>
2727
  <td width="17%"><b>BuddyPress Integration :</b></td>
2728
- <td>Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</td>
2729
  </tr>
2730
  <tr>
2731
  <td><b>Woocommerce Integration :</b></td>
2732
- <td>First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page. </td>
2733
  </tr>
2734
  <tr>
2735
  <td><b>MailChimp Integration :</b></td>
279
  <p>Select applications to enable social login</p>
280
 
281
  <tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  <td>
283
  <table style="width:100%">
284
  <tr>
323
  </tr>
324
  </table>
325
  </td>
 
326
  </tr>
327
 
328
  <tr>
433
  <tr>
434
  <td> <br><b>Preview : </b><br/><span hidden id="no_apps_text">No apps selected</span>
435
  <div>
 
 
 
 
 
 
 
436
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_facebook" src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" />
437
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_google" src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" />
438
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_vkontakte" src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" />
442
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_amazon" src="<?php echo plugins_url( 'includes/images/icons/amazon.png', __FILE__ )?>" />
443
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_salesforce" src="<?php echo plugins_url( 'includes/images/icons/salesforce.png', __FILE__ )?>" />
444
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_windowslive" src="<?php echo plugins_url( 'includes/images/icons/windowslive.png', __FILE__ )?>" />
 
445
  </div>
446
 
447
  <div>
 
 
 
 
 
 
 
 
 
 
 
448
  <a id="mo_login_button_preview_facebook" class="btn btn-block btn-defaulttheme btn-social btn-facebook btn-custom-size"> <i class="fa fa-facebook"></i><?php
449
  echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
450
  <a id="mo_login_button_preview_google" class="btn btn-block btn-defaulttheme btn-social btn-google btn-custom-size"> <i class="fa fa-google-plus"></i><?php
463
  echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
464
  <a id="mo_login_button_preview_windowslive" class="btn btn-block btn-defaulttheme btn-social btn-microsoft btn-custom-size"> <i class="fa fa-windows"></i><?php
465
  echo get_option('mo_openid_login_button_customize_text'); ?> Windows</a>
 
466
  </div>
467
 
468
  <div>
 
 
 
 
 
 
 
469
  <i class="mo_custom_login_icon_preview fa fa-facebook" id="mo_custom_login_icon_preview_facebook" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
470
  <i class="mo_custom_login_icon_preview fa fa-google-plus" id="mo_custom_login_icon_preview_google" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
471
  <i class="mo_custom_login_icon_preview fa fa-vk" id="mo_custom_login_icon_preview_vkontakte" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
475
  <i class="mo_custom_login_icon_preview fa fa-amazon" id="amazoncustom" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
476
  <i class="mo_custom_login_icon_preview fa fa-cloud" id="salesforcecustom" style="margin-bottom:-10px;color:#ffffff;text-align:center;margin-top:5px;" ></i>
477
  <i class="mo_custom_login_icon_preview fa fa-windows" id="mo_custom_login_icon_preview_windows" style="color:#ffffff;text-align:center;margin-top:5px;" ></i>
 
478
  </div>
479
 
480
  <div>
 
 
 
 
 
 
 
 
 
481
  <a id="mo_custom_login_button_preview_facebook" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-facebook"></i><?php
482
  echo get_option('mo_openid_login_button_customize_text'); ?> Facebook</a>
483
  <a id="mo_custom_login_button_preview_google" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-google-plus"></i><?php
495
  <a id="mo_custom_login_button_preview_salesforce" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-cloud"></i><?php
496
  echo get_option('mo_openid_login_button_customize_text'); ?> Salesforce</a>
497
  <a id="mo_custom_login_button_preview_windows" class="btn btn-block btn-customtheme btn-social btn-custom-size"> <i class="fa fa-windows"></i><?php
498
+ echo get_option('mo_openid_login_button_customize_text'); ?> Windows</a>
 
499
  </div>
500
  </td>
501
  </tr>
554
  value="<?php echo get_option('mo_openid_login_widget_customize_logout_text'); ?>" /></td>
555
  </tr>
556
  <?php }?>
557
+ <td>
558
+ <br>
559
+ <hr>
560
+ <h3>Display Options</h3>
561
+ <b>Select the options where you want to display the social login icons</b>
562
+ </td>
 
 
 
563
 
564
  <tr>
565
  <td class="mo_openid_table_td_checkbox">
576
  <input type="checkbox" id="default_comment_enable" name="mo_openid_default_comment_enable" value="1"
577
  <?php checked( get_option('mo_openid_default_comment_enable') == 1 );?> />Comment Form</td>
578
  </tr>
579
+
580
+ <td>
581
+ <br>
582
+ <b>Woocommerce display options</b>
583
+ </td>
584
+
585
+
586
+ <tr>
587
+ <td class="mo_openid_table_td_checkbox">
588
+ <input type="checkbox" id="woocommerce_before_login_form" name="mo_openid_woocommerce_before_login_form" value="1"
589
+ <?php checked( get_option('mo_openid_woocommerce_before_login_form') == 1 );?> />Before WooCommerce Login Form</td>
590
+ </tr>
591
+ <tr>
592
+ <td class="mo_openid_table_td_checkbox">
593
+ <input type="checkbox" id="woocommerce_center_login_form" name="mo_openid_woocommerce_center_login_form" value="1"
594
+ <?php checked( get_option('mo_openid_woocommerce_center_login_form') == 1 );?> />Before 'Remember Me' of WooCommerce Login Form</td>
595
+ </tr>
596
  <tr>
597
  <td class="mo_openid_table_td_checkbox">
598
  <input type="checkbox" id="woocommerce_login_form" name="mo_openid_woocommerce_login_form" value="1"
599
+ <?php checked( get_option('mo_openid_woocommerce_login_form') == 1 );?> />After WooCommerce Login Form</td>
600
  </tr>
601
+ <tr>
602
+ <td class="mo_openid_table_td_checkbox">
603
+ <input type="checkbox" id="woocommerce_register_form_start" name="mo_openid_woocommerce_register_form_start" value="1"
604
+ <?php checked( get_option('mo_openid_woocommerce_register_form_start') == 1 );?> />Before WooCommerce Registration Form</td>
605
+ </tr>
606
+ <tr>
607
+ <td class="mo_openid_table_td_checkbox">
608
+ <input type="checkbox" id="woocommerce_center_register_form" name="mo_openid_woocommerce_center_register_form" value="1"
609
+ <?php checked( get_option('mo_openid_woocommerce_center_register_form') == 1 );?> />Before 'Register button' of WooCommerce Registration Form</td>
610
+ </tr>
611
+
612
+ <tr>
613
+ <td class="mo_openid_table_td_checkbox">
614
+ <input type="checkbox" id="woocommerce_register_form_end" name="mo_openid_woocommerce_register_form_end" value="1"
615
+ <?php checked( get_option('mo_openid_woocommerce_register_form_end') == 1 );?> />After WooCommerce Registration Form</td>
616
+ </tr>
617
+ <tr>
618
+ <td class="mo_openid_table_td_checkbox">
619
+ <input type="checkbox" id="woocommerce_before_checkout_billing_form" name="mo_openid_woocommerce_before_checkout_billing_form" value="1"
620
+ <?php checked( get_option('mo_openid_woocommerce_before_checkout_billing_form') == 1 );?> />Before WooCommerce Checkout Form</td>
621
+ </tr>
622
+ <tr>
623
+ <td class="mo_openid_table_td_checkbox">
624
+ <input type="checkbox" id="woocommerce_after_checkout_billing_form" name="mo_openid_woocommerce_after_checkout_billing_form" value="1"
625
+ <?php checked( get_option('mo_openid_woocommerce_after_checkout_billing_form') == 1 );?> />After WooCommerce Checkout Form</td>
626
+ </tr>
627
+ <!-- <tr>
628
+ <td class="mo_openid_table_td_checkbox">
629
+ <input type="checkbox" id="woocommerce_edit_account_form_start" name="mo_openid_woocommerce_edit_account_form_start" value="1"
630
+ <?php /*checked( get_option('mo_openid_woocommerce_edit_account_form_start') == 1 );*/?> />Before WooCommerce Edit Account Form</td>
631
+ </tr>
632
+ <tr>
633
+ <td class="mo_openid_table_td_checkbox">
634
+ <input type="checkbox" id="woocommerce_edit_account_form_end" name="mo_openid_woocommerce_edit_account_form_end" value="1"
635
+ <?php /*checked( get_option('mo_openid_woocommerce_edit_account_form_end') == 1 );*/?> />After WooCommerce Edit Account Form</td>
636
+ </tr>-->
637
+ <td>
638
+ <br>
639
+ <b>BuddyPress display options</b>
640
+ </td>
641
+ <tr>
642
+ <td class="mo_openid_table_td_checkbox">
643
+ <input type="checkbox" id="bp_before_register_page" name="mo_openid_bp_before_register_page" value="1"
644
+ <?php checked( get_option('mo_openid_bp_before_register_page') == 1 );?> />Before BuddyPress Registration Form</td>
645
+ </tr>
646
+ <tr>
647
+ <td class="mo_openid_table_td_checkbox">
648
+ <input type="checkbox" id="bp_before_account_details_fields" name="mo_openid_bp_before_account_details_fields" value="1"
649
+ <?php checked( get_option('mo_openid_bp_before_account_details_fields') == 1 );?> />Before BuddyPress Account Details</td>
650
+ </tr>
651
+ <tr>
652
+ <td class="mo_openid_table_td_checkbox">
653
+ <input type="checkbox" id="bp_after_register_page" name="mo_openid_bp_after_register_page" value="1"
654
+ <?php checked( get_option('mo_openid_bp_after_register_page') == 1 );?> />After BuddyPress Registration Form</td>
655
+ </tr>
656
  <tr><td>&nbsp;</td></tr>
657
 
658
  <tr>
967
 
968
  function previewLoginIcons() {
969
  var flag = 0;
 
970
  if (document.getElementById('google_enable').checked) {
971
  flag = 1;
972
  if(document.getElementById('mo_openid_login_default_radio').checked && !document.getElementById('iconwithtext').checked)
1129
  jQuery("#mo_login_button_preview_twitter").hide();
1130
  jQuery("#mo_custom_login_button_preview_twitter").hide();
1131
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1132
  }
1133
  checkLoginButton();
1134
  </script>
1143
  <td><input type="checkbox" id="moopenid_social_login_avatar" name="moopenid_social_login_avatar" value="1" <?php checked( get_option('moopenid_social_login_avatar') == 1 );?> /><b>Set Display Picture for User</b>
1144
  </td>
1145
  </tr>
1146
+
 
1147
  <tr>
1148
  <td>
1149
  <br/>
1153
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ <b>Notice:</b> SMTP should be configured. ]
1154
  </td>
1155
  </tr>
1156
+ <?php if(get_option('mo_openid_oauth')=='1'){?>
1157
+ <tr >
1158
+ <td>
1159
+ <div ><br>
1160
+ <input type="checkbox" id="moopenid_logo_check" name="moopenid_logo_check" value="1" <?php checked( get_option('moopenid_logo_check') == 1 );?> /><b>Display miniOrange logo with social login icons and on account linking & profile completion forms.</b>
1161
+ </div>
1162
+ </td>
1163
+ </tr>
1164
  <?php }?>
1165
  <tr>
1166
  <td>
2467
  <tbody class="mo_align-center mo-fa-icon">
2468
  <tr>
2469
  <td>Pre-configured Social Login Apps</td>
2470
+ <td>All 9 Apps*</td>
2471
+ <td>All 9 Apps*</i></td>
2472
+ <td>All 9 Apps*</td>
2473
  </tr>
2474
  <tr>
2475
  <td>Custom Social Login Apps</td>
2476
  <td>Facebook, Google, Twitter</td>
2477
+ <td>All 9 Apps*</i></td>
2478
+ <td>All 9 Apps*</td>
2479
  </tr>
2480
  <tr>
2481
+ <td>Beautiful Icon Customisations</td>
2482
  <td><i class="fa fa-check"></i></td>
2483
  <td><i class="fa fa-check"></i></td>
2484
  <td><i class="fa fa-check"></i></td>
2485
  </tr>
2486
  <tr>
2487
+ <td>16 Social Sharing Apps</td>
2488
+ <td><i class="fa fa-check"></i></td>
2489
+ <td><i class="fa fa-check"></i></td>
2490
+ <td><i class="fa fa-check"></i></td>
2491
+ </tr>
2492
+ <tr>
2493
+ <td>Facebook & Google+ Social Comments</td>
2494
  <td><i class="fa fa-check"></i></td>
2495
  <td><i class="fa fa-check"></i></td>
2496
  <td><i class="fa fa-check"></i></td>
2544
  <td><i class="fa fa-check"></i></</td>
2545
  </tr>
2546
  <tr>
 
2547
  <td>Email notification to admin </td>
2548
  <td><i class="fa fa-check"></i></td>
2549
  <td><i class="fa fa-check"></i></td>
2550
  <td><i class="fa fa-check"></i></td>
2551
  </tr>
2552
+ <tr>
2553
+ <td>Woocommerce Display Options</td>
2554
+ <td><i class="fa fa-check"></i></td>
2555
+ <td><i class="fa fa-check"></i></td>
2556
+ <td><i class="fa fa-check"></i></td>
2557
+ </tr>
2558
+ <tr>
2559
+ <td>BuddyPress Display Options</td>
2560
+ <td><i class="fa fa-check"></i></td>
2561
+ <td><i class="fa fa-check"></i></td>
2562
+ <td><i class="fa fa-check"></i></td>
2563
+ </tr>
2564
+ <tr>
2565
+ <td>BBPress Display Options</td>
2566
+ <td><i class="fa fa-check"></i></td>
2567
+ <td><i class="fa fa-check"></i></td>
2568
+ <td><i class="fa fa-check"></i></td>
2569
+ </tr>
2570
  <tr>
2571
  <td>Email Notification to multiple admins</td>
2572
  <td></td>
2603
  <td><i class="fa fa-check"></i></td>
2604
  <td><i class="fa fa-check"></i></td>
2605
  </tr>
2606
+ <tr>
2607
+ <td>Woocommerce Integration**</td>
2608
  <td></td>
2609
  <td></td>
2610
  <td><i class="fa fa-check"></i></td>
2611
  </tr>
2612
  <tr>
2613
+ <td>BuddyPress Integration**</td>
2614
  <td></td>
2615
  <td></td>
2616
  <td><i class="fa fa-check"></i></td>
2667
  <ol>
2668
  <table border-spacing: 5px;>
2669
  <tr>
2670
+ <td width="17%"><b>All 9 Apps :</b></td>
2671
+ <td>Facebook, Google, Twitter, Vkontakte, LinkedIn, Windows Live, Amazon, Instagram & Salesforce(on request)</td>
2672
  </tr>
2673
  <tr>
2674
  <td width="17%"><b>Pre-configured Apps :</b></td>
2686
  <table border-spacing: 5px;>
2687
  <tr>
2688
  <td width="17%"><b>BuddyPress Integration :</b></td>
2689
+ <td>Extended attributes returned from social app are mapped to Custom BuddyPress fields.</td>
2690
  </tr>
2691
  <tr>
2692
  <td><b>Woocommerce Integration :</b></td>
2693
+ <td>First name, last name and email are pre-filled in billing details of a user.</td>
2694
  </tr>
2695
  <tr>
2696
  <td><b>MailChimp Integration :</b></td>
readme.txt CHANGED
@@ -4,25 +4,25 @@ Donate link: https://www.miniorange.com
4
  Tags: social login, social, facebook, twitter, login
5
  Requires at least: 2.0.2
6
  Tested up to: 4.9.4
7
- Stable tag: 6.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Social Login implements social login, sharing, comment using social media like Google, Facebook, Twitter. EASIEST to configure.
12
 
13
  == Description ==
14
- Social Login is the easiest to configure and conveniently allows you to setup and start using the plugin very quickly.
15
 
16
- Social Login includes Facebook, Twitter, Google.
17
 
18
  Social Login allows your visitors to comment, share, login and register with many Social Media applications.
19
 
20
- Social Login provides different display options with beautiful customizations (CSS knowledge not needed!).
21
 
22
  = Social Login =
23
  Social Login allows your visitors to choose from their favourite social login apps to login, comment, share and optionally auto-register with your website or blog.
24
 
25
- One-click login to your WordPress site using social login applications like Google, Twitter, Facebook. Paid plans support Vkontakte, LinkedIn, Instagram, Amazon, Windows Live. This means, if your user is logged in to Google, user can comment on any blog or site by simply clicking the `google icon` - no username or password is explicitly required! Simply enable Social Login, **no setup of social media application** is required and you are done.
26
 
27
  = Social Sharing =
28
  Allow anyone to easily share your website content using their favorite social sharing applications. Social Sharing applications include Facebook, Twitter, Google+, Pinterest, Reddit, Vkontakte, Tumblr, StumbleUpon, LinkedIn, Pocket, Digg, Delicious, Odnoklassniki, Email, Print, Whatsapp. Customize your social sharing buttons to suit to your website's theme. Social sharing on homepage includes sharing with content or excerpt.
@@ -34,14 +34,22 @@ Allow users to comment on your website using supported social media commenting a
34
 
35
  = Free Version Features =
36
 
37
- * **NO SETUP required for Facebook, Google, Twitter or social sharing application**
38
- * Option to Setup your own application with APP ID and APP Secret for Facebook, Google, Twitter.
39
- * Option to enable/disable user registration.
40
- * Account Linking
41
- * Profile completion (username, email)
42
- * Profile Picture
43
- * Login Redirect URL
44
- * Logout Redirect URL
 
 
 
 
 
 
 
 
45
  * Customizable Text For Login Icons
46
  * Support for SHORTCODE for both social login and social sharing(horizontal & vertical)
47
  * Choose where to add the Social Login Icons: login page, registration page, comment form or anywhere on your site using our Social Login widget/ shortcode.
@@ -58,38 +66,36 @@ Allow users to comment on your website using supported social media commenting a
58
  = Premium Version Features =
59
 
60
  * All free version features
61
- * **Login with all apps [Premium]** - Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live
62
- * **NO SETUP** required for all apps **[Premium]**
63
- * **Setup your own application with APP ID and APP Secret for all apps **[Premium]**
64
- * **Email Notification to multiple admins [Premium]** - Option to send email notification to admin when user registers.
65
- * **Welcome email to end users [Premium]** - Option to send email notification to user when he registers.
66
- * **Customizable Email Notification template [Premium]** - Customize content of email sent to admin when user registers.
67
- * **Customizable welcome email template [Premium]** - Customize content of welcome email sent to registering users.
68
  * **Social Login Opens in a New Window [Premium]** - Social Login opens in a new window instead of the same window.
69
  * **Domain restriction [Premium]** - Option to restrict login/registration for users with a domain specified in the admin dashboard.
70
- * **BuddyPress Integration [Premium]** - Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.
71
- * **Woocommerce Integration [Premium]** - First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.
72
  * **MailChimp Integration [Premium]** - A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.
 
 
 
 
73
  * **Extended Profile Data [Premium]** - Extended profile data feature requires additional configuration. You need to have your own social media app and permissions from social media providers to collect extended user data.
74
- * **Social Analytics Dashboard Access [Premium]** -
75
- * **Custom Integration [Premium]** - If you have a specific custom requirement in the Social Login Plugin, we can implement and integrate it in the Plugin fo you. This includes all those custom features that come under the scope of Social Login/ Sharing/ Comments. These features are chargeable. Please send us a query through the support forum to get in touch with us about your custom requirements.
 
 
 
 
 
 
 
76
 
77
  = Easy Integration =
78
  Easy integration with your website with options to add Social login on login page, registration page and comments section. Add `miniOrange - Social Login` widget to add social login in widget area. Add shortcode [miniorange_social_login] to add social login in other places. Add social sharing applications to home page, posts, content pages, WooCommerce product page, bbPress forums, bbPress topics, bbPress replies and anywhere on your site using widgets. For Social Sharing, use `miniOrange Sharing - Vertical` for floating vertical widget and `miniOrange Sharing - Horizontal` for horizontal widget to add social sharing in widget area. Add shortcode [miniorange_social_sharing] for horizontal sharing icons and [miniorange_social_sharing_vertical] for vertical sharing icons.
79
 
80
- = Beautiful customizations =
81
- Customize Social Login and Social Sharing icons using a range of UI options like shape, size and theme. Choose from the following shapes - square, circle, rounded and long. Choose from the following themes - default, filled background, without background. Additionally customize the curve of the long buttons.
82
-
83
  = Single sign-on =
84
  Single Sign-On using Social Login creates a single authentication system for multiple web properties allowing users to navigate websites with a single account.
85
 
86
  All other Social Login and Social Sharing applications are supported through a simple email to info@miniorange.com.
87
 
88
-
89
-
90
- = Registration - How is this plugin better than other plugins available =
91
- Our very simple and easy registration lets you register with miniOrange. miniOrange takes care of creating applications for you in Social Login. In any other social login plugin, if you are providing login with a social media application, facebook for example, you will need an App ID for which you will need to create an entire application in facebook. So if you want to provide login with 10 different social applications then you need to go and create 10 applications in those social platforms. Using our plugin, Social Login, Social Sharing by miniOrange, you do not need to do that. Just by creating one registration with us, you get Social login plus other features.
92
-
93
  = Website - =
94
  These additional features are available upon request. Send an email to info@miniorange.com if you need any of these features.
95
 
@@ -160,6 +166,12 @@ Please email us at info@miniorange.com. You can also submit your query from the
160
 
161
 
162
  == Changelog ==
 
 
 
 
 
 
163
  = 6.2.1 =
164
  * Bug fix
165
 
@@ -449,6 +461,12 @@ Please email us at info@miniorange.com. You can also submit your query from the
449
  * First version of Social Login, Social Sharing plugin.
450
 
451
  == Upgrade Notice ==
 
 
 
 
 
 
452
  = 6.2.1 =
453
  * Bug fix
454
 
4
  Tags: social login, social, facebook, twitter, login
5
  Requires at least: 2.0.2
6
  Tested up to: 4.9.4
7
+ Stable tag: 6.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Social Login enables social login, sharing, comment using social apps like Google, Facebook, Twitter, Vkontakte, LinkedIn & more. QUICKEST setup.
12
 
13
  == Description ==
14
+ Social Login is the easiest to configure and conveniently allows you to setup and start using the plugin in seconds.
15
 
16
+ Social Login includes Facebook, Twitter, Google, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Salesforce.
17
 
18
  Social Login allows your visitors to comment, share, login and register with many Social Media applications.
19
 
20
+ Social Login provides different display options with beautiful login button customizations which other plugins do not provide(CSS knowledge is also not needed!).
21
 
22
  = Social Login =
23
  Social Login allows your visitors to choose from their favourite social login apps to login, comment, share and optionally auto-register with your website or blog.
24
 
25
+ One-click login to your WordPress site using social login applications like Google, Twitter, Facebook. This means, if your user is logged in to Google, user can comment on any blog or site by simply clicking the `google icon` - no username or password is explicitly required! Simply enable Social Login, **no setup of social media application** is required and you are done.
26
 
27
  = Social Sharing =
28
  Allow anyone to easily share your website content using their favorite social sharing applications. Social Sharing applications include Facebook, Twitter, Google+, Pinterest, Reddit, Vkontakte, Tumblr, StumbleUpon, LinkedIn, Pocket, Digg, Delicious, Odnoklassniki, Email, Print, Whatsapp. Customize your social sharing buttons to suit to your website's theme. Social sharing on homepage includes sharing with content or excerpt.
34
 
35
  = Free Version Features =
36
 
37
+ * **NO SETUP required for default apps.**
38
+ * Enable Login with Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Salesforce or social sharing application
39
+ * Enable your own application with APP ID and APP Secret for Facebook, Google, Twitter.
40
+ * **Preview available for Login & Sharing Icons**
41
+ * **Beautiful Icon Customisations** - customize shape, theme, space & size of social login/sharing icons.
42
+ * **Account Linking** - Link social account to WordPress account
43
+ * **Profile completion** (username, email) - Prompt user for email & username if social app doesn't return it. Email is verified with verification code.
44
+ * **Assign Roles to users**
45
+ * **Woocommerce display options** - Enable social login icons on the Woocommerce Checkout, Login, Registration pages.
46
+ * **BuddyPress dispaly options** - Enable Social login icons on Registartion & Account pages of BuddyPress.
47
+ * **bbPress display options** - Enable Social Sharing on Forum, Topic and Reply Pages.
48
+ * Sync Social Profile Picture with WordPress
49
+ * Enable Email Notification to admin on user registration
50
+ * Enable/disable user registration.
51
+ * customize Login Redirect URL
52
+ * customize Logout Redirect URL
53
  * Customizable Text For Login Icons
54
  * Support for SHORTCODE for both social login and social sharing(horizontal & vertical)
55
  * Choose where to add the Social Login Icons: login page, registration page, comment form or anywhere on your site using our Social Login widget/ shortcode.
66
  = Premium Version Features =
67
 
68
  * All free version features
69
+ * **Enable your own application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Salesforce **[Premium]**
70
+ * **Woocommerce Integration [Premium]** - Auto-fill first name, last name and email in billing details of a user.
71
+ * **BuddyPress Integration [Premium]** - Sync profile picture from social media to BuddyPress avatar. Sync user profile to BuddyPress custom fields.
72
+ * **Test Configuration [Premium]**
 
 
 
73
  * **Social Login Opens in a New Window [Premium]** - Social Login opens in a new window instead of the same window.
74
  * **Domain restriction [Premium]** - Option to restrict login/registration for users with a domain specified in the admin dashboard.
 
 
75
  * **MailChimp Integration [Premium]** - A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.
76
+ * **Email Notification to multiple admins [Premium]** - Option to send email notification to multiple admins when user registers.
77
+ * **Welcome email to end users [Premium]** - Option to send email notification to user when he registers.
78
+ * **Customizable Email Notification template [Premium]** - customize content of email sent to admin when user registers.
79
+ * **Customizable welcome email template [Premium]** - customize content of welcome email sent to registering users.
80
  * **Extended Profile Data [Premium]** - Extended profile data feature requires additional configuration. You need to have your own social media app and permissions from social media providers to collect extended user data.
81
+ * **Social Analytics Dashboard Access [Premium]**
82
+ * Customizable Logout Text
83
+ * **Custom Integration [Premium]** - If you have a specific custom requirement in the Social Login Plugin, we can implement and integrate it in the Plugin for you. This includes all those custom features that come under the scope of Social Login/ Sharing/ Comments. These features are chargeable. Please send us a query through the support forum to get in touch with us about your custom requirements.
84
+
85
+ = How is this plugin better than other plugins available =
86
+ * Support for 9 apps in free plan - Login with Facebook, Google, Twitter, LinkedIn, Instagram, Vkontakte, Windows Live, Amazon, Salesforce all available in the free plan.
87
+ * Setup in seconds - miniOrange takes care of creating applications for you in Social Login. This removes the hassle of creating your own application in all the social media. In any other social login plugin, if you are providing login with a social media application, facebook for example, you will need an App ID for which you will need to create an entire application in facebook. So if you want to provide login with 10 different social applications then you need to go and create 10 applications in those social platforms. Using our plugin, Social Login, Social Sharing by miniOrange, you do not need to do that. Just by creating one registration with us, you get Social login plus other features.
88
+ * Icon Customizations - Beautiful icon customisations for Social Login and Social Sharing are available in our free plan where you can use a range of UI options like shape, size and theme. You get to choose from the following shapes - square, circle, rounded and long. You get to choose from the following themes - default, filled background, without background. Additionally you can customize the curve of the long buttons.
89
+ * Support - Social Login, Social Sharing plugin has in-plugin support available. Sending us a query is just a button-lick away.
90
 
91
  = Easy Integration =
92
  Easy integration with your website with options to add Social login on login page, registration page and comments section. Add `miniOrange - Social Login` widget to add social login in widget area. Add shortcode [miniorange_social_login] to add social login in other places. Add social sharing applications to home page, posts, content pages, WooCommerce product page, bbPress forums, bbPress topics, bbPress replies and anywhere on your site using widgets. For Social Sharing, use `miniOrange Sharing - Vertical` for floating vertical widget and `miniOrange Sharing - Horizontal` for horizontal widget to add social sharing in widget area. Add shortcode [miniorange_social_sharing] for horizontal sharing icons and [miniorange_social_sharing_vertical] for vertical sharing icons.
93
 
 
 
 
94
  = Single sign-on =
95
  Single Sign-On using Social Login creates a single authentication system for multiple web properties allowing users to navigate websites with a single account.
96
 
97
  All other Social Login and Social Sharing applications are supported through a simple email to info@miniorange.com.
98
 
 
 
 
 
 
99
  = Website - =
100
  These additional features are available upon request. Send an email to info@miniorange.com if you need any of these features.
101
 
166
 
167
 
168
  == Changelog ==
169
+ = 6.2.2 =
170
+ * Added Woocommerce display options
171
+ * Added BuddyPress display options
172
+ * Support for 9 apps now (Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Salesforce )
173
+ * Fixed OTP issue in Profile Completion
174
+
175
  = 6.2.1 =
176
  * Bug fix
177
 
461
  * First version of Social Login, Social Sharing plugin.
462
 
463
  == Upgrade Notice ==
464
+ = 6.2.2 =
465
+ * Added Woocommerce display options
466
+ * Added BuddyPress display options
467
+ * Support for 9 apps now (Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Salesforce )
468
+ * Fixed OTP issue in Profile Completion
469
+
470
  = 6.2.1 =
471
  * Bug fix
472
 
uninstall.php CHANGED
@@ -121,4 +121,21 @@
121
  delete_option('mo_openid_oauth');
122
  delete_option('mo_openid_apps_list');
123
  delete_option('mo_openid_enable_profile_completion');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  ?>
121
  delete_option('mo_openid_oauth');
122
  delete_option('mo_openid_apps_list');
123
  delete_option('mo_openid_enable_profile_completion');
124
+
125
+ //woocommerce display options
126
+ delete_option( 'mo_openid_woocommerce_login_form');
127
+ delete_option( 'mo_openid_woocommerce_before_login_form');
128
+ delete_option( 'mo_openid_woocommerce_center_login_form');
129
+ delete_option( 'mo_openid_woocommerce_register_form_start');
130
+ delete_option( 'mo_openid_woocommerce_center_register_form');
131
+ delete_option( 'mo_openid_woocommerce_register_form_end');
132
+ delete_option( 'mo_openid_woocommerce_before_checkout_billing_form');
133
+ delete_option( 'mo_openid_woocommerce_after_checkout_billing_form');
134
+ // delete_option( 'mo_openid_woocommerce_edit_account_form_start');
135
+ // delete_option( 'mo_openid_woocommerce_edit_account_form_end');
136
+
137
+ //buddypress display options
138
+ delete_option( 'mo_openid_bp_before_register_page');
139
+ delete_option( 'mo_openid_bp_before_account_details_fields');
140
+ delete_option( 'mo_openid_bp_after_register_page');
141
  ?>