Social Login - Version 7.5.7

Version Description

  • Resolved the banner issue.
  • Fixed Discord addon verification issue.
  • Minor UI change.
Download this release

Release Info

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

Code changes from version 7.5.6 to 7.5.7

includes/images/eosssale.gif DELETED
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.5.6
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
- define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.6');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  define('MO_SL_CSS_URL', plugin_dir_url(__FILE__) . 'includes/css/mo_sl_banner.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION);
@@ -273,7 +273,7 @@ Thank you.';
273
  wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
274
  wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
275
  wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
276
- wp_enqueue_script( 'mo_openid_admin_settings_script', plugins_url('includes/js/mo_openid_settings.js?version=4.9.6', __FILE__ ), array('jquery'));
277
  wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo-openid-bootstrap.min.js', __FILE__ ));
278
  wp_enqueue_script( 'bootstrap_script_tour', plugins_url( 'includes/js/mo_openid_bootstrap-tour-standalone.min.js', __FILE__ ));
279
  }
@@ -315,14 +315,6 @@ Thank you.';
315
  $current_url = admin_url().'admin.php?'.$_SERVER['QUERY_STRING'];
316
  $isNoticeClosed = get_option("mo_social_hide_notice");
317
  $rest_url=admin_url().'admin.php?page=mo_openid_general_settings&tab=rest_api_page';
318
- if($isNoticeClosed == "mo_social_hide_notice"){
319
- $time=time();
320
- $date=get_option('eoss_banner_time');
321
- if(date("Y-m-d",$time)>$date) {
322
- update_option('mo_social_hide_notice', '');
323
- }
324
- }
325
- $isNoticeClosed = get_option("mo_social_hide_notice");
326
  if($isNoticeClosed !== "mo_social_hide_notice"){
327
  if($current_url !== $licensePageUrl){
328
  echo '<div class="mo_sl_notice updated notice is-dismissible" style="padding-bottom: 7px;background-color:#e0eeee99;">
@@ -336,9 +328,6 @@ Thank you.';
336
 
337
  function mo_sl_dismiss_notice(){
338
  update_option("mo_social_hide_notice","mo_social_hide_notice");
339
- $time=time();
340
- update_option('eoss_banner_time',date("Y-m-d",$time));
341
-
342
  }
343
 
344
  function new_miniorange_openid_menu() {
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
+ * Version: 7.5.7
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
+ define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.7');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  define('MO_SL_CSS_URL', plugin_dir_url(__FILE__) . 'includes/css/mo_sl_banner.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION);
273
  wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
274
  wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
275
  wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
276
+ wp_enqueue_script( 'mo_openid_admin_settings_script', plugins_url('includes/js/mo_openid_settings.js?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__ ), array('jquery'));
277
  wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo-openid-bootstrap.min.js', __FILE__ ));
278
  wp_enqueue_script( 'bootstrap_script_tour', plugins_url( 'includes/js/mo_openid_bootstrap-tour-standalone.min.js', __FILE__ ));
279
  }
315
  $current_url = admin_url().'admin.php?'.$_SERVER['QUERY_STRING'];
316
  $isNoticeClosed = get_option("mo_social_hide_notice");
317
  $rest_url=admin_url().'admin.php?page=mo_openid_general_settings&tab=rest_api_page';
 
 
 
 
 
 
 
 
318
  if($isNoticeClosed !== "mo_social_hide_notice"){
319
  if($current_url !== $licensePageUrl){
320
  echo '<div class="mo_sl_notice updated notice is-dismissible" style="padding-bottom: 7px;background-color:#e0eeee99;">
328
 
329
  function mo_sl_dismiss_notice(){
330
  update_option("mo_social_hide_notice","mo_social_hide_notice");
 
 
 
331
  }
332
 
333
  function new_miniorange_openid_menu() {
miniorange_openid_sso_settings_page.php CHANGED
@@ -142,7 +142,7 @@ function mo_register_openid() {
142
  $temp_user=get_user_meta($i, 'temporary_url', true);
143
  if( !$temp_user) {
144
  ?>
145
- <a id="tlwp" class="tablinks<?php if($active_tab=="tlwp") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'tlwp'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Create Temporaray Login');?></a>
146
  <?php } ?>
147
  <a id="integration" style="color: lightgreen" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
148
  <a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
142
  $temp_user=get_user_meta($i, 'temporary_url', true);
143
  if( !$temp_user) {
144
  ?>
145
+ <a id="tlwp" class="tablinks<?php if($active_tab=="tlwp") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'tlwp'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Create Temporary Login');?></a>
146
  <?php } ?>
147
  <a id="integration" style="color: lightgreen" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
148
  <a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
4
  Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
5
  Requires at least: 2.0.2
6
  Tested up to: 5.8
7
- Stable tag: 7.5.6
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
@@ -276,6 +276,11 @@ Please email us at info@miniorange.com. You can also submit your query from the
276
  16. Social Sharing icons without background.
277
 
278
  ==Changelog==
 
 
 
 
 
279
  = 7.5.6 =
280
  * Added Temporary login feature.
281
  * Added Hover, Custom hover, and Smart Theme for social login Icons.
@@ -969,6 +974,11 @@ SECURITY FIXES
969
  * First version of Social Login, Social Sharing plugin.
970
 
971
  == Upgrade Notice ==
 
 
 
 
 
972
  = 7.5.6 =
973
  * Added Temporary login feature.
974
  * Added Hover, Custom hover, and Smart Theme for social login Icons.
4
  Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
5
  Requires at least: 2.0.2
6
  Tested up to: 5.8
7
+ Stable tag: 7.5.7
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
276
  16. Social Sharing icons without background.
277
 
278
  ==Changelog==
279
+ = 7.5.7 =
280
+ * Resolved the banner issue.
281
+ * Fixed Discord addon verification issue.
282
+ * Minor UI change.
283
+
284
  = 7.5.6 =
285
  * Added Temporary login feature.
286
  * Added Hover, Custom hover, and Smart Theme for social login Icons.
974
  * First version of Social Login, Social Sharing plugin.
975
 
976
  == Upgrade Notice ==
977
+ = 7.5.7 =
978
+ * Resolved the banner issue.
979
+ * Fixed Discord addon verification issue.
980
+ * Minor UI change.
981
+
982
  = 7.5.6 =
983
  * Added Temporary login feature.
984
  * Added Hover, Custom hover, and Smart Theme for social login Icons.
view/add_on/mo_discord_add_on.php CHANGED
@@ -15,7 +15,7 @@ function mo_openid_discord_add_on_display()
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;display: none">
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>
@@ -31,11 +31,11 @@ function mo_openid_discord_add_on_display()
31
 
32
  <div class="mo_openid_note_style " style="border-left: 6px solid #2196F3;border-radius: 5px" >
33
  <ul style="list-style: initial;margin-left: 2%; font-weight: bold;" >
34
- <li>We provide <b>DISCORD ROLE MAPPING</b> based on WordPress role and membership/subscription of the end user. </li>
35
- <li>Automate the process of adding user to the discord server when user register to website.</li>
36
- <li>Kick the user from the discord server when user deleted from WordPress website.</li>
37
  <li>Kick the user when the subscription/membership ended.</li>
38
- <li> Other Use Case as per customers requirment. For more details <a style="cursor: pointer" onclick="mo_openid_support_form()">Contact Us</a></li>
39
  </ul>
40
  </div>
41
  <br>
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>
31
 
32
  <div class="mo_openid_note_style " style="border-left: 6px solid #2196F3;border-radius: 5px" >
33
  <ul style="list-style: initial;margin-left: 2%; font-weight: bold;" >
34
+ <li>We provide <b>DISCORD ROLE MAPPING</b> based on the WordPress role and membership/subscription of the end user. </li>
35
+ <li>Automate the process of adding users to the discord server when a user registers to the website.</li>
36
+ <li>Kick the user from the discord server when the user is deleted from the WordPress website.</li>
37
  <li>Kick the user when the subscription/membership ended.</li>
38
+ <li>Other Use Case as per customers requirement. For more details <a style="cursor: pointer" onclick="mo_openid_support_form()">Contact Us</a></li>
39
  </ul>
40
  </div>
41
  <br>
view/config_apps/mo_openid_config_apps.php CHANGED
@@ -2,80 +2,6 @@
2
  //configure apps menu page
3
  function mo_openid_show_apps()
4
  {
5
- $time=get_option('sale_banner_time');
6
- if (! $time) {
7
- update_option('sale_banner_time',time());
8
- $time=time();
9
- }
10
-
11
- if ($time+3600 < time() ) {
12
- echo '<style>
13
- .modal {
14
- display: block; /* Hidden by default */
15
- position: fixed; /* Stay in place */
16
- z-index: 1; /* Sit on top */
17
- padding-top: 100px; /* Location of the box */
18
- left: 0;
19
- top: 0;
20
- width: 100%; /* Full width */
21
- height: 100%; /* Full height */
22
- overflow: auto; /* Enable scroll if needed */
23
- background-color: rgb(0,0,0); /* Fallback color */
24
- background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
25
- }
26
-
27
- /* Modal Content */
28
- .modal-content {
29
- background-color: transparent;
30
- margin: auto;
31
- padding: 0px;
32
- height: 420px;
33
- width: 380px;
34
- }
35
-
36
- /* The Close Button */
37
- .close {
38
- color: #7a7a7a;
39
- float: right;
40
- font-size: 28px;
41
- font-weight: bold;
42
- margin-left: 432px;
43
- position: absolute;
44
- }
45
-
46
- .close:hover,
47
- .close:focus {
48
- color: #f6f4f4;
49
- text-decoration: none;
50
- cursor: pointer;
51
- }
52
-
53
- </style>
54
- <div id="myModalsss" class="modal">
55
-
56
- <div class="modal-content">
57
- <span class="close">&times;</span>
58
- <img height="500px" width="450px" src="' . plugin_dir_url(dirname(dirname(__FILE__))) . '/includes/images/eosssale.gif">
59
-
60
- </div>
61
-
62
- </div>
63
- <script>
64
- var modales = document.getElementById("myModalsss");
65
-
66
- // Get the button that opens the modal
67
-
68
- // Get the <span> element that closes the modal
69
- var sp = document.getElementsByClassName("close")[0];
70
- // When the user clicks on <span> (x), close the modal
71
- sp.onclick = function() {
72
- modales.style.display = "none";
73
- }
74
-
75
- </script>';
76
- update_option('sale_banner_time',time());
77
- }
78
-
79
  if (isset($_POST['update_tour_status'])){
80
  update_option('mo_openid_tour_new','1');
81
  }
2
  //configure apps menu page
3
  function mo_openid_show_apps()
4
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  if (isset($_POST['update_tour_status'])){
6
  update_option('mo_openid_tour_new','1');
7
  }