Social Login - Version 7.4.9

Version Description

  • Resolved blank page redirection issue.
  • Updated Instructions for Facebook and Google.
  • Updated UI for Popular Integration Tab.
  • Added pre-activated apps for Google, LinkedIN, and Amazon.
  • Added and introduced Rest API / Mobile SSO solution for Android and iOS applications.
  • Introduced multisite plans for Standard, Premium, and All-inclusive plans.
  • Added and introduced new Discord Add-on.
Download this release

Release Info

Developer unsolvedcontriver
Plugin Icon 128x128 Social Login
Version 7.4.9
Comparing to
See all releases

Code changes from version 7.4.8 to 7.4.9

Files changed (37) hide show
  1. CustomerOpenID.php +6 -0
  2. class-mo-openid-login-widget.php +4 -3
  3. includes/css/mo_openid_style.css +47 -1
  4. includes/images/active.png +0 -0
  5. includes/images/dollar.png +0 -0
  6. includes/images/mmp/membership-1.png +0 -0
  7. includes/images/mmp/membership-2.png +0 -0
  8. includes/images/mmp/membership-3.png +0 -0
  9. includes/images/mmp/mmp_4.png +0 -0
  10. includes/images/pmp/pmp_1.png +0 -0
  11. includes/images/pmp/pmp_2.png +0 -0
  12. includes/images/pmp/pmp_3.png +0 -0
  13. includes/images/pmp/pmp_4.png +0 -0
  14. includes/images/rest_api5.gif +0 -0
  15. includes/images/rest_api8.jpg +0 -0
  16. includes/images/rest_api_image.png +0 -0
  17. miniorange_openid_sso_settings.php +22 -10
  18. miniorange_openid_sso_settings_page.php +36 -6
  19. mo-openid-social-login-functions.php +15 -0
  20. readme.txt +19 -1
  21. social_apps/facebook.php +4 -4
  22. social_apps/google.php +2 -4
  23. view/add_on/custom_registration_form.php +1 -3
  24. view/add_on/mo_buddypress_add_on.php +2 -1
  25. view/add_on/mo_discord_add_on.php +117 -0
  26. view/add_on/mo_hubspot_add_on.php +11 -7
  27. view/add_on/mo_mailchimp_add_on.php +1 -1
  28. view/add_on/mo_woocommerce_add_on.php +10 -11
  29. view/config_apps/mo_openid_config_apps.php +21 -13
  30. view/config_apps/mo_openid_config_apps_funct.php +6 -3
  31. view/disp_options/mo_openid_dispopt.php +3 -0
  32. view/integration/mo_openid_integrate.php +700 -161
  33. view/licensing_plans/mo_openid_lic_plans.php +347 -224
  34. view/link_social_account/mo_openid_Acclink.php +36 -0
  35. view/redirect_options/mo_openid_redirect_op.php +3 -0
  36. view/rest_api/mo_rest_api_page.php +42 -0
  37. view/restrict_domain/mo_openid_restrict_dom.php +0 -50
CustomerOpenID.php CHANGED
@@ -406,6 +406,12 @@ class CustomerOpenID {
406
  'applicationName' => 'WP_SOCIAL_LOGIN_HUBSPOT_ADDON'
407
  );
408
  }
 
 
 
 
 
 
409
  $field_string = json_encode($fields);
410
  $headers = array(
411
  "Content-Type" => "application/json",
406
  'applicationName' => 'WP_SOCIAL_LOGIN_HUBSPOT_ADDON'
407
  );
408
  }
409
+ else if($licience_type=="WP_SOCIAL_LOGIN_DISCORD_ADDON") {
410
+ $fields = array(
411
+ 'customerId' => $customerKey,
412
+ 'applicationName' => 'WP_SOCIAL_LOGIN_DISCORD_ADDON'
413
+ );
414
+ }
415
  $field_string = json_encode($fields);
416
  $headers = array(
417
  "Content-Type" => "application/json",
class-mo-openid-login-widget.php CHANGED
@@ -891,6 +891,9 @@ class mo_openid_login_wid extends WP_Widget {
891
  <?php }
892
  ?>
893
  <script type="text/javascript">
 
 
 
894
  function mo_openid_on_consent_change(checkbox){
895
  if (! checkbox.checked) {
896
  jQuery('#mo_openid_consent_checkbox').val(1);
@@ -1141,8 +1144,7 @@ function mo_openid_disabled_register_message()
1141
  }
1142
 
1143
  function mo_openid_get_redirect_url() {
1144
-
1145
- $current_url = isset($_COOKIE["redirect_current_url"]) ? $_COOKIE["redirect_current_url"]:'';
1146
  $pos = strpos($_SERVER['REQUEST_URI'], '/openidcallback');
1147
 
1148
  if ($pos === false) {
@@ -1235,7 +1237,6 @@ function mo_openid_login_validate(){
1235
  }
1236
 
1237
  if ( isset( $_REQUEST['option'] ) and strpos( $_REQUEST['option'], 'getmosociallogin' ) !== false ) {
1238
-
1239
  if (isset($_REQUEST['wp_nonce'])) {
1240
  $nonce = sanitize_text_field($_REQUEST['wp_nonce']);
1241
  if (!wp_verify_nonce($nonce, 'mo-openid-get-social-login-nonce')) {
891
  <?php }
892
  ?>
893
  <script type="text/javascript">
894
+ jQuery(document).ready(function () {
895
+ jQuery(".login-button").css("cursor", "pointer");
896
+ });
897
  function mo_openid_on_consent_change(checkbox){
898
  if (! checkbox.checked) {
899
  jQuery('#mo_openid_consent_checkbox').val(1);
1144
  }
1145
 
1146
  function mo_openid_get_redirect_url() {
1147
+ $current_url = isset($_COOKIE["redirect_current_url"]) ? $_COOKIE["redirect_current_url"]:get_option('siteurl');
 
1148
  $pos = strpos($_SERVER['REQUEST_URI'], '/openidcallback');
1149
 
1150
  if ($pos === false) {
1237
  }
1238
 
1239
  if ( isset( $_REQUEST['option'] ) and strpos( $_REQUEST['option'], 'getmosociallogin' ) !== false ) {
 
1240
  if (isset($_REQUEST['wp_nonce'])) {
1241
  $nonce = sanitize_text_field($_REQUEST['wp_nonce']);
1242
  if (!wp_verify_nonce($nonce, 'mo-openid-get-social-login-nonce')) {
includes/css/mo_openid_style.css CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  #mo_shortcode_table {
2
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
3
  border-collapse: collapse;
@@ -1462,4 +1488,24 @@ p>a.mo-openid-share-link
1462
  text-align: center;
1463
  }
1464
 
1465
- /* Doc Tab CSS End */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .mo-nav-tab {
2
+ float: left;
3
+ border: 1px solid #ccc;
4
+ border-bottom: none;
5
+ margin-left: .5em;
6
+ padding: 5px 10px;
7
+ font-size: 14px;
8
+ line-height: 1.71428571;
9
+ font-weight: 600;
10
+ background: #F3F5F6;
11
+ color: #000000;
12
+ text-decoration: none;
13
+ white-space: nowrap;
14
+ }
15
+
16
+ .mo-nav-tab:focus, .mo-nav-tab:hover {
17
+ background-color: #0867B2;
18
+ color: #ffffff;
19
+ }
20
+
21
+ .mo-nav-tab-active, .mo-nav-tab-active:focus, .mo-nav-tab-active:focus:active, .mo-nav-tab-active:hover {
22
+ border-bottom: 1px solid #0867B2;
23
+ background: #0867B2;
24
+ color: #ffffff;
25
+ }
26
+
27
  #mo_shortcode_table {
28
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
29
  border-collapse: collapse;
1488
  text-align: center;
1489
  }
1490
 
1491
+ /* Doc Tab CSS End */
1492
+
1493
+ /*Mobile SSO Page*/
1494
+ .mo_mobile_sso_click_here{
1495
+ background-color: orangered;
1496
+ height: 88px;
1497
+ width: 176px;
1498
+ font-size: xx-large;
1499
+ margin: 0 0 0 3%;
1500
+ font-weight: bold;
1501
+ color: white;
1502
+ border-radius: 10px;
1503
+ animation-name: clickhere;
1504
+ animation-duration: 1s;
1505
+ animation-iteration-count: infinite;
1506
+ }
1507
+ @keyframes clickhere {
1508
+ 0% {background-color: orangered;}
1509
+ 50% {background-color: #1B79AE;}
1510
+ }
1511
+
includes/images/active.png DELETED
Binary file
includes/images/dollar.png DELETED
Binary file
includes/images/mmp/membership-1.png ADDED
Binary file
includes/images/mmp/membership-2.png ADDED
Binary file
includes/images/mmp/membership-3.png ADDED
Binary file
includes/images/mmp/mmp_4.png ADDED
Binary file
includes/images/pmp/pmp_1.png ADDED
Binary file
includes/images/pmp/pmp_2.png ADDED
Binary file
includes/images/pmp/pmp_3.png ADDED
Binary file
includes/images/pmp/pmp_4.png ADDED
Binary file
includes/images/rest_api5.gif ADDED
Binary file
includes/images/rest_api8.jpg ADDED
Binary file
includes/images/rest_api_image.png ADDED
Binary file
miniorange_openid_sso_settings.php CHANGED
@@ -4,12 +4,12 @@
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
- * Version: 7.4.8
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
- define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.4.8');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  require('miniorange_openid_sso_settings_page.php');
@@ -79,11 +79,17 @@ class miniorange_openid_sso_settings
79
 
80
  //set default values
81
  add_option( 'mo_openid_host_name', 'https://login.xecurify.com');
82
- add_option('mo_openid_admin_api_key','BjIZyuSDTE90MVWp4pRLr3dzrFs8h74T');
83
- add_option('mo_openid_customer_token','6osoapPWEgGlBRgT');
 
 
 
 
 
84
  add_option('app_pos','facebook#google#vkontakte#twitter#instagram#linkedin#amazon#salesforce#windowslive#yahoo');
85
  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#dropbox#stackexchange#livejournal#snapchat#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq');
86
  add_option('mo_openid_default_login_enable',1);
 
87
  add_option( 'mo_openid_login_theme', 'longbutton' );
88
  add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
89
 
@@ -125,8 +131,8 @@ class miniorange_openid_sso_settings
125
  add_option( 'mo_openid_gdpr_consent_message','I accept the terms and conditions.');
126
 
127
  //woocommerce display options
128
- add_option( 'mo_openid_woocommerce_before_login_form','0');
129
- add_option( 'mo_openid_woocommerce_center_login_form','0');
130
 
131
  //social sharing
132
  add_option( 'mo_openid_share_theme', 'oval' );
@@ -281,6 +287,11 @@ Thank you.';
281
  add_option('mo_openid_malform_error', '1');
282
  add_option('Activated_Plugin','Plugin-Slug');
283
  update_option( 'mo_openid_host_name', 'https://login.xecurify.com');
 
 
 
 
 
284
  }
285
 
286
  function new_miniorange_openid_menu() {
@@ -295,6 +306,7 @@ Thank you.';
295
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-BuddyPress_Add_On','BuddyPress Add-On', 'administrator','mo_openid_buddypress_add_on','mo_openid_addon_desc_page');
296
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-MailChimp_Add_On','MailChimp Add-On', 'administrator','mo_openid_mailchimp_add_on','mo_openid_addon_desc_page');
297
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-HubSpot_Add_On','HubSpot Add-On', 'administrator','mo_openid_hubspot_add_on','mo_openid_addon_desc_page');
 
298
  remove_submenu_page('mo_openid_settings','mo_openid_settings');
299
  }
300
 
@@ -550,6 +562,10 @@ Thank you.';
550
  update_option('mo_openid_opn_lk_hub_addon', MOAESEncryption::encrypt_data($code, $key));
551
  update_option('mo_openid_message', 'Your HubSpot addon license is verified. You can now setup the addon plugin.');
552
  }
 
 
 
 
553
  $key = get_option('mo_openid_customer_token');
554
  update_option('mo_openid_site_ck_l', MOAESEncryption::encrypt_data("true", $key));
555
  update_option('mo_openid_t_site_status', MOAESEncryption::encrypt_data("false", $key));
@@ -811,10 +827,6 @@ Thank you.';
811
  delete_option('mo_openid_verify_customer');
812
  delete_option( 'mo_openid_admin_customer_valid');
813
  delete_option( 'mo_openid_admin_customer_plan');
814
- delete_option('mo_openid_opn_lk_extra_attr_addon');
815
- delete_option('mo_openid_opn_lk_wca_addon');
816
- delete_option('mo_openid_opn_lk_bpp_addon');
817
- delete_option('mo_openid_opn_lk_mailc_addon');
818
  }
819
 
820
 
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.9
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.9');
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');
79
 
80
  //set default values
81
  add_option( 'mo_openid_host_name', 'https://login.xecurify.com');
82
+ // add_option('mo_openid_admin_api_key','BjIZyuSDTE90MVWp4pRLr3dzrFs8h74T');
83
+ // add_option('mo_openid_customer_token','6osoapPWEgGlBRgT');
84
+ if(get_option('mo_openid_admin_customer_key') == "" || get_option('mo_openid_admin_email') =="") {
85
+ update_option('mo_openid_admin_api_key', 'AlLYedZwuoITn6nVHVUps0r9OMZxVolX');
86
+ update_option('mo_openid_customer_token', 'jMj7MEdu4wkHObiD');
87
+ update_option('mo_openid_admin_customer_key', '253560');
88
+ }
89
  add_option('app_pos','facebook#google#vkontakte#twitter#instagram#linkedin#amazon#salesforce#windowslive#yahoo');
90
  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#dropbox#stackexchange#livejournal#snapchat#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq');
91
  add_option('mo_openid_default_login_enable',1);
92
+ add_option('mo_openid_default_register_enable',1);
93
  add_option( 'mo_openid_login_theme', 'longbutton' );
94
  add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
95
 
131
  add_option( 'mo_openid_gdpr_consent_message','I accept the terms and conditions.');
132
 
133
  //woocommerce display options
134
+ add_option( 'mo_openid_woocommerce_before_login_form','1');
135
+ add_option( 'mo_openid_woocommerce_center_login_form','1');
136
 
137
  //social sharing
138
  add_option( 'mo_openid_share_theme', 'oval' );
287
  add_option('mo_openid_malform_error', '1');
288
  add_option('Activated_Plugin','Plugin-Slug');
289
  update_option( 'mo_openid_host_name', 'https://login.xecurify.com');
290
+
291
+ //applications
292
+ add_option('mo_openid_google_enable','1');
293
+ add_option('mo_openid_linkedin_enable','1');
294
+ add_option('mo_openid_amazon_enable','1');
295
  }
296
 
297
  function new_miniorange_openid_menu() {
306
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-BuddyPress_Add_On','BuddyPress Add-On', 'administrator','mo_openid_buddypress_add_on','mo_openid_addon_desc_page');
307
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-MailChimp_Add_On','MailChimp Add-On', 'administrator','mo_openid_mailchimp_add_on','mo_openid_addon_desc_page');
308
  $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-HubSpot_Add_On','HubSpot Add-On', 'administrator','mo_openid_hubspot_add_on','mo_openid_addon_desc_page');
309
+ $page = add_submenu_page( 'mo_openid_settings', 'MiniOrange-Discord_Add_On','Discord Add-On', 'administrator','mo_openid_discord_add_on','mo_openid_addon_desc_page');
310
  remove_submenu_page('mo_openid_settings','mo_openid_settings');
311
  }
312
 
562
  update_option('mo_openid_opn_lk_hub_addon', MOAESEncryption::encrypt_data($code, $key));
563
  update_option('mo_openid_message', 'Your HubSpot addon license is verified. You can now setup the addon plugin.');
564
  }
565
+ else if($_POST['licience_type']=="WP_SOCIAL_LOGIN_DISCORD_ADDON") {
566
+ update_option('mo_openid_opn_lk_dis_addon', MOAESEncryption::encrypt_data($code, $key));
567
+ update_option('mo_openid_message', 'Your Discord addon license is verified. You can now setup the addon plugin.');
568
+ }
569
  $key = get_option('mo_openid_customer_token');
570
  update_option('mo_openid_site_ck_l', MOAESEncryption::encrypt_data("true", $key));
571
  update_option('mo_openid_t_site_status', MOAESEncryption::encrypt_data("false", $key));
827
  delete_option('mo_openid_verify_customer');
828
  delete_option( 'mo_openid_admin_customer_valid');
829
  delete_option( 'mo_openid_admin_customer_plan');
 
 
 
 
830
  }
831
 
832
 
miniorange_openid_sso_settings_page.php CHANGED
@@ -17,7 +17,6 @@ require('view/profile_completion/mo_openid_prof_comp.php');
17
  require('view/recaptcha/mo_openid_recap.php');
18
  require('view/redirect_options/mo_openid_redirect_op.php');
19
  require('view/registration/mo_openid_registration.php');
20
- require('view/restrict_domain/mo_openid_restrict_dom.php');
21
  require('view/reports/mo_openid_reports.php');
22
  require('view/shrtco/mo_openid_shrtco.php');
23
  require('CustomerOpenID.php');
@@ -34,8 +33,10 @@ require('view/soc_com/com_shrtco/comm_shrtco.php');
34
  include('view/add_on/custom_registration_form.php');
35
  require('view/add_on/mo_woocommerce_add_on.php');
36
  require('view/add_on/mo_mailchimp_add_on.php');
 
37
  require('view/add_on/mo_buddypress_add_on.php');
38
  require('view/add_on/mo_hubspot_add_on.php');
 
39
  require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
40
  require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
41
  require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
@@ -74,7 +75,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
74
 
75
  <?php
76
  }
77
- else if($active_tab == 'doc_tab'){
78
  ?>
79
  <br>
80
  <div><a style="margin-top: 0px;background: #d0d0d0;border-color: #1162b5;color: #151515; float: left;margin-left: 40px;" class="button" onclick="window.location='<?php echo site_url();?>'+'/wp-admin/admin.php?page=mo_openid_general_settings'"><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span><b style="font-size: 15px;"> &nbsp;&nbsp;Back To Plugin Configuration</b></a></div>
@@ -106,6 +107,9 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
106
  }
107
  else
108
  {
 
 
 
109
  ?>
110
  <div>
111
  <table>
@@ -115,7 +119,8 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
115
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
116
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
117
  <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()"><?php echo mo_sl('Licensing Plan');?></a></td>
118
- <td> <a id="doc_tab" style="margin-top: 23px;background: #0867B2;border-color: 0867B2;color: white;" class="button"<?php echo $active_tab == 'doc_tab' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'doc_tab'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Documentation");?></a></td>
 
119
  <td> <a id="reports" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'reports' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'reports'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Reports");?></a></td>
120
  <td>
121
  <a id="mo_openid_rateus_modal" onclick="asdf(this)" style="margin-top: 23px" class="button" ><?php echo mo_sl('Rate us');?></a>
@@ -152,6 +157,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
152
  <a id="link_social_acc" class="tablinks<?php if($active_tab=="link_social_acc") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'link_social_acc'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Link Social Account & Domain Restriction');?><?php if($disable){?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span><?php } ?></a>
153
  <a id="shortcodes" class="tablinks<?php if($active_tab=="shortcodes") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'shortcodes'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Shortcodes');?></a>
154
  <a id="add_on" class="tablinks<?php if($active_tab=="add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a>
 
155
  <a id="profile" class="tablinks<?php if($active_tab=="profile") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('User Profile');?></a>
156
  </div>
157
  </div>
@@ -185,9 +191,6 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
185
  case 'registration':
186
  mo_openid_registration();
187
  break;
188
- case 'domain_restriction':
189
- mo_openid_restrict_domain();
190
- break;
191
  case 'link_social_acc':
192
  mo_openid_linkSocialAcc();
193
  break;
@@ -203,7 +206,18 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
203
  case 'premium_features':
204
  mo_openid_premium_features();
205
  break;
 
 
 
206
  case 'integration':
 
 
 
 
 
 
 
 
207
  mo_openid_integrations();
208
  break;
209
  case 'shortcodes':
@@ -1001,6 +1015,8 @@ function mo_openid_addon_desc_page() {
1001
  $active_tab = 'mo_buddypress_add_on';
1002
  elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_hubspot_add_on')
1003
  $active_tab = 'mo_hubspot_add_on';
 
 
1004
  else {
1005
  $active_tab = 'custom_registration_form';
1006
  }
@@ -1077,6 +1093,7 @@ else
1077
  <a id="mo_buddypress_add_on" class="tablinks<?php if($active_tab=="mo_buddypress_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_buddypress_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('BuddyPress Add on');?></a>
1078
  <a id="mo_mailchimp_add_on" class="tablinks<?php if($active_tab=="mo_mailchimp_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_mailchimp_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('MailChimp Add on');?></a>
1079
  <a id="mo_hubspot_add_on" class="tablinks<?php if($active_tab=="mo_hubspot_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_hubspot_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('HubSpot Add on');?></a>
 
1080
  <a id="mo_openid_go_back" class="tablinks<?php if($active_tab=="mo_openid_go_back") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_go_back'), $_SERVER['REQUEST_URI'] ); ?>">Go to Social Login</a>
1081
  <a id="mo_openid_licensing" class="tablinks<?php if($active_tab=="mo_openid_licensing_plans") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()">Licensing Plans</a>
1082
  <a id="profile_com" style="display: none;"> class="tablinks<?php if($active_tab=="profile_com") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_com'), $_SERVER['REQUEST_URI'] ); ?>">Profile</a>
@@ -1171,6 +1188,19 @@ else
1171
  else
1172
  mo_openid_hubspot_add_on_display();
1173
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
1174
  case 'setup_video':
1175
  break;
1176
  case 'mo_openid_go_back':
17
  require('view/recaptcha/mo_openid_recap.php');
18
  require('view/redirect_options/mo_openid_redirect_op.php');
19
  require('view/registration/mo_openid_registration.php');
 
20
  require('view/reports/mo_openid_reports.php');
21
  require('view/shrtco/mo_openid_shrtco.php');
22
  require('CustomerOpenID.php');
33
  include('view/add_on/custom_registration_form.php');
34
  require('view/add_on/mo_woocommerce_add_on.php');
35
  require('view/add_on/mo_mailchimp_add_on.php');
36
+ require('view/rest_api/mo_rest_api_page.php');
37
  require('view/add_on/mo_buddypress_add_on.php');
38
  require('view/add_on/mo_hubspot_add_on.php');
39
+ require('view/add_on/mo_discord_add_on.php');
40
  require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
41
  require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
42
  require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
75
 
76
  <?php
77
  }
78
+ else if($active_tab == 'doc_tab'||$active_tab=='rest_api_page'){
79
  ?>
80
  <br>
81
  <div><a style="margin-top: 0px;background: #d0d0d0;border-color: #1162b5;color: #151515; float: left;margin-left: 40px;" class="button" onclick="window.location='<?php echo site_url();?>'+'/wp-admin/admin.php?page=mo_openid_general_settings'"><span class="dashicons dashicons-arrow-left-alt" style="vertical-align: middle;"></span><b style="font-size: 15px;"> &nbsp;&nbsp;Back To Plugin Configuration</b></a></div>
107
  }
108
  else
109
  {
110
+ if($active_tab=='integration-woocommerce' || $active_tab=='integration-buddypress' || $active_tab=='integration-mailchimp' || $active_tab=='integration-customregistration' || $active_tab=='integration-hubspot' || $active_tab=='integration-discord' || $active_tab=='integration-memberpress' || $active_tab=='integration-paidmemb') {
111
+ $active_tab='integration';
112
+ }
113
  ?>
114
  <div>
115
  <table>
119
  <td> <a id="forum" style="margin-top: 23px" class="button" <?php echo $active_tab == 'forum' ? 'nav-tab-active' : ''; ?>" href="https://wordpress.org/support/plugin/miniorange-login-openid/" target="_blank"><?php echo mo_sl('Forum');?></a></td>
120
  <td> <a id="addon" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button" <?php echo $active_tab == 'add_on' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a></td>
121
  <td> <a id="pricing" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'licensing_plans' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()"><?php echo mo_sl('Licensing Plan');?></a></td>
122
+ <td> <a id="doc_tab" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white;" class="button"<?php echo $active_tab == 'doc_tab' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'doc_tab'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Documentation");?></a></td>
123
+ <td> <a id="rest_api_page" style="margin-top: 23px;background: #3c434ad1;border-color: #0867B2;color: lightgreen;" class="button"<?php echo $active_tab == 'rest_api_page' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'rest_api_page'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Rest API");?></a></td>
124
  <td> <a id="reports" style="margin-top: 23px;background: #FFA335;border-color: #FFA335;color: white;" class="button"<?php echo $active_tab == 'reports' ? 'nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'reports'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl("Reports");?></a></td>
125
  <td>
126
  <a id="mo_openid_rateus_modal" onclick="asdf(this)" style="margin-top: 23px" class="button" ><?php echo mo_sl('Rate us');?></a>
157
  <a id="link_social_acc" class="tablinks<?php if($active_tab=="link_social_acc") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'link_social_acc'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Link Social Account & Domain Restriction');?><?php if($disable){?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span><?php } ?></a>
158
  <a id="shortcodes" class="tablinks<?php if($active_tab=="shortcodes") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'shortcodes'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Shortcodes');?></a>
159
  <a id="add_on" class="tablinks<?php if($active_tab=="add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Add On');?></a>
160
+ <a id="rest_api_page" style="color: lightgreen" class="tablinks<?php if($active_tab=="rest_api_page") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'rest_api_page'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Rest API / Mobile SSO');?></a>
161
  <a id="profile" class="tablinks<?php if($active_tab=="profile") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('User Profile');?></a>
162
  </div>
163
  </div>
191
  case 'registration':
192
  mo_openid_registration();
193
  break;
 
 
 
194
  case 'link_social_acc':
195
  mo_openid_linkSocialAcc();
196
  break;
206
  case 'premium_features':
207
  mo_openid_premium_features();
208
  break;
209
+ case 'rest_api_page':
210
+ mo_openid_rest_api_page();
211
+ break;
212
  case 'integration':
213
+ case 'integration-woocommerce':
214
+ case 'integration-buddypress':
215
+ case 'integration-mailchimp':
216
+ case 'integration-customregistration':
217
+ case 'integration-hubspot':
218
+ case 'integration-discord':
219
+ case 'integration-memberpress':
220
+ case 'integration-paidmemb':
221
  mo_openid_integrations();
222
  break;
223
  case 'shortcodes':
1015
  $active_tab = 'mo_buddypress_add_on';
1016
  elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_hubspot_add_on')
1017
  $active_tab = 'mo_hubspot_add_on';
1018
+ elseif (isset($_REQUEST) && $_REQUEST['page'] == 'mo_openid_discord_add_on')
1019
+ $active_tab = 'mo_discord_add_on';
1020
  else {
1021
  $active_tab = 'custom_registration_form';
1022
  }
1093
  <a id="mo_buddypress_add_on" class="tablinks<?php if($active_tab=="mo_buddypress_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_buddypress_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('BuddyPress Add on');?></a>
1094
  <a id="mo_mailchimp_add_on" class="tablinks<?php if($active_tab=="mo_mailchimp_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_mailchimp_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('MailChimp Add on');?></a>
1095
  <a id="mo_hubspot_add_on" class="tablinks<?php if($active_tab=="mo_hubspot_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_hubspot_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('HubSpot Add on');?></a>
1096
+ <a id="mo_discord_add_on" class="tablinks<?php if($active_tab=="mo_discord_add_on") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_discord_add_on'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Discord Add on');?></a>
1097
  <a id="mo_openid_go_back" class="tablinks<?php if($active_tab=="mo_openid_go_back") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'mo_openid_go_back'), $_SERVER['REQUEST_URI'] ); ?>">Go to Social Login</a>
1098
  <a id="mo_openid_licensing" class="tablinks<?php if($active_tab=="mo_openid_licensing_plans") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>" onclick="mo_openid_extension_switch()">Licensing Plans</a>
1099
  <a id="profile_com" style="display: none;"> class="tablinks<?php if($active_tab=="profile_com") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_com'), $_SERVER['REQUEST_URI'] ); ?>">Profile</a>
1188
  else
1189
  mo_openid_hubspot_add_on_display();
1190
  break;
1191
+ case 'mo_discord_add_on':
1192
+ if(mo_openid_is_dis_license_key_verified()) {
1193
+ if (is_plugin_active('miniorange-login-openid-discord-addon/mo_openid_discord_integration.php')) {
1194
+ do_action('discord_integration_addon');
1195
+ }
1196
+ else {
1197
+ $addon_message_type = 'Discord Addon';
1198
+ mo_openid_show_addon_message_page($addon_message_type);
1199
+ }
1200
+ }
1201
+ else
1202
+ mo_openid_discord_add_on_display();
1203
+ break;
1204
  case 'setup_video':
1205
  break;
1206
  case 'mo_openid_go_back':
mo-openid-social-login-functions.php CHANGED
@@ -606,6 +606,17 @@ function mo_openid_is_bpp_license_key_verified() {
606
  }
607
  }
608
 
 
 
 
 
 
 
 
 
 
 
 
609
  function mo_openid_is_hub_license_key_verified() {
610
  $licenseKey = get_option('mo_openid_opn_lk_hub_addon');
611
  $email = get_option('mo_openid_admin_email');
@@ -670,6 +681,8 @@ function mo_openid_show_verify_addon_license_page(){
670
  wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON')]);
671
  else if(sanitize_text_field($_POST['plan_name'])=='WP_SOCIAL_LOGIN_HUBSPOT_ADDON')
672
  wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_HUBSPOT_ADDON')]);
 
 
673
 
674
  }
675
 
@@ -765,6 +778,8 @@ function mo_openid_show_verify_password_page() {
765
  function mo_openid_is_customer_registered() {
766
  $email = get_option('mo_openid_admin_email');
767
  $customerKey = get_option('mo_openid_admin_customer_key');
 
 
768
  if( ! $email || ! $customerKey || ! is_numeric( trim( $customerKey ) ) ) {
769
  return 0;
770
  } else {
606
  }
607
  }
608
 
609
+ function mo_openid_is_dis_license_key_verified() {
610
+ $licenseKey = get_option('mo_openid_opn_lk_dis_addon');
611
+ $email = get_option('mo_openid_admin_email');
612
+ $customerKey = get_option('mo_openid_admin_customer_key');
613
+ if( !$licenseKey || ! $email || ! $customerKey || ! is_numeric( trim( $customerKey ) ) ){
614
+ return 0;
615
+ }else {
616
+ return 1;
617
+ }
618
+ }
619
+
620
  function mo_openid_is_hub_license_key_verified() {
621
  $licenseKey = get_option('mo_openid_opn_lk_hub_addon');
622
  $email = get_option('mo_openid_admin_email');
681
  wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_BUDDYPRESS_ADDON')]);
682
  else if(sanitize_text_field($_POST['plan_name'])=='WP_SOCIAL_LOGIN_HUBSPOT_ADDON')
683
  wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_HUBSPOT_ADDON')]);
684
+ else if(sanitize_text_field($_POST['plan_name'])=='WP_SOCIAL_LOGIN_DISCORD_ADDON')
685
+ wp_send_json(["html"=> mo_openid_show_verify_license_page('WP_SOCIAL_LOGIN_DISCORD_ADDON')]);
686
 
687
  }
688
 
778
  function mo_openid_is_customer_registered() {
779
  $email = get_option('mo_openid_admin_email');
780
  $customerKey = get_option('mo_openid_admin_customer_key');
781
+ if($customerKey == 253560)
782
+ $customerKey='';
783
  if( ! $email || ! $customerKey || ! is_numeric( trim( $customerKey ) ) ) {
784
  return 0;
785
  } else {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
4
  Tags: social login, facebook login, google login, social sharing, twitter login, user login, vkontakte login, linkedIn, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft,
5
  Requires at least: 2.0.2
6
  Tested up to: 5.7
7
- Stable tag: 7.4.8
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
@@ -272,6 +272,15 @@ Please email us at info@miniorange.com. You can also submit your query from the
272
  12. Social Sharing icons without background.
273
 
274
  ==Changelog==
 
 
 
 
 
 
 
 
 
275
  = 7.4.8 =
276
  * Facebook and Google icon issue resolved.
277
  * Minor UI changes.
@@ -911,6 +920,15 @@ SECURITY FIXES
911
  * First version of Social Login, Social Sharing plugin.
912
 
913
  == Upgrade Notice ==
 
 
 
 
 
 
 
 
 
914
  = 7.4.8 =
915
  * Facebook and Google icon issue resolved.
916
  * Minor UI changes.
4
  Tags: social login, facebook login, google login, social sharing, twitter login, user login, vkontakte login, linkedIn, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft,
5
  Requires at least: 2.0.2
6
  Tested up to: 5.7
7
+ Stable tag: 7.4.9
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
272
  12. Social Sharing icons without background.
273
 
274
  ==Changelog==
275
+ = 7.4.9 =
276
+ * Resolved blank page redirection issue.
277
+ * Updated Instructions for Facebook and Google.
278
+ * Updated UI for Popular Integration Tab.
279
+ * Added pre-activated apps for Google, LinkedIN, and Amazon.
280
+ * Added and introduced Rest API / Mobile SSO solution for Android and iOS applications.
281
+ * Introduced multisite plans for Standard, Premium, and All-inclusive plans.
282
+ * Added and introduced new Discord Add-on.
283
+
284
  = 7.4.8 =
285
  * Facebook and Google icon issue resolved.
286
  * Minor UI changes.
920
  * First version of Social Login, Social Sharing plugin.
921
 
922
  == Upgrade Notice ==
923
+ = 7.4.9 =
924
+ * Resolved blank page redirection issue.
925
+ * Updated Instructions for Facebook and Google.
926
+ * Updated UI for Popular Integration Tab.
927
+ * Added pre-activated apps for Google, LinkedIN, and Amazon.
928
+ * Added and introduced Rest API / Mobile SSO solution for Android and iOS applications.
929
+ * Introduced multisite plans for Standard, Premium, and All-inclusive plans.
930
+ * Added and introduced new Discord Add-on.
931
+
932
  = 7.4.8 =
933
  * Facebook and Google icon issue resolved.
934
  * Minor UI changes.
social_apps/facebook.php CHANGED
@@ -9,17 +9,17 @@ class mo_facebook
9
  public function __construct() {
10
  $this->site_url = get_option( 'siteurl' );
11
  $this->instructions="Go to Facebook developers console <a href=\"https://developers.facebook.com/apps/\" target=\"_blank\">https://developers.facebook.com/apps/</a>. Login with your facebook developer account.
12
- ##Click on Create a New App/Create App. Select <b>Build Connected Experiences</b> under <b>What do you need your app to do?</b>.
13
  ##Enter <b>App Display Name</b>, <b>App Contact Email</b>.
14
  ##Click on <b>Create App</b> button and complete the Security Check.
15
  ##Under <b>Facebook Login</b> click on <b>Set Up</b> button on Add products to Your app page.
16
- ##Click on <b>Web</b>. Enter <b><code id='0'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#0', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> into <b>Site URL</b> than click on <b>Save</b>.
17
  ##Click on <b>Settings</b> on left side menu and select <b>Basics</b> option.
18
- ##Enter <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#100', '#shortcode_url3_copy')\"><span id=\"shortcode_url3_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>App Domain</b>. Enter your <b>Privacy Policy URL</b>
19
  ##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
20
  ##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
21
  ##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
22
- ##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='2'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#2', '#shortcode_url2_copy')\"><span id=\"shortcode_url2_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
23
  ##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
24
  ##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
25
  ##Input <b> email, public_profile </b>as scope.
9
  public function __construct() {
10
  $this->site_url = get_option( 'siteurl' );
11
  $this->instructions="Go to Facebook developers console <a href=\"https://developers.facebook.com/apps/\" target=\"_blank\">https://developers.facebook.com/apps/</a>. Login with your facebook developer account.
12
+ ##Click on Create a New App/Create App. Select <b>Consumer</b> on the <b>Select App type pop-up</b> CLick on <b>Continue</b>.
13
  ##Enter <b>App Display Name</b>, <b>App Contact Email</b>.
14
  ##Click on <b>Create App</b> button and complete the Security Check.
15
  ##Under <b>Facebook Login</b> click on <b>Set Up</b> button on Add products to Your app page.
16
+ ##Click on <b>Web</b>. Enter <b><code id='12'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-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> into <b>Site URL</b> than click on <b>Save</b>.
17
  ##Click on <b>Settings</b> on left side menu and select <b>Basics</b> option.
18
+ ##Enter <b><code id='11'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#11', '#shortcode_url_copy1')\"><span id=\"shortcode_url_copy1\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>App Domain</b>. Enter your <b>Privacy Policy URL</b>
19
  ##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
20
  ##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
21
  ##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
22
+ ##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='222'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#12', '#shortcode_url_copy3')\"><span id=\"shortcode_url_copy3\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
23
  ##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
24
  ##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
25
  ##Input <b> email, public_profile </b>as scope.
social_apps/google.php CHANGED
@@ -14,13 +14,11 @@ class mo_google
14
  ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen</b>.
15
  ##Click on <b>Select a Project</b> and select the newly created Project by clicking on the project name that you entered in the previous step.
16
  ##Select <b>External</b> as user type and click on <b>Create</b>.
17
- ##You are prompted to Edit App Registration, Enter all the Required details (AppName & User support Email) Add Authorized domain as <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#100', '#shortcode_url3_copy')\"><span id=\"shortcode_url3_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b>.
18
- ##At the bottom of the screen enter your email as the Developer contact information. Click on <b>Save and Continue</b> and <b>Back To Dashboard</b> from summary.
19
  ##On the Scopes screen click on <b>Add or Remove Scopes</b>. Check and <b>.../auth/userinfo.email</b> and <b>.../auth/userinfo.profile</b>. Click on <b>Update</b>. Scroll down, Click on <b>Save and Continue</b>.
20
- ##On the Test users screen click on <b>Add Users</b>. Add a few trusted users to test your app. Mind well, these users cannot be removed. Scroll down, Click on <b>Save and Continue</b>. Scroll down, Click on <b>Back to Dashboard</b>.
21
  ##From the Left side Menu, Click on <b>Credentials</b> then click on <b>Create Credential</b> from dropdown select <b>Oauth client ID</b>.
22
  ##From <b>Application Type</b> drop down, Select <b>Web Application</b>.
23
- ##Enter <b>client name</b> and Add <b><code id='3'>".mo_get_permalink('google')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#3', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>Authorized Redirect URL<b/>, Click on <b>Create</b>.
24
  ##Copy <b>Client ID and Client Secret</b> and paste it on the above field <b>App ID and App Secret</b>, Click on <b>Save & Test Configuration</b>.
25
  ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen</b>. Under Publishing Status Click on <b>Publish App</b> and <b>Confirm</b>.
26
  ##Go to Customise Social Login Icons tab and configure the icons.";
14
  ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen</b>.
15
  ##Click on <b>Select a Project</b> and select the newly created Project by clicking on the project name that you entered in the previous step.
16
  ##Select <b>External</b> as user type and click on <b>Create</b>.
17
+ ##You are prompted to Edit App Registration, Enter all the Required details (AppName & User support Email) Add Authorized domain as <b><code id='11'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#11', '#shortcode_url_copy1')\"><span id=\"shortcode_url_copy1\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b>.
 
18
  ##On the Scopes screen click on <b>Add or Remove Scopes</b>. Check and <b>.../auth/userinfo.email</b> and <b>.../auth/userinfo.profile</b>. Click on <b>Update</b>. Scroll down, Click on <b>Save and Continue</b>.
 
19
  ##From the Left side Menu, Click on <b>Credentials</b> then click on <b>Create Credential</b> from dropdown select <b>Oauth client ID</b>.
20
  ##From <b>Application Type</b> drop down, Select <b>Web Application</b>.
21
+ ##Enter <b>client name</b> and Add <b><code id='12'>".mo_get_permalink('google')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"fa fa-fw fa-lg fa-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> in <b>Authorized Redirect URL<b/>, Click on <b>Create</b>.
22
  ##Copy <b>Client ID and Client Secret</b> and paste it on the above field <b>App ID and App Secret</b>, Click on <b>Save & Test Configuration</b>.
23
  ##Click on Left side Menu and go to <b>APIs & Services</b> -> <b>OAuth consent screen</b>. Under Publishing Status Click on <b>Publish App</b> and <b>Confirm</b>.
24
  ##Go to Customise Social Login Icons tab and configure the icons.";
view/add_on/custom_registration_form.php CHANGED
@@ -18,9 +18,7 @@ function mo_openid_custom_registration_form()
18
  style="float: right;">
19
 
20
  </h3>
21
- <b><?php echo mo_sl('Custom Registration Form Add-On helps you to integrate details of new as well as existing users. You
22
- can add as many fields as you want including the one which are returned by
23
- social sites at time of registration');?>.</b>
24
  </td>
25
  </tr>
26
  </table>
18
  style="float: right;">
19
 
20
  </h3>
21
+ <b><?php echo mo_sl('The miniOrange Custom Registration Form Add-On allows you to obtain additional information from your customers. You can build your own custom form with as many fields as you want, even those returned by social sites, and the user will be redirected to it after a successful registration form social login. The meta table will save all of the details entered by the user.');?>.</b>
 
 
22
  </td>
23
  </tr>
24
  </table>
view/add_on/mo_buddypress_add_on.php CHANGED
@@ -17,7 +17,8 @@ function mo_openid_buddypress_addon_display()
17
  class="button button-primary button-large"
18
  style="float: right;">
19
  </h3>
20
- <b><?php echo mo_sl('Buddypress add-on provides you both buddypress display option and buddypress extended attribute mapping.&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;');?></b>
 
21
  </td>
22
  </tr>
23
  </table>
17
  class="button button-primary button-large"
18
  style="float: right;">
19
  </h3>
20
+ <b><?php echo mo_sl('With BuddyPress/BuddyBoss Integration you will get various social login display options using which you can display the Social Login icons on your BuddyPress registration pages.
21
+ The BuddyPress integration with social login can be done using any Social login app. If you have BuddyPress Integration enabled then user information will be mapped to their profile page.');?></b>
22
  </td>
23
  </tr>
24
  </table>
view/add_on/mo_discord_add_on.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function mo_openid_discord_add_on_display()
4
+ {?>
5
+ <div id="dis_adv_disp" style="display: block">
6
+ <table>
7
+ <tr>
8
+ <td>
9
+ <h3><?php echo mo_sl('Discord Add On');?>
10
+ <input type="button" value="<?php echo mo_sl('Purchase');?>"
11
+ onclick="mosocial_addonform('wp_social_login_discord_addon')"
12
+ id="mosocial_purchase_dis"
13
+ class="button button-primary button-large"
14
+ style="float: right; margin-left: 10px;">
15
+ <input type="button" value="<?php echo mo_sl('Verify Key');?>"
16
+ id="mosocial_purchase_dis_verify"
17
+ class="button button-primary button-large"
18
+ style="float: right;">
19
+ </h3>
20
+ <br>
21
+ <b><?php echo mo_sl('Discord Integration add-on allows you to restrict the login/registration of user based on whether the user is present in the Discord server');?></b>
22
+ </td>
23
+ </tr>
24
+ </table>
25
+ <table class="mo_openid_display_table table" id="mo_openid_dis_video"></table>
26
+
27
+ </div>
28
+ <br>
29
+ <div class="mo_openid_highlight">
30
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Discord Integration');?></h3>
31
+ </div>
32
+
33
+ <div class="mo_openid_table_layout">
34
+ <div>
35
+ <h3 style="margin-left: 1.5%">Instruction to get the Discord Bot Token Key and Guild ID.</h3>
36
+ <ol style="margin-left: 4%">
37
+ <li>Log in to Discord Console & create New Custom Application </li>
38
+ <li>After creating an OAuth Application,go to the Bot section.Click on the Add Bot button.</li>
39
+ <li>Now we need to add Bot to our server with the permission to access roles. You need to check Bot and select the permission and it will generate the URL. You need to copy that URL and paste it into the new tab. After that, you need to select the server where you need to add the Bot.</li>
40
+ <li>After successfully authorization, Go to the Bot section and copy the token and paste it in the Bot Token Key textfield</li>
41
+ <li>To get the Guild ID,In Discord, open your User Settings by clicking the Settings Cog next to your user name on the bottom.</li>
42
+ <li>Go to Appearance and enable Developer Mode under the Advanced section, then close User Settings.</li>
43
+ <li>Open your Discord server, right-click on the server name, then select Copy ID.Paste it in the Guild ID field. </li>
44
+ </ol>
45
+ </div>
46
+
47
+ <form>
48
+
49
+ <input name="option" type="hidden" value="discord_role_creation_settings">
50
+ <table class="form-table" role="presentation">
51
+ <tbody>
52
+ <tr class="form-field form-required">
53
+ <th scope="row"><label for="">Guild ID\'s <span class="description">(required)</span></label></th>
54
+ <td><input disabled type="text" placeholder="717473765117323473"><br><br>
55
+ </td>
56
+ </tr>
57
+ <tr class="form-field form-required">
58
+ <th scope="row"><label for="">Bot Token Key <span class="description">(required)</span></label></th>
59
+ <td><input disabled type="text" placeholder="717473765117323473"/>
60
+ </td>
61
+ </tr>
62
+ </tbody></table>
63
+
64
+ <p class="submit"><input type="submit" name="discord_role_creation_submit" id="discord_role_creation_submit" class="button button-primary" disabled value="Save"></p>
65
+ </form>
66
+ </div>
67
+ <td>
68
+ <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
69
+ target="_blank" method="post" >
70
+ <input type="email" name="username" value="<?php echo esc_attr(get_option('mo_openid_admin_email')); ?>" />
71
+ <input type="text" name="redirectUrl" value="<?php echo esc_attr(get_option( 'mo_openid_host_name')).'/moas/initializepayment'; ?>" />
72
+ <input type="text" name="requestOrigin" id="requestOrigin"/>
73
+ </form>
74
+ <script>
75
+ function mosocial_addonform(planType) {
76
+ jQuery('#requestOrigin').val(planType);
77
+ jQuery('#mosocial_loginform').submit();
78
+ }
79
+ </script>
80
+ </td>
81
+ <td>
82
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
83
+ <script type="text/javascript">
84
+ //to set heading name
85
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Discord Add On'); ?>');
86
+ jQuery(document).ready(function($){
87
+ jQuery("#mosocial_purchase_dis_verify").on("click",function(){
88
+ mo_verify_add_on_license_key();
89
+ });
90
+ });
91
+
92
+ function mo_verify_add_on_license_key() {
93
+ jQuery.ajax({
94
+ type: 'POST',
95
+ url: '<?php echo admin_url("admin-ajax.php"); ?>',
96
+ data: {
97
+ action:'verify_addon_licience',
98
+ plan_name: 'WP_SOCIAL_LOGIN_DISCORD_ADDON',
99
+ },
100
+ crossDomain :!0, dataType:"html",
101
+ success: function(data) {
102
+ var flag=0;
103
+ jQuery("input").each(function(){
104
+ if(jQuery(this).val()=="mo_openid_verify_license") flag=1;
105
+ });
106
+ if(!flag) {
107
+ jQuery(data).insertBefore("#mo_openid_dis_video");
108
+ jQuery("#dis_adv_disp").find(jQuery("#cust_supp")).css("display", "none");
109
+ }
110
+ },
111
+ error: function (data){}
112
+ });
113
+ }
114
+ </script>
115
+ </td>
116
+ <?php
117
+ }
view/add_on/mo_hubspot_add_on.php CHANGED
@@ -6,7 +6,7 @@ function mo_openid_hubspot_add_on_display()
6
  <table>
7
  <tr>
8
  <td >
9
- <h3><?php echo mo_sl('Hubspot Add On');?>
10
  <input type="button" value="<?php echo mo_sl('Purchase');?>"
11
  onclick="mosocial_addonform('wp_social_login_hubspot_addon')"
12
  id="mosocial_purchase_hub"
@@ -18,7 +18,7 @@ function mo_openid_hubspot_add_on_display()
18
  style="float: right;">
19
  </h3>
20
  <br>
21
- <b><?php echo mo_sl('Hubspot Addon provide hubspot integration where user contact will be automatically added to hubspot contact list on successful registration via social login applications.');?>.</b>
22
  </td>
23
  </tr>
24
  </table>
@@ -29,9 +29,13 @@ function mo_openid_hubspot_add_on_display()
29
  <div class="mo_openid_highlight">
30
  <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Hubspot Integration');?></h3>
31
  </div>
32
- <p style="font-weight: bold; font-size: 17px; display: inline-block; margin-left: 1.5%">Please enter the Key</p>
33
  <input class="mo_openid_table_textbox" required type="text" style="margin-left:40px;width:300px;"
34
- name="mo_openid_hubs_int_key" placeholder="Enter your App key" disabled />
 
 
 
 
35
  <hr>
36
  <div class="mo_openid_table_layout">
37
  <table style="width: 100%;">
@@ -43,7 +47,7 @@ function mo_openid_hubspot_add_on_display()
43
  <tr>
44
  <td style="width:25%">
45
  <label class="mo_openid_checkbox_container"><b><?php echo mo_sl('Click Here To Enable All Apps');?></b>
46
- <input type="checkbox" class="app_enable" disabled/>
47
  <span class="mo_openid_checkbox_checkmark_disable"></span>
48
  </label>
49
  </td>
@@ -74,7 +78,7 @@ function mo_openid_hubspot_add_on_display()
74
  ?>
75
  <td style="width:20%">
76
  <label class="mo_openid_checkbox_container"><?php echo mo_sl($apps);?>
77
- <input type="checkbox" disabled id="mo_openid_hubs_<?php echo $apps;?>_enable" class="app_enable"/>
78
  <span class="mo_openid_checkbox_checkmark_disable"></span>
79
  </label>
80
  </td>
@@ -113,7 +117,7 @@ function mo_openid_hubspot_add_on_display()
113
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
114
  <script type="text/javascript">
115
  //to set heading name
116
- jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('HubSpot Add On'); ?>');
117
  jQuery(document).ready(function($){
118
  jQuery("#mosocial_purchase_hub_verify").on("click",function(){
119
  mo_verify_add_on_license_key();
6
  <table>
7
  <tr>
8
  <td >
9
+ <h3><?php echo mo_sl('Hubspot Add-on');?>
10
  <input type="button" value="<?php echo mo_sl('Purchase');?>"
11
  onclick="mosocial_addonform('wp_social_login_hubspot_addon')"
12
  id="mosocial_purchase_hub"
18
  style="float: right;">
19
  </h3>
20
  <br>
21
+ <b><?php echo mo_sl('Hubspot Addon provide hubspot integration where user contact will be automatically added to hubspot contact list on successful registration via social login applications. With Hubspot integration, you can monitor a use\'s activities on your website. User behavior involves the sites viewed by the user as well as the time spent on each page.');?></b>
22
  </td>
23
  </tr>
24
  </table>
29
  <div class="mo_openid_highlight">
30
  <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Hubspot Integration');?></h3>
31
  </div>
32
+ <p style="font-weight: bold; font-size: 17px; display: inline-block; margin-left: 1.5%">Enter the Key</p>
33
  <input class="mo_openid_table_textbox" required type="text" style="margin-left:40px;width:300px;"
34
+ placeholder="Enter your App key" disabled />
35
+ <br/>
36
+ <p style="font-weight: bold; font-size: 17px; display: inline-block; margin-left: 1.5%">Enter the HubID</p>
37
+ <input class="mo_openid_table_textbox" required type="text" style="margin-left:40px;width:300px;"
38
+ placeholder="Enter your HubID" disabled />
39
  <hr>
40
  <div class="mo_openid_table_layout">
41
  <table style="width: 100%;">
47
  <tr>
48
  <td style="width:25%">
49
  <label class="mo_openid_checkbox_container"><b><?php echo mo_sl('Click Here To Enable All Apps');?></b>
50
+ <input type="checkbox" class="app_enable"/>
51
  <span class="mo_openid_checkbox_checkmark_disable"></span>
52
  </label>
53
  </td>
78
  ?>
79
  <td style="width:20%">
80
  <label class="mo_openid_checkbox_container"><?php echo mo_sl($apps);?>
81
+ <input type="checkbox" class="app_enable"/>
82
  <span class="mo_openid_checkbox_checkmark_disable"></span>
83
  </label>
84
  </td>
117
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
118
  <script type="text/javascript">
119
  //to set heading name
120
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('HubSpot Add-on'); ?>');
121
  jQuery(document).ready(function($){
122
  jQuery("#mosocial_purchase_hub_verify").on("click",function(){
123
  mo_verify_add_on_license_key();
view/add_on/mo_mailchimp_add_on.php CHANGED
@@ -20,7 +20,7 @@ function mo_openid_mailchimp_add_on()
20
  class="button button-primary button-large"
21
  style="float: right;">
22
  </h3>
23
- <b><?php echo mo_sl('Mailchimp Add-On helps you to integrate details of new as well as existing users. Mailchimp helps to Engage your audience with beautiful, branded emails. Design landing pages that grow your audience and help you sell more stuff');?>.</b>
24
  </td>
25
  </tr>
26
  </table>
20
  class="button button-primary button-large"
21
  style="float: right;">
22
  </h3>
23
+ <b><?php echo mo_sl('MailChimp is a marketing platform that allows you to manage and communicate with your companies, consumers, and other interested parties in one place. When a user registers on your website, the user\'s first name, last name, and email address are sent to your mailchimp account\'s mailing list, and the user is identified as subscribed.');?>.</b>
24
  </td>
25
  </tr>
26
  </table>
view/add_on/mo_woocommerce_add_on.php CHANGED
@@ -17,9 +17,8 @@ function mo_openid_woocommerce_add_on()
17
  class="button button-primary button-large"
18
  style="float: right;">
19
  </h3>
20
- <b><?php echo mo_sl('Woocommerce Add-On gives you Woocommerce Display Options and Woocommerce Integration.
21
- Using Woocommerce Display Options you can display Social Login buttons on Woocommerce pages.
22
- Woocommerce Integration prefills details of a user in the billing and checkout fields.');?>.</b>
23
  </td>
24
  </tr>
25
  </table>
@@ -56,7 +55,7 @@ function mo_openid_woocommerce_add_on()
56
  <span class="mo_openid_checkbox_checkmark_disable"></span>
57
  <div class="mo_openid_wca_box">
58
  <br>
59
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/1_before_login.png'; ?>">
60
  </div>
61
  </label>
62
  <br>
@@ -68,7 +67,7 @@ function mo_openid_woocommerce_add_on()
68
  <span class="mo_openid_checkbox_checkmark_disable"></span>
69
  <div class="mo_openid_wca_box">
70
  <br>
71
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/2_login.png';?>">
72
  </div>
73
  </label>
74
  <br>
@@ -80,7 +79,7 @@ function mo_openid_woocommerce_add_on()
80
  <span class="mo_openid_checkbox_checkmark_disable"></span>
81
  <div class="mo_openid_wca_box">
82
  <br>
83
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/3_after_login.png';?>">
84
  </div>
85
  </label>
86
 
@@ -93,7 +92,7 @@ function mo_openid_woocommerce_add_on()
93
  <span class="mo_openid_checkbox_checkmark_disable"></span>
94
  <div class="mo_openid_wca_box">
95
  <br>
96
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/4_before_reg.png';?>">
97
  </div>
98
  </label>
99
  </div>
@@ -105,7 +104,7 @@ function mo_openid_woocommerce_add_on()
105
  <input type="checkbox" /><br>
106
  <span class="mo_openid_checkbox_checkmark_disable"></span>
107
  <div class="mo_openid_wca_box">
108
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/5_in_reg.png';?>">
109
  </div>
110
  </label>
111
 
@@ -116,7 +115,7 @@ function mo_openid_woocommerce_add_on()
116
  <input type="checkbox" /><br>
117
  <span class="mo_openid_checkbox_checkmark_disable"></span>
118
  <div class="mo_openid_wca_box">
119
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/6_after_reg.png';?>">
120
  </div>
121
  </label>
122
 
@@ -128,7 +127,7 @@ function mo_openid_woocommerce_add_on()
128
  <span class="mo_openid_checkbox_checkmark_disable"></span>
129
  <div class="mo_openid_wca_box">
130
  <br>
131
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/7_before_checkout.png';?>">
132
  </div>
133
  </label>
134
 
@@ -140,7 +139,7 @@ function mo_openid_woocommerce_add_on()
140
  <span class="mo_openid_checkbox_checkmark_disable"></span>
141
  <div class="mo_openid_wca_box">
142
  <br>
143
- <img class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/8_after_checkout.png';?>">
144
  </div>
145
  </label>
146
  </div>
17
  class="button button-primary button-large"
18
  style="float: right;">
19
  </h3>
20
+ <b><?php echo mo_sl('With WooCommerce Integration you will get various social login display options using which you can display the Social Login icons on your WooCommerce login, registration, and checkout pages.
21
+ You\'ll also have the option to sync Woocommerce checkout fields, which will pre-fill a user\'s billing information with their first name, last name, and email address.');?>.</b>
 
22
  </td>
23
  </tr>
24
  </table>
55
  <span class="mo_openid_checkbox_checkmark_disable"></span>
56
  <div class="mo_openid_wca_box">
57
  <br>
58
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/1_before_login.png'; ?>">
59
  </div>
60
  </label>
61
  <br>
67
  <span class="mo_openid_checkbox_checkmark_disable"></span>
68
  <div class="mo_openid_wca_box">
69
  <br>
70
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/2_login.png';?>">
71
  </div>
72
  </label>
73
  <br>
79
  <span class="mo_openid_checkbox_checkmark_disable"></span>
80
  <div class="mo_openid_wca_box">
81
  <br>
82
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/3_after_login.png';?>">
83
  </div>
84
  </label>
85
 
92
  <span class="mo_openid_checkbox_checkmark_disable"></span>
93
  <div class="mo_openid_wca_box">
94
  <br>
95
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/4_before_reg.png';?>">
96
  </div>
97
  </label>
98
  </div>
104
  <input type="checkbox" /><br>
105
  <span class="mo_openid_checkbox_checkmark_disable"></span>
106
  <div class="mo_openid_wca_box">
107
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/5_in_reg.png';?>">
108
  </div>
109
  </label>
110
 
115
  <input type="checkbox" /><br>
116
  <span class="mo_openid_checkbox_checkmark_disable"></span>
117
  <div class="mo_openid_wca_box">
118
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/6_after_reg.png';?>">
119
  </div>
120
  </label>
121
 
127
  <span class="mo_openid_checkbox_checkmark_disable"></span>
128
  <div class="mo_openid_wca_box">
129
  <br>
130
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/7_before_checkout.png';?>">
131
  </div>
132
  </label>
133
 
139
  <span class="mo_openid_checkbox_checkmark_disable"></span>
140
  <div class="mo_openid_wca_box">
141
  <br>
142
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/8_after_checkout.png';?>">
143
  </div>
144
  </label>
145
  </div>
view/config_apps/mo_openid_config_apps.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  //configure apps menu page
4
  function mo_openid_show_apps()
5
  {
@@ -54,7 +53,7 @@ function mo_openid_show_apps()
54
  <br/>
55
  </td>
56
  <div>
57
- <label style="cursor: auto; margin-left: 3%;" class="mo_openid_note_style">Are you looking for rest API solution to authorized users for your <b>Android</b> or <b>IOS</b> app? <a style="cursor: pointer" onclick="mo_openid_support_form('Rest API requirments ')">Click here</a> and send us your requirments we will help you out.</label>
58
  </div>
59
  </tr>
60
  <tr>
@@ -117,7 +116,8 @@ function mo_openid_show_apps()
117
  action: 'mo_register_customer_toggle_update',
118
  },
119
  success: function (result) {
120
- if (result.status) {
 
121
  if (a.checked == true) {
122
  if (app_name == 'facebook' || app_name == 'twitter' || app_name == 'instagram') {
123
  jQuery.ajax({
@@ -235,7 +235,8 @@ function mo_openid_show_apps()
235
  action: 'mo_register_customer_toggle_update',
236
  },
237
  success: function (result){
238
- if (result.status){
 
239
  jQuery( "#mo_register_customer_toggle").hide();
240
  }
241
  else
@@ -381,7 +382,7 @@ function mo_openid_show_apps()
381
  '</div>'+
382
  '</div>'+
383
  '<div id="mo_openid_cust_app_instructions" style="width: 59%; background-color: #d2d4e542; float: right; display: block; height: auto; overflow-y: auto">'+
384
- '<div><center><h3 id="custom_app_instructions"></h3><h4 id="mo_ssl_notice" style="color:red;margin-top: 0px;margin-bottom: 0px;"></h4></center></div>'+
385
  '<ol id="custom_app_inst_steps"></ol><div style="padding: 0px 10px 10px 10px;" id="custom_app_perma_inst"><strong style=\'color: red;font-weight: bold\'><br>You have selected plain permalink and <label id="mo_perma_error_app_name" style="display:contents"></label> does not 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></div>'+
386
  '</div>'+
387
  '<div id="mo_openid_register_new_user" style="width: 59%; background-color: #d2d4e542; float: right; display: none; height: auto; overflow-y: auto">'+
@@ -688,7 +689,8 @@ function mo_openid_show_apps()
688
  app_name: app_name,
689
  },
690
  success: function(result){
691
- if(result.status){
 
692
  if (data.status=='1') {
693
  deactivate_app(app_name);
694
  mo_show_success_error_msg('success', 'App credentials has been removed and app is deactivated sucessfully.');
@@ -809,7 +811,8 @@ function mo_openid_show_apps()
809
  action: 'mo_register_customer_toggle_update',
810
  },
811
  success: function (result) {
812
- if (result.status) {
 
813
  jQuery("#mo_register_customer_toggle").hide();
814
  } else
815
  jQuery("#mo_register_customer_toggle").show();
@@ -834,17 +837,20 @@ function mo_openid_show_apps()
834
  jQuery('#mo_openid_cust_app_instructions').show();
835
  jQuery('#mo_openid_register_new_user').hide();
836
  jQuery('#mo_openid_register_old_user').hide();
 
837
  if(application_name == 'facebook' || application_name == 'twitter' || application_name == 'instagram') {
838
  jQuery("#mo_set_pre_config_app").hide();
839
- if(application_name == 'facebook' || application_name == 'instagram') {
840
-
841
- jQuery("#mo_ssl_notice").text("SSL certificate is required for " + application_name.charAt(0).toUpperCase() + application_name.substr(1) + " custom app");
842
- jQuery("#mo_ssl_notice").show();
843
- }
844
  }
845
 
846
  else {
847
  jQuery("#mo_set_pre_config_app").show();
 
 
 
 
 
 
 
848
  jQuery("#mo_ssl_notice").hide();
849
  }
850
  if(application_name == 'salesforce'){
@@ -891,6 +897,7 @@ function mo_openid_show_apps()
891
  for (i = 7; i < ins.length; i++)
892
  jQuery("#custom_app_inst_steps").append('<li>' + ins[i] + '</li>');
893
  jQuery("#custom_app_inst_steps").append('<label class="mo_openid_note_style" style="cursor: auto">If you want to display Social Login icons on your login panel then use <code id=\'1\'>[miniorange_social_login]</code><i style= "width: 11px;height: 9px;padding-left:2px;padding-top:3px" class="fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip" onclick="copyToClipboard(this, \'#1\', \'#shortcode_url_copy\')"><span id="shortcode_url_copy" class="mo_copytooltiptext">Copy to Clipboard</span></i> to display social icons or <a style="cursor: pointer" onclick="mo_openid_support_form(\'\')">Contact Us</a></label>');
 
894
  }
895
  document.getElementById('mo_openid_ajax_wait_img').style.display = 'none';
896
  document.getElementById('mo_openid_ajax_wait_fade').style.display = 'none';
@@ -913,7 +920,8 @@ function mo_openid_show_apps()
913
  action: 'mo_register_customer_toggle_update',
914
  },
915
  success: function(result){
916
- if(result.status){
 
917
  if(a.checked==false) {
918
  document.getElementById('salesforce').setAttribute("style","opacity:1");
919
  active_button.style.display = "block";
1
  <?php
 
2
  //configure apps menu page
3
  function mo_openid_show_apps()
4
  {
53
  <br/>
54
  </td>
55
  <div>
56
+ <label style="cursor: auto; margin-left: 3%;" class="mo_openid_note_style">Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fa fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fa fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade and <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.</label>
57
  </div>
58
  </tr>
59
  <tr>
116
  action: 'mo_register_customer_toggle_update',
117
  },
118
  success: function (result) {
119
+ // if (result.status) {
120
+ if (true) {
121
  if (a.checked == true) {
122
  if (app_name == 'facebook' || app_name == 'twitter' || app_name == 'instagram') {
123
  jQuery.ajax({
235
  action: 'mo_register_customer_toggle_update',
236
  },
237
  success: function (result){
238
+ // if (result.status){
239
+ if (true){
240
  jQuery( "#mo_register_customer_toggle").hide();
241
  }
242
  else
382
  '</div>'+
383
  '</div>'+
384
  '<div id="mo_openid_cust_app_instructions" style="width: 59%; background-color: #d2d4e542; float: right; display: block; height: auto; overflow-y: auto">'+
385
+ '<div><center><h3 id="custom_app_instructions"></h3><h4 id="mo_ssl_notice" style="color:#005aff;margin-top: 0px;margin-bottom: 7px;"></h4><h4 id="mo_app_config_notice" style="color:red;margin-top: 0px;margin-bottom: 0px;"></h4></center></div>'+
386
  '<ol id="custom_app_inst_steps"></ol><div style="padding: 0px 10px 10px 10px;" id="custom_app_perma_inst"><strong style=\'color: red;font-weight: bold\'><br>You have selected plain permalink and <label id="mo_perma_error_app_name" style="display:contents"></label> does not 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></div>'+
387
  '</div>'+
388
  '<div id="mo_openid_register_new_user" style="width: 59%; background-color: #d2d4e542; float: right; display: none; height: auto; overflow-y: auto">'+
689
  app_name: app_name,
690
  },
691
  success: function(result){
692
+ // if(result.status){
693
+ if(true){
694
  if (data.status=='1') {
695
  deactivate_app(app_name);
696
  mo_show_success_error_msg('success', 'App credentials has been removed and app is deactivated sucessfully.');
811
  action: 'mo_register_customer_toggle_update',
812
  },
813
  success: function (result) {
814
+ // if (result.status) {
815
+ if (true) {
816
  jQuery("#mo_register_customer_toggle").hide();
817
  } else
818
  jQuery("#mo_register_customer_toggle").show();
837
  jQuery('#mo_openid_cust_app_instructions').show();
838
  jQuery('#mo_openid_register_new_user').hide();
839
  jQuery('#mo_openid_register_old_user').hide();
840
+ jQuery("#mo_app_config_notice").text("If you face any issues in setting up " + application_name.charAt(0).toUpperCase() + application_name.substr(1) + " app then please contact us we wil help you out");
841
  if(application_name == 'facebook' || application_name == 'twitter' || application_name == 'instagram') {
842
  jQuery("#mo_set_pre_config_app").hide();
 
 
 
 
 
843
  }
844
 
845
  else {
846
  jQuery("#mo_set_pre_config_app").show();
847
+ }
848
+ if(application_name == 'facebook' || application_name == 'instagram'|| application_name == 'google') {
849
+
850
+ jQuery("#mo_ssl_notice").text("SSL certificate is required for " + application_name.charAt(0).toUpperCase() + application_name.substr(1) + " custom app");
851
+ jQuery("#mo_ssl_notice").show();
852
+ }
853
+ else {
854
  jQuery("#mo_ssl_notice").hide();
855
  }
856
  if(application_name == 'salesforce'){
897
  for (i = 7; i < ins.length; i++)
898
  jQuery("#custom_app_inst_steps").append('<li>' + ins[i] + '</li>');
899
  jQuery("#custom_app_inst_steps").append('<label class="mo_openid_note_style" style="cursor: auto">If you want to display Social Login icons on your login panel then use <code id=\'1\'>[miniorange_social_login]</code><i style= "width: 11px;height: 9px;padding-left:2px;padding-top:3px" class="fa fa-fw fa-lg fa-copy mo_copy mo_copytooltip" onclick="copyToClipboard(this, \'#1\', \'#shortcode_url_copy\')"><span id="shortcode_url_copy" class="mo_copytooltiptext">Copy to Clipboard</span></i> to display social icons or <a style="cursor: pointer" onclick="mo_openid_support_form(\'\')">Contact Us</a></label>');
900
+ jQuery("#custom_app_inst_steps").append('<label class="mo_openid_note_style" style="cursor: auto; background:#FFD868;"><span class="dashicons dashicons-info" style="vertical-align: bottom;"></span>Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fa fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fa fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade and <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.</label>');
901
  }
902
  document.getElementById('mo_openid_ajax_wait_img').style.display = 'none';
903
  document.getElementById('mo_openid_ajax_wait_fade').style.display = 'none';
920
  action: 'mo_register_customer_toggle_update',
921
  },
922
  success: function(result){
923
+ // if(result.status){
924
+ if(true){
925
  if(a.checked==false) {
926
  document.getElementById('salesforce').setAttribute("style","opacity:1");
927
  active_button.style.display = "block";
view/config_apps/mo_openid_config_apps_funct.php CHANGED
@@ -60,7 +60,8 @@ function mo_openid_app_instructions_action()
60
  $instructions .= "####";
61
  if(get_option("mo_openid_enable_custom_app_".$social_app))
62
  $instructions .= "custom##";
63
- elseif (mo_openid_is_customer_registered()&& get_option('mo_openid_'.$social_app.'_enable'))
 
64
  $instructions .= "default##";
65
  else
66
  $instructions .= "0##";
@@ -169,8 +170,10 @@ function custom_app_enable_change_update()
169
  update_option('mo_openid_' . $appname . '_enable', sanitize_text_field($_POST['custom_app_enable_change']));
170
  update_option('mo_openid_enable_custom_app_' . $appname, 0);
171
  wp_send_json(["status" => 'true']);
172
- } else
173
- wp_send_json(["status" => 'false']);
 
 
174
  } else {
175
  if (get_option('mo_openid_apps_list')) {
176
  $appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
60
  $instructions .= "####";
61
  if(get_option("mo_openid_enable_custom_app_".$social_app))
62
  $instructions .= "custom##";
63
+ // elseif (mo_openid_is_customer_registered()&& get_option('mo_openid_'.$social_app.'_enable'))
64
+ elseif (get_option('mo_openid_'.$social_app.'_enable'))
65
  $instructions .= "default##";
66
  else
67
  $instructions .= "0##";
170
  update_option('mo_openid_' . $appname . '_enable', sanitize_text_field($_POST['custom_app_enable_change']));
171
  update_option('mo_openid_enable_custom_app_' . $appname, 0);
172
  wp_send_json(["status" => 'true']);
173
+ } else {
174
+ // wp_send_json(["status" => 'false']);
175
+ wp_send_json(["status" => 'true']);
176
+ }
177
  } else {
178
  if (get_option('mo_openid_apps_list')) {
179
  $appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
view/disp_options/mo_openid_dispopt.php CHANGED
@@ -2,6 +2,9 @@
2
  function mo_openid_disp_opt()
3
  {
4
  ?>
 
 
 
5
  <form id="display" name="display" method="post" action="">
6
  <input type="hidden" name="option" value="mo_openid_enable_display" />
7
  <input type="hidden" name="mo_openid_enable_display_nonce" value="<?php echo wp_create_nonce( 'mo-openid-enable-display-nonce' ); ?>"/>
2
  function mo_openid_disp_opt()
3
  {
4
  ?>
5
+ <div>
6
+ <label style="cursor: auto;" class="mo_openid_note_style">Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fa fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fa fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade and <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.</label>
7
+ </div>
8
  <form id="display" name="display" method="post" action="">
9
  <input type="hidden" name="option" value="mo_openid_enable_display" />
10
  <input type="hidden" name="mo_openid_enable_display_nonce" value="<?php echo wp_create_nonce( 'mo-openid-enable-display-nonce' ); ?>"/>
view/integration/mo_openid_integrate.php CHANGED
@@ -1,194 +1,733 @@
1
  <?php
2
  function mo_openid_integrations(){
 
 
 
3
  ?>
4
- <div class="mo_openid_table_layout">
5
- <!-- Woocommerce form-->
6
- <form>
7
- <br>
8
- <hr>
9
- <div class="mo_openid_highlight">
10
- <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Woocommerce Integration');?></h3>
11
- </div>
12
- <table id="woocommerce_integration"><tr><td>
13
- <br/><label><b> <span style="color: red">*</span> <?php echo mo_sl('This feature is available in premium version only. To use this feature, please upgrade to premium plugin.');?></b></label>
14
- <p><b><?php echo mo_sl('If enabled, first name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page.');?></b></p>
15
-
16
-
17
- <label class="mo_openid_checkbox_container_disable"><strong><?php echo mo_sl('Sync Woocommerce checkout fields');?></strong>
18
- <input type="checkbox"/>
19
- <span class="mo_openid_checkbox_checkmark_disable"></span>
20
- </label>
21
- <input disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
22
- <br>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
- <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-woocommerce-with-wordpress-social-login" target="_blank">WooCommerce Guide</a> / <a href="https://youtu.be/M20AR-wbKNI" target="_blank">WooCommerce Video</a></label>
 
 
 
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
- </td></tr></table>
28
- </form>
29
- <br>
 
 
 
 
 
 
 
30
 
31
- <hr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
- <table id="buddypress_mapping" style="width:100%">
34
- <tr>
35
- <td>
 
36
  <div class="mo_openid_highlight">
37
- <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('BuddyPress / BuddyBoss Extended Attributes Mapping');?></h3>
38
  </div>
39
- <br/>
40
- <label><b> <span style="color: red">*</span><?php echo mo_sl('This feature is available in premium version only. To use this feature, please upgrade to premium plugin.');?></b></label>
 
 
 
 
41
 
42
- <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-buddypress-with-wordpress-social-login" target="_blank">BuddyPress Guide</a> / <a href="https://youtu.be/Iia1skKRYBU" target="_blank">BuddyPress Video</a></label><br>
 
 
 
 
 
 
 
43
 
44
- </td>
45
- </tr>
46
- </table>
 
 
 
 
 
 
47
 
48
- <hr>
49
- <div id="paid_memb_pro">
 
 
 
 
 
 
 
 
 
 
 
50
  <div class="mo_openid_highlight">
51
- <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Paid Memberships Pro');?></h3>
52
- </div><br/>
53
- <label><b> <span style="color: red">*</span> <?php echo mo_sl('This feature is available in premium version only. To use this feature, please upgrade to premium plugin.');?></b></label>
54
- <br>
55
- <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-paid-membership-pro-with-wordpress-social-login" target="_blank">Paid Membership Pro Guide</a> / <a href="https://youtu.be/DHgIR6kyX3A" target="_blank">Paid Membership Pro Video</a></label><br>
56
- <!--MailChimp form-->
57
-
58
- <form>
59
- <hr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  <div class="mo_openid_highlight">
61
- <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('MailChimp Integration');?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  </div>
63
- <table id="maichimp_integration"><tr><td>
64
- <br/><label><b> <span style="color: red">*</span><?php echo mo_sl('This feature is available in premium version only. To use this feature, please upgrade to premium plugin.');?></b></label>
65
- <p><b><?php echo mo_sl('A user is added as a subscriber to a mailing list in MailChimp when that user registers using social login. First name, last name and email are also captured for that user in the Mailing List.');?></b></p>
66
 
67
- <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-mailchimp-integration-with-wordpress-social-login" target="_blank">MailChimp Guide</a> / <a href="https://www.youtube.com/watch?v=3Zh5gUX0O_A" target="_blank">MailChimp Video</a></label><br>
68
- <b><?php echo mo_sl('Audience ID');?>:</b><input disabled size="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;margin-left: 1%" > <br><br>
69
- <b><?php echo mo_sl('API Key:');?> </b><input disabled size="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" type="text" ><br><br>
 
 
 
 
 
 
 
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
- <label class="mo_openid_checkbox_container_disable"><strong><?php echo mo_sl('Ask user for permission to be added in MailChimp Subscriber list');?> </strong>
73
- <input type="checkbox"/>
 
 
 
 
 
 
74
  <span class="mo_openid_checkbox_checkmark_disable"></span>
 
 
 
 
75
  </label>
76
-
77
- (<?php echo mo_sl('If unchecked, user will get subscribed during registration.');?>
78
- <br><br>
79
- <b><?php echo mo_sl('Click on Download button to get a list of emails of WordPress users registered on your site. You can import this file in MailChimp.');?><br><br>
80
- <input disabled type="button" value="Save " class="button button-primary button-large" />
81
- <a disabled="disabled" style="width:190px;" class="button button-primary button-large">
82
- <?php echo mo_sl('Download emails of users');?>
83
- </a><br>
84
- </td></tr></table>
85
- </form>
86
- </div>
87
- <hr>
88
-
89
- <!--adding and mapping custom attribute--><br/>
90
- <div class="mo_openid_highlight">
91
- <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Custom Attributes Mapping');?></h3>
92
- </div>
93
- <form>
94
- <table id="custom_attr" style="width:100%">
95
- <tr>
96
- <td colspan="3"><br/><label><b> <span style="color: red">*</span> <?php echo mo_sl('This feature is available in premium version only. To use this feature, please upgrade to premium plugin.');?></b></label></td>
97
- </tr>
98
- <tr>
99
- <td><br><input type="text" disabled placeholder="Custom Attribute Name" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 80%"/></td>
100
- <td><br>
101
- <select disabled class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 60%" >
102
- <option value="" ><?php echo mo_sl('Select Attribute');?></option>
103
- </select>
104
- </td>
105
- <td> <br><input type="button" disabled value="+" class=" button-primary" />&nbsp;
106
- <input type="button" disabled value="-" class=" button-primary" />
107
- </td> </tr>
108
- <tr id="mo_openid_custom_attribute"><td></td></tr>
109
- <tr>
110
- <td align="center"colspan="3"><br>
111
- <input type="hidden"/>
112
- <input disabled type="button" value="Save Attributes" class="button button-primary button-large"/>
113
- &nbsp &nbsp <a disabled="disabled" class="button button-primary button-large"><?php echo mo_sl('Cancel');?></a>
114
- </td>
115
- </tr>
116
- </table>
117
- </form>
118
- <!-- Memberpress Integration-->
119
- <div>
120
- <div id="mem_press">
121
- <div class="mo_openid_highlight">
122
- <style>
123
- .mo_openid_highlight{
124
- background-color:#0867b2;
125
- padding: 0.002%;
126
- }
127
- </style>
128
- <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl("Memberpress integration");?></h3>
129
- </div><br>
130
- <form method="post" id="memberpress_int">
131
- <input type="hidden" name="option" value="mo_openid_member_press"/>
132
- <table style="align-content: center; width: 100%">
133
- <tr>
134
- <td>
135
- <label class="mo_openid_checkbox_container"><strong><?php echo mo_sl("Use Default Level");?></strong>
136
- <input type="checkbox" value="1" name="mo_openid_mem_press_default" disabled <?php checked( get_option('mo_openid_mem_press_default') == 1 );?> />
137
- <span class="mo_openid_checkbox_checkmark"></span>
138
  </label>
139
- &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
140
- <select name="mo_openid_mem_press_default_opt" disabled>
141
 
142
 
143
- <option value="Default"</option>
144
 
145
- </select>
146
- <br>
147
- <label><?php echo mo_sl("By selecting default level the user will be assigned with a level selected in above dropdown");?>.</label><br><br>
148
- </td>
149
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
 
151
- <tr>
152
- <td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
 
154
- <label class="mo_openid_checkbox_container"><strong><?php echo mo_sl("User's Choice");?></strong>
155
- <input type="checkbox" value="1" id="mo_openid_mem_press_choose" name="mo_openid_mem_press_choose" disabled <?php checked( get_option('mo_openid_mem_press_choose') == 1 );?> />
156
- <span class="mo_openid_checkbox_checkmark"></span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  </label>
158
- &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<label><strong><?php echo mo_sl("Level's Page Link");?></strong></label>
159
- &nbsp&nbsp<input type="text" style="width: 40%;" name="mo_openid_mem_level_link" placeholder="Please enter the redirect URL after login." disabled value="<?php echo get_option('mo_openid_mem_level_link') ?>"/>
160
- <br>
161
 
162
- <label><?php echo mo_sl("By selecting this option every user can select their own level which will be assigned to them");?>.</label>
163
- <h4><?php echo mo_sl("Instructions to setup Memberpress User's Choice option");?>:</h4>
164
- <p>
165
- <ol>
166
- <li> <?php echo mo_sl("Create a page and use shortcode");?> <b>[miniorange_mp_level]</b> <?php echo mo_sl("where you want your <b>Membership Levels Page");?></b> to be displayed.
167
- </li>
168
- <li> <?php echo mo_sl("Click on <b>Save</b> button");?>.</li>
169
- </ol>
170
- </p>
171
- </td>
172
- </tr>
173
- <tr>
174
- <td align="center"><br>
175
- <input name="mo_openid_save_config_element" type="submit" disabled value="<?php echo mo_sl("Save");?>" class="button button-primary button-large"/>
176
- &nbsp &nbsp <a href="" disabled class="button button-primary button-large"><?php echo mo_sl("Cancel");?></a>
177
- </td>
178
- </tr>
179
- </table>
180
- <input type="hidden" name="mo_openid_mem_press_nonce" value="<?php echo wp_create_nonce( 'mo-openid-mem-press-nonce' ); ?>"/>
181
-
182
- </form>
183
 
184
- </div>
185
 
186
- <script>
187
- //to set heading name
188
- jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Integrations');?>');
189
- var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
190
- jQuery("#mo_openid_page_heading").append(temp);
191
- </script>
192
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  }
1
  <?php
2
  function mo_openid_integrations(){
3
+ $active_tab_int = isset( $_GET[ 'tab' ]) ? $_GET[ 'tab' ] : 'integration-woocommerce';
4
+ if( $active_tab_int == 'integration' )
5
+ $active_tab_int = 'integration-woocommerce';
6
  ?>
7
+ <div id="tab">
8
+ <h2 class="nav-tab-wrapper">
9
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-woocommerce' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-woocommerce'), $_SERVER['REQUEST_URI'] ); ?>">WooCommerce</a>
10
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-buddypress' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-buddypress'), $_SERVER['REQUEST_URI'] ); ?>">BuddyPress</a>
11
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-mailchimp' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-mailchimp'), $_SERVER['REQUEST_URI'] ); ?>">MailChimp</a>
12
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-hubspot' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-hubspot'), $_SERVER['REQUEST_URI'] ); ?>">HubSpot</a>
13
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-discord' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-discord'), $_SERVER['REQUEST_URI'] ); ?>">Discord</a>
14
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-paidmemb' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-paidmemb'), $_SERVER['REQUEST_URI'] ); ?>">Paid Membershi Pro</a>
15
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-memberpress' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-memberpress'), $_SERVER['REQUEST_URI'] ); ?>">MemberPress</a>
16
+ <a class="mo-nav-tab <?php echo $active_tab_int == 'integration-customregistration' ? 'mo-nav-tab-active' : ''; ?>" href="<?php echo add_query_arg( array('tab' => 'integration-customregistration'), $_SERVER['REQUEST_URI'] ); ?>">Custom Registration</a>
17
+ </h2>
18
+ </div>
19
+
20
+ <?php
21
+ if( $active_tab_int == 'integration-woocommerce' ) {
22
+ ?>
23
+ <div class="mo_openid_table_layout" id="wca_adv_disp" style="display: block">
24
+ <table>
25
+ <tr>
26
+ <td><br/>
27
+ <b><?php echo mo_sl('With WooCommerce Integration you will get various social login display options using which you can display the Social Login icons on your WooCommerce login, registration, and checkout pages.
28
+ You\'ll also have the option to sync Woocommerce checkout fields, which will pre-fill a user\'s billing information with their first name, last name, and email address.');?></b>
29
+ </td>
30
+ </tr>
31
+ </table>
32
+ <br>
33
+ <div class="mo_openid_highlight">
34
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Woocommerce Display Options');?></h3>
35
+ </div>
36
+ <br>
37
+
38
+ <form id="wa_display" name="wa_display" method="post" action="">
39
+ <div class="mo_openid_wca_table_layout_fake" style="height: 1450px"><br/>
40
+ <div style="width:40%; background:white; float:left; border: 1px transparent;">
41
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
42
+ <input type="checkbox" id="woocommerce_before_login_form" name="mo_openid_woocommerce_before_login_form" <?php checked( get_option('mo_openid_woocommerce_before_login_form') == 1 );?> />
43
+ <div style="padding-left: 7%">
44
+ <?php echo mo_sl("Before WooCommerce Login Form");?>
45
+ </div>
46
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
47
+ <div class="mo_openid_wca_box">
48
+ <br>
49
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/1_before_login.png'; ?>">
50
+ </div>
51
+ </label>
52
+ <br>
53
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
54
+ <input type="checkbox" id="woocommerce_center_login_form" name="mo_openid_woocommerce_center_login_form" <?php checked( get_option('mo_openid_woocommerce_center_login_form') == 1 );?> />
55
+ <div style="padding-left: 7%">
56
+ <?php echo mo_sl("Before 'Remember Me' of WooCommerce Login Form");?>
57
+ </div>
58
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
59
+ <div class="mo_openid_wca_box">
60
+ <br>
61
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/2_login.png';?>">
62
+ </div>
63
+ </label>
64
+ <br>
65
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
66
+ <div style="padding-left: 7%">
67
+ <?php echo mo_sl('After WooCommerce Login Form');?>
68
+ </div>
69
+ <input type="checkbox" /><br>
70
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
71
+ <div class="mo_openid_wca_box">
72
+ <br>
73
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/3_after_login.png';?>">
74
+ </div>
75
+ </label>
76
 
77
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
78
+ <div style="padding-left: 7%">
79
+ <?php echo mo_sl('Before WooCommerce Registration Form');?>
80
+ </div>
81
 
82
+ <input type="checkbox" /><br>
83
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
84
+ <div class="mo_openid_wca_box">
85
+ <br>
86
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/4_before_reg.png';?>">
87
+ </div>
88
+ </label>
89
+ </div>
90
+ <div style="width:50%; background:white; float:right; border: 1px transparent;">
91
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
92
+ <div style="padding-left: 7%">
93
+ <?php echo mo_sl("Before 'Register button' of WooCommerce Registration Form");?>
94
+ </div>
95
+ <input type="checkbox" /><br>
96
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
97
+ <div class="mo_openid_wca_box">
98
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/5_in_reg.png';?>">
99
+ </div>
100
+ </label>
101
 
102
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
103
+ <div style="padding-left: 7%">
104
+ <?php echo mo_sl('After WooCommerce Registration Form');?>
105
+ </div>
106
+ <input type="checkbox" /><br>
107
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
108
+ <div class="mo_openid_wca_box">
109
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/6_after_reg.png';?>">
110
+ </div>
111
+ </label>
112
 
113
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
114
+ <div style="padding-left: 7%">
115
+ <?php echo mo_sl('Before WooCommerce Checkout Form');?>
116
+ </div>
117
+ <input type="checkbox" /><br>
118
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
119
+ <div class="mo_openid_wca_box">
120
+ <br>
121
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/7_before_checkout.png';?>">
122
+ </div>
123
+ </label>
124
+
125
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
126
+ <div style="padding-left: 7%">
127
+ <?php echo mo_sl('After WooCommerce Checkout Form');?>
128
+ </div>
129
+ <input type="checkbox" /><br>
130
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
131
+ <div class="mo_openid_wca_box">
132
+ <br>
133
+ <img style="box-shadow: 4px 4px #888888" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/8_after_checkout.png';?>">
134
+ </div>
135
+ </label>
136
+ </div>
137
+ </div>
138
+ <br>
139
+ <input style="width: 126px;margin-left: 2%" disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
140
+ <br>
141
+ </form>
142
 
143
+ <br><br><br>
144
+
145
+ <form>
146
+ <br>
147
  <div class="mo_openid_highlight">
148
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Woocommerce Integration');?></h3>
149
  </div>
150
+ <table id="woocommerce_integration"><tr><td>
151
+ <p><b><?php echo mo_sl('WooCommerce Integration pre-fills the first name, last name and email in Billing Details on the WooCommerce Checkout Page.');?></b></p>
152
+ <label class="mo_openid_checkbox_container_disable"><strong><?php echo mo_sl('Sync Woocommerce checkout fields');?></strong>
153
+ <input type="checkbox"/>
154
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
155
+ </label>
156
 
157
+ <br>
158
+ <img class="mo_openid_wcai_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/wca/wcai.png';?>">
159
+ <br>
160
+ <input style="width: 126px;" disabled type="button" value="<?php echo mo_sl('Save');?>" class="button button-primary button-large" />
161
+ <br>
162
+ <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-woocommerce-with-wordpress-social-login" target="_blank">WooCommerce Guide</a> / <a href="https://youtu.be/M20AR-wbKNI" target="_blank">WooCommerce Video</a></label>
163
+ </td></tr></table>
164
+ </form>
165
 
166
+ </div>
167
+ <td>
168
+ <script>
169
+ //to set heading name
170
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Woocommerce Integration'); ?>');
171
+ </script>
172
+ </td>
173
+ <?php
174
+ }
175
 
176
+ else if( $active_tab_int == 'integration-buddypress' ) {
177
+ ?>
178
+ <div id="bp_addon_head" style="display: block">
179
+ <table>
180
+ <tr>
181
+ <td>
182
+ <br/><b><?php echo mo_sl('With BuddyPress/BuddyBoss Integration you will get various social login display options using which you can display the Social Login icons on your BuddyPress registration pages.
183
+ The BuddyPress integration with social login can be done using any Social login app. If you have BuddyPress Integration enabled then user information will be mapped to their profile page.');?></b>
184
+ </td>
185
+ </tr>
186
+ </table>
187
+ </div>
188
+ <br><br>
189
  <div class="mo_openid_highlight">
190
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('BuddyPress / BuddyBoss Display Options');?></h3>
191
+ </div>
192
+
193
+ <form id="wa_display" name="wa_display" method="post" action="">
194
+ <div class="mo_openid_wca_table_layout_fake" style="height: 550px"><br/>
195
+ <div style="width:40%; background:white; float:left; border: 1px transparent; margin-left: 25px">
196
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
197
+ <input type="checkbox" id="bp_before_register_page" name="mo_openid_bp_before_register_page" <?php checked( get_option('mo_openid_bp_before_register_page') == 1 );?> />
198
+ <div style="padding-left: 7%">
199
+ <?php echo mo_sl("Before registration form");?>
200
+ </div>
201
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
202
+ <div class="mo_openid_wca_box">
203
+ <br>
204
+ <img style="width: 100%; height: 100%" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/bp_add/new_before_reg.png'; ?>">
205
+ </div>
206
+ </label>
207
+ <br>
208
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
209
+ <div style="padding-left: 7%; width: 60% !important">
210
+ <?php echo mo_sl("Before Account Details");?>
211
+ </div>
212
+ <input type="checkbox" /><br>
213
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
214
+ <div class="mo_openid_wca_box">
215
+ <img style="width: 100%; height: 100%" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/bp_add/new_before_account.png';?>">
216
+ </div>
217
+ </label>
218
+
219
+ </div>
220
+ <div style="width:50%; background:white; float:right; border: 1px transparent;">
221
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
222
+ <div style="padding-left: 7%">
223
+ <?php echo mo_sl("After Registration Form");?>
224
+ </div>
225
+ <input type="checkbox" /><br>
226
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
227
+ <div class="mo_openid_wca_box">
228
+ <img style="width: 79%; height: 100%" class="mo_openid_wca_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/bp_add/new_after_reg.png';?>">
229
+ </div>
230
+ </label>
231
+ </div>
232
+ </div>
233
+ <br>
234
+ <input style="width: 126px;margin-left: 2%" disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
235
+ <br>
236
+ </form>
237
+ <br><br>
238
  <div class="mo_openid_highlight">
239
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('BuddyPress Extended Mapping Attributes');?></h3>
240
+ </div>
241
+ <form>
242
+ <br>
243
+ <div style="margin-left: 1.5%">
244
+ <table>
245
+ <tr>
246
+
247
+ <h3><b>Buddypress / BuddyBoss Extended Attributes Mapping</b></h3>
248
+
249
+ </tr>
250
+ <tr>
251
+ <td style="width: 60%">
252
+ <font color="#FF0000">*</font>
253
+ Select Application:
254
+ </td>
255
+ <td>
256
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px;" name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true" >
257
+ <option value="" disabled selected hidden>Google</option>
258
+ </td>
259
+ </tr>
260
+ <tr>
261
+ <td style="width: 60%">
262
+ <font color="#FF0000">*</font>
263
+ Name:
264
+ </td>
265
+ <td>
266
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
267
+ <option value="" disabled selected hidden>User Name</option>
268
+ </td>
269
+ </tr>
270
+ <tr>
271
+ <td style="width: 60%">
272
+ <font color="#FF0000">*</font>
273
+ Email:
274
+ </td>
275
+ <td>
276
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
277
+ <option value="" disabled selected hidden>User Email_ID</option>
278
+ </td>
279
+ </tr>
280
+ <tr>
281
+ <td style="width: 60%">
282
+ <font color="#FF0000">*</font>
283
+ User First Name:
284
+ </td>
285
+ <td>
286
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
287
+ <option value="" disabled selected hidden>First Name</option>
288
+ </td>
289
+ </tr>
290
+ <tr>
291
+ <td style="width: 60%">
292
+ <font color="#FF0000">*</font>
293
+ User Last Name
294
+ </td>
295
+ <td>
296
+ <select class="mo_table_textbox" required="true" style="width:100%; height: 27px; " name="mo_oauth_bp_app_name" onchange="selectapp()" disabled="true">
297
+ <option value="" disabled selected hidden>Last Name</option>
298
+ </td>
299
+ </tr>
300
+ <tr>
301
+ <td>
302
+ &nbsp;
303
+ </td>
304
+ <td>
305
+ <input type="submit" name="submit" value="<?php echo mo_sl("Save settings");?>" class="button button-primary button-large" disabled />
306
+ <input type="button" name="back" onclick="goBack();" value="<?php echo mo_sl("Back");?>" class="button button-primary button-large" disabled/>
307
+ </td>
308
+ </tr>
309
+ </table>
310
+ <br><br>
311
+ <table>
312
+ <tr>
313
+ <div class="mo-openid-bp-addon-img">
314
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/bp_add/integrations.png">
315
+ </div>
316
+ </tr>
317
+ <tr>
318
+
319
+ <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-buddypress-with-wordpress-social-login" target="_blank">BuddyPress Guide</a> / <a href="https://youtu.be/Iia1skKRYBU" target="_blank">BuddyPress Video</a></label>
320
+
321
+ </tr>
322
+ </table>
323
+ </div>
324
+ </form>
325
+ <td>
326
+ <script>
327
+ //to set heading name
328
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('BuddyPress Integration'); ?>');
329
+ </script>
330
+ </td>
331
+ <?php
332
+ }
333
+
334
+ else if( $active_tab_int == 'integration-mailchimp' ) {
335
+ ?>
336
+ <script>
337
+ //to set heading name
338
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Mailchimp Integration");?>');
339
+ </script>
340
+ <div class="mo_openid_table_layout" id="customization_ins" style="display: block">
341
+ <table>
342
+ <tr>
343
+ <td>
344
+ <br/><b><?php echo mo_sl('Mailchimp is a marketing platform that allows you to manage and communicate with your companies, consumers, and other interested parties in one place. When a user registers on your website, the user\'s first name, last name, and email address are sent to your mailchimp account\'s mailing list, and the user is identified as subscribed.');?>.</b>
345
+ </td>
346
+ </tr>
347
+ </table>
348
+ <table class="mo_openid_display_table table" id="mo_openid_mailchimp_video"></table>
349
+ <br>
350
+ <hr>
351
+ <form>
352
+ <table><tr><td>
353
+ <p><b><?php echo mo_sl("A user is added as a subscriber to a mailing list in MailChimp when that user registers using social login. First name, last name and email are also captured for that user in the Mailing List.</b></p>
354
+ (List ID in MailChimp : Lists -> Select your List -> Settings -> List Name and Defaults -> List ID) <br>
355
+ (API Key in MailChimp : Profile -> Extras -> API Keys -> Your API Key");?> )<br><br>
356
+ <b><?php echo mo_sl("List Id");?>:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input size="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width:43%" type="text" disabled="disabled" > <br><br>
357
+ <b><?php echo mo_sl("API Key");?>: </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input size="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width:43%" type="text" disabled="disabled" ><br><br>
358
+ <label class="mo_openid_checkbox_container_disable"><strong><?php echo mo_sl("User's Choice");?></strong>
359
+ <input type="checkbox" />
360
+ <span class="mo_openid_checkbox_checkmark"></span>
361
+ </label>
362
+ <strong><?php echo mo_sl("Ask user for permission to be added in MailChimp Subscriber list");?> </strong>
363
+ <br><?php echo mo_sl("(If unchecked, user will get subscribed during registration.)");?>
364
+ <br><h3 style="float: left">Edit MailChimp subscription form </h3>
365
+ <img src="<?php echo plugin_dir_url(dirname(__DIR__));?>includes/images/demo_mailchimp.png">
366
+ <br><br>
367
+ <b><?php echo mo_sl("Click on Download button to get a list of emails of WordPress users registered on your site. You can import this file in MailChimp");?>.<br><br>
368
+ <input type="submit" value="<?php echo mo_sl("Save");?> " disabled="disabled" class="button button-primary button-large" />
369
+ <a style="width:190px;" disabled="disabled" class="button button-primary button-large" href="#">
370
+ <?php echo mo_sl("Download emails of users");?>
371
+ </a><br>
372
+ </td></tr></table>
373
+ </form>
374
+ </div>
375
+ <?php
376
+ }
377
+
378
+ else if( $active_tab_int == 'integration-discord' ) {
379
+ ?>
380
+ <div class="mo_openid_table_layout">
381
+ <h4><span style="color: red">Note:</span> Discord Integration is not included with any of the premium plans and must be purchased as an add-on separately.</h4>
382
+ <?php
383
+ mo_openid_discord_add_on_display();
384
+ ?>
385
+ </div>
386
+ <?php
387
+ }
388
+
389
+ else if( $active_tab_int == 'integration-customregistration' ) {
390
+ ?>
391
+ <script>
392
+ //to set heading name
393
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Custom Registration Add On");?>');
394
+ </script>
395
+ <div class="mo_openid_table_layout" id="customization_ins" style="display: block">
396
+ <table>
397
+ <tr>
398
+ <td>
399
+ <b><?php echo mo_sl('The miniOrange Custom Registration Form Add-On allows you to obtain additional information from your customers. You can build your own custom form with as many fields as you want, even those returned by social sites, and the user will be redirected to it after a successful registration form social login. The meta table will save all of the details entered by the user.');?></b>
400
+ </td>
401
+ </tr>
402
+ </table>
403
+ <table>
404
+ <tr>
405
+ <td style="vertical-align:top; ">
406
+ <div class="mo_openid_table_layout"><br/>
407
+ <form method="post">
408
+ <h3><?php echo mo_sl('Customization Fields');?></h3>
409
+ <input type="checkbox" disabled="disabled"
410
+ value="1" checked
411
+ <b><?php echo mo_sl('Enable Auto Field Registration Form');?></b>
412
+
413
+ <style>
414
+ .tableborder {
415
+ border-collapse: collapse;
416
+ width: 100%;
417
+ border-color: #eee;
418
+ }
419
+
420
+ .tableborder th, .tableborder td {
421
+ text-align: left;
422
+ padding: 8px;
423
+ border-color: #eee;
424
+ }
425
+
426
+ .tableborder tr:nth-child(even) {
427
+ background-color: #f2f2f2
428
+ }
429
+ </style>
430
+ <!--mo_openid_custom_field_update-->
431
+ <table id="custom_field" style="width:100%; text-align: center;" class="table mo_openid_mywatermark">
432
+ <div id="myCheck">
433
+ <h4><?php echo mo_sl('Registration page link');?> <input type="text"
434
+ style="width: 350px" disabled="disabled"
435
+ required/></h4>
436
+ <thead>
437
+ <tr>
438
+ <th><?php echo mo_sl('Existing Field');?></th>
439
+ <th><?php echo mo_sl('Field');?></th>
440
+ <th><?php echo mo_sl('Custom name');?></th>
441
+ <th><?php echo mo_sl('Field Type');?></th>
442
+ <th><?php echo mo_sl('Field Options');?></th>
443
+ <th><?php echo mo_sl('Required Field');?></th>
444
+ <th></th>
445
+ </tr>
446
+ </thead>
447
+ <?php
448
+ ?>
449
+ <tr>
450
+ <td style="width: 15%"><br><input type="text" disabled="disabled" placeholder="Existing meta field"
451
+ style="width:90%;"/></td>
452
+ <td style="width: 15%"><br><select id="field_1_name" disabled="disabled"
453
+ onchange="myFunction('field_1_name','opt_field_1_name','field_1_value','additional_field_1_value')"
454
+ style="width:80%">
455
+ <option value=""><?php echo mo_sl('Select Field');?></option>
456
+ </select></td>
457
+ <td style="width: 15%"><br><input type="text" id="opt_field_1_name" disabled="disabled"
458
+ placeholder="Custom Field Name"
459
+ style="width:90%;"/></td>
460
+ <td style="width: 15%"><br><select id="field_1_value" name="field_1_value" disabled="disabled"
461
+ onchange="myFunction2('field_1_name','opt_field_1_name','field_1_value','additional_field_1_value')"
462
+ style="width:80%">
463
+ <option value="default"><?php echo mo_sl('Select Type');?></option>
464
+ </select></td>
465
+ <td style="width: 20%"><br><input type="text" id="additional_field_1_value" disabled="disabled"
466
+ placeholder="e.g. opt1;opt2;opt3"
467
+ style="width:90%;"/></td>
468
+ <td style="width: 10%"><br><select name="mo_openid_custom_field_1_Required" disabled="disabled"
469
+ style="width:57%">
470
+ <option value="no"><?php echo mo_sl('No');?></option>
471
+ </select></td>
472
+ <td style="width: 10%"><br><input type="button" disabled="disabled"
473
+ value="+"
474
+ class=" button-primary"/>&nbsp;
475
+ <input type="button" name="mo_remove_attribute" value="-" disabled="disabled"
476
+ class=" button-primary"/>
477
+ </td>
478
+ </tr>
479
+ </div>
480
+ <tr id="mo_openid_custom_field">
481
+ <td align="center" colspan="7"><br>
482
+ <input name="mo_openid_save_config_element" type="submit" disabled="disabled"
483
+ value="Save"
484
+ class="button button-primary button-large"/>
485
+ &nbsp &nbsp <a class="button button-primary button-large" disabled="disabled"><?php echo mo_sl('Cancel');?></a>
486
+ </td>
487
+ </tr>
488
+ <tr>
489
+ <td align="left" colspan="7">
490
+ <h3><?php echo mo_sl('Instructions to setup');?>:</h3>
491
+ <p>
492
+ <ol>
493
+ <li> <?php echo mo_sl('Create a page and use shortcode');?> <b>[miniorange_social_custom_fields]</b>
494
+ <?php echo mo_sl('where you want your form to be displayed');?>.
495
+ </li>
496
+ <li><?php echo mo_sl( 'Copy the page link and paste it in the above field <b>Registration page
497
+ link');?></b>.
498
+ </li>
499
+ <li><?php echo mo_sl( "If you have any existing wp_usermeta field then enter that field's name in");?>
500
+ <b><?php echo mo_sl('Existing
501
+ Field');?></b> <?php echo mo_sl('column. For example, if you are saving');?> <b><?php echo mo_sl('First Name');?></b> <?php echo mo_sl('as');?>
502
+ <b><?php echo mo_sl('fname');?></b>
503
+ <?php echo mo_sl('in wp_usermeta field then enter <b>fname</b> in <b>Existing Field</b>
504
+ column.');?>
505
+ </li>
506
+ <li> <?php echo mo_sl('Select field name under the ');?><b><?php echo mo_sl('Field');?></b> <?php echo mo_sl('dropdown');?>.</li>
507
+ <li> <?php echo mo_sl('If selected field is other than custom, then');?> <b><?php echo mo_sl('Field Type');?></b> <?php echo mo_sl('will
508
+ automatically be');?> <b><?php echo mo_sl('Textbox');?></b> <?php echo mo_sl('and there is no need to enter');?> <b><?php echo mo_sl('Custom
509
+ name');?></b> <?php echo mo_sl('and');?> <b><?php echo mo_sl('Field options');?></b>.
510
+ </li>
511
+ <li> <?php echo mo_sl('If selected field is custom, then enter');?> <b><?php echo mo_sl('Custom name');?></b>.</li>
512
+ <li> <?php echo mo_sl('Select');?> <b><?php echo mo_sl('Field Type');?></b>, <?php echo mo_sl('if selected');?> <b><?php echo mo_sl('Field Type');?></b> <?php echo mo_sl('is');?>
513
+ <b><?php echo mo_sl('Checkbox');?></b><?php echo mo_sl( 'or');?> <b><?php echo mo_sl('Dropdown');?></b> <?php ('then enter the desire options in');?> <b><?php echo mo_sl('Field
514
+ Options');?></b> <?php echo mo_sl('seprated by semicolon ');?><b>;</b>'<?php echo mo_sl( 'otherwise leave');?> <b><?php echo mo_sl('Field
515
+ Options');?></b> <?php echo mo_sl('blank.');?>
516
+ </li>
517
+ <li> <?php echo mo_sl('Select');?> <b><?php echo mo_sl('Required Field');?></b> <?php echo mo_sl('as');?> <b><?php echo mo_sl('Yes');?></b> <?php echo mo_sl('if you want to make that field
518
+ compulsory for user');?>.
519
+ </li>
520
+ <li> <?php echo mo_sl('If you want to add more than 1 fields at a time click on');?> <b>"+"</b>.</li>
521
+ <li> <?php echo mo_sl('Last click on');?> <b><?php echo mo_sl('Save');?></b> <?php echo mo_sl('button');?>.</li>
522
+ </ol>
523
+ </p>
524
+ </td>
525
+ </tr>
526
+ </table>
527
+ </form>
528
+ <br>
529
+ <hr>
530
+ </div>
531
+ </td>
532
+ </tr>
533
+ </table>
534
  </div>
535
+ <?php
536
+ }
 
537
 
538
+ else if( $active_tab_int == 'integration-hubspot' ) {
539
+ ?>
540
+ <div class="mo_openid_table_layout">
541
+ <h4><span style="color: red">Note:</span> HubSpot Integration is not included with any of the premium plans and must be purchased as an add-on separately. With Hubspot integration, you can monitor a user's activities on your website.</h4>
542
+ <?php
543
+ mo_openid_hubspot_add_on_display();
544
+ ?>
545
+ </div>
546
+ <?php
547
+ }
548
 
549
+ else if($active_tab_int == 'integration-memberpress'){
550
+ ?>
551
+ <div id="mmp_head" style="display: block">
552
+ <table>
553
+ <tr>
554
+ <td>
555
+ <br/><b><?php echo mo_sl('Membership is the member management and membership subscriptions plugin. With Membership Integration you will get various social login display options using which you can display the Social Login icons on your Membership Login, Account, and checkout page.
556
+ You\'ll also have the choice of assigning a default membership level to users or allowing them to select from a list of available membership levels when they register.');?></b>
557
+ </td>
558
+ </tr>
559
+ </table>
560
+ </div>
561
+ <br><br>
562
+ <div class="mo_openid_highlight">
563
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('MemberPress Display Options');?></h3>
564
+ </div>
565
 
566
+ <form id="mmp_display" name="mmp_display" method="post" action="">
567
+ <div class="mo_openid_mmp_table_layout_fake" style="height: 430px"><br/>
568
+ <div style="width:45%; background:white; float:left; border: 1px transparent; margin-left: 25px">
569
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
570
+ <input type="checkbox"/>
571
+ <div style="padding-left: 7%">
572
+ <?php echo mo_sl("After MemberPress Login Form");?>
573
+ </div>
574
  <span class="mo_openid_checkbox_checkmark_disable"></span>
575
+ <div class="mo_openid_mmp_box">
576
+ <br>
577
+ <img style="box-shadow: 4px 4px #888888; width: 100%; height: 75%" class="mo_openid_mmp_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/mmp/membership-2.png'; ?>">
578
+ </div>
579
  </label>
580
+ <br/>
581
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
582
+ <input type="checkbox" />
583
+ <div style="padding-left: 7%">
584
+ <?php echo mo_sl("After MemberPress Account Form");?>
585
+ </div>
586
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
587
+ <div class="mo_openid_mmp_box">
588
+ <br>
589
+ <img style="box-shadow: 4px 4px #888888; width: 100%; height: 75%" class="mo_openid_mmp_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/mmp/membership-1.png'; ?>">
590
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
591
  </label>
 
 
592
 
593
 
 
594
 
595
+ </div>
596
+ <div style="width:45%; background:white; float:right; border: 1px transparent;">
597
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
598
+ <input type="checkbox" />
599
+ <div style="padding-left: 7%">
600
+ <?php echo mo_sl("After MemberPress Checkout Form");?>
601
+ </div>
602
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
603
+ <div class="mo_openid_mmp_box">
604
+ <br>
605
+ <img style="box-shadow: 4px 4px #888888; width: 100%; height: 100%" class="mo_openid_mmp_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/mmp/membership-3.png'; ?>">
606
+ </div>
607
+ </label>
608
+ </div>
609
+ </div>
610
+ <br>
611
+ <input style="width: 126px;margin-left: 1%; margin-top:33%" disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
612
+ <br>
613
+ </form>
614
+ <br><br>
615
+
616
+ <div class="mo_openid_highlight">
617
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('MemberPress Levels Integration');?></h3>
618
+ </div>
619
+ <form>
620
+ <br>
621
+ <div style="margin-left: 1.5%">
622
+ <table>
623
+ <tr>
624
+ <div class="mo-openid-ppm-img">
625
+ <img width="70%" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/mmp/mmp_4.png">
626
+ </div>
627
+ </tr>
628
+ </table>
629
+ </div>
630
+ </form>
631
+ <td>
632
+ <script>
633
+ //to set heading name
634
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('MemberPress Integration'); ?>');
635
+ </script>
636
+ </td>
637
+ <?php
638
+ }
639
 
640
+ else if($active_tab_int == 'integration-paidmemb'){
641
+ ?>
642
+ <div id="pmp_head" style="display: block">
643
+ <table>
644
+ <tr>
645
+ <td>
646
+ <b><?php echo mo_sl('Paid Membership Pro is the member management and membership subscriptions plugin. With Paid Membership Integration you will get various social login display options using which you can display the Social Login icons on your Membership Pro checkout page.
647
+ You\'ll also have the choice of assigning a default membership level to users or allowing them to select from a list of available membership levels when they register.');?></b>
648
+ </td>
649
+ </tr>
650
+ </table>
651
+ </div>
652
+ <br><br>
653
+ <div class="mo_openid_highlight">
654
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Paid Membership Pro Display Options');?></h3>
655
+ </div>
656
 
657
+ <form id="pmp_display" name="pmp_display" method="post" action="">
658
+ <div class="mo_openid_pmp_table_layout_fake" style="height: 550px"><br/>
659
+ <div style="width:45%; background:white; float:left; border: 1px transparent; margin-left: 25px">
660
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
661
+ <input type="checkbox" id="pmp_after_checkout_page_level_cost" name="pmp_after_checkout_page_level_cost" />
662
+ <div style="padding-left: 7%">
663
+ <?php echo mo_sl("After Paid Memberships Pro Checkout Page Level Cost");?>
664
+ </div>
665
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
666
+ <div class="mo_openid_pmp_box">
667
+ <br>
668
+ <img style="width: 100%; height: 100%" class="mo_openid_pmp_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/pmp/pmp_2.png'; ?>">
669
+ </div>
670
+ </label>
671
+ <br/>
672
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
673
+ <input type="checkbox" id="pmp_before_checkout_page_submit_button" name="pmp_before_checkout_page_submit_button" />
674
+ <div style="padding-left: 7%">
675
+ <?php echo mo_sl("Before Paid Memberships Pro Checkout Page Submit Button");?>
676
+ </div>
677
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
678
+ <div class="mo_openid_pmp_box">
679
+ <br>
680
+ <img style="width: 100%; height: 100%" class="mo_openid_pmp_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/pmp/pmp_1.png'; ?>">
681
+ </div>
682
  </label>
 
 
 
683
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684
 
 
685
 
686
+ </div>
687
+ <div style="width:45%; background:white; float:right; border: 1px transparent;">
688
+ <label style="padding-left: 0px;" class="mo_openid_checkbox_container_disable">
689
+ <input type="checkbox" id="pmp_after_checkout_page_username" name="pmp_after_checkout_page_username" />
690
+ <div style="padding-left: 7%">
691
+ <?php echo mo_sl("After Paid Memberships Pro Checkout Page Username");?>
692
+ </div>
693
+ <span class="mo_openid_checkbox_checkmark_disable"></span>
694
+ <div class="mo_openid_pmp_box">
695
+ <br>
696
+ <img style="width: 100%; height: 100%" class="mo_openid_pmp_images" src="<?php echo plugin_dir_url(dirname(__DIR__)) . 'includes/images/pmp/pmp_3.png'; ?>">
697
+ </div>
698
+ </label>
699
+ </div>
700
+ </div>
701
+ <br>
702
+ <input style="width: 126px;margin-left: 1%; margin-top:33%" disabled type="button" value="<?php echo mo_sl('Save');?> " class="button button-primary button-large" />
703
+ <br>
704
+ </form>
705
+ <br><br>
706
 
707
+ <div class="mo_openid_highlight">
708
+ <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Paid Membership Levels Integration');?></h3>
709
+ </div>
710
+ <form>
711
+ <br>
712
+ <div style="margin-left: 1.5%">
713
+ <table>
714
+ <tr>
715
+ <div class="mo-openid-ppm-img">
716
+ <img width="70%" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/pmp/pmp_4.png">
717
+ </div>
718
+ </tr>
719
+ <tr>
720
+ <label class="mo_openid_note_style" style="cursor: auto">For more information please refer to the <a href="https://plugins.miniorange.com/guide-to-configure-paid-membership-pro-with-wordpress-social-login" target="_blank">Paid Membership Pro Guide</a> / <a href="https://youtu.be/DHgIR6kyX3A" target="_blank">Paid Membership Pro Video</a></label>
721
+ </tr>
722
+ </table>
723
+ </div>
724
+ </form>
725
+ <td>
726
+ <script>
727
+ //to set heading name
728
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Paid Membership Pro Integration'); ?>');
729
+ </script>
730
+ </td>
731
+ <?php
732
+ }
733
  }
view/licensing_plans/mo_openid_lic_plans.php CHANGED
@@ -24,25 +24,30 @@ function mo_openid_licensing_plans()
24
  <span id="mo_switcher_2" class="x"></span>
25
  </p>
26
  </div>
27
- <div style="line-height: initial; background: #F2F5FB;border-radius:5px;font-size: large;margin-top:10px;padding:10px;border-style: solid;border-color: #2f6062">
 
 
 
 
 
 
28
  <span class="dashicons dashicons-info" style="vertical-align: bottom;"></span>
29
- Upgrading to any plan is a <b style="color: black">One-Time Payment</b> which includes 1 year of updates. You can continue using all the available features in that plan for lifetime. Contact us at <a style="color:blue
30
- " href="mailto:socialloginsupport@xecurify.com">socialloginsupport@xecurify.com</a> for bulk discounts.
31
  </div>
32
 
33
- <div style="line-height: initial; background: #efafaf;border-radius:5px;font-size: large;margin-top:10px;padding:10px;border-style: solid;border-color: #2f6062"
34
- data-type="singlesite" class="mosslp is-visible" id="mo_apple_plan">
35
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/icons/apple.png" alt="facebook" style="margin-top:-1%;margin-bottom:-1%;"/> New <b style="color: black">Apple</b> plan available for <b>$25</b> only, which includes <b>Apple Application</b> along with all the Free Features. <a href="#" onclick="mosocial_addonform('wp_social_login_apple_plan')" >Click here</a> to upgrade.
36
  </div>
 
37
  <ul id="list-type" class="mo-openid-cd-pricing-list cd-bounce-invert" >
38
 
39
  <li>
40
  <ul class="mo-openid-cd-pricing-wrapper" id="col1">
41
  <li data-type="singlesite" class="mosslp is-visible" style="">
42
  <header class="mo-openid-cd-pricing-header">
43
- <h2 style="margin-bottom: 10%;">Social Sharing</h2>
44
- <label for="mo_openid_ss">Select No. of Instances : </label>
45
- <select name="mo_openid_ss" id="mo_openid_ss">
46
  <option value="1">1</option>
47
  <option value="5">5</option>
48
  <option value="10">10</option>
@@ -50,39 +55,38 @@ function mo_openid_licensing_plans()
50
 
51
  <div class="cd-price" style="margin-top: 9%;">
52
  <span class="mo-openid-cd-currency">$</span>
53
- <span id="mo_openid_ss1" class="mo-openid-cd-value">19</span> &nbsp;&nbsp;
54
  <span class="mo-openid-cd-currency">$</span>
55
- <span id="mo_openid_ss2" class="mo-openid-cd-value"><s>25</s></span>
56
  </div>
57
  </header> <!-- .mo-openid-cd-pricing-header -->
58
  <footer class="mo-openid-cd-pricing-footer">
59
- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_share_plan')" >Upgrade Now</a>
60
  </footer>
61
 
62
  <div class="mo-openid-cd-pricing-body">
63
  <ul class="mo-openid-cd-pricing-features ">
64
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
65
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
66
  <li>
67
- <div class="mo_openid_tooltip" style="padding-left: 40px;">45 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<span id="mo_openid_dots11">...</span><span id="mo_openid_more11" style="display:none" ><br>Buffer, Amazon_wishlist, Telegram, Line, Yahoo, Instapaper, Mewe, Livejournal, Mix, AOI Mail, Qzone, Gmail, Typepad_post, Fark, Bookmark, Fintel, Mendeley, Slashdot, Wanelo, Classroom, Yummly, Hacker_news, Kakao, Plurk, Trello, wykop, Weibo, Renren, Xing, Wordpress, Front it, Skype, Kindle It, Bloggerpost, Mail.ru, Papaly, Blogmarks, Twiddla.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots11','mo_openid_more11','mo_openid_myBtn11')" id="mo_openid_myBtn11">Read more</button>
68
- </div>
69
- </li>
70
  <li>
71
- <div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
 
72
  <li>
73
- <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li>
74
  <li>Sharing Display Option</li>
75
- <li>Hover Icons & Floating Icons</li>
76
- <li>Discord Auto Post</li>
77
- <li>Sharing Icons for BBPress</li>
78
- <li>WooCommerce Product Sharing</li>
79
- <li>E-mail subscriber</li>
80
  <li>Facebook Share Count</li>
81
- <li>Facebook Like & Recommended</li>
82
- <li>Pinterest Pin it Button</li>
83
- <li>Twitter Follow Button</li>
84
  <li>Vertical Icons & Horizontal Icons</li>
85
- <li>Vkontakte, Stumble Upon, Buffer, Pinterest and Reddit Share Count</li>
86
  <li style="padding:7.5%;" class="mo-openid-lic-bold-cl";>X</li>
87
  <li class="mo-openid-lic-bold-cl" style="padding: 7%;">X</li>
88
  <li class="mo-openid-lic-bold-cl";>X</li>
@@ -131,17 +135,22 @@ function mo_openid_licensing_plans()
131
  </li>
132
  <li data-type="multisite" class="momslp is-hidden" style="">
133
  <header class="mo-openid-cd-pricing-header">
134
- <h2 style="margin-bottom: 10%;">Social Sharing</h2>
135
- <label for="mo_openid_m_share">Select No. of Instances : </label>
136
- <select name="mo_openid_m_share" id="mo_openid_m_share" onchange="update_val_share('mo_openid_m_share','mo_openid_m_share_sub','mo_openid_m_share1','mo_openid_m_share2')">
137
  <option value="1">1</option>
138
  <option value="2">2</option>
139
  <option value="3">3</option>
140
  <option value="4">4</option>
141
  <option value="5">5</option>
 
 
 
 
 
142
  </select><br/><br/>
143
- <label for="mo_openid_m_std_share">Select No. of Sub-Site : </label>
144
- <select name="mo_openid_m_share_sub" id="mo_openid_m_share_sub" onchange="update_val_share('mo_openid_m_share','mo_openid_m_share_sub','mo_openid_m_share1','mo_openid_m_share2')">
145
  <option value="3">3</option>
146
  <option value="5">5</option>
147
  <option value="10">10</option>
@@ -151,52 +160,45 @@ function mo_openid_licensing_plans()
151
  <option value="40">40</option>
152
  <option value="50">50</option>
153
  <option value="100">100</option>
154
- <option value="200">200</option>
155
- <option value="300">300</option>
156
- <option value="400">400</option>
157
- <option value="500">500</option>
158
  </select>
159
 
160
  <div class="cd-price" style="margin-top: 9%;">
161
  <span class="mo-openid-cd-currency">$</span>
162
- <span id="mo_openid_m_share1" class="mo-openid-cd-value">47.5</span> &nbsp;&nbsp;
163
  <span class="mo-openid-cd-currency">$</span>
164
- <span id="mo_openid_m_share2" class="mo-openid-cd-value"><s>116</s></span>
165
  </div>
166
  </header> <!-- .mo-openid-cd-pricing-header -->
167
  <footer class="mo-openid-cd-pricing-footer">
168
- <!-- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_share_plan')" >Upgrade Now</a>-->
169
- <a href="#" class="mo-openid-cd-select" onclick="mo_openid_support_form('wp_social_login_share_plan-multisite : ')" >Contact us for more details</a>
170
  </footer>
171
 
172
  <div class="mo-openid-cd-pricing-body">
173
  <ul class="mo-openid-cd-pricing-features ">
174
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
175
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
176
  <li>
177
- <div class="mo_openid_tooltip" style="padding-left: 40px;">45 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<span id="mo_openid_dots12">...</span><span id="mo_openid_more12" style="display:none" ><br>Buffer, Amazon_wishlist, Telegram, Line, Yahoo, Instapaper, Mewe, Livejournal, Mix, AOI Mail, Qzone, Gmail, Typepad_post, Fark, Bookmark, Fintel, Mendeley, Slashdot, Wanelo, Classroom, Yummly, Hacker_news, Kakao, Plurk, Trello, wykop, Weibo, Renren, Xing, Wordpress, Front it, Skype, Kindle It, Bloggerpost, Mail.ru, Papaly, Blogmarks, Twiddla.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots12','mo_openid_more12','mo_openid_myBtn12')" id="mo_openid_myBtn12">Read more</button>
178
- </div>
179
- </li>
180
  <li>
181
  <div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
182
  <li>
183
- <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li>
184
 
185
  <li>Sharing Display Option</li>
186
- <li>Hover Icons & Floating Icons</li>
187
- <li>Discord Auto Post</li>
188
- <li>Sharing Icons for BBPress</li>
189
- <li>WooCommerce Product Sharing</li>
190
- <li>E-mail subscriber</li>
191
  <li>Facebook Share Count</li>
192
- <li>Facebook Like & Recommended</li>
193
- <li>Pinterest Pin it Button</li>
194
- <li>Twitter Follow Button</li>
195
  <li>Vertical Icons & Horizontal Icons</li>
196
- <li>Vkontakte, Stumble Upon, Buffer, Pinterest and Reddit Share Count</li>
197
  <li class="mo-openid-lic-bold-cl" style="padding: 7%;">X</li>
198
  <li class="mo-openid-lic-bold-cl";>X</li>
199
- <li class="mo-openid-lic-bold-cl">X</li>
200
  <li class="mo-openid-lic-bold-cl";>X</li>
201
  <li class="mo-openid-lic-bold-cl";>X</li>
202
  <li class="mo-openid-lic-bold-cl";>X</li>
@@ -265,19 +267,40 @@ function mo_openid_licensing_plans()
265
 
266
  <div class="mo-openid-cd-pricing-body">
267
  <ul class="mo-openid-cd-pricing-features">
268
- <li>Create a pre-registration form</li>
269
- <li>Allow user to select Role while Registration</li>
270
- <li>All WordPress Themes Supported</li>
271
- <li>Map Users Data returned from all Social Apps</li>
272
- <li>Add Custom Fields in the Registration form</li>
273
- <li>Edit Profile option using shortcode</li>
274
- <li>Support input field types: text, date, checkbox or dropdown</li>
275
- <li>Advanced Form Control</li>
276
- <li>Sync existing meta field</li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
278
  </ul>
279
  </div> <!-- .mo-openid-cd-pricing-body -->
280
  </li>
 
281
  </ul> <!-- .mo-openid-cd-pricing-wrapper -->
282
  </li>
283
 
@@ -306,7 +329,7 @@ function mo_openid_licensing_plans()
306
  </footer>
307
  <div class="mo-openid-cd-pricing-body">
308
  <ul class="mo-openid-cd-pricing-features">
309
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
310
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
311
  <li>
312
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
@@ -314,6 +337,7 @@ function mo_openid_licensing_plans()
314
  <div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
315
  </div>
316
  </li>
 
317
  <li>
318
  <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li>
319
  <li>Sharing Display Option</li>
@@ -382,6 +406,11 @@ function mo_openid_licensing_plans()
382
  <option value="3">3</option>
383
  <option value="4">4</option>
384
  <option value="5">5</option>
 
 
 
 
 
385
  </select><br/><br/>
386
  <label for="mo_openid_m_std_sub">Select No. of Sub-Site : </label>
387
  <select name="mo_openid_m_std_sub" id="mo_openid_m_std_sub" onchange="update_val_std('mo_openid_m_std','mo_openid_m_std_sub','mo_openid_m_std1','mo_openid_m_std2')">
@@ -394,26 +423,21 @@ function mo_openid_licensing_plans()
394
  <option value="40">40</option>
395
  <option value="50">50</option>
396
  <option value="100">100</option>
397
- <option value="200">200</option>
398
- <option value="300">300</option>
399
- <option value="400">400</option>
400
- <option value="500">500</option>
401
  </select>
402
 
403
  <div class="cd-price" style="margin-top: 9%;">
404
  <span class="mo-openid-cd-currency">$</span>
405
- <span id="mo_openid_m_std1" class="mo-openid-cd-value">72.5</span> &nbsp;&nbsp;
406
  <span class="mo-openid-cd-currency">$</span>
407
  <span id="mo_openid_m_std2" class="mo-openid-cd-value"><s>156</s></span>
408
  </div>
409
  </header> <!-- .mo-openid-cd-pricing-header -->
410
  <footer class="mo-openid-cd-pricing-footer">
411
- <!-- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_standard_plan')" >Upgrade Now</a>-->
412
- <a href="#" class="mo-openid-cd-select" onclick="mo_openid_support_form('wp_social_login_standard_plan multisite : ')" >Contact us for more details</a>
413
  </footer>
414
  <div class="mo-openid-cd-pricing-body">
415
  <ul class="mo-openid-cd-pricing-features">
416
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
417
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
418
  <li>
419
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
@@ -496,18 +520,37 @@ function mo_openid_licensing_plans()
496
  </footer>
497
  <div class="mo-openid-cd-pricing-body">
498
  <ul class="mo-openid-cd-pricing-features">
499
- <li>WooCommerce Display Options</li>
500
- <li><div class="mo_openid_tooltip" >WooCommerce Integration <i class="fa fa-commenting" style="font-size:18px;color:#85929E"></i> <span class="mo_openid_tooltiptext" style="width:100%;"> First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page. Social Login icons are displayed on the Woocommerce checkout page.</span></li>
501
- <li>Social Login on WooCommerce Login Page</li>
502
- <li>Social Login on WooCommerce Registration Page</li>
503
- <li>Social Login on WooCommerce Checkout Page</li>
504
- <li>Before WooCommerce Login Form</li>
505
- <li>Before 'Remember Me' of WooCommerce Login Form</li>
506
- <li>After WooCommerce Login Form</li>
507
- <li>Before WooCommerce Registration Form</li>
508
- <li>Before 'Register button' of WooCommerce Registration Form</li>
509
- <li>After WooCommerce Registration Form</li>
510
- <li>Before & After WooCommerce Checkout Form</li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
511
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
512
  </ul>
513
  </div> <!-- .mo-openid-cd-pricing-body -->
@@ -539,7 +582,7 @@ function mo_openid_licensing_plans()
539
  </footer>
540
  <div class="mo-openid-cd-pricing-body">
541
  <ul class="mo-openid-cd-pricing-features">
542
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
543
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
544
  <li>
545
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
@@ -547,6 +590,7 @@ function mo_openid_licensing_plans()
547
  <div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
548
  </div>
549
  </li>
 
550
  <li>
551
  <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li> <li>Sharing Display Option</li>
552
  <li class="mo-openid-lic-bold-cl";>X</li>
@@ -614,6 +658,11 @@ function mo_openid_licensing_plans()
614
  <option value="3">3</option>
615
  <option value="4">4</option>
616
  <option value="5">5</option>
 
 
 
 
 
617
  </select><br/><br/>
618
  <label for="mo_openid_m_prem_sub">Select No. of Sub-Site : </label>
619
  <select name="mo_openid_m_prem_sub" id="mo_openid_m_prem_sub" onchange="update_val_prem('mo_openid_m_prem','mo_openid_m_prem_sub','mo_openid_m_pre1','mo_openid_m_pre2')">
@@ -626,25 +675,20 @@ function mo_openid_licensing_plans()
626
  <option value="40">40</option>
627
  <option value="50">50</option>
628
  <option value="100">100</option>
629
- <option value="200">200</option>
630
- <option value="300">300</option>
631
- <option value="400">400</option>
632
- <option value="500">500</option>
633
  </select>
634
  <div class="cd-price" style="margin-top: 9%;">
635
  <span class="mo-openid-cd-currency">$</span>
636
- <span id="mo_openid_m_pre1" class="mo-openid-cd-value">122.5</span> &nbsp;&nbsp;
637
  <span class="mo-openid-cd-currency">$</span>
638
  <span id="mo_openid_m_pre2" class="mo-openid-cd-value"><s>236</s></span>
639
  </div>
640
  </header> <!-- .mo-openid-cd-pricing-header -->
641
  <footer class="mo-openid-cd-pricing-footer">
642
- <!-- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_premium_plan')" >Upgrade Now</a>-->
643
- <a href="#" class="mo-openid-cd-select" onclick="mo_openid_support_form('wp_social_login_premium_plan')" >Contact us for more details</a>
644
  </footer>
645
  <div class="mo-openid-cd-pricing-body">
646
  <ul class="mo-openid-cd-pricing-features">
647
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
648
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
649
 
650
  <li>
@@ -731,11 +775,7 @@ function mo_openid_licensing_plans()
731
  </footer>
732
  <div class="mo-openid-cd-pricing-body">
733
  <ul class="mo-openid-cd-pricing-features">
734
- <li>Social Login for BuddyPress</li>
735
- <li><div class="mo_openid_tooltip" >BuddyPress Integration <i class="fa fa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;"> Extended attributes returned from social app are mapped to Custom BuddyPress fields. Profile picture from social media is mapped to Buddypress avatar.</span></li>
736
- <li>Before BuddyPress Registration Form</li>
737
- <li>Before BuddyPress Account Details</li>
738
- <li>After BuddyPress Registration Form</li>
739
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
740
  </ul>
741
  </div> <!-- .mo-openid-cd-pricing-body -->
@@ -767,8 +807,8 @@ function mo_openid_licensing_plans()
767
  </footer>
768
  <div class="mo-openid-cd-pricing-body">
769
  <ul class="mo-openid-cd-pricing-features ">
770
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
771
- <li onclick="mo_cus_feature_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>Custom Registration Form+</b></li>
772
  <li>
773
  <div class="mo_openid_tooltip" style="padding-left: 40px;">45 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<span id="mo_openid_dots3">...</span><span id="mo_openid_more3" style="display:none" ><br>Buffer, Amazon_wishlist, Telegram, Line, Yahoo, Instapaper, Mewe, Livejournal, Mix, AOI Mail, Qzone, Gmail, Typepad_post, Fark, Bookmark, Fintel, Mendeley, Slashdot, Wanelo, Classroom, Yummly, Hacker_news, Kakao, Plurk, Trello, wykop, Weibo, Renren, Xing, Wordpress, Front it, Skype, Kindle It, Bloggerpost, Mail.ru, Papaly, Blogmarks, Twiddla.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots3','mo_openid_more3','mo_openid_myBtn3')" id="mo_openid_myBtn3">Read more</button>
774
  </div>
@@ -777,6 +817,7 @@ function mo_openid_licensing_plans()
777
  <div class="mo_openid_tooltip" style="padding-left: 40px;">43 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Dropbox, Discord, Twitch, Line, Hubspot, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo.<span id="mo_openid_dots0">...</span><span id="mo_openid_more0" style="display:none" >Paypal, Wordpress, Github, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Wechat, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots0','mo_openid_more0','mo_openid_myBtn0')" id="mo_openid_myBtn0">Read more</button>
778
  </div>
779
  </li>
 
780
  <li>
781
  <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li>
782
  <li>Sharing Display Option</li>
@@ -841,6 +882,11 @@ function mo_openid_licensing_plans()
841
  <option value="3">3</option>
842
  <option value="4">4</option>
843
  <option value="5">5</option>
 
 
 
 
 
844
  </select><br/><br/>
845
  <label for="mo_openid_m_ai_sub">Select No. of Sub-Site : </label>
846
  <select name="mo_openid_m_ai_sub" id="mo_openid_m_ai_prem_sub" onchange="update_val_allinc('mo_openid_m_ai','mo_openid_m_ai_prem_sub','mo_openid_m_ai1','mo_openid_m_ai2')">
@@ -853,27 +899,22 @@ function mo_openid_licensing_plans()
853
  <option value="40">40</option>
854
  <option value="50">50</option>
855
  <option value="100">100</option>
856
- <option value="200">200</option>
857
- <option value="300">300</option>
858
- <option value="400">400</option>
859
- <option value="500">500</option>
860
  </select>
861
 
862
  <div class="cd-price" style="margin-top: 9%;">
863
  <span class="mo-openid-cd-currency">$</span>
864
- <span id="mo_openid_m_ai1" class="mo-openid-cd-value">222.5</span> &nbsp;&nbsp;
865
  <span class="mo-openid-cd-currency">$</span>
866
  <span id="mo_openid_m_ai2" class="mo-openid-cd-value"><s>396</s></span>
867
  </div>
868
  </header> <!-- .mo-openid-cd-pricing-header -->
869
  <footer class="mo-openid-cd-pricing-footer">
870
- <!-- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_all_inclusive')" >Upgrade Now</a>-->
871
- <a href="#" class="mo-openid-cd-select" onclick="mo_openid_support_form('wp_social_login_all_inclusive')" >Contact us for more details</a>
872
  </footer>
873
  <div class="mo-openid-cd-pricing-body">
874
  <ul class="mo-openid-cd-pricing-features ">
875
- <li onclick="mo_all_features_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
876
- <li onclick="mo_cus_feature_clk()" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>Custom Registration Form+</b></li>
877
  <li>
878
  <div class="mo_openid_tooltip" style="padding-left: 40px;">45 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<span id="mo_openid_dots2">...</span><span id="mo_openid_more2" style="display:none" ><br>Buffer, Amazon_wishlist, Telegram, Line, Yahoo, Instapaper, Mewe, Livejournal, Mix, AOI Mail, Qzone, Gmail, Typepad_post, Fark, Bookmark, Fintel, Mendeley, Slashdot, Wanelo, Classroom, Yummly, Hacker_news, Kakao, Plurk, Trello, wykop, Weibo, Renren, Xing, Wordpress, Front it, Skype, Kindle It, Bloggerpost, Mail.ru, Papaly, Blogmarks, Twiddla.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots2','mo_openid_more2','mo_openid_myBtn2')" id="mo_openid_myBtn2">Read more</button>
879
  </div>
@@ -954,40 +995,14 @@ function mo_openid_licensing_plans()
954
  </footer>
955
  <div class="mo-openid-cd-pricing-body">
956
  <ul class="mo-openid-cd-pricing-features">
957
- <li>Add a new contact list in Hubspot</li>
958
- <li>Can be used with any Social Login Application</li>
 
959
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
960
  </ul>
961
  </div>
962
  </li>
963
- <br><br>
964
- <li data-type="mo_add-on" class="moaslp is-hidden">
965
- <header class="mo-openid-cd-pricing-header">
966
- <h2 style="margin-bottom: 10%;">MailChimp Integration Add-on</h2>
967
- <label for="mo_openid_mca">Select No. of Instances : </label>
968
- <select name="mo_openid_mca" id="mo_openid_mca">
969
- <option value="1">1</option>
970
- <option value="5">5</option>
971
- <option value="10">10</option>
972
- </select>
973
 
974
- <div class="cd-price" style="margin-top: 9%;">
975
- <span class="mo-openid-cd-currency">$</span>
976
- <span id="mo_openid_mca1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
977
- <span class="mo-openid-cd-currency">$</span>
978
- <span id="mo_openid_mca2" class="mo-openid-cd-value"><s>29</s></span>
979
- </div>
980
- </header> <!-- .mo-openid-cd-pricing-header -->
981
- <footer class="mo-openid-cd-pricing-footer">
982
- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_mailchimp_addon')" >Upgrade Now</a>
983
- </footer>
984
- <div class="mo-openid-cd-pricing-body">
985
- <ul class="mo-openid-cd-pricing-features">
986
- <li><div class="mo_openid_tooltip" ><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/mailchimp_logo.png" style="width:35px;height:20px;"> MailChimp Integration <i class="fa fa-commenting " style="font-size:18px;color:#85929E"> </i><span class="mo_openid_tooltiptext" style="width:100%;">A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.</span></li>
987
- <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
988
- </ul>
989
- </div> <!-- .mo-openid-cd-pricing-body -->
990
- </li>
991
 
992
  </ul> <!-- .mo-openid-cd-pricing-wrapper -->
993
  </li>
@@ -1066,69 +1081,129 @@ function mo_openid_licensing_plans()
1066
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1067
  if(no_of_sites==1)
1068
  {
1069
- jQuery('#' + value).html(29+(29 * (no_of_sub / 2)));
1070
  no_of_sub=parseInt(no_of_sub) +1;
1071
  jQuery('#' + actual_value).html("<s>"+39 * no_of_sub +"</s>");
1072
  }
1073
  else if(no_of_sites==2)
1074
  {
1075
- jQuery('#' + value).html(55+(55 * (no_of_sub / 2)));
1076
  no_of_sub=parseInt(no_of_sub) +1;
1077
  jQuery('#' + actual_value).html("<s>"+78 * no_of_sub+"</s>");
1078
  }
1079
  else if(no_of_sites==3)
1080
  {
1081
- jQuery('#' + value).html(80+(80 * (no_of_sub / 2)));
1082
  no_of_sub=parseInt(no_of_sub) +1;
1083
  jQuery('#' + actual_value).html("<s>"+117 * no_of_sub+"</s>");
1084
  }
1085
  else if(no_of_sites==4)
1086
  {
1087
- jQuery('#' + value).html(90+(90 * (no_of_sub / 2)));
1088
  no_of_sub=parseInt(no_of_sub) +1;
1089
  jQuery('#' + actual_value).html("<s>"+156 * no_of_sub+"</s>");
1090
  }
1091
  else if(no_of_sites==5)
1092
  {
1093
- jQuery('#' + value).html(99+(99 * (no_of_sub / 2)));
1094
  no_of_sub=parseInt(no_of_sub) +1;
1095
  jQuery('#' + actual_value).html("<s>"+195 * no_of_sub+"</s>");
1096
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1097
  }
1098
 
1099
- //sharing plan for multisite
1100
- function update_val_share(no_of_ins, no_of_sub_sites, value, actual_value){
1101
  no_of_sites=document.getElementById(no_of_ins).value;
1102
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1103
  if(no_of_sites==1)
1104
  {
1105
- jQuery('#' + value).html(19+(19 * (no_of_sub / 2)));
1106
  no_of_sub=parseInt(no_of_sub) +1;
1107
- jQuery('#' + actual_value).html("<s>"+29 * no_of_sub +"</s>");
1108
  }
1109
  else if(no_of_sites==2)
1110
  {
1111
- jQuery('#' + value).html(35+(35 * (no_of_sub / 2)));
1112
  no_of_sub=parseInt(no_of_sub) +1;
1113
- jQuery('#' + actual_value).html("<s>"+58 * no_of_sub+"</s>");
1114
  }
1115
  else if(no_of_sites==3)
1116
  {
1117
- jQuery('#' + value).html(49+(49 * (no_of_sub / 2)));
1118
  no_of_sub=parseInt(no_of_sub) +1;
1119
- jQuery('#' + actual_value).html("<s>"+87 * no_of_sub+"</s>");
1120
  }
1121
  else if(no_of_sites==4)
1122
  {
1123
- jQuery('#' + value).html(55+(55 * (no_of_sub / 2)));
1124
  no_of_sub=parseInt(no_of_sub) +1;
1125
- jQuery('#' + actual_value).html("<s>"+116 * no_of_sub+"</s>");
1126
  }
1127
  else if(no_of_sites==5)
1128
  {
1129
- jQuery('#' + value).html(59+(59 * (no_of_sub / 2)));
1130
  no_of_sub=parseInt(no_of_sub) +1;
1131
- jQuery('#' + actual_value).html("<s>"+145 * no_of_sub+"</s>");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1132
  }
1133
  }
1134
 
@@ -1168,34 +1243,64 @@ function mo_openid_licensing_plans()
1168
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1169
  if(no_of_sites==1)
1170
  {
1171
- jQuery('#' + value).html(49+(49 * (no_of_sub / 2)));
1172
  no_of_sub=parseInt(no_of_sub) +1;
1173
  jQuery('#' + actual_value).html("<s>"+59 * no_of_sub +"</s>");
1174
  }
1175
  else if(no_of_sites==2)
1176
  {
1177
- jQuery('#' + value).html(90+(90 * (no_of_sub / 2)));
1178
  no_of_sub=parseInt(no_of_sub) +1;
1179
  jQuery('#' + actual_value).html("<s>"+118 * no_of_sub+"</s>");
1180
  }
1181
  else if(no_of_sites==3)
1182
  {
1183
- jQuery('#' + value).html(125+(125 * (no_of_sub / 2)));
1184
  no_of_sub=parseInt(no_of_sub) +1;
1185
  jQuery('#' + actual_value).html("<s>"+177 * no_of_sub+"</s>");
1186
  }
1187
  else if(no_of_sites==4)
1188
  {
1189
- jQuery('#' + value).html(139+(139 * (no_of_sub / 2)));
1190
  no_of_sub=parseInt(no_of_sub) +1;
1191
  jQuery('#' + actual_value).html("<s>"+236 * no_of_sub+"</s>");
1192
  }
1193
  else if(no_of_sites==5)
1194
  {
1195
- jQuery('#' + value).html(149+(149 * (no_of_sub / 2)));
1196
  no_of_sub=parseInt(no_of_sub) +1;
1197
  jQuery('#' + actual_value).html("<s>"+295 * no_of_sub+"</s>");
1198
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1199
  }
1200
 
1201
  //buddypress addon/plan
@@ -1234,34 +1339,64 @@ function mo_openid_licensing_plans()
1234
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1235
  if(no_of_sites==1)
1236
  {
1237
- jQuery('#' + value).html(89+(89 * (no_of_sub / 2)));
1238
  no_of_sub=parseInt(no_of_sub) +1;
1239
  jQuery('#' + actual_value).html("<s>"+99 * no_of_sub +"</s>");
1240
  }
1241
  else if(no_of_sites==2)
1242
  {
1243
- jQuery('#' + value).html(170+(170 * (no_of_sub / 2)));
1244
  no_of_sub=parseInt(no_of_sub) +1;
1245
  jQuery('#' + actual_value).html("<s>"+198 * no_of_sub+"</s>");
1246
  }
1247
  else if(no_of_sites==3)
1248
  {
1249
- jQuery('#' + value).html(240+(240 * (no_of_sub / 2)));
1250
  no_of_sub=parseInt(no_of_sub) +1;
1251
  jQuery('#' + actual_value).html("<s>"+297 * no_of_sub+"</s>");
1252
  }
1253
  else if(no_of_sites==4)
1254
  {
1255
- jQuery('#' + value).html(270+(270 * (no_of_sub / 2)));
1256
  no_of_sub=parseInt(no_of_sub) +1;
1257
  jQuery('#' + actual_value).html("<s>"+396 * no_of_sub+"</s>");
1258
  }
1259
  else if(no_of_sites==5)
1260
  {
1261
- jQuery('#' + value).html(299+(299 * (no_of_sub / 2)));
1262
  no_of_sub=parseInt(no_of_sub) +1;
1263
  jQuery('#' + actual_value).html("<s>"+495 * no_of_sub+"</s>");
1264
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1265
  }
1266
 
1267
  //mailchimp addon
@@ -1279,18 +1414,33 @@ function mo_openid_licensing_plans()
1279
  }
1280
  });
1281
 
1282
- //social sharing plan
1283
- jQuery('#mo_openid_ss').on('change', function () {
1284
  if (this.value === "1") {
1285
- jQuery('#mo_openid_ss1').html("19");
1286
- jQuery('#mo_openid_ss2').html("<s>25</s>");
1287
  } else if (this.value === "5") {
1288
- jQuery('#mo_openid_ss1').html("45");
1289
- jQuery('#mo_openid_ss2').html("<s>125</s>");
1290
  }
1291
  else if (this.value === "10") {
1292
- jQuery('#mo_openid_ss1').html("99");
1293
- jQuery('#mo_openid_ss2').html("<s>250</s>");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1294
  }
1295
  });
1296
 
@@ -1350,14 +1500,14 @@ function mo_openid_licensing_plans()
1350
  jQuery('.momslp').addClass('is-visible').removeClass('is-hidden is-selected');
1351
  jQuery('#mo_switcher_2').removeClass('mo-open-id-cd-switch-2');
1352
  jQuery('#mo_switcher_1').addClass('mo-open-id-cd-switch');
1353
- jQuery('#mo_apple_plan').hide();
1354
  }
1355
  else if(this.value=='singlesite'){
1356
  document.getElementById("list-type").style.width = "100%";
1357
  jQuery('.mosslp').addClass('is-visible').removeClass('is-hidden');
1358
  jQuery('.momslp').removeClass('is-visible').addClass('is-hidden is-selected');
1359
  jQuery('.moaslp').removeClass('is-visible').addClass('is-hidden is-selected');
1360
- jQuery('#mo_apple_plan').show();
1361
  }
1362
  else if(this.value=='mo_add-on'){
1363
  document.getElementById("list-type").style.width = "100%";
@@ -1366,7 +1516,7 @@ function mo_openid_licensing_plans()
1366
  jQuery('.mosslp').removeClass('is-visible').addClass('is-hidden is-selected');
1367
  jQuery('#mo_switcher_1').removeClass('mo-open-id-cd-switch');
1368
  jQuery('#mo_switcher_2').addClass('mo-open-id-cd-switch-2');
1369
- jQuery('#mo_apple_plan').hide();
1370
  }
1371
  });
1372
 
@@ -1375,7 +1525,7 @@ function mo_openid_licensing_plans()
1375
  if(x==1){
1376
  document.getElementById('singlesite').checked= false;
1377
  document.getElementById('mo_add-on').checked= true;
1378
- jQuery('#mo_apple_plan').hide();
1379
  }
1380
  if(document.getElementById("mo_add-on").checked == true){
1381
  jQuery('.mosslp').removeClass('is-visible').addClass('is-hidden');
@@ -1458,71 +1608,44 @@ function mo_openid_licensing_plans()
1458
  <li>Returns beyond 10 days.</li>
1459
  </ol>
1460
  </div>
 
1461
  <div id="myModal_3" class="mo_openid_popup-modal">
1462
 
1463
  <div class="mo_openid_modal-content">
1464
  <span class="mo_openid-popup-modal-close">&times;</span>
1465
- <h3>FREE SOCIAL LOGIN FEATURES</h3>
1466
- <li>Social Login with Facebook, Google, Twitter, Vkontakte, LinkedIn, Amazon, Windows Live, Salesforce & Yahoo</li>
1467
- <li>NO SETUP required for default social login apps.</li>
1468
- <li>Setup your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Yahoo</li>
1469
- <li>Preview is available for Social Login icons</li>
1470
- <li>Icon Customizations – customize shape, theme, space & size of social login icons.</li>
1471
- <li>Profile completion (username, email) – Prompt user for email & username if social login app doesn’t return it. Email is verified with verification code.</li>
1472
- <li>Assign Roles to users – Assign WordPress roles to users logging in with social login application.</li>
1473
- <li>Add the Social Login Icons on: login page, registration page, comment form or anywhere on your site using our Social Login widget/ shortcode.</li>
1474
- <li>Sync Social Profile Picture with WordPress.</li>
1475
- <li>Enable Email Notification to admin when user registers with social login application.</li>
1476
- <li>Enable/disable user registration.</li>
1477
- <li>Customize Login/Logout Redirect URL.</li>
1478
- <li>Customizable Text For Social Login Icons.</li>
1479
- <li>SHORTCODE available for social login.</li>
1480
- <li>Support using email and in-plugin support form.</li>
1481
- </div>
1482
- </div>
1483
-
1484
- <div id="myModal_4" class="mo_openid_popup-modal" >
1485
-
1486
- <div class="mo_openid_modal-content" style="margin-top: 8%">
1487
- <span class="mo_openid-popup-modal-close">&times;</span>
1488
- <h3>CUSTOM REGISTRATION FORM FEATURES</h3>
1489
- <li>Create a pre-registration form</li>
1490
- <li>Allow user to select Role while Registration</li>
1491
- <li>All WordPress Themes Supported</li>
1492
- <li>Map Users Data returned from all Social Apps</li>
1493
- <li>Add Custom Fields in the Registration form</li>
1494
- <li>Advanced Form Control</li>
1495
- <li>Sync existing meta field</li>
1496
  </div>
1497
  </div>
1498
-
 
 
 
 
 
 
 
 
 
 
 
 
1499
  <script> //var modal = ;
1500
- function mo_all_features_clk(){
 
 
1501
  document.getElementById('myModal_3').style.display="block";
1502
 
1503
  }
1504
- function mo_cus_feature_clk(){
1505
- document.getElementById('myModal_4').style.display="block";
1506
 
1507
- }
1508
  var span = document.getElementsByClassName("mo_openid-popup-modal-close")[0];
1509
  span.onclick = function() {
1510
  document.getElementById('myModal_3').style.display = "none";
1511
-
1512
- }
1513
- var span2= document.getElementsByClassName("mo_openid-popup-modal-close")[1];
1514
- span2.onclick = function() {
1515
- document.getElementById('myModal_4').style.display = "none";
1516
-
1517
  }
1518
  window.onclick = function(event) {
1519
  if (event.target == document.getElementById('myModal_3')) {
1520
  document.getElementById('myModal_3').style.display = "none";
1521
  }
1522
- if (event.target == document.getElementById('myModal_4')) {
1523
- document.getElementById('myModal_4').style.display = "none";
1524
- }
1525
-
1526
  }
1527
  </script>
1528
  <script>
24
  <span id="mo_switcher_2" class="x"></span>
25
  </p>
26
  </div>
27
+ <!-- <div style="line-height: initial; background: #F2F5FB;border-radius:5px;font-size: large;margin-top:10px;padding:10px;border-style: solid;border-color: #2f6062">-->
28
+ <!-- <span class="dashicons dashicons-info" style="vertical-align: bottom;"></span>-->
29
+ <!-- Upgrading to any plan is a <b style="color: black">One-Time Payment</b> which includes 1 year of updates. You can continue using all the available features in that plan for lifetime. Contact us at <a style="color:blue-->
30
+ <!-- " href="mailto:socialloginsupport@xecurify.com">socialloginsupport@xecurify.com</a> for bulk discounts.-->
31
+ <!-- </div>-->
32
+
33
+ <div style="line-height: initial; background: #ffd868;border-radius:5px;font-size: large;margin-top:10px;padding:10px;border-style: solid;border-color: #2f6062">
34
  <span class="dashicons dashicons-info" style="vertical-align: bottom;"></span>
35
+ Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fa fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fa fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade and <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.
 
36
  </div>
37
 
38
+ <div id="mo_share_plan" style="background: antiquewhite; line-height: initial; border-radius:5px;font-size: large;margin-top:10px;padding:10px;border-style: solid;">
39
+ <i style="font-size: larger" class="fa fa-share-alt"></i> A new S<span style="color: orangered">o</span>cial Sharing plan with attractive features and <b>45 sharing applications</b> is available only for <b>$19</b> <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_share_plan" target="_blank">Click here</a> to upgrade and <a style="cursor: pointer" href="#" onclick="mo_all_features_clk('social_share')">Click here</a> for more details.
 
40
  </div>
41
+
42
  <ul id="list-type" class="mo-openid-cd-pricing-list cd-bounce-invert" >
43
 
44
  <li>
45
  <ul class="mo-openid-cd-pricing-wrapper" id="col1">
46
  <li data-type="singlesite" class="mosslp is-visible" style="">
47
  <header class="mo-openid-cd-pricing-header">
48
+ <h2 style="margin-bottom: 10%;">Apple Plan</h2>
49
+ <label for="mo_openid_ap">Select No. of Instances : </label>
50
+ <select name="mo_openid_ap" id="mo_openid_ap">
51
  <option value="1">1</option>
52
  <option value="5">5</option>
53
  <option value="10">10</option>
55
 
56
  <div class="cd-price" style="margin-top: 9%;">
57
  <span class="mo-openid-cd-currency">$</span>
58
+ <span id="mo_openid_ap1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
59
  <span class="mo-openid-cd-currency">$</span>
60
+ <span id="mo_openid_ap2" class="mo-openid-cd-value"><s>29</s></span>
61
  </div>
62
  </header> <!-- .mo-openid-cd-pricing-header -->
63
  <footer class="mo-openid-cd-pricing-footer">
64
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_apple_plan')" >Upgrade Now</a>
65
  </footer>
66
 
67
  <div class="mo-openid-cd-pricing-body">
68
  <ul class="mo-openid-cd-pricing-features ">
69
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
70
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
71
  <li>
72
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
 
 
73
  <li>
74
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Apple, Twitch, Discord, Facebook, Google, Twitter Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Instagram.</span></div></li>
75
+ <li>Apple, Twitch, & Discord Login</li>
76
  <li>
77
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">7 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo</span></div></li>
78
  <li>Sharing Display Option</li>
79
+ <li class="mo-openid-lic-bold-cl";>X</li>
80
+ <li class="mo-openid-lic-bold-cl";>X</li>
81
+ <li class="mo-openid-lic-bold-cl";>X</li>
82
+ <li class="mo-openid-lic-bold-cl";>X</li>
83
+ <li class="mo-openid-lic-bold-cl";>X</li>
84
  <li>Facebook Share Count</li>
85
+ <li class="mo-openid-lic-bold-cl";>X</li>
86
+ <li class="mo-openid-lic-bold-cl";>X</li>
87
+ <li class="mo-openid-lic-bold-cl";>X</li>
88
  <li>Vertical Icons & Horizontal Icons</li>
89
+ <li style="padding:7.5%;" class="mo-openid-lic-bold-cl";>X</li>
90
  <li style="padding:7.5%;" class="mo-openid-lic-bold-cl";>X</li>
91
  <li class="mo-openid-lic-bold-cl" style="padding: 7%;">X</li>
92
  <li class="mo-openid-lic-bold-cl";>X</li>
135
  </li>
136
  <li data-type="multisite" class="momslp is-hidden" style="">
137
  <header class="mo-openid-cd-pricing-header">
138
+ <h2 style="margin-bottom: 10%;">Apple Plan</h2>
139
+ <label for="mo_openid_m_apple">Select No. of Instances : </label>
140
+ <select name="mo_openid_m_apple" id="mo_openid_m_apple" onchange="update_val_apple('mo_openid_m_apple','mo_openid_m_apple_sub','mo_openid_m_apple1','mo_openid_m_apple2')">
141
  <option value="1">1</option>
142
  <option value="2">2</option>
143
  <option value="3">3</option>
144
  <option value="4">4</option>
145
  <option value="5">5</option>
146
+ <option value="6">6</option>
147
+ <option value="7">7</option>
148
+ <option value="8">8</option>
149
+ <option value="9">9</option>
150
+ <option value="10">10</option>
151
  </select><br/><br/>
152
+ <label for="mo_openid_m_std_apple">Select No. of Sub-Site : </label>
153
+ <select name="mo_openid_m_apple_sub" id="mo_openid_m_apple_sub" onchange="update_val_apple('mo_openid_m_apple','mo_openid_m_apple_sub','mo_openid_m_apple1','mo_openid_m_apple2')">
154
  <option value="3">3</option>
155
  <option value="5">5</option>
156
  <option value="10">10</option>
160
  <option value="40">40</option>
161
  <option value="50">50</option>
162
  <option value="100">100</option>
 
 
 
 
163
  </select>
164
 
165
  <div class="cd-price" style="margin-top: 9%;">
166
  <span class="mo-openid-cd-currency">$</span>
167
+ <span id="mo_openid_m_apple1" class="mo-openid-cd-value">85</span> &nbsp;&nbsp;
168
  <span class="mo-openid-cd-currency">$</span>
169
+ <span id="mo_openid_m_apple2" class="mo-openid-cd-value"><s>140</s></span>
170
  </div>
171
  </header> <!-- .mo-openid-cd-pricing-header -->
172
  <footer class="mo-openid-cd-pricing-footer">
173
+ <!-- <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_apple_plan')" >Upgrade Now</a>-->
174
+ <a href="#" class="mo-openid-cd-select" onclick="mo_openid_support_form('wp_social_login_apple_plan-multisite : ')" >Contact us for more details</a>
175
  </footer>
176
 
177
  <div class="mo-openid-cd-pricing-body">
178
  <ul class="mo-openid-cd-pricing-features ">
179
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
180
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
181
  <li>
182
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
 
 
183
  <li>
184
  <div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
185
  <li>
186
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">7 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo</span></div></li>
187
 
188
  <li>Sharing Display Option</li>
189
+ <li class="mo-openid-lic-bold-cl";>X</li>
190
+ <li class="mo-openid-lic-bold-cl";>X</li>
191
+ <li class="mo-openid-lic-bold-cl";>X</li>
192
+ <li class="mo-openid-lic-bold-cl";>X</li>
193
+ <li class="mo-openid-lic-bold-cl";>X</li>
194
  <li>Facebook Share Count</li>
195
+ <li class="mo-openid-lic-bold-cl";>X</li>
196
+ <li class="mo-openid-lic-bold-cl";>X</li>
197
+ <li class="mo-openid-lic-bold-cl";>X</li>
198
  <li>Vertical Icons & Horizontal Icons</li>
199
+ <li style="padding:7.5%;" class="mo-openid-lic-bold-cl";>X</li>
200
  <li class="mo-openid-lic-bold-cl" style="padding: 7%;">X</li>
201
  <li class="mo-openid-lic-bold-cl";>X</li>
 
202
  <li class="mo-openid-lic-bold-cl";>X</li>
203
  <li class="mo-openid-lic-bold-cl";>X</li>
204
  <li class="mo-openid-lic-bold-cl";>X</li>
267
 
268
  <div class="mo-openid-cd-pricing-body">
269
  <ul class="mo-openid-cd-pricing-features">
270
+ <li onclick="mo_all_features_clk('custom_registration_adon')"style="cursor:pointer">Click Here to see features<i class="fa fa-hand-pointer-o" style="color: orangered;margin-left: .5%" aria-hidden="true"></i></li>
271
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
272
+ </ul>
273
+ </div> <!-- .mo-openid-cd-pricing-body -->
274
+ </li>
275
+ <br>
276
+ <li data-type="mo_add-on" class="moaslp is-hidden">
277
+ <header class="mo-openid-cd-pricing-header">
278
+ <h2 style="margin-bottom: 10%;">MailChimp Integration Add-on</h2>
279
+ <label for="mo_openid_mca">Select No. of Instances : </label>
280
+ <select name="mo_openid_mca" id="mo_openid_mca">
281
+ <option value="1">1</option>
282
+ <option value="5">5</option>
283
+ <option value="10">10</option>
284
+ </select>
285
+
286
+ <div class="cd-price" style="margin-top: 9%;">
287
+ <span class="mo-openid-cd-currency">$</span>
288
+ <span id="mo_openid_mca1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
289
+ <span class="mo-openid-cd-currency">$</span>
290
+ <span id="mo_openid_mca2" class="mo-openid-cd-value"><s>29</s></span>
291
+ </div>
292
+ </header> <!-- .mo-openid-cd-pricing-header -->
293
+ <footer class="mo-openid-cd-pricing-footer">
294
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_mailchimp_addon')" >Upgrade Now</a>
295
+ </footer>
296
+ <div class="mo-openid-cd-pricing-body">
297
+ <ul class="mo-openid-cd-pricing-features">
298
+ <li onclick="mo_all_features_clk('mailchimp_adon')"style="cursor:pointer">Click Here to see features<i class="fa fa-hand-pointer-o" style="color: orangered;margin-left: .5%" aria-hidden="true"></i></li>
299
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
300
  </ul>
301
  </div> <!-- .mo-openid-cd-pricing-body -->
302
  </li>
303
+
304
  </ul> <!-- .mo-openid-cd-pricing-wrapper -->
305
  </li>
306
 
329
  </footer>
330
  <div class="mo-openid-cd-pricing-body">
331
  <ul class="mo-openid-cd-pricing-features">
332
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
333
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
334
  <li>
335
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
337
  <div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
338
  </div>
339
  </li>
340
+ <li class="mo-openid-lic-bold-cl";>X</li>
341
  <li>
342
  <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li>
343
  <li>Sharing Display Option</li>
406
  <option value="3">3</option>
407
  <option value="4">4</option>
408
  <option value="5">5</option>
409
+ <option value="6">6</option>
410
+ <option value="7">7</option>
411
+ <option value="8">8</option>
412
+ <option value="9">9</option>
413
+ <option value="10">10</option>
414
  </select><br/><br/>
415
  <label for="mo_openid_m_std_sub">Select No. of Sub-Site : </label>
416
  <select name="mo_openid_m_std_sub" id="mo_openid_m_std_sub" onchange="update_val_std('mo_openid_m_std','mo_openid_m_std_sub','mo_openid_m_std1','mo_openid_m_std2')">
423
  <option value="40">40</option>
424
  <option value="50">50</option>
425
  <option value="100">100</option>
 
 
 
 
426
  </select>
427
 
428
  <div class="cd-price" style="margin-top: 9%;">
429
  <span class="mo-openid-cd-currency">$</span>
430
+ <span id="mo_openid_m_std1" class="mo-openid-cd-value">89</span> &nbsp;&nbsp;
431
  <span class="mo-openid-cd-currency">$</span>
432
  <span id="mo_openid_m_std2" class="mo-openid-cd-value"><s>156</s></span>
433
  </div>
434
  </header> <!-- .mo-openid-cd-pricing-header -->
435
  <footer class="mo-openid-cd-pricing-footer">
436
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_standard_multisite_plan')" >Upgrade Now</a>
 
437
  </footer>
438
  <div class="mo-openid-cd-pricing-body">
439
  <ul class="mo-openid-cd-pricing-features">
440
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
441
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
442
  <li>
443
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
520
  </footer>
521
  <div class="mo-openid-cd-pricing-body">
522
  <ul class="mo-openid-cd-pricing-features">
523
+ <li onclick="mo_all_features_clk('woocommerce_int_adon')"style="cursor:pointer">Click Here to see features<i class="fa fa-hand-pointer-o" style="color: orangered;margin-left: .5%" aria-hidden="true"></i></li>
524
+
525
+
526
+ <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
527
+ </ul>
528
+ </div> <!-- .mo-openid-cd-pricing-body -->
529
+ </li>
530
+ <br>
531
+ <li data-type="mo_add-on" class="moaslp is-hidden">
532
+ <header class="mo-openid-cd-pricing-header">
533
+ <h2 style="margin-bottom: 10%;">Discord Integration Add-on</h2>
534
+ <label for="mo_openid_dis">Select No. of Instances : </label>
535
+ <select name="mo_openid_dis" id="mo_openid_dis">
536
+ <option value="1">1</option>
537
+ <option value="5">5</option>
538
+ <option value="10">10</option>
539
+ </select>
540
+
541
+ <div class="cd-price" style="margin-top: 9%;">
542
+ <span class="mo-openid-cd-currency">$</span>
543
+ <span id="mo_openid_dis1" class="mo-openid-cd-value">79</span> &nbsp;&nbsp;
544
+ <span class="mo-openid-cd-currency">$</span>
545
+ <span id="mo_openid_dis2" class="mo-openid-cd-value"><s>99</s></span>
546
+ </div>
547
+ </header> <!-- .mo-openid-cd-pricing-header -->
548
+ <footer class="mo-openid-cd-pricing-footer">
549
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_discord_addon')" >Upgrade Now</a>
550
+ </footer>
551
+ <div class="mo-openid-cd-pricing-body">
552
+ <ul class="mo-openid-cd-pricing-features">
553
+ <li onclick="mo_all_features_clk('discord_adon')"style="cursor:pointer">Click Here to see features<i class="fa fa-hand-pointer-o" style="color: orangered;margin-left: .5%" aria-hidden="true"></i></li>
554
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
555
  </ul>
556
  </div> <!-- .mo-openid-cd-pricing-body -->
582
  </footer>
583
  <div class="mo-openid-cd-pricing-body">
584
  <ul class="mo-openid-cd-pricing-features">
585
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
586
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
587
  <li>
588
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
590
  <div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
591
  </div>
592
  </li>
593
+ <li>Apple, Twitch, & Discord Login</li>
594
  <li>
595
  <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li> <li>Sharing Display Option</li>
596
  <li class="mo-openid-lic-bold-cl";>X</li>
658
  <option value="3">3</option>
659
  <option value="4">4</option>
660
  <option value="5">5</option>
661
+ <option value="6">6</option>
662
+ <option value="7">7</option>
663
+ <option value="8">8</option>
664
+ <option value="9">9</option>
665
+ <option value="10">10</option>
666
  </select><br/><br/>
667
  <label for="mo_openid_m_prem_sub">Select No. of Sub-Site : </label>
668
  <select name="mo_openid_m_prem_sub" id="mo_openid_m_prem_sub" onchange="update_val_prem('mo_openid_m_prem','mo_openid_m_prem_sub','mo_openid_m_pre1','mo_openid_m_pre2')">
675
  <option value="40">40</option>
676
  <option value="50">50</option>
677
  <option value="100">100</option>
 
 
 
 
678
  </select>
679
  <div class="cd-price" style="margin-top: 9%;">
680
  <span class="mo-openid-cd-currency">$</span>
681
+ <span id="mo_openid_m_pre1" class="mo-openid-cd-value">109</span> &nbsp;&nbsp;
682
  <span class="mo-openid-cd-currency">$</span>
683
  <span id="mo_openid_m_pre2" class="mo-openid-cd-value"><s>236</s></span>
684
  </div>
685
  </header> <!-- .mo-openid-cd-pricing-header -->
686
  <footer class="mo-openid-cd-pricing-footer">
687
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_premium_multisite_plan')" >Upgrade Now</a>
 
688
  </footer>
689
  <div class="mo-openid-cd-pricing-body">
690
  <ul class="mo-openid-cd-pricing-features">
691
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
692
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
693
 
694
  <li>
775
  </footer>
776
  <div class="mo-openid-cd-pricing-body">
777
  <ul class="mo-openid-cd-pricing-features">
778
+ <li onclick="mo_all_features_clk('buddypress_adon')"style="cursor:pointer">Click Here to see features<i class="fa fa-hand-pointer-o" style="color: orangered;margin-left: .5%" aria-hidden="true"></i></li>
 
 
 
 
779
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
780
  </ul>
781
  </div> <!-- .mo-openid-cd-pricing-body -->
807
  </footer>
808
  <div class="mo-openid-cd-pricing-body">
809
  <ul class="mo-openid-cd-pricing-features ">
810
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
811
+ <li onclick="mo_all_features_clk('custom_registration_adon')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>Custom Registration Form+</b></li>
812
  <li>
813
  <div class="mo_openid_tooltip" style="padding-left: 40px;">45 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<span id="mo_openid_dots3">...</span><span id="mo_openid_more3" style="display:none" ><br>Buffer, Amazon_wishlist, Telegram, Line, Yahoo, Instapaper, Mewe, Livejournal, Mix, AOI Mail, Qzone, Gmail, Typepad_post, Fark, Bookmark, Fintel, Mendeley, Slashdot, Wanelo, Classroom, Yummly, Hacker_news, Kakao, Plurk, Trello, wykop, Weibo, Renren, Xing, Wordpress, Front it, Skype, Kindle It, Bloggerpost, Mail.ru, Papaly, Blogmarks, Twiddla.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots3','mo_openid_more3','mo_openid_myBtn3')" id="mo_openid_myBtn3">Read more</button>
814
  </div>
817
  <div class="mo_openid_tooltip" style="padding-left: 40px;">43 Social Login Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Dropbox, Discord, Twitch, Line, Hubspot, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo.<span id="mo_openid_dots0">...</span><span id="mo_openid_more0" style="display:none" >Paypal, Wordpress, Github, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Wechat, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots0','mo_openid_more0','mo_openid_myBtn0')" id="mo_openid_myBtn0">Read more</button>
818
  </div>
819
  </li>
820
+ <li>Apple, Twitch, & Discord Login</li>
821
  <li>
822
  <div class="mo_openid_tooltip" style="padding-left: 40px;">8 Pre-Configured Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Wordpress</span></div></li>
823
  <li>Sharing Display Option</li>
882
  <option value="3">3</option>
883
  <option value="4">4</option>
884
  <option value="5">5</option>
885
+ <option value="6">6</option>
886
+ <option value="7">7</option>
887
+ <option value="8">8</option>
888
+ <option value="9">9</option>
889
+ <option value="10">10</option>
890
  </select><br/><br/>
891
  <label for="mo_openid_m_ai_sub">Select No. of Sub-Site : </label>
892
  <select name="mo_openid_m_ai_sub" id="mo_openid_m_ai_prem_sub" onchange="update_val_allinc('mo_openid_m_ai','mo_openid_m_ai_prem_sub','mo_openid_m_ai1','mo_openid_m_ai2')">
899
  <option value="40">40</option>
900
  <option value="50">50</option>
901
  <option value="100">100</option>
 
 
 
 
902
  </select>
903
 
904
  <div class="cd-price" style="margin-top: 9%;">
905
  <span class="mo-openid-cd-currency">$</span>
906
+ <span id="mo_openid_m_ai1" class="mo-openid-cd-value">149</span> &nbsp;&nbsp;
907
  <span class="mo-openid-cd-currency">$</span>
908
  <span id="mo_openid_m_ai2" class="mo-openid-cd-value"><s>396</s></span>
909
  </div>
910
  </header> <!-- .mo-openid-cd-pricing-header -->
911
  <footer class="mo-openid-cd-pricing-footer">
912
+ <a href="#" class="mo-openid-cd-select" onclick="mosocial_addonform('wp_social_login_all_inclusive_multisite_plan')" >Upgrade Now</a>
 
913
  </footer>
914
  <div class="mo-openid-cd-pricing-body">
915
  <ul class="mo-openid-cd-pricing-features ">
916
+ <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
917
+ <li onclick="mo_all_features_clk('custom_registration_adon')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>Custom Registration Form+</b></li>
918
  <li>
919
  <div class="mo_openid_tooltip" style="padding-left: 40px;">45 Social Sharing Apps <i class="fa fa-commenting " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<span id="mo_openid_dots2">...</span><span id="mo_openid_more2" style="display:none" ><br>Buffer, Amazon_wishlist, Telegram, Line, Yahoo, Instapaper, Mewe, Livejournal, Mix, AOI Mail, Qzone, Gmail, Typepad_post, Fark, Bookmark, Fintel, Mendeley, Slashdot, Wanelo, Classroom, Yummly, Hacker_news, Kakao, Plurk, Trello, wykop, Weibo, Renren, Xing, Wordpress, Front it, Skype, Kindle It, Bloggerpost, Mail.ru, Papaly, Blogmarks, Twiddla.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots2','mo_openid_more2','mo_openid_myBtn2')" id="mo_openid_myBtn2">Read more</button>
920
  </div>
995
  </footer>
996
  <div class="mo-openid-cd-pricing-body">
997
  <ul class="mo-openid-cd-pricing-features">
998
+ <li onclick="mo_all_features_clk('hubspot_adon')"style="cursor:pointer">Click Here to see features<i class="fa fa-hand-pointer-o" style="color: orangered;margin-left: .5%" aria-hidden="true"></i></li>
999
+
1000
+
1001
  <li><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></li>
1002
  </ul>
1003
  </div>
1004
  </li>
 
 
 
 
 
 
 
 
 
 
1005
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1006
 
1007
  </ul> <!-- .mo-openid-cd-pricing-wrapper -->
1008
  </li>
1081
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1082
  if(no_of_sites==1)
1083
  {
1084
+ jQuery('#' + value).html(29+(20 * no_of_sub ));
1085
  no_of_sub=parseInt(no_of_sub) +1;
1086
  jQuery('#' + actual_value).html("<s>"+39 * no_of_sub +"</s>");
1087
  }
1088
  else if(no_of_sites==2)
1089
  {
1090
+ jQuery('#' + value).html(55+(20 * no_of_sub * no_of_sites));
1091
  no_of_sub=parseInt(no_of_sub) +1;
1092
  jQuery('#' + actual_value).html("<s>"+78 * no_of_sub+"</s>");
1093
  }
1094
  else if(no_of_sites==3)
1095
  {
1096
+ jQuery('#' + value).html(75+(20 * no_of_sub * no_of_sites));
1097
  no_of_sub=parseInt(no_of_sub) +1;
1098
  jQuery('#' + actual_value).html("<s>"+117 * no_of_sub+"</s>");
1099
  }
1100
  else if(no_of_sites==4)
1101
  {
1102
+ jQuery('#' + value).html(90+(20 * no_of_sub * no_of_sites));
1103
  no_of_sub=parseInt(no_of_sub) +1;
1104
  jQuery('#' + actual_value).html("<s>"+156 * no_of_sub+"</s>");
1105
  }
1106
  else if(no_of_sites==5)
1107
  {
1108
+ jQuery('#' + value).html(105+(20 * no_of_sub * no_of_sites));
1109
  no_of_sub=parseInt(no_of_sub) +1;
1110
  jQuery('#' + actual_value).html("<s>"+195 * no_of_sub+"</s>");
1111
  }
1112
+ else if(no_of_sites==6)
1113
+ {
1114
+ jQuery('#' + value).html(129+(20 * no_of_sub * no_of_sites));
1115
+ no_of_sub=parseInt(no_of_sub) +1;
1116
+ jQuery('#' + actual_value).html("<s>"+234 * no_of_sub+"</s>");
1117
+ }
1118
+ else if(no_of_sites==7)
1119
+ {
1120
+ jQuery('#' + value).html(139+(20 * no_of_sub * no_of_sites));
1121
+ no_of_sub=parseInt(no_of_sub) +1;
1122
+ jQuery('#' + actual_value).html("<s>"+273 * no_of_sub+"</s>");
1123
+ }
1124
+ else if(no_of_sites==8)
1125
+ {
1126
+ jQuery('#' + value).html(149+(20 * no_of_sub * no_of_sites));
1127
+ no_of_sub=parseInt(no_of_sub) +1;
1128
+ jQuery('#' + actual_value).html("<s>"+312 * no_of_sub+"</s>");
1129
+ }
1130
+ else if(no_of_sites==9)
1131
+ {
1132
+ jQuery('#' + value).html(159+(20 * no_of_sub * no_of_sites));
1133
+ no_of_sub=parseInt(no_of_sub) +1;
1134
+ jQuery('#' + actual_value).html("<s>"+351 * no_of_sub+"</s>");
1135
+ }
1136
+ else if(no_of_sites==10)
1137
+ {
1138
+ jQuery('#' + value).html(169+(20 * no_of_sub * no_of_sites));
1139
+ no_of_sub=parseInt(no_of_sub) +1;
1140
+ jQuery('#' + actual_value).html("<s>"+390 * no_of_sub+"</s>");
1141
+ }
1142
  }
1143
 
1144
+ //apple plan for multisite
1145
+ function update_val_apple(no_of_ins, no_of_sub_sites, value, actual_value){
1146
  no_of_sites=document.getElementById(no_of_ins).value;
1147
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1148
  if(no_of_sites==1)
1149
  {
1150
+ jQuery('#' + value).html(25+(20 * no_of_sub ));
1151
  no_of_sub=parseInt(no_of_sub) +1;
1152
+ jQuery('#' + actual_value).html("<s>"+35 * no_of_sub +"</s>");
1153
  }
1154
  else if(no_of_sites==2)
1155
  {
1156
+ jQuery('#' + value).html(45+(20 * no_of_sub * no_of_sites));
1157
  no_of_sub=parseInt(no_of_sub) +1;
1158
+ jQuery('#' + actual_value).html("<s>"+70 * no_of_sub+"</s>");
1159
  }
1160
  else if(no_of_sites==3)
1161
  {
1162
+ jQuery('#' + value).html(65+(20 * no_of_sub * no_of_sites));
1163
  no_of_sub=parseInt(no_of_sub) +1;
1164
+ jQuery('#' + actual_value).html("<s>"+105 * no_of_sub+"</s>");
1165
  }
1166
  else if(no_of_sites==4)
1167
  {
1168
+ jQuery('#' + value).html(85+(20 * no_of_sub * no_of_sites));
1169
  no_of_sub=parseInt(no_of_sub) +1;
1170
+ jQuery('#' + actual_value).html("<s>"+140 * no_of_sub+"</s>");
1171
  }
1172
  else if(no_of_sites==5)
1173
  {
1174
+ jQuery('#' + value).html(99+(20 * no_of_sub * no_of_sites));
1175
  no_of_sub=parseInt(no_of_sub) +1;
1176
+ jQuery('#' + actual_value).html("<s>"+175 * no_of_sub+"</s>");
1177
+ }
1178
+ else if(no_of_sites==6)
1179
+ {
1180
+ jQuery('#' + value).html(112+(20 * no_of_sub * no_of_sites));
1181
+ no_of_sub=parseInt(no_of_sub) +1;
1182
+ jQuery('#' + actual_value).html("<s>"+210 * no_of_sub+"</s>");
1183
+ }
1184
+ else if(no_of_sites==7)
1185
+ {
1186
+ jQuery('#' + value).html(125+(20 * no_of_sub * no_of_sites));
1187
+ no_of_sub=parseInt(no_of_sub) +1;
1188
+ jQuery('#' + actual_value).html("<s>"+245 * no_of_sub+"</s>");
1189
+ }
1190
+ else if(no_of_sites==8)
1191
+ {
1192
+ jQuery('#' + value).html(135+(20 * no_of_sub * no_of_sites));
1193
+ no_of_sub=parseInt(no_of_sub) +1;
1194
+ jQuery('#' + actual_value).html("<s>"+280 * no_of_sub+"</s>");
1195
+ }
1196
+ else if(no_of_sites==9)
1197
+ {
1198
+ jQuery('#' + value).html(145+(20 * no_of_sub * no_of_sites));
1199
+ no_of_sub=parseInt(no_of_sub) +1;
1200
+ jQuery('#' + actual_value).html("<s>"+315 * no_of_sub+"</s>");
1201
+ }
1202
+ else if(no_of_sites==10)
1203
+ {
1204
+ jQuery('#' + value).html(150+(20 * no_of_sub * no_of_sites));
1205
+ no_of_sub=parseInt(no_of_sub) +1;
1206
+ jQuery('#' + actual_value).html("<s>"+350 * no_of_sub+"</s>");
1207
  }
1208
  }
1209
 
1243
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1244
  if(no_of_sites==1)
1245
  {
1246
+ jQuery('#' + value).html(49+(20 * no_of_sub ));
1247
  no_of_sub=parseInt(no_of_sub) +1;
1248
  jQuery('#' + actual_value).html("<s>"+59 * no_of_sub +"</s>");
1249
  }
1250
  else if(no_of_sites==2)
1251
  {
1252
+ jQuery('#' + value).html(98+(20 * no_of_sub * no_of_sites));
1253
  no_of_sub=parseInt(no_of_sub) +1;
1254
  jQuery('#' + actual_value).html("<s>"+118 * no_of_sub+"</s>");
1255
  }
1256
  else if(no_of_sites==3)
1257
  {
1258
+ jQuery('#' + value).html(138+(20 * no_of_sub * no_of_sites));
1259
  no_of_sub=parseInt(no_of_sub) +1;
1260
  jQuery('#' + actual_value).html("<s>"+177 * no_of_sub+"</s>");
1261
  }
1262
  else if(no_of_sites==4)
1263
  {
1264
+ jQuery('#' + value).html(168+(20 * no_of_sub * no_of_sites));
1265
  no_of_sub=parseInt(no_of_sub) +1;
1266
  jQuery('#' + actual_value).html("<s>"+236 * no_of_sub+"</s>");
1267
  }
1268
  else if(no_of_sites==5)
1269
  {
1270
+ jQuery('#' + value).html(199+(20 * no_of_sub * no_of_sites));
1271
  no_of_sub=parseInt(no_of_sub) +1;
1272
  jQuery('#' + actual_value).html("<s>"+295 * no_of_sub+"</s>");
1273
  }
1274
+ else if(no_of_sites==6)
1275
+ {
1276
+ jQuery('#' + value).html(208+(20 * no_of_sub * no_of_sites));
1277
+ no_of_sub=parseInt(no_of_sub) +1;
1278
+ jQuery('#' + actual_value).html("<s>"+354 * no_of_sub+"</s>");
1279
+ }
1280
+ else if(no_of_sites==7)
1281
+ {
1282
+ jQuery('#' + value).html(218+(20 * no_of_sub * no_of_sites));
1283
+ no_of_sub=parseInt(no_of_sub) +1;
1284
+ jQuery('#' + actual_value).html("<s>"+413 * no_of_sub+"</s>");
1285
+ }
1286
+ else if(no_of_sites==8)
1287
+ {
1288
+ jQuery('#' + value).html(228+(20 * no_of_sub * no_of_sites));
1289
+ no_of_sub=parseInt(no_of_sub) +1;
1290
+ jQuery('#' + actual_value).html("<s>"+472 * no_of_sub+"</s>");
1291
+ }
1292
+ else if(no_of_sites==9)
1293
+ {
1294
+ jQuery('#' + value).html(238+(20 * no_of_sub * no_of_sites));
1295
+ no_of_sub=parseInt(no_of_sub) +1;
1296
+ jQuery('#' + actual_value).html("<s>"+531 * no_of_sub+"</s>");
1297
+ }
1298
+ else if(no_of_sites==10)
1299
+ {
1300
+ jQuery('#' + value).html(248+(20 * no_of_sub * no_of_sites));
1301
+ no_of_sub=parseInt(no_of_sub) +1;
1302
+ jQuery('#' + actual_value).html("<s>"+590 * no_of_sub+"</s>");
1303
+ }
1304
  }
1305
 
1306
  //buddypress addon/plan
1339
  no_of_sub=document.getElementById(no_of_sub_sites).value;
1340
  if(no_of_sites==1)
1341
  {
1342
+ jQuery('#' + value).html(89+(20 * no_of_sub ));
1343
  no_of_sub=parseInt(no_of_sub) +1;
1344
  jQuery('#' + actual_value).html("<s>"+99 * no_of_sub +"</s>");
1345
  }
1346
  else if(no_of_sites==2)
1347
  {
1348
+ jQuery('#' + value).html(159+(20 * no_of_sub * no_of_sites));
1349
  no_of_sub=parseInt(no_of_sub) +1;
1350
  jQuery('#' + actual_value).html("<s>"+198 * no_of_sub+"</s>");
1351
  }
1352
  else if(no_of_sites==3)
1353
  {
1354
+ jQuery('#' + value).html(209+(20 * no_of_sub * no_of_sites));
1355
  no_of_sub=parseInt(no_of_sub) +1;
1356
  jQuery('#' + actual_value).html("<s>"+297 * no_of_sub+"</s>");
1357
  }
1358
  else if(no_of_sites==4)
1359
  {
1360
+ jQuery('#' + value).html(259+(20 * no_of_sub * no_of_sites));
1361
  no_of_sub=parseInt(no_of_sub) +1;
1362
  jQuery('#' + actual_value).html("<s>"+396 * no_of_sub+"</s>");
1363
  }
1364
  else if(no_of_sites==5)
1365
  {
1366
+ jQuery('#' + value).html(299+(20 * no_of_sub * no_of_sites));
1367
  no_of_sub=parseInt(no_of_sub) +1;
1368
  jQuery('#' + actual_value).html("<s>"+495 * no_of_sub+"</s>");
1369
  }
1370
+ else if(no_of_sites==6)
1371
+ {
1372
+ jQuery('#' + value).html(339+(20 * no_of_sub * no_of_sites));
1373
+ no_of_sub=parseInt(no_of_sub) +1;
1374
+ jQuery('#' + actual_value).html("<s>"+594 * no_of_sub+"</s>");
1375
+ }
1376
+ else if(no_of_sites==7)
1377
+ {
1378
+ jQuery('#' + value).html(379+(20 * no_of_sub * no_of_sites));
1379
+ no_of_sub=parseInt(no_of_sub) +1;
1380
+ jQuery('#' + actual_value).html("<s>"+693 * no_of_sub+"</s>");
1381
+ }
1382
+ else if(no_of_sites==8)
1383
+ {
1384
+ jQuery('#' + value).html(409+(20 * no_of_sub * no_of_sites));
1385
+ no_of_sub=parseInt(no_of_sub) +1;
1386
+ jQuery('#' + actual_value).html("<s>"+792 * no_of_sub+"</s>");
1387
+ }
1388
+ else if(no_of_sites==9)
1389
+ {
1390
+ jQuery('#' + value).html(429+(20 * no_of_sub * no_of_sites));
1391
+ no_of_sub=parseInt(no_of_sub) +1;
1392
+ jQuery('#' + actual_value).html("<s>"+891 * no_of_sub+"</s>");
1393
+ }
1394
+ else if(no_of_sites==10)
1395
+ {
1396
+ jQuery('#' + value).html(449+(20 * no_of_sub * no_of_sites));
1397
+ no_of_sub=parseInt(no_of_sub) +1;
1398
+ jQuery('#' + actual_value).html("<s>"+990 * no_of_sub+"</s>");
1399
+ }
1400
  }
1401
 
1402
  //mailchimp addon
1414
  }
1415
  });
1416
 
1417
+ //discord addon
1418
+ jQuery('#mo_openid_dis').on('change', function () {
1419
  if (this.value === "1") {
1420
+ jQuery('#mo_openid_dis1').html("79");
1421
+ jQuery('#mo_openid_dis2').html("<s>99</s>");
1422
  } else if (this.value === "5") {
1423
+ jQuery('#mo_openid_dis1').html("269");
1424
+ jQuery('#mo_openid_dis2').html("<s>495</s>");
1425
  }
1426
  else if (this.value === "10") {
1427
+ jQuery('#mo_openid_dis1').html("449");
1428
+ jQuery('#mo_openid_dis2').html("<s>990</s>");
1429
+ }
1430
+ });
1431
+
1432
+ //Apple plan
1433
+ jQuery('#mo_openid_ap').on('change', function () {
1434
+ if (this.value === "1") {
1435
+ jQuery('#mo_openid_ap1').html("25");
1436
+ jQuery('#mo_openid_ap2').html("<s>29</s>");
1437
+ } else if (this.value === "5") {
1438
+ jQuery('#mo_openid_ap1').html("99");
1439
+ jQuery('#mo_openid_ap2').html("<s>145</s>");
1440
+ }
1441
+ else if (this.value === "10") {
1442
+ jQuery('#mo_openid_ap1').html("179");
1443
+ jQuery('#mo_openid_ap2').html("<s>290</s>");
1444
  }
1445
  });
1446
 
1500
  jQuery('.momslp').addClass('is-visible').removeClass('is-hidden is-selected');
1501
  jQuery('#mo_switcher_2').removeClass('mo-open-id-cd-switch-2');
1502
  jQuery('#mo_switcher_1').addClass('mo-open-id-cd-switch');
1503
+ jQuery('#mo_share_plan').hide();
1504
  }
1505
  else if(this.value=='singlesite'){
1506
  document.getElementById("list-type").style.width = "100%";
1507
  jQuery('.mosslp').addClass('is-visible').removeClass('is-hidden');
1508
  jQuery('.momslp').removeClass('is-visible').addClass('is-hidden is-selected');
1509
  jQuery('.moaslp').removeClass('is-visible').addClass('is-hidden is-selected');
1510
+ jQuery('#mo_share_plan').show();
1511
  }
1512
  else if(this.value=='mo_add-on'){
1513
  document.getElementById("list-type").style.width = "100%";
1516
  jQuery('.mosslp').removeClass('is-visible').addClass('is-hidden is-selected');
1517
  jQuery('#mo_switcher_1').removeClass('mo-open-id-cd-switch');
1518
  jQuery('#mo_switcher_2').addClass('mo-open-id-cd-switch-2');
1519
+ jQuery('#mo_share_plan').hide();
1520
  }
1521
  });
1522
 
1525
  if(x==1){
1526
  document.getElementById('singlesite').checked= false;
1527
  document.getElementById('mo_add-on').checked= true;
1528
+ jQuery('#mo_share_plan').hide();
1529
  }
1530
  if(document.getElementById("mo_add-on").checked == true){
1531
  jQuery('.mosslp').removeClass('is-visible').addClass('is-hidden');
1608
  <li>Returns beyond 10 days.</li>
1609
  </ol>
1610
  </div>
1611
+
1612
  <div id="myModal_3" class="mo_openid_popup-modal">
1613
 
1614
  <div class="mo_openid_modal-content">
1615
  <span class="mo_openid-popup-modal-close">&times;</span>
1616
+ <div id="add_list_inst">
1617
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1618
  </div>
1619
  </div>
1620
+ <?php
1621
+ $feature_array= array(
1622
+ 'free_feature'=>'<h2>Social Login Free Feature</h2><li>Social Login with Facebook, Google, Twitter, Vkontakte, LinkedIn, Amazon, Windows Live, Salesforce & Yahoo</li><li>NO SETUP required for default social login apps.</li><li>Setup your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live & Yahoo</li><li>Preview is available for Social Login icons</li><li>Icon Customizations – customize shape, theme, space & size of social login icons.</li><li>Profile completion (username, email) – Prompt user for email & username if social login app doesn’t return it. Email is verified with verification code.</li><li>Assign Roles to users – Assign WordPress roles to users logging in with social login application.</li><li>Add the Social Login Icons on: login page, registration page, comment form or anywhere on your site using our Social Login widget/ shortcode.</li><li>Sync Social Profile Picture with WordPress.</li><li>Enable Email Notification to admin when user registers with social login application.</li><li>Enable/disable user registration.</li><li>Customize Login/Logout Redirect URL.</li><li>Customizable Text For Social Login Icons.</li><li>SHORTCODE available for social login.</li><li>Support using email and in-plugin support form.</li>',
1623
+ 'mailchimp_adon'=>'<h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/mailchimp_logo.png" style="width:35px;height:30px;"> Mailchimp Integration Add-on Feature</h2><h2>Description</h2><li>A user is added as a subscriber to a mailing list in MailChimp when that user registers using Social Login. First name, last name and email are also captured for that user in the Mailing List. Option is available to download csv file that has list of emails of all users in WordPress.</span></li>',
1624
+ 'custom_registration_adon'=>'<h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/miniorange_logo.png" style="width:35px;height:30px;"> Custom Registration Form Add-on Features</h2><li>Create a pre-registration form</li><li>Allow user to select Role while Registration</li> <li>All WordPress Themes Supported</li><li>Map Users Data returned from all Social Apps</li><li>Add Custom Fields in the Registration form</li><li>Edit Profile option using shortcode</li><li>Support input field types: text, date, checkbox or dropdown</li><li>Advanced Form Control</li><li>Sync existing meta field</li>',
1625
+ 'woocommerce_int_adon'=>'<h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/woocommerce.png" style="width:35px;height:30px;"> WooCommerce Integration Add-on Features</h2><li>WooCommerce Display Options</li><li>First name, last name and email are pre-filled in billing details of a user and on the Woocommerce checkout page.</li><li>Social Login on WooCommerce Login Page</li><li>Social Login on WooCommerce Registration Page</li><li>Social Login on WooCommerce Checkout Page</li><li>Before WooCommerce Login Form</li><li>Before "Remember Me" of WooCommerce Login Form</li> <li>After WooCommerce Login Form</li><li>Before WooCommerce Registration Form</li><li>Before "Register button" of WooCommerce Registration Form</li> <li>After WooCommerce Registration Form</li><li>Before & After WooCommerce Checkout Form</li>',
1626
+ 'buddypress_adon'=>' <h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/buddypress.png" style="width:35px;height:30px;"> Buddypress Integration Add-on Features</h2><h2>Description</h2><li>Social Login for BuddyPress</li> <li>Extended attributes returned from social app are mapped to Custom BuddyPress fields.</li><li> Profile picture from social media is mapped to Buddypress avatar</li><li>Before BuddyPress Registration Form</li><li>Before BuddyPress Account Details</li><li>After BuddyPress Registration Form</li>',
1627
+ 'hubspot_adon'=>' <h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/icons/hubspot.png" style="width:35px;height:30px;">Hubpot Integration Add-on Feature</h2><h2>Description</h2><li>Add social login user to Hubspot Contact List</li><li>Track the activities of the user on your website.</li>',
1628
+ 'discord_adon'=>' <h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/icons/discord.png" style="width:35px;height:30px;"> Discord Integration Add-on Feature</h2><h2>Description</h2><li>Manage your users and restrict the login/registration of user based on whether the user is present in the Discord server or not.</li>',
1629
+ 'social_share'=>' <h2><img src="'. plugin_dir_url(dirname(dirname(__FILE__))) .'includes/images/miniorange_logo.png" style="width:35px;height:30px;"> Social Share Plan Feature</h2><li>All Free Features</li><li>45 Social Sharing Apps</li><li>Sharing Display Option</li><li>Hover Icons & Floating Icons</li><li>Discord Auto Post</li><li>Sharing Icons for BBPress</li><li>WooCommerce Product Sharing</li><li>E-mail subscriber</li><li>Facebook, Vkontakte, Stumble Upon, Buffer, Pinterest and Reddit Share Count</li><li>Facebook Like & Recommended</li><li>Pinterest Pin it Button</li><li>Twitter Follow Button</li>'
1630
+ )
1631
+
1632
+ ?>
1633
  <script> //var modal = ;
1634
+ function mo_all_features_clk(x){
1635
+ var instruction=<?php echo json_encode($feature_array);?>;
1636
+ document.getElementById('add_list_inst').innerHTML= instruction[x];
1637
  document.getElementById('myModal_3').style.display="block";
1638
 
1639
  }
 
 
1640
 
 
1641
  var span = document.getElementsByClassName("mo_openid-popup-modal-close")[0];
1642
  span.onclick = function() {
1643
  document.getElementById('myModal_3').style.display = "none";
 
 
 
 
 
 
1644
  }
1645
  window.onclick = function(event) {
1646
  if (event.target == document.getElementById('myModal_3')) {
1647
  document.getElementById('myModal_3').style.display = "none";
1648
  }
 
 
 
 
1649
  }
1650
  </script>
1651
  <script>
view/link_social_account/mo_openid_Acclink.php CHANGED
@@ -112,6 +112,42 @@ function mo_openid_linkSocialAcc(){
112
  }
113
  }
114
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  <?php
116
  }
117
  ?>
112
  }
113
  }
114
  </script>
115
+ <div class="mo_openid_highlight">
116
+ <h3 style="margin-left: 1%;line-height: 210%;color: white;"><?php echo mo_sl('Domain Restriction');?></h3>
117
+ </div><br/>
118
+ <div class="mo_openid_table_layout">
119
+ <table style="width:100%">
120
+
121
+ <div>
122
+
123
+ <br> <label style="cursor: context-menu" class="mo-openid-radio-container_disable"><?php echo mo_sl('Domain Restriction');?>
124
+ <input type="radio" />
125
+ <span class="mo-openid-radio-checkmark_disable"></span>
126
+ </label>
127
+
128
+ </div>
129
+ <br/><label style="cursor: auto"><?php echo mo_sl('Users with these domains will not be able to register');?>.</label>
130
+ <textarea rows="4" cols="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 100%" disabled placeholder="Add domain names semicolon(;) separated e.g. gmail.com;yahoo.com;miniorange.com"/></textarea>
131
+ </tr>
132
+ </td><br>
133
+ <tr>
134
+ <br>
135
+ <div>
136
+ <label style="cursor: context-menu" class="mo-openid-radio-container_disable"><?php echo mo_sl('Allow Domain');?>
137
+ <input type="radio" />
138
+ <span class="mo-openid-radio-checkmark_disable"></span>
139
+ </label>
140
+ </div>
141
+ <br/><label style="cursor: auto"><?php echo mo_sl('Only users with these domains will be able to register');?>.</label>
142
+ <textarea rows="4" cols="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 100%" disabled placeholder="Add domain names semicolon(;) separated e.g. gmail.com;yahoo.com;miniorange.com"/></textarea>
143
+ </td>
144
+ </tr>
145
+ <td><br /><b><input disabled type="submit" name="submit" value="<?php echo mo_sl('Save');?>" style="width:150px;background-color:#0867b2;color:white;box-shadow:none;text-shadow: none;" class="button button-primary button-large" />
146
+ </b>
147
+ </td>
148
+ </tr>
149
+ </table>
150
+ </div>
151
  <?php
152
  }
153
  ?>
view/redirect_options/mo_openid_redirect_op.php CHANGED
@@ -2,6 +2,9 @@
2
  function mo_openid_redirect_opt()
3
  {
4
  ?>
 
 
 
5
  <form id="mo_openid_redirect" name="redirect" method="post" action="">
6
  <input type="hidden" name="option" value="mo_openid_enable_redirect" />
7
  <input type="hidden" name="mo_openid_enable_redirect_nonce" value="<?php echo wp_create_nonce( 'mo-openid-enable-redirect-nonce' ); ?>"/>
2
  function mo_openid_redirect_opt()
3
  {
4
  ?>
5
+ <div>
6
+ <label style="cursor: auto;" class="mo_openid_note_style">Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fa fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fa fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade and <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.</label>
7
+ </div>
8
  <form id="mo_openid_redirect" name="redirect" method="post" action="">
9
  <input type="hidden" name="option" value="mo_openid_enable_redirect" />
10
  <input type="hidden" name="mo_openid_enable_redirect_nonce" value="<?php echo wp_create_nonce( 'mo-openid-enable-redirect-nonce' ); ?>"/>
view/rest_api/mo_rest_api_page.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function mo_openid_rest_api_page(){
3
+ ?>
4
+ <br><br>
5
+ <h1 style="font-style: italic; font-size: 4.5em;margin-left: 6%">Looking for <span style="color: orangered">Rest API / Mobile SSO </span> solution?</h1>
6
+ <h3 style="padding: 3% 3% 0 3%; font-size: 1.5em;line-height: 1.5em" >mini<span style="color: orangered">O</span>range provides Social login Rest API / Mobile SSO. By using API / Mobile SSO, website visitors(User) can login/register via social media platforms to your application and also they will be linked to your WordPress site. API / Mobile SSO allow uses JWT token to send and receive information. </h3>
7
+ <br>
8
+ <center>
9
+ <img src="<?php echo plugin_dir_url(dirname(__DIR__));?>includes/images/rest_api8.jpg" style="width: 60%;">
10
+ </center>
11
+ <br>
12
+ <h1 style="font-style: italic; font-size: 4.5em;margin-left: 4%">How mini<span style="color: orangered">O</span>range <span style="color: orangered">Rest API / Mobile SSO</span> works?</h1>
13
+ <ol style="font-size: 1.5em; margin-left: 20%;line-height: 25px">
14
+ <li>User click on social login button.</li>
15
+ <li>A request has been sent to the miniOrange API / mobile SSO plugin via API.</li>
16
+ <li>mini<span style="color: orangered;font-weight: bold">O</span>range API / Mobile SSO plugin authenticates the user using OAuth/OPenID protocol.</li>
17
+ <li>Using JWT authentication, the plugin sends back the JWT token to the application through webview.</li>
18
+ <li> Reading the JWT token you can retrieve the user information and get the user loggedin.<i class="fa fa-smile-o fa-2x " style=" transform: translate(0%, 20%);color: orange" aria-hidden="true"></i> </li>
19
+ </ol>
20
+ <br>
21
+ <center>
22
+ <img style="width: 70%" src="<?php echo plugin_dir_url(dirname(__DIR__));?>includes/images/rest_api5.gif">
23
+ </center>
24
+ <br>
25
+ <h1 style="font-style: italic; font-size: 4.5em;margin-left: 3%">How to configure <span style="color: orangered">Rest API / Mobile SSO</span> Plugin?</h1>
26
+ <ol style="font-size: 1.5em; margin-left: 20%;line-height: 25px;padding-right: 8%">
27
+ <li>Configure the facebook and google in the paid plugin which you have installed.That will be for your website.</li>
28
+ <li>Copy the client ID and client secret and paste in the Rest API / mobile plugin.</li>
29
+ <li>For mobile you need to hit the api "http://domain_name?appname=[Your Application name]&application=mobile.</li>
30
+ <li>Check the update and create option in the Rest API / mobile plugin to automatically create the user in wordpress database.</li>
31
+ </ol>
32
+ <center>
33
+ <img style="width: 40%" src="<?php echo plugin_dir_url(dirname(__DIR__));?>includes/images/rest_api_image.png">
34
+ </center>
35
+ <br>
36
+ <hr>
37
+ <div style="margin: 1% 5% 1% 9%; border: 2px solid lightgray; height: 100px; width: 85%;background-color: white;padding: 1% 1% 0 1%">
38
+ <h1 style="float: left;font-size: 3.5em;font-style: italic;">WANT TO PURCHASE <span style="color: orangered;">Rest API / MOBILE SSO</span></h1> <a href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank"> <button class="mo_mobile_sso_click_here">CLICK HERE</button></a>
39
+ </div>
40
+ <?php
41
+ }
42
+ ?>
view/restrict_domain/mo_openid_restrict_dom.php DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
- function mo_openid_restrict_domain()
3
- {
4
- ?>
5
- <form>
6
- <div class="mo_openid_table_layout">
7
- <table style="width:100%">
8
-
9
- <div>
10
-
11
- <br> <label style="cursor: context-menu" class="mo-openid-radio-container_disable"><?php echo mo_sl('Domain Restriction');?>
12
- <input type="radio" />
13
- <span class="mo-openid-radio-checkmark_disable"></span>
14
- </label>
15
-
16
- </div>
17
- <br/><label style="cursor: auto"><?php echo mo_sl('Users with these domains will not be able to register');?>.</label>
18
- <textarea rows="4" cols="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 100%" disabled placeholder="Add domain names semicolon(;) separated e.g. gmail.com;yahoo.com;miniorange.com"/></textarea>
19
- </tr>
20
- </td><br>
21
- <tr>
22
- <br>
23
- <div>
24
- <label style="cursor: context-menu" class="mo-openid-radio-container_disable"><?php echo mo_sl('Allow Domain');?>
25
- <input type="radio" />
26
- <span class="mo-openid-radio-checkmark_disable"></span>
27
- </label>
28
- </div>
29
- <br/><label style="cursor: auto"><?php echo mo_sl('Only users with these domains will be able to register');?>.</label>
30
- <textarea rows="4" cols="50" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 100%" disabled placeholder="Add domain names semicolon(;) separated e.g. gmail.com;yahoo.com;miniorange.com"/></textarea>
31
- </td>
32
- </tr>
33
- <td><br /><b><input disabled type="submit" name="submit" value="<?php echo mo_sl('Save');?>" style="width:150px;background-color:#0867b2;color:white;box-shadow:none;text-shadow: none;" class="button button-primary button-large" />
34
- </b>
35
- </td>
36
- </tr>
37
- </table>
38
- </div>
39
- <script>
40
- //to set heading name
41
- jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Domain Restriction');?>');
42
- var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
43
- jQuery("#mo_openid_page_heading").append(temp);
44
- var win_height = jQuery('#mo_openid_menu_height').height();
45
- //win_height=win_height+18;
46
- jQuery(".mo_container").css({height:win_height});
47
- </script>
48
-
49
- <?php
50
- }