Version Description
- Compatible with WordPress version 5.5
- New Christmas offer released.
- Minor UI changes.
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Social Login |
Version | 7.4.3 |
Comparing to | |
See all releases |
Code changes from version 7.4.2 to 7.4.3
- includes/images/icons/sale_offer/Christmas.png +0 -0
- includes/images/icons/sale_offer/banner3.png +0 -0
- includes/images/icons/sale_offer/mo_icon1.gif +0 -0
- includes/images/icons/sale_offer/mo_icons.gif +0 -0
- includes/images/icons/sale_offer/santa_sale.gif +0 -0
- miniorange_openid_sso_settings.php +42 -3
- miniorange_openid_sso_settings_page.php +1 -14
- mo_openid_feedback_form.php +3 -3
- readme.txt +12 -2
- social_apps/facebook.php +17 -1
- social_apps/google.php +12 -1
- social_apps/instagram.php +11 -5
- social_apps/twitter.php +10 -1
- view/licensing_plans/mo_openid_lic_plans.php +13 -11
- view/soc_sha/soc_apps/mo_openid_sharing.php +2 -2
includes/images/icons/sale_offer/Christmas.png
ADDED
Binary file
|
includes/images/icons/sale_offer/banner3.png
ADDED
Binary file
|
includes/images/icons/sale_offer/mo_icon1.gif
ADDED
Binary file
|
includes/images/icons/sale_offer/mo_icons.gif
ADDED
Binary file
|
includes/images/icons/sale_offer/santa_sale.gif
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 |
* Author: miniOrange
|
9 |
* License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
*/
|
11 |
|
12 |
-
define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.4.
|
13 |
define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
|
14 |
define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
|
15 |
require('miniorange_openid_sso_settings_page.php');
|
@@ -67,7 +67,9 @@ class miniorange_openid_sso_settings
|
|
67 |
|
68 |
add_option('mo_openid_rateus_activation','0');
|
69 |
add_option('check_ten_rate_us','0');
|
70 |
-
|
|
|
|
|
71 |
//add shortcode
|
72 |
add_shortcode( 'miniorange_social_login', array($this, 'mo_get_output') );
|
73 |
add_shortcode( 'miniorange_social_sharing', array($this, 'mo_get_sharing_output') );
|
@@ -776,6 +778,15 @@ Thank you.';
|
|
776 |
mo_openid_show_success_message();
|
777 |
}
|
778 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
779 |
}
|
780 |
}
|
781 |
|
@@ -1032,6 +1043,34 @@ Thank you.';
|
|
1032 |
load_plugin_textdomain( 'miniorange-login-openid', FALSE, dirname( plugin_basename(__FILE__) ) . '/lang/' );
|
1033 |
|
1034 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1035 |
}
|
1036 |
|
1037 |
|
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.3
|
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.3');
|
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');
|
67 |
|
68 |
add_option('mo_openid_rateus_activation','0');
|
69 |
add_option('check_ten_rate_us','0');
|
70 |
+
//for christmas offer
|
71 |
+
add_action( 'admin_notices', array( $this, 'mo_openid_christmas_sale_offer' ) );
|
72 |
+
add_option('mo_openid_christmas_sale_status',1);
|
73 |
//add shortcode
|
74 |
add_shortcode( 'miniorange_social_login', array($this, 'mo_get_output') );
|
75 |
add_shortcode( 'miniorange_social_sharing', array($this, 'mo_get_sharing_output') );
|
778 |
mo_openid_show_success_message();
|
779 |
}
|
780 |
break;
|
781 |
+
case 'mo_openid_christmas_sale_status':
|
782 |
+
$nonce = sanitize_text_field($_POST['mo_openid_christmas_sale_status-nonce']);
|
783 |
+
if (!wp_verify_nonce($nonce, 'mo_openid_christmas_sale_status-nonce')) {
|
784 |
+
wp_die('<strong>ERROR</strong>: Please Go back and Refresh the page and try again!<br/>If you still face the same issue please contact your Administrator.');
|
785 |
+
} else {
|
786 |
+
update_option('mo_openid_christmas_sale_status',isset($_POST['mo_openid_christmas_sale_status'])? sanitize_text_field($_POST['mo_openid_christmas_sale_status']):0);
|
787 |
+
}
|
788 |
+
break;
|
789 |
+
|
790 |
}
|
791 |
}
|
792 |
|
1043 |
load_plugin_textdomain( 'miniorange-login-openid', FALSE, dirname( plugin_basename(__FILE__) ) . '/lang/' );
|
1044 |
|
1045 |
}
|
1046 |
+
function mo_openid_christmas_sale_offer(){
|
1047 |
+
if(get_option("mo_openid_christmas_sale_status")==1){
|
1048 |
+
?>
|
1049 |
+
|
1050 |
+
<div id= "christmas_sale" class="notice notice-warning " style="background-image: url(<?php echo(plugins_url( 'includes/images/icons/sale_offer/banner3.png', __FILE__ )); ?>); background-repeat: no-repeat;background-size: 100% 100%; border-left-color: #FF0000;font-family: cursive;" >
|
1051 |
+
<form id="mo_openid_christmas_sale" name="mo_openid_christmas_sale" method="post" action="">
|
1052 |
+
<input type="hidden" name="option" value="mo_openid_christmas_sale_status" />
|
1053 |
+
<input type="hidden" name="mo_openid_christmas_sale_status-nonce" value="<?php echo wp_create_nonce( 'mo_openid_christmas_sale_status-nonce' ); ?>"/>
|
1054 |
+
<button type="submit" id="mo-wc-close-christmas" class="dashicons dashicons-dismiss" onclick="myfunction()" value="1" aria-label="Dismiss this Notice" style="float:right;color: #000000;background-color: Transparent; border:none;">
|
1055 |
+
</button>
|
1056 |
+
</form>
|
1057 |
+
<img src="<?php echo(plugins_url( 'includes/images/icons/sale_offer/Christmas.png', __FILE__ )); ?>" style="height: 110px;width: 110px;float:right;padding-right: 10%;">
|
1058 |
+
<img src="<?php echo(plugins_url( 'includes/images/icons/sale_offer/santa_sale.gif', __FILE__ )); ?>" style="height: 110px;width: 110px;float:right;">
|
1059 |
+
<p style="color: #8B0000; padding: 0px;font-size: 25px;font-weight: 100"> <b>mini<img src="<?php echo(plugins_url( 'includes/images/icons/sale_offer/mo_icon1.gif', __FILE__ )); ?>" style="height: 35px;width: 35px;">range Social Login Christmas offer </b></p>
|
1060 |
+
<h1 style="color: #8B0000; font-size: 60px;font-weight: 100; padding-top: 0px;padding-bottom: 0px;>" <b>CHRISTMAS SALE!!!</b></h1>
|
1061 |
+
<h2 >Click here.
|
1062 |
+
<a id="pricing" style="background: #FF0000;border-color: #FFA335;color: white;" class="button" href="<?php echo site_url().'/wp-admin/admin.php?page=mo_openid_general_settings&tab=licensing_plans'; ?>"><?php echo mo_sl('Upgrade Now');?></a>
|
1063 |
+
</div>
|
1064 |
+
<script type="text/javascript">
|
1065 |
+
function myfunction() {
|
1066 |
+
jQuery("#christmas_sale").hide();
|
1067 |
+
}
|
1068 |
+
</script>
|
1069 |
+
<?php
|
1070 |
+
|
1071 |
+
}
|
1072 |
+
|
1073 |
+
}
|
1074 |
}
|
1075 |
|
1076 |
|
miniorange_openid_sso_settings_page.php
CHANGED
@@ -39,19 +39,6 @@ require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
|
|
39 |
require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
|
40 |
|
41 |
function mo_register_openid() {
|
42 |
-
?>
|
43 |
-
|
44 |
-
<div id="upgrade_notice" class="mo_openid_notice mo_openid_notice-warning" >
|
45 |
-
<p><b>Special WOOCOMMERCE, BUDDYPRESS & MAILCHIMP INTEGRATION PLUGINS.</b> Click here to
|
46 |
-
<a id="pricing" style="background: #FFA335;border-color: #FFA335;color: white;" class="button" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Upgrade Now');?></a>
|
47 |
-
<br>
|
48 |
-
</p>
|
49 |
-
<p><b>New SOCIAL SHARING PLUGIN </b>is available with attractive features. Click here to
|
50 |
-
<a id="pricing" style="background: #FFA335;border-color: #FFA335;color: white;" class="button" href="<?php echo site_url().'/wp-admin/admin.php?page=mo_openid_social_sharing_settings&tab=licensing_plans'; ?>"><?php echo mo_sl('Upgrade Now');?></a>
|
51 |
-
</p>
|
52 |
-
</div>
|
53 |
-
|
54 |
-
<?php
|
55 |
|
56 |
if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
|
57 |
$active_tab = $_GET[ 'tab' ];
|
@@ -82,7 +69,7 @@ function mo_register_openid() {
|
|
82 |
<td>
|
83 |
<button id="mo_openid_restart_gtour" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white; float: right" class="button" onclick="window.location= base_url+'/wp-admin/admin.php?page=mo_openid_general_settings&tab=config_apps';restart_tour()" value="Restart Tour"><?php echo mo_sl('Restart Tour');?></button>
|
84 |
</td>
|
85 |
-
<td><a id="mo_openid_setup_plugin" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white; float: right" class="button" href="https://youtu.be/
|
86 |
</tr>
|
87 |
</table>
|
88 |
</div>
|
39 |
require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
|
40 |
|
41 |
function mo_register_openid() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
|
44 |
$active_tab = $_GET[ 'tab' ];
|
69 |
<td>
|
70 |
<button id="mo_openid_restart_gtour" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white; float: right" class="button" onclick="window.location= base_url+'/wp-admin/admin.php?page=mo_openid_general_settings&tab=config_apps';restart_tour()" value="Restart Tour"><?php echo mo_sl('Restart Tour');?></button>
|
71 |
</td>
|
72 |
+
<td><a id="mo_openid_setup_plugin" style="margin-top: 23px;background: #0867B2;border-color: #0867B2;color: white; float: right" class="button" href="https://youtu.be/ln17jan6t1Y" target="_blank"><?php echo mo_sl('Setup Plugin');?></a></td>
|
73 |
</tr>
|
74 |
</table>
|
75 |
</div>
|
mo_openid_feedback_form.php
CHANGED
@@ -116,11 +116,11 @@ function mo_openid_display_feedback_form(){
|
|
116 |
else if(reason=="Login Icons are not displayed on Custom Registration/Login page"){
|
117 |
show_link='<p style="background-color:#feffb2;padding:5px 10px;">Please add <b>[miniorange_social_login]</b> shortcode on custom registration/login page. For more information please refer to the following guide: <a href="\n' +
|
118 |
'https://plugins.miniorange.com/guide-to-display-social-login-icons-using-shortcode-in-wordpress" target="_blank"><b>Shortcode Guide</b></p>';
|
119 |
-
add_text_box(2,"If you are still facing the issue please elaborate
|
120 |
}
|
121 |
else if(reason=="Confusing Interface"){
|
122 |
show_link='<p style="background-color:#feffb2;padding:5px 10px;">If you are facing issue while setting up the plugin. Please check out this ' + '<a href="https://youtu.be/ln17jan6t1Y" target="_blank"><b>Setup Video.</b></p>';
|
123 |
-
add_text_box(3,"Finding it confusing?
|
124 |
}
|
125 |
else if(reason=="Does not have the features I am looking for"){
|
126 |
add_text_box(4,"Let us know what feature are you looking for");
|
@@ -130,7 +130,7 @@ function mo_openid_display_feedback_form(){
|
|
130 |
add_text_box(5,"");
|
131 |
}
|
132 |
else if(reason=="Installing paid version"){
|
133 |
-
add_text_box(6,"Can you please let us know
|
134 |
}
|
135 |
else if(reason=="Other Reasons:"){
|
136 |
add_text_box(7,"Can you let us know the reason for deactivation?");
|
116 |
else if(reason=="Login Icons are not displayed on Custom Registration/Login page"){
|
117 |
show_link='<p style="background-color:#feffb2;padding:5px 10px;">Please add <b>[miniorange_social_login]</b> shortcode on custom registration/login page. For more information please refer to the following guide: <a href="\n' +
|
118 |
'https://plugins.miniorange.com/guide-to-display-social-login-icons-using-shortcode-in-wordpress" target="_blank"><b>Shortcode Guide</b></p>';
|
119 |
+
add_text_box(2,"If you are still facing the issue please elaborate here.");
|
120 |
}
|
121 |
else if(reason=="Confusing Interface"){
|
122 |
show_link='<p style="background-color:#feffb2;padding:5px 10px;">If you are facing issue while setting up the plugin. Please check out this ' + '<a href="https://youtu.be/ln17jan6t1Y" target="_blank"><b>Setup Video.</b></p>';
|
123 |
+
add_text_box(3,"Finding it confusing? Let us know so that we can improve the interface");
|
124 |
}
|
125 |
else if(reason=="Does not have the features I am looking for"){
|
126 |
add_text_box(4,"Let us know what feature are you looking for");
|
130 |
add_text_box(5,"");
|
131 |
}
|
132 |
else if(reason=="Installing paid version"){
|
133 |
+
add_text_box(6,"Can you please let us know which plan you have upgraded?");
|
134 |
}
|
135 |
else if(reason=="Other Reasons:"){
|
136 |
add_text_box(7,"Can you let us know the reason for deactivation?");
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vkontakte, sociallogin, cyberlord92
|
|
3 |
Donate link: https://www.miniorange.com
|
4 |
Tags: social login, facebook login, google login, twitter login, Vkontakte login, Woocommerce, social, facebook, twitter, google, login, google, social connect, social network login, social plugin, Vkontakte, LinkedIn
|
5 |
Requires at least: 2.0.2
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 7.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
|
@@ -219,6 +219,11 @@ Please email us at info@miniorange.com. You can also submit your query from the
|
|
219 |
12. Social Sharing icons without background.
|
220 |
|
221 |
==Changelog==
|
|
|
|
|
|
|
|
|
|
|
222 |
= 7.4.2 =
|
223 |
* Resolved JS and CSS issue with Buddyboss and LearnPress plugins.
|
224 |
* Resolved plugin load time issue.
|
@@ -807,6 +812,11 @@ SECURITY FIXES
|
|
807 |
* First version of Social Login, Social Sharing plugin.
|
808 |
|
809 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
810 |
= 7.4.2 =
|
811 |
* Resolved JS and CSS issue with Buddyboss and LearnPress plugins.
|
812 |
* Resolved plugin load time issue.
|
3 |
Donate link: https://www.miniorange.com
|
4 |
Tags: social login, facebook login, google login, twitter login, Vkontakte login, Woocommerce, social, facebook, twitter, google, login, google, social connect, social network login, social plugin, Vkontakte, LinkedIn
|
5 |
Requires at least: 2.0.2
|
6 |
+
Tested up to: 5.6
|
7 |
+
Stable tag: 7.4.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
|
10 |
|
219 |
12. Social Sharing icons without background.
|
220 |
|
221 |
==Changelog==
|
222 |
+
= 7.4.3 =
|
223 |
+
* Compatible with WordPress version 5.5
|
224 |
+
* New Christmas offer released.
|
225 |
+
* Minor UI changes.
|
226 |
+
|
227 |
= 7.4.2 =
|
228 |
* Resolved JS and CSS issue with Buddyboss and LearnPress plugins.
|
229 |
* Resolved plugin load time issue.
|
812 |
* First version of Social Login, Social Sharing plugin.
|
813 |
|
814 |
== Upgrade Notice ==
|
815 |
+
= 7.4.3 =
|
816 |
+
* Compatible with WordPress version 5.5
|
817 |
+
* New Christmas offer released.
|
818 |
+
* Minor UI changes.
|
819 |
+
|
820 |
= 7.4.2 =
|
821 |
* Resolved JS and CSS issue with Buddyboss and LearnPress plugins.
|
822 |
* Resolved plugin load time issue.
|
social_apps/facebook.php
CHANGED
@@ -8,7 +8,23 @@ class mo_facebook
|
|
8 |
public $instructions;
|
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 |
}
|
13 |
|
14 |
function mo_openid_get_app_code()
|
8 |
public $instructions;
|
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 ID</b> button and complete the Security Check.
|
15 |
+
##Select <b>Facebook Login</b> on products page and click on <b>Set Up</b> button.
|
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=\"mofa mofa-fw mofa-lg mofa-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 settings on left side menu and select basics option.
|
18 |
+
##Enter <b><code id='100'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#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> and <b>User Data Deletion URL</b>. Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
|
19 |
+
##Click on <b>Facebook Login</b> on the left side panel and select <b>Settings</b> option.
|
20 |
+
##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=\"mofa mofa-fw mofa-lg mofa-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.
|
21 |
+
##Change your app status to <b>In Development</b> by clicking on the toggle button. Click on <b>Switch Mode</b>.
|
22 |
+
##Go to Settings > Basic. Paste your <b>App ID</b> and <b>App Secret</b> provided by Facebook into the fields above.
|
23 |
+
##Input <b> email, public_profile </b>as scope.
|
24 |
+
##If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
|
25 |
+
##Click on the <b>Save settings</b> button.
|
26 |
+
##Go to Social Login tab to configure the display as well as other login settings.
|
27 |
+
##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
|
28 |
}
|
29 |
|
30 |
function mo_openid_get_app_code()
|
social_apps/google.php
CHANGED
@@ -9,7 +9,18 @@ class mo_google
|
|
9 |
public $instructions;
|
10 |
public function __construct() {
|
11 |
$this->site_url = get_option( 'siteurl' );
|
12 |
-
$this->instructions="Visit the Google website for developers <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">console.developers.google.com</a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
function mo_openid_get_app_code()
|
9 |
public $instructions;
|
10 |
public function __construct() {
|
11 |
$this->site_url = get_option( 'siteurl' );
|
12 |
+
$this->instructions="Visit the Google website for developers <a href=\"https://console.developers.google.com/project/\" target=\"_blank\">console.developers.google.com</a>.
|
13 |
+
##After sign-in, click on <b>Create project</b>, enter a name for the project, and optionally, edit the provided Project ID. Click <b>Create</b>.
|
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 & Developer contact info) and 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=\"mofa mofa-fw mofa-lg mofa-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>. Click on <b> Save and Continue </b> and <b> Back To Dashboard </b> from summary.
|
18 |
+
##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>.
|
19 |
+
##From <b>Application Type</b> drop down, Select <b>Web Application</b>.
|
20 |
+
##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=\"mofa mofa-fw mofa-lg mofa-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>.
|
21 |
+
##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>.
|
22 |
+
##Go to Customise Social Login Icons tab and configure the icons.";
|
23 |
+
|
24 |
}
|
25 |
|
26 |
function mo_openid_get_app_code()
|
social_apps/instagram.php
CHANGED
@@ -10,11 +10,17 @@ class mo_instagram
|
|
10 |
{
|
11 |
if (get_option('permalink_structure') !== "") {
|
12 |
$this->site_url = get_option('siteurl');
|
13 |
-
$this->instructions = "Go to
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
} else{
|
19 |
$this->instructions= "<strong style='color: red;font-weight: bold'><br>You have selected plain permalink and instagram doesnot support it.</strong><br><br> Please change the permalink to continue further.Follow the steps given below:<br>1. Go to settings from the left panel and select the permalinks option.<br>2. Plain permalink is selected ,so please select any other permalink and click on save button.<br> <strong class='mo_openid_note_style' style='color: red;font-weight: bold'> When you will change the permalink ,then you have to re-configure the already set up custom apps because that will change the redirect URL.</strong>";
|
20 |
}
|
10 |
{
|
11 |
if (get_option('permalink_structure') !== "") {
|
12 |
$this->site_url = get_option('siteurl');
|
13 |
+
$this->instructions = "Go to developers.facebook.com, click <b>My Apps</b>, and create a new app. Select <b>Build Connected Experiences</b> or <b>Something Else/For Everything Else</b>.
|
14 |
+
##Once you have created the app and are in the App Dashboard, navigate to <b>Settings > Basic</b>, scroll to the bottom of page, and click <b>Add Platform</b>.
|
15 |
+
##Choose <b>Website</b>, add your website’s URL as <b><code id='9'>" . get_option('siteurl') . "</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#9', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as <strong>website URL and save your changes.</strong>
|
16 |
+
##Click on <b>Products</b>, locate the <b>Instagram product</b>, and click <b>Set Up</b> to add it to your app.
|
17 |
+
##Scroll to the bottom of the page and click <b>Create New App</b>.
|
18 |
+
##Enter the App Display Name. Enter the redirect URL <b><code id='10'>" . mo_get_permalink('instagram') . "</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#10', '#shortcode_url1_copy')\"><span id=\"shortcode_url1_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as <strong>valid redirect URI.</strong>.
|
19 |
+
##Enter <b><code id='9'>" . get_option('siteurl') . "</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#9', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> as <strong> you <b>Deauthorize Callback URL</b> and <b>Data Deletion Request URL</b>.
|
20 |
+
##Navigate to <b>Roles</b> > Roles and scroll down to the <b>Instagram Testers</b> section. Click <b>Add Instagram Testers</b> and enter your Instagram account’s username and send the invitation.
|
21 |
+
##Change your app status from In Development to Live by clicking on OFF (sliding button) beside Status option of the top right corner.
|
22 |
+
##Open a new web browser and go to www.instagram.com and sign into your Instagram account that you just invited. Navigate to <b>(Profile Icon) > Edit Profile > Apps and Websites > Tester Invites </b>and accept the invitation.
|
23 |
+
##Click on Instagram from the left menu and then click on 'Basic Display' option, copy the <b>instagram app ID </b> and <b>instagram app secret</b> from there.";
|
24 |
} else{
|
25 |
$this->instructions= "<strong style='color: red;font-weight: bold'><br>You have selected plain permalink and instagram doesnot support it.</strong><br><br> Please change the permalink to continue further.Follow the steps given below:<br>1. Go to settings from the left panel and select the permalinks option.<br>2. Plain permalink is selected ,so please select any other permalink and click on save button.<br> <strong class='mo_openid_note_style' style='color: red;font-weight: bold'> When you will change the permalink ,then you have to re-configure the already set up custom apps because that will change the redirect URL.</strong>";
|
26 |
}
|
social_apps/twitter.php
CHANGED
@@ -9,7 +9,16 @@ class mo_twitter
|
|
9 |
public $instructions;
|
10 |
public function __construct() {
|
11 |
$this->site_url = get_option( 'siteurl' );
|
12 |
-
$this->instructions="Go to <a href=\"https://developer.twitter.com/en/apps\" target=\"_blank\">https://developer.twitter.com/en/apps</a> and sign in with your twitter account
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
function mo_openid_get_app_code()
|
9 |
public $instructions;
|
10 |
public function __construct() {
|
11 |
$this->site_url = get_option( 'siteurl' );
|
12 |
+
$this->instructions=" Go to <a href=\"https://developer.twitter.com/en/apps\" target=\"_blank\">https://developer.twitter.com/en/apps</a> and sign in with your twitter account.
|
13 |
+
##Click on <b>Create New App</b>.
|
14 |
+
##Enter App Name and click on <b> Complete </b>.
|
15 |
+
## Scroll down on keys and token page and click on <b>App Settings</b>.
|
16 |
+
##Click on <b>Edit</b> Authentication setting.
|
17 |
+
## Enable 3-legged OAuth then add callback URLs as <b><code id='7'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#7', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and Website URL as <b><code id='7'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#7', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and Save it.<br><u><b>Note:</b></u><br> <b>Twitter may not accept Website URL as local IP.</b>.
|
18 |
+
##Now click on <b>Keys and tokens</b> tab and click on <b>View Keys</b>.
|
19 |
+
##Copy <b>API key</b> and <b>API key secret</b> and paste it on App ID and App Secret respectively, Click on <b>Save & Test Configuration</b>.
|
20 |
+
##Go to Social Login tab to configure the display as well as other login settings.
|
21 |
+
";
|
22 |
}
|
23 |
|
24 |
function mo_openid_get_app_code()
|
view/licensing_plans/mo_openid_lic_plans.php
CHANGED
@@ -13,7 +13,8 @@ function mo_openid_licensing_plans()
|
|
13 |
<tr style="background-color:#F5F5F5;">
|
14 |
<th><br>
|
15 |
<h2>WooCommerce Integration Plugin</h2>
|
16 |
-
|
|
|
17 |
</th>
|
18 |
</tr>
|
19 |
<tr>
|
@@ -42,7 +43,7 @@ function mo_openid_licensing_plans()
|
|
42 |
<tr style="background-color:#F5F5F5;">
|
43 |
<th><br>
|
44 |
<h2>BuddyPress Integration Plugin</h2>
|
45 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
|
46 |
</th>
|
47 |
</tr>
|
48 |
<tr>
|
@@ -71,7 +72,7 @@ function mo_openid_licensing_plans()
|
|
71 |
<tr style="background-color:#F5F5F5;">
|
72 |
<th><br>
|
73 |
<h2>Login with Apple plan</h2>
|
74 |
-
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
|
75 |
</th>
|
76 |
</tr>
|
77 |
<tr>
|
@@ -181,8 +182,8 @@ function mo_openid_licensing_plans()
|
|
181 |
<h1>Standard</h1>
|
182 |
<h2> </h2>
|
183 |
<h1>
|
184 |
-
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>
|
185 |
-
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
186 |
</h1>
|
187 |
<h1>
|
188 |
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">189 - 10 Instance</h1>
|
@@ -879,8 +880,8 @@ function mo_openid_licensing_plans_addon()
|
|
879 |
<h1>Custom Registration Form</h1>
|
880 |
<h1>Add-On</h1>
|
881 |
<h1>
|
882 |
-
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>
|
883 |
-
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">
|
884 |
<h3>Features/ Plan</h3></th>
|
885 |
</tr>
|
886 |
<tr>
|
@@ -918,17 +919,18 @@ function mo_openid_licensing_plans_addon()
|
|
918 |
<td>Synchronization existing meta field</td>
|
919 |
</tr>
|
920 |
<tr>
|
921 |
-
<td><a
|
922 |
-
|
923 |
-
|
924 |
</tr>
|
925 |
</tbody>
|
926 |
</table>
|
927 |
</div>
|
928 |
</div>
|
929 |
</div>
|
930 |
-
|
931 |
<div class="clear">
|
|
|
932 |
<hr>
|
933 |
<h3>Refund Policy -</h3>
|
934 |
<p><b>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you
|
13 |
<tr style="background-color:#F5F5F5;">
|
14 |
<th><br>
|
15 |
<h2>WooCommerce Integration Plugin</h2>
|
16 |
+
|
17 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
|
18 |
</th>
|
19 |
</tr>
|
20 |
<tr>
|
43 |
<tr style="background-color:#F5F5F5;">
|
44 |
<th><br>
|
45 |
<h2>BuddyPress Integration Plugin</h2>
|
46 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
|
47 |
</th>
|
48 |
</tr>
|
49 |
<tr>
|
72 |
<tr style="background-color:#F5F5F5;">
|
73 |
<th><br>
|
74 |
<h2>Login with Apple plan</h2>
|
75 |
+
<h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike> <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">25</h1>
|
76 |
</th>
|
77 |
</tr>
|
78 |
<tr>
|
182 |
<h1>Standard</h1>
|
183 |
<h2> </h2>
|
184 |
<h1>
|
185 |
+
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>39</strike>
|
186 |
+
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29 - 1 Instance</h1>
|
187 |
</h1>
|
188 |
<h1>
|
189 |
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">189 - 10 Instance</h1>
|
880 |
<h1>Custom Registration Form</h1>
|
881 |
<h1>Add-On</h1>
|
882 |
<h1>
|
883 |
+
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>25</strike>
|
884 |
+
<img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
|
885 |
<h3>Features/ Plan</h3></th>
|
886 |
</tr>
|
887 |
<tr>
|
919 |
<td>Synchronization existing meta field</td>
|
920 |
</tr>
|
921 |
<tr>
|
922 |
+
<td><a style="cursor: pointer" onclick="mo_openid_support_form('')"><?php echo mo_sl('Contact Us using Support Form');?>
|
923 |
+
|
924 |
+
|
925 |
</tr>
|
926 |
</tbody>
|
927 |
</table>
|
928 |
</div>
|
929 |
</div>
|
930 |
</div>
|
931 |
+
<br>
|
932 |
<div class="clear">
|
933 |
+
|
934 |
<hr>
|
935 |
<h3>Refund Policy -</h3>
|
936 |
<p><b>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you
|
view/soc_sha/soc_apps/mo_openid_sharing.php
CHANGED
@@ -203,8 +203,8 @@ function mo_openid_share_apps()
|
|
203 |
<td style="width:20%">
|
204 |
|
205 |
|
206 |
-
<label class="
|
207 |
-
<input type="checkbox" id="mo_openid_amazon_wishlist_share_enable"
|
208 |
<span class="mo_openid_checkbox_checkmark"></span>
|
209 |
<a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
|
210 |
</label>
|
203 |
<td style="width:20%">
|
204 |
|
205 |
|
206 |
+
<label class="mo_openid_checkbox_container"><?php echo mo_sl('Amazon_wishlist');?>
|
207 |
+
<input disabled type="checkbox" id="mo_openid_amazon_wishlist_share_enable" />
|
208 |
<span class="mo_openid_checkbox_checkmark"></span>
|
209 |
<a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
|
210 |
</label>
|