Version Description
- Text domain fixed
- German translations updated
Download this release
Release Info
Developer | ClaudeSchlesser |
Plugin | Social Login |
Version | 5.5.0 |
Comparing to | |
See all releases |
Code changes from version 5.4.4 to 5.5.0
- assets/css/admin.css +6 -2
- includes/admin.php +237 -170
- includes/toolbox.php +47 -36
- includes/user_interface.php +20 -20
- includes/widget.php +12 -12
- languages/oa-social-login-de_DE.mo +0 -0
- languages/{oa_social_login-de_DE.po → oa-social-login-de_DE.po} +477 -309
- languages/{oa_social_login-fr_CA.mo → oa-social-login-fr_CA.mo} +0 -0
- languages/{oa_social_login-fr_CA.po → oa-social-login-fr_CA.po} +0 -0
- languages/{oa_social_login-fr_FR.mo → oa-social-login-fr_FR.mo} +0 -0
- languages/{oa_social_login-fr_FR.po → oa-social-login-fr_FR.po} +0 -0
- languages/oa_social_login-de_DE.mo +0 -0
- oa-social-login.php +11 -10
- readme.txt +20 -5
assets/css/admin.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/* ********************* Page Wrapper */
|
2 |
#oa_social_login_page {
|
3 |
-
max-width:
|
4 |
}
|
5 |
|
6 |
#oa_social_login_page.oa_social_login_more {
|
@@ -162,11 +162,15 @@
|
|
162 |
margin: 0 0 25px;
|
163 |
}
|
164 |
|
165 |
-
.oa_social_login_table textarea,
|
166 |
.oa_social_login_table input {
|
167 |
border-color: #aaa;
|
168 |
}
|
169 |
|
|
|
|
|
|
|
|
|
|
|
170 |
.oa_social_login_table tr.row_head th {
|
171 |
font-size: 14px;
|
172 |
font-weight: bold;
|
1 |
/* ********************* Page Wrapper */
|
2 |
#oa_social_login_page {
|
3 |
+
max-width: 1024px;
|
4 |
}
|
5 |
|
6 |
#oa_social_login_page.oa_social_login_more {
|
162 |
margin: 0 0 25px;
|
163 |
}
|
164 |
|
|
|
165 |
.oa_social_login_table input {
|
166 |
border-color: #aaa;
|
167 |
}
|
168 |
|
169 |
+
.oa_social_login_table textarea{
|
170 |
+
border-color: #aaa;
|
171 |
+
width: 100%;
|
172 |
+
}
|
173 |
+
|
174 |
.oa_social_login_table tr.row_head th {
|
175 |
font-size: 14px;
|
176 |
font-weight: bold;
|
includes/admin.php
CHANGED
@@ -11,7 +11,7 @@ function oa_social_login_admin_user_column_add ($columns)
|
|
11 |
//Add column if enabled
|
12 |
if (!empty ($settings ['plugin_add_column_user_list']))
|
13 |
{
|
14 |
-
$columns ['oa_social_login_registration'] = __ ('Registration', '
|
15 |
}
|
16 |
return $columns;
|
17 |
}
|
@@ -52,7 +52,7 @@ function oa_social_login_admin_user_colum_display ($value, $column_name, $user_i
|
|
52 |
//Traditional Registration
|
53 |
else
|
54 |
{
|
55 |
-
return __ ('Registration Form', '
|
56 |
}
|
57 |
}
|
58 |
add_action ('manage_users_custom_column', 'oa_social_login_admin_user_colum_display', 10, 3);
|
@@ -64,7 +64,7 @@ add_action ('manage_users_custom_column', 'oa_social_login_admin_user_colum_disp
|
|
64 |
function oa_social_login_admin_menu ()
|
65 |
{
|
66 |
//Setup
|
67 |
-
$page = add_menu_page ('OneAll Social Login ' . __ ('Setup', '
|
68 |
add_action ('admin_print_styles-' . $page, 'oa_social_login_admin_css');
|
69 |
|
70 |
//Settings
|
@@ -79,12 +79,12 @@ function oa_social_login_admin_menu ()
|
|
79 |
global $submenu;
|
80 |
if (is_array ($submenu) AND isset ($submenu ['oa_social_login_setup']))
|
81 |
{
|
82 |
-
$submenu ['oa_social_login_setup'] [0] [0] = __ ('Setup', '
|
83 |
}
|
84 |
-
|
85 |
add_action ('admin_enqueue_scripts', 'oa_social_login_admin_js');
|
86 |
add_action ('admin_init', 'oa_register_social_login_settings');
|
87 |
add_action ('admin_notices', 'oa_social_login_admin_message');
|
|
|
88 |
}
|
89 |
add_action ('admin_menu', 'oa_social_login_admin_menu');
|
90 |
|
@@ -124,17 +124,84 @@ add_action ('pre_comment_approved', 'oa_social_login_admin_pre_comment_approved'
|
|
124 |
|
125 |
|
126 |
/**
|
127 |
-
* Add an activation message to be displayed once
|
128 |
*/
|
129 |
function oa_social_login_admin_message ()
|
130 |
{
|
131 |
if (get_option ('oa_social_login_activation_message') !== '1')
|
132 |
{
|
133 |
-
echo '<div class="updated"><p><strong>' . __ ('Thank you for using Social Login!', '
|
134 |
update_option ('oa_social_login_activation_message', '1');
|
135 |
}
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
/**
|
140 |
* Autodetect API Connection Handler
|
@@ -321,21 +388,21 @@ function oa_social_login_admin_js ($hook)
|
|
321 |
wp_localize_script ('oa_social_login_admin_js', 'objectL10n',
|
322 |
array (
|
323 |
'oa_social_login_ajax_nonce' => $oa_social_login_ajax_nonce,
|
324 |
-
'oa_admin_js_1' => __ ('Contacting API - please wait this may take a few minutes ...', '
|
325 |
-
'oa_admin_js_101' => __ ('The settings are correct - do not forget to save your changes!', '
|
326 |
-
'oa_admin_js_111' => __ ('Please fill out each of the fields above.', '
|
327 |
-
'oa_admin_js_112' => __ ('The subdomain does not exist. Have you filled it out correctly?', '
|
328 |
-
'oa_admin_js_113' => __ ('The subdomain has a wrong syntax!', '
|
329 |
-
'oa_admin_js_114' => __ ('Could not contact API. Are outbound requests on port 443 allowed?', '
|
330 |
-
'oa_admin_js_115' => __ ('The API subdomain is correct, but one or both keys are invalid', '
|
331 |
-
'oa_admin_js_116' => __ ('Connection handler does not work, try using the Autodetection', '
|
332 |
-
'oa_admin_js_201a' => __ ('Detected CURL on Port 443 - do not forget to save your changes!', '
|
333 |
-
'oa_admin_js_201b' => __ ('Detected CURL on Port 80 - do not forget to save your changes!', '
|
334 |
-
'oa_admin_js_201c' => __ ('CURL is available but both ports (80, 443) are blocked for outbound requests', '
|
335 |
-
'oa_admin_js_202a' => __ ('Detected FSOCKOPEN on Port 443 - do not forget to save your changes!', '
|
336 |
-
'oa_admin_js_202b' => __ ('Detected FSOCKOPEN on Port 80 - do not forget to save your changes!', '
|
337 |
-
'oa_admin_js_202c' => __ ('FSOCKOPEN is available but both ports (80, 443) are blocked for outbound requests', '
|
338 |
-
'oa_admin_js_211' => sprintf (__ ('Autodetection Error - our <a href="%s" target="_blank">documentation</a> helps you fix this issue.', '
|
339 |
));
|
340 |
}
|
341 |
}
|
@@ -531,7 +598,7 @@ function oa_social_login_settings_validate ($settings)
|
|
531 |
|
532 |
|
533 |
//Multiple settings
|
534 |
-
$sanitzed_settings ['plugin_show_avatars_in_comments'] = (in_array ($sanitzed_settings ['plugin_show_avatars_in_comments'], array (0, 1, 2)) ? $sanitzed_settings ['plugin_show_avatars_in_comments'] :
|
535 |
|
536 |
//Redirection Settings: Widget & Shortcode Login
|
537 |
$sanitzed_settings ['plugin_shortcode_login_redirect'] = (in_array ($sanitzed_settings ['plugin_shortcode_login_redirect'], array ('current','dashboard','homepage','custom')) ? $sanitzed_settings ['plugin_shortcode_login_redirect'] : 'current');
|
@@ -610,34 +677,34 @@ function oa_display_social_login_more ()
|
|
610 |
<h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
|
611 |
|
612 |
<h2 class="nav-tab-wrapper">
|
613 |
-
<a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', '
|
614 |
-
<a class="nav-tab" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', '
|
615 |
-
<a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_more"><?php _e ('+More', '
|
616 |
</h2>
|
617 |
|
618 |
<p></p>
|
619 |
|
620 |
<div class="oa_social_login_box" id="oa_social_login_box_help">
|
621 |
<ul>
|
622 |
-
<li><?php printf (__ ('<a target="_blank" href="%s">Follow us on Twitter</a> to stay informed about updates', '
|
623 |
-
<li><?php printf (__ ('<a target="_blank" href="%s">Read the online documentation</a> for more information about this plugin', '
|
624 |
-
<li><?php printf (__ ('<a target="_blank" href="%s">Contact us</a> if you have feedback or need assistance', '
|
625 |
-
<li><?php printf (__ ('We also have <a target="_blank" href="%s">turnkey plugins</a> for Drupal, PrestaShop, Joomla, phpBB andy many others ...', '
|
626 |
</li>
|
627 |
</ul>
|
628 |
</div>
|
629 |
|
630 |
-
<h1><?php _e ('Discover our other plugins!', '
|
631 |
<?php
|
632 |
$more_url = admin_url('plugin-install.php?s=share+buttons+oneall&tab=search&type=term');
|
633 |
?>
|
634 |
<div class="oa_social_login_plugin">
|
635 |
<div class="oa_social_login_plugin_img">
|
636 |
-
<a href="<?php echo $more_url; ?>"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/social_sharing.png' ?>" alt="<?php _e ('Social Login', '
|
637 |
</div>
|
638 |
<div class="oa_social_login_plugin_desc">
|
639 |
-
<?php _e ('Allow your visitors to comment, login and register with 40+ social networks like for example Twitter, Facebook, Pinterest, Instagram, Paypal, LinkedIn, OpenID, VKontakte or Google+. Easy to use and 100% FREE.', '
|
640 |
-
<a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', '
|
641 |
</div>
|
642 |
</div>
|
643 |
|
@@ -646,11 +713,11 @@ function oa_display_social_login_more ()
|
|
646 |
?>
|
647 |
<div class="oa_social_login_plugin">
|
648 |
<div class="oa_social_login_plugin_img">
|
649 |
-
<a href="<?php echo $more_url; ?>"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/loudvoice.png' ?>" alt="<?php _e ('LoudVoice Comment System', '
|
650 |
</div>
|
651 |
<div class="oa_social_login_plugin_desc">
|
652 |
-
<?php _e ('LoudVoice replaces the basic WordPress comments by a powerful comment system that includes logging in with 40+ social networks, spam filters and more. Easy to use and 100% FREE. Existing comments can be imported!', '
|
653 |
-
<a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', '
|
654 |
</div>
|
655 |
</div>
|
656 |
|
@@ -659,11 +726,11 @@ function oa_display_social_login_more ()
|
|
659 |
?>
|
660 |
<div class="oa_social_login_plugin">
|
661 |
<div class="oa_social_login_plugin_img">
|
662 |
-
<a href="<?php echo $more_url; ?>"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/single-sign-on.png' ?>" alt="<?php _e ('Single Sign-On', '
|
663 |
</div>
|
664 |
<div class="oa_social_login_plugin_desc">
|
665 |
-
<?php _e ('Automatically creates accounts and signs users in as they browse between multiple and independent WordPress blogs or websites in your network. Take away the need for your users to create new accounts or re-enter their authentication credentials on every of your websites.', '
|
666 |
-
<a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', '
|
667 |
</div>
|
668 |
</div>
|
669 |
</div>
|
@@ -684,32 +751,32 @@ function oa_display_social_login_setup ()
|
|
684 |
<div id="oa_social_login_page" class="oa_social_login_setup">
|
685 |
<h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
|
686 |
<h2 class="nav-tab-wrapper">
|
687 |
-
<a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', '
|
688 |
-
<a class="nav-tab" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', '
|
689 |
-
<a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', '
|
690 |
</h2>
|
691 |
<?php
|
692 |
if (get_option ('oa_social_login_api_settings_verified') !== '1')
|
693 |
{
|
694 |
?>
|
695 |
<p>
|
696 |
-
<?php _e ('Allow your visitors to comment, login and register with 40+ Social Networks like for example Twitter, Facebook, LinkedIn, Instagram, VKontakte, Google or Yahoo.', '
|
697 |
-
<strong><?php _e ('Draw a larger audience and increase your user engagement in a few simple steps.', '
|
698 |
</p>
|
699 |
<div class="oa_social_login_box" id="oa_social_login_box_started">
|
700 |
<div class="oa_social_login_box_title">
|
701 |
-
<?php _e ('Thank you for using Social Login', '
|
702 |
</div>
|
703 |
<p>
|
704 |
-
<?php printf (__ ('To be able to use this plugin you first of all need to create a free account at %s. By using OneAll you will be sure that your social media integration will always run smoothly and with the most up-to-date calls.', '
|
705 |
</p>
|
706 |
<p>
|
707 |
-
<?php _e ('After having created your account and setup a Site, please enter the Site settings below.', '
|
708 |
-
<?php _e ("Don't worry the setup is free and takes only a few minutes!", '
|
709 |
-
<?php printf (__ ('You are in good company! This plugin is used on more than %s websites!', '
|
710 |
</p>
|
711 |
<p class="oa_social_login_button_wrap">
|
712 |
-
<a class="button-secondary" href="https://app.oneall.com/signup/wp" target="_blank"><strong><?php _e ('Click here to setup your free account', '
|
713 |
</p>
|
714 |
<h3>
|
715 |
|
@@ -723,11 +790,11 @@ function oa_display_social_login_setup ()
|
|
723 |
<p></p>
|
724 |
<div class="oa_social_login_box" id="oa_social_login_box_status">
|
725 |
<p>
|
726 |
-
<?php _e ('Login to your OneAll account to manage your social networks and to access your Social Analytics, Graphs & Statistics.', '
|
727 |
</p>
|
728 |
<p class="oa_social_login_button_wrap">
|
729 |
-
<a class="button-secondary" href="https://app.oneall.com/signin/" target="_blank"><strong><?php _e ('Login to my OneAll account', '
|
730 |
-
<a class="button-secondary" href="https://app.oneall.com/insights/" target="_blank"><strong><?php _e ('Access my Social Analytics', '
|
731 |
</p>
|
732 |
</div>
|
733 |
<?php
|
@@ -737,8 +804,8 @@ function oa_display_social_login_setup ()
|
|
737 |
|
738 |
<div class="oa_social_login_box" id="oa_social_login_box_help">
|
739 |
<ul>
|
740 |
-
<li><?php printf (__ ('Checkout the <a target="_blank" href="%s">online documentation</a> for more information about this plugin', '
|
741 |
-
<li><?php printf (__ ('Do not hesitate to <a target="_blank" href="%s">contact us</a> if you have feedback or need assistance', '
|
742 |
</ul>
|
743 |
</div>
|
744 |
<?php
|
@@ -746,7 +813,7 @@ function oa_display_social_login_setup ()
|
|
746 |
{
|
747 |
?>
|
748 |
<div class="oa_social_login_box" id="oa_social_login_box_updated">
|
749 |
-
<?php _e ('Your modifications have been saved successfully!'); ?>
|
750 |
</div>
|
751 |
<?php
|
752 |
}
|
@@ -758,7 +825,7 @@ function oa_display_social_login_setup ()
|
|
758 |
?>
|
759 |
<table class="form-table oa_social_login_table">
|
760 |
<tr class="row_head">
|
761 |
-
<th colspan="2"><?php _e ('API Connection Handler', '
|
762 |
</th>
|
763 |
</tr>
|
764 |
<?php
|
@@ -766,19 +833,19 @@ function oa_display_social_login_setup ()
|
|
766 |
?>
|
767 |
<tr class="row_even">
|
768 |
<td rowspan="2" class="row_multi" style="width:200px">
|
769 |
-
<label><?php _e ('API Connection Handler', '
|
770 |
</td>
|
771 |
<td>
|
772 |
<input type="radio" id="oa_social_login_api_connection_handler_curl" name="oa_social_login_settings[api_connection_handler]" value="curl" <?php echo (($api_connection_handler <> 'fsockopen') ? 'checked="checked"' : ''); ?> />
|
773 |
-
<label for="oa_social_login_api_connection_handler_curl"><?php _e ('Use PHP CURL to communicate with the API', '
|
774 |
-
<span class="description"><?php _e ('Using CURL is recommended but it might be disabled on some servers.', '
|
775 |
</td>
|
776 |
</tr>
|
777 |
<tr class="row_even">
|
778 |
<td>
|
779 |
<input type="radio" id="oa_social_login_api_connection_handler_fsockopen" name="oa_social_login_settings[api_connection_handler]" value="fsockopen" <?php echo (($api_connection_handler == 'fsockopen') ? 'checked="checked"' : ''); ?> />
|
780 |
-
<label for="oa_social_login_api_connection_handler_fsockopen"><?php _e ('Use PHP FSOCKOPEN to communicate with the API', '
|
781 |
-
<span class="description"><?php _e ('Try using FSOCKOPEN if you encounter any problems with CURL.', '
|
782 |
</td>
|
783 |
</tr>
|
784 |
<?php
|
@@ -786,24 +853,24 @@ function oa_display_social_login_setup ()
|
|
786 |
?>
|
787 |
<tr class="row_even">
|
788 |
<td rowspan="2" class="row_multi" style="width:200px">
|
789 |
-
<label><?php _e ('API Connection Port', '
|
790 |
</td>
|
791 |
<td>
|
792 |
<input type="radio" id="oa_social_login_api_connection_handler_use_https_1" name="oa_social_login_settings[api_connection_use_https]" value="1" <?php echo ($api_connection_use_https ? 'checked="checked"' : ''); ?> />
|
793 |
-
<label for="oa_social_login_api_connection_handler_use_https_1"><?php _e ('Communication via HTTPS on port 443', '
|
794 |
-
<span class="description"><?php _e ('Using port 443 is secure but you might need OpenSSL', '
|
795 |
</td>
|
796 |
</tr>
|
797 |
<tr class="row_even">
|
798 |
<td>
|
799 |
<input type="radio" id="oa_social_login_api_connection_handler_use_https_0" name="oa_social_login_settings[api_connection_use_https]" value="0" <?php echo (!$api_connection_use_https ? 'checked="checked"' : ''); ?> />
|
800 |
-
<label for="oa_social_login_api_connection_handler_use_https_0"><?php _e ('Communication via HTTP on port 80', '
|
801 |
-
<span class="description"><?php _e ("Using port 80 is a bit faster, doesn't need OpenSSL but is less secure", '
|
802 |
</td>
|
803 |
</tr>
|
804 |
<tr class="row_foot">
|
805 |
<td>
|
806 |
-
<a class="button-primary" id="oa_social_login_autodetect_api_connection_handler" href="#"><?php _e ('Autodetect API Connection', '
|
807 |
</td>
|
808 |
<td>
|
809 |
<div id="oa_social_login_api_connection_handler_result"></div>
|
@@ -813,14 +880,14 @@ function oa_display_social_login_setup ()
|
|
813 |
<table class="form-table oa_social_login_table">
|
814 |
<tr class="row_head">
|
815 |
<th>
|
816 |
-
<?php _e ('API Settings', '
|
817 |
</th>
|
818 |
-
<th><a href="https://app.oneall.com/applications/" target="_blank"><?php _e ('Click here to create and view your API Credentials', '
|
819 |
</th>
|
820 |
</tr>
|
821 |
<tr class="row_even">
|
822 |
<td style="width:200px">
|
823 |
-
<label for="oa_social_login_settings_api_subdomain"><?php _e ('API Subdomain', '
|
824 |
</td>
|
825 |
<td>
|
826 |
<input type="text" id="oa_social_login_settings_api_subdomain" name="oa_social_login_settings[api_subdomain]" size="65" value="<?php echo (isset ($settings ['api_subdomain']) ? htmlspecialchars ($settings ['api_subdomain']) : ''); ?>" />
|
@@ -828,7 +895,7 @@ function oa_display_social_login_setup ()
|
|
828 |
</tr>
|
829 |
<tr class="row_odd">
|
830 |
<td style="width:200px">
|
831 |
-
<label for="oa_social_login_settings_api_key"><?php _e ('API Public Key', '
|
832 |
</td>
|
833 |
<td>
|
834 |
<input type="text" id="oa_social_login_settings_api_key" name="oa_social_login_settings[api_key]" size="65" value="<?php echo (isset ($settings ['api_key']) ? htmlspecialchars ($settings ['api_key']) : ''); ?>" />
|
@@ -836,7 +903,7 @@ function oa_display_social_login_setup ()
|
|
836 |
</tr>
|
837 |
<tr class="row_even">
|
838 |
<td style="width:200px">
|
839 |
-
<label for="oa_social_login_settings_api_secret"><?php _e ('API Private Key', '
|
840 |
</td>
|
841 |
<td>
|
842 |
<input type="text" id="oa_social_login_settings_api_secret" name="oa_social_login_settings[api_secret]" size="65" value="<?php echo (isset ($settings ['api_secret']) ? htmlspecialchars ($settings ['api_secret']) : ''); ?>" />
|
@@ -844,7 +911,7 @@ function oa_display_social_login_setup ()
|
|
844 |
</tr>
|
845 |
<tr class="row_foot">
|
846 |
<td>
|
847 |
-
<a class="button-primary" id="oa_social_login_test_api_settings" href="#"><?php _e ('Verify API Settings', '
|
848 |
</td>
|
849 |
<td>
|
850 |
<div id="oa_social_login_api_test_result"></div>
|
@@ -854,7 +921,7 @@ function oa_display_social_login_setup ()
|
|
854 |
|
855 |
<table class="form-table oa_social_login_table">
|
856 |
<tr class="row_head">
|
857 |
-
<th colspan="2"><?php _e ('JavaScript Settings', '
|
858 |
</th>
|
859 |
</tr>
|
860 |
<?php
|
@@ -884,19 +951,19 @@ function oa_display_social_login_setup ()
|
|
884 |
?>
|
885 |
<tr class="row_even">
|
886 |
<td rowspan="2" class="row_multi" style="width:200px">
|
887 |
-
<label><?php _e ('JavaScript Usage', '
|
888 |
</td>
|
889 |
<td>
|
890 |
<input type="radio" id="oa_social_login_asynchronous_javascript_1" name="oa_social_login_settings[asynchronous_javascript]" value="1" <?php echo ( ! empty ($asynchronous_javascript) ? 'checked="checked"' : ''); ?> />
|
891 |
-
<label for="oa_social_login_asynchronous_javascript_1"><?php _e ('Asynchronous JavaScript', '
|
892 |
-
<span class="description"><?php _e ('Background loading without interfering with the display and behavior of the existing page.', '
|
893 |
</td>
|
894 |
</tr>
|
895 |
<tr class="row_even">
|
896 |
<td>
|
897 |
<input type="radio" id="oa_social_login_asynchronous_javascript_0" name="oa_social_login_settings[asynchronous_javascript]" value="0" <?php echo (empty ($asynchronous_javascript) ? 'checked="checked"' : ''); ?> />
|
898 |
-
<label for="oa_social_login_asynchronous_javascript_0"><?php _e ('Synchronous JavaScript', '
|
899 |
-
<span class="description"><?php _e ('Real-time loading when the page is being rendered by the browser.', '
|
900 |
</td>
|
901 |
</tr>
|
902 |
</table>
|
@@ -904,7 +971,7 @@ function oa_display_social_login_setup ()
|
|
904 |
<table class="form-table oa_social_login_table">
|
905 |
<tr class="row_head">
|
906 |
<th colspan="2">
|
907 |
-
<?php _e ('Enable the social networks/identity providers of your choice', '
|
908 |
</th>
|
909 |
</tr>
|
910 |
<?php
|
@@ -924,7 +991,7 @@ function oa_display_social_login_setup ()
|
|
924 |
<?php
|
925 |
if (in_array ($key, array ('vkontakte', 'mailru', 'odnoklassniki')))
|
926 |
{
|
927 |
-
echo ' - ' . sprintf (__ ('To enable cyrillic usernames, you might need <a target="_blank" href="%s">this plugin</a>', '
|
928 |
}
|
929 |
?>
|
930 |
</td>
|
@@ -935,7 +1002,7 @@ function oa_display_social_login_setup ()
|
|
935 |
</table>
|
936 |
<p class="submit">
|
937 |
<input type="hidden" name="page" value="setup" />
|
938 |
-
<input type="submit" class="button-primary" value="<?php _e ('Save Changes', '
|
939 |
</p>
|
940 |
</form>
|
941 |
</div>
|
@@ -954,9 +1021,9 @@ function oa_display_social_login_settings ()
|
|
954 |
<div id="oa_social_login_page" class="oa_social_login_settings">
|
955 |
<h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
|
956 |
<h2 class="nav-tab-wrapper">
|
957 |
-
<a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', '
|
958 |
-
<a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', '
|
959 |
-
<a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', '
|
960 |
</h2>
|
961 |
<p></p>
|
962 |
<form method="post" action="options.php">
|
@@ -966,13 +1033,13 @@ function oa_display_social_login_settings ()
|
|
966 |
?>
|
967 |
<div class="oa_social_login_box" id="oa_social_login_box_help">
|
968 |
<div class="oa_social_login_box_title">
|
969 |
-
<?php _e ('Logout to see the plugin in action!', '
|
970 |
</div>
|
971 |
<p>
|
972 |
<?php
|
973 |
-
_e ('Social Login is a plugin that allows your users to comment, login and register with their existing Social Network accounts. If a user is already logged in, the plugin will not be displayed. There is no need to give the user the possibility to connect with a social network if he is already connected.', '
|
974 |
?>
|
975 |
-
<strong><?php _e ('You therefore have to logout to see the plugin in action.', '
|
976 |
</p>
|
977 |
</div>
|
978 |
<?php
|
@@ -980,7 +1047,7 @@ function oa_display_social_login_settings ()
|
|
980 |
{
|
981 |
?>
|
982 |
<div class="oa_social_login_box" id="oa_social_login_box_updated">
|
983 |
-
<?php _e ('Your modifications have been saved successfully!', '
|
984 |
</div>
|
985 |
<?php
|
986 |
}
|
@@ -988,25 +1055,25 @@ function oa_display_social_login_settings ()
|
|
988 |
<table class="form-table oa_social_login_table">
|
989 |
<tr class="row_head">
|
990 |
<th>
|
991 |
-
<?php _e ('General Settings', '
|
992 |
</th>
|
993 |
</tr>
|
994 |
<tr class="row_odd">
|
995 |
<td>
|
996 |
-
<strong><?php _e ('Enter the description to be displayed above the Social Login buttons (leave empty for none):', '
|
997 |
</td>
|
998 |
</tr>
|
999 |
<tr class="row_even">
|
1000 |
<td>
|
1001 |
<?php
|
1002 |
-
$plugin_caption = (isset ($settings ['plugin_caption']) ? $settings ['plugin_caption'] : __ ('Connect with:', '
|
1003 |
?>
|
1004 |
<input type="text" name="oa_social_login_settings[plugin_caption]" size="90" value="<?php echo htmlspecialchars ($plugin_caption); ?>" />
|
1005 |
</td>
|
1006 |
</tr>
|
1007 |
<tr class="row_odd">
|
1008 |
<td>
|
1009 |
-
<strong><?php _e ("Please select the icon theme to use per default:", '
|
1010 |
</td>
|
1011 |
</tr>
|
1012 |
<tr class="row_even">
|
@@ -1014,14 +1081,14 @@ function oa_display_social_login_settings ()
|
|
1014 |
<?php
|
1015 |
$plugin_icon_theme = ((isset ($settings ['plugin_icon_theme']) AND in_array ($settings ['plugin_icon_theme'], array (0, 1, 2))) ? $settings ['plugin_icon_theme'] : 0);
|
1016 |
?>
|
1017 |
-
<input type="radio" id="plugin_icon_theme_0" name="oa_social_login_settings[plugin_icon_theme]" value="0" <?php echo ($plugin_icon_theme == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_0"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_classic.png' ?>" alt="<?php _e('Classic', '
|
1018 |
-
<input type="radio" id="plugin_icon_theme_1" name="oa_social_login_settings[plugin_icon_theme]" value="1" <?php echo ($plugin_icon_theme == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_1"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_modern.png' ?>" alt="<?php _e('Modern', '
|
1019 |
-
<input type="radio" id="plugin_icon_theme_2" name="oa_social_login_settings[plugin_icon_theme]" value="2" <?php echo ($plugin_icon_theme == 2 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_2"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_small.png' ?>" alt="<?php _e('Small', '
|
1020 |
</td>
|
1021 |
</tr>
|
1022 |
<tr class="row_odd">
|
1023 |
<td>
|
1024 |
-
<strong><?php _e ('Do you want to display the social networks used to connect in the user list of the administration area ?', '
|
1025 |
</td>
|
1026 |
</tr>
|
1027 |
<tr class="row_even">
|
@@ -1029,13 +1096,13 @@ function oa_display_social_login_settings ()
|
|
1029 |
<?php
|
1030 |
$plugin_add_column_user_list = ((isset ($settings ['plugin_add_column_user_list']) AND in_array ($settings ['plugin_add_column_user_list'], array (0, 1))) ? $settings ['plugin_add_column_user_list'] : 0);
|
1031 |
?>
|
1032 |
-
<input type="radio" id="plugin_add_column_user_list_1" name="oa_social_login_settings[plugin_add_column_user_list]" value="1" <?php echo ($plugin_add_column_user_list == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_1"><?php _e ('Yes, add a new column to the user list and display the social network that the user connected with', '
|
1033 |
-
<input type="radio" id="plugin_add_column_user_list_0" name="oa_social_login_settings[plugin_add_column_user_list]" value="0" <?php echo ($plugin_add_column_user_list == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_0"><?php _e ('No, do not display the social networks in the user list', '
|
1034 |
</td>
|
1035 |
</tr>
|
1036 |
<tr class="row_odd">
|
1037 |
<td>
|
1038 |
-
<strong><?php _e ('Do you want to receive an email whenever a new user registers with Social Login ?', '
|
1039 |
</td>
|
1040 |
</tr>
|
1041 |
<tr class="row_even">
|
@@ -1043,20 +1110,20 @@ function oa_display_social_login_settings ()
|
|
1043 |
<?php
|
1044 |
$plugin_notify_admin = ((isset ($settings ['plugin_notify_admin']) AND in_array ($settings ['plugin_notify_admin'], array (0, 1))) ? $settings ['plugin_notify_admin'] : 1);
|
1045 |
?>
|
1046 |
-
<input type="radio" id="plugin_notify_admin_1" name="oa_social_login_settings[plugin_notify_admin]" value="1" <?php echo ($plugin_notify_admin == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_notify_admin_1"><?php _e ('Yes, send me an email whenever a new user registers with Social Login', '
|
1047 |
-
<input type="radio" id="plugin_notify_admin_0" name="oa_social_login_settings[plugin_notify_admin]" value="0" <?php echo ($plugin_notify_admin == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_notify_admin_0"><?php _e ('No, do not send me any emails', '
|
1048 |
</td>
|
1049 |
</tr>
|
1050 |
</table>
|
1051 |
<table class="form-table oa_social_login_table">
|
1052 |
<tr class="row_head">
|
1053 |
<th>
|
1054 |
-
<?php _e ('User Settings', '
|
1055 |
</th>
|
1056 |
</tr>
|
1057 |
<tr class="row_odd">
|
1058 |
<td>
|
1059 |
-
<strong><?php _e ("If the user's social network profile has no email address, should we ask the user to enter it manually?", '
|
1060 |
</td>
|
1061 |
</tr>
|
1062 |
<tr class="row_even">
|
@@ -1064,15 +1131,15 @@ function oa_display_social_login_settings ()
|
|
1064 |
<?php
|
1065 |
$plugin_require_email = ((isset ($settings ['plugin_require_email']) AND in_array ($settings ['plugin_require_email'], array (0, 1))) ? $settings ['plugin_require_email'] : 0);
|
1066 |
?>
|
1067 |
-
<input type="radio" id="plugin_require_email_0" name="oa_social_login_settings[plugin_require_email]" value="0" <?php echo ($plugin_require_email == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_require_email_0"><?php _e ('No, simplify the registration by automatically creating a placeholder email', '
|
1068 |
-
<input type="radio" id="plugin_require_email_1" name="oa_social_login_settings[plugin_require_email]" value="1" <?php echo ($plugin_require_email == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_require_email_1"><?php _e ('Yes, require the user to enter his email address manually and display this message:', '
|
1069 |
-
<textarea name="oa_social_login_settings[plugin_require_email_text]" cols="100" rows="3"><?php echo (isset ($settings ['plugin_require_email_text']) ? htmlspecialchars ($settings ['plugin_require_email_text']) : _e ('<strong>We unfortunately could not retrieve your email address from %s.</strong> Please enter your email address in the form below in order to continue.', '
|
1070 |
-
<span class="description"><?php _e ('HTML is allowed, the placeholder %s is replaced by the name of the social network used to connect.', '
|
1071 |
</td>
|
1072 |
</tr>
|
1073 |
<tr class="row_odd">
|
1074 |
<td>
|
1075 |
-
<strong><?php _e ("If the user's social network profile has a verified email, should we try to link it to an existing account?", '
|
1076 |
</td>
|
1077 |
</tr>
|
1078 |
<tr class="row_even">
|
@@ -1080,35 +1147,35 @@ function oa_display_social_login_settings ()
|
|
1080 |
<?php
|
1081 |
$plugin_link_verified_accounts = ((isset ($settings ['plugin_link_verified_accounts']) AND in_array ($settings ['plugin_link_verified_accounts'], array (0, 1))) ? $settings ['plugin_link_verified_accounts'] : 1);
|
1082 |
?>
|
1083 |
-
<input type="radio" id="plugin_link_verified_accounts_1" name="oa_social_login_settings[plugin_link_verified_accounts]" value="1" <?php echo ($plugin_link_verified_accounts == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_link_verified_accounts_1"><?php _e ('Yes, try to link verified social network profiles to existing blog accounts', '
|
1084 |
-
<input type="radio" id="plugin_link_verified_accounts_0" name="oa_social_login_settings[plugin_link_verified_accounts]" value="0" <?php echo ($plugin_link_verified_accounts == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_link_verified_accounts_0"><?php _e ('No, disable account linking', '
|
1085 |
</td>
|
1086 |
</tr>
|
1087 |
<tr class="row_odd">
|
1088 |
<td>
|
1089 |
-
<strong><?php _e ("If the user's social network profile has an avatar, should this avatar be used as default avatar for the user?", '
|
1090 |
</td>
|
1091 |
</tr>
|
1092 |
<tr class="row_even">
|
1093 |
<td>
|
1094 |
<?php
|
1095 |
-
$plugin_show_avatars_in_comments = ((isset ($settings ['plugin_show_avatars_in_comments']) AND in_array ($settings ['plugin_show_avatars_in_comments'], array (0, 1, 2))) ? $settings ['plugin_show_avatars_in_comments'] :
|
1096 |
?>
|
1097 |
-
<input type="radio" id="plugin_show_avatars_in_comments_0" name="oa_social_login_settings[plugin_show_avatars_in_comments]" value="0" <?php echo ($plugin_show_avatars_in_comments == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_show_avatars_in_comments_0"><?php _e ('No, do not use avatars from social networks', '
|
1098 |
-
<input type="radio" id="plugin_show_avatars_in_comments_1" name="oa_social_login_settings[plugin_show_avatars_in_comments]" value="1" <?php echo ($plugin_show_avatars_in_comments == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_show_avatars_in_comments_1"><?php _e ('Yes, use small avatars from social networks if available', '
|
1099 |
-
<input type="radio" id="plugin_show_avatars_in_comments_2" name="oa_social_login_settings[plugin_show_avatars_in_comments]" value="2" <?php echo ($plugin_show_avatars_in_comments == 2 ? 'checked="checked"' : ''); ?> /> <label for="plugin_show_avatars_in_comments_2"><?php _e ('Yes, use large avatars from social networks if available', '
|
1100 |
</td>
|
1101 |
</tr>
|
1102 |
</table>
|
1103 |
<table class="form-table oa_social_login_table">
|
1104 |
<tr class="row_head">
|
1105 |
<th>
|
1106 |
-
<?php _e ('Comment Settings', '
|
1107 |
</th>
|
1108 |
</tr>
|
1109 |
<tr class="row_odd">
|
1110 |
<td>
|
1111 |
-
<strong><?php _e ("Show the Social Login buttons in the comment area?", '
|
1112 |
</td>
|
1113 |
</tr>
|
1114 |
<tr class="row_even">
|
@@ -1116,13 +1183,13 @@ function oa_display_social_login_settings ()
|
|
1116 |
<?php
|
1117 |
$plugin_comment_show = ((isset ($settings ['plugin_comment_show']) AND in_array ($settings ['plugin_comment_show'], array (0, 1))) ? $settings ['plugin_comment_show'] : 1);
|
1118 |
?>
|
1119 |
-
<input type="radio" id="plugin_comment_show_1" name="oa_social_login_settings[plugin_comment_show]" value="1" <?php echo ($plugin_comment_show == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_1"><?php _e ('Yes, show the Social Login buttons', '
|
1120 |
-
<input type="radio" id="plugin_comment_show_0" name="oa_social_login_settings[plugin_comment_show]" value="0" <?php echo ($plugin_comment_show == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_0"><?php _e ('No, do not show the Social Login buttons', '
|
1121 |
</td>
|
1122 |
</tr>
|
1123 |
<tr class="row_odd">
|
1124 |
<td>
|
1125 |
-
<strong><?php _e ("Show the Social Login buttons in the comment area if comments are disabled for guests?", '
|
1126 |
</td>
|
1127 |
</tr>
|
1128 |
<tr class="row_even">
|
@@ -1130,14 +1197,14 @@ function oa_display_social_login_settings ()
|
|
1130 |
<?php
|
1131 |
$plugin_comment_show_if_members_only = ((isset ($settings ['plugin_comment_show_if_members_only']) AND in_array ($settings ['plugin_comment_show_if_members_only'], array (0, 1))) ? $settings ['plugin_comment_show_if_members_only'] : 1);
|
1132 |
?>
|
1133 |
-
<span class="description"><?php _e ('The buttons will be displayed below the "You must be logged in to leave a comment" notice.'); ?> </span><br />
|
1134 |
-
<input type="radio" id="plugin_comment_show_if_members_only_1" name="oa_social_login_settings[plugin_comment_show_if_members_only]" value="1" <?php echo ($plugin_comment_show_if_members_only == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_if_members_only_1"><?php _e ('Yes, show the Social Login buttons', '
|
1135 |
-
<input type="radio" id="plugin_comment_show_if_members_only_0" name="oa_social_login_settings[plugin_comment_show_if_members_only]" value="0" <?php echo ($plugin_comment_show_if_members_only == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_if_members_only_0"><?php _e ('No, do not show the Social Login buttons', '
|
1136 |
</td>
|
1137 |
</tr>
|
1138 |
<tr class="row_odd">
|
1139 |
<td>
|
1140 |
-
<strong><?php _e ("Automatically approve comments left by users that connected by using Social Login?", '
|
1141 |
</td>
|
1142 |
</tr>
|
1143 |
<tr class="row_even">
|
@@ -1145,8 +1212,8 @@ function oa_display_social_login_settings ()
|
|
1145 |
<?php
|
1146 |
$plugin_comment_auto_approve = ((isset ($settings ['plugin_comment_auto_approve']) AND in_array ($settings ['plugin_comment_auto_approve'], array (0, 1))) ? $settings ['plugin_comment_auto_approve'] : 0);
|
1147 |
?>
|
1148 |
-
<input type="radio" id="plugin_comment_auto_approve_1" name="oa_social_login_settings[plugin_comment_auto_approve]" value="1" <?php echo ($plugin_comment_auto_approve == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_auto_approve_1"><?php _e ('Yes, automatically approve comments made by users that connected with Social Login', '
|
1149 |
-
<input type="radio" id="plugin_comment_auto_approve_0" name="oa_social_login_settings[plugin_comment_auto_approve]" value="0" <?php echo ($plugin_comment_auto_approve == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_auto_approve_0"><?php _e ('No, do not automatically approve', '
|
1150 |
</strong><br />
|
1151 |
</td>
|
1152 |
</tr>
|
@@ -1155,34 +1222,34 @@ function oa_display_social_login_settings ()
|
|
1155 |
<table class="form-table oa_social_login_table">
|
1156 |
<tr class="row_head">
|
1157 |
<th>
|
1158 |
-
<?php _e ('Profile Settings', '
|
1159 |
</th>
|
1160 |
</tr>
|
1161 |
<tr class="row_odd">
|
1162 |
<td>
|
1163 |
-
<strong><?php _e ("Show the Social Link buttons in the user profile?", '
|
1164 |
</td>
|
1165 |
</tr>
|
1166 |
<tr class="row_even">
|
1167 |
<td>
|
1168 |
-
<span class="description"><?php _e ('Keep this option enabled to allow each user to connect multiple social networks to his own profile.'); ?> </span><br />
|
1169 |
<?php
|
1170 |
$plugin_profile_show = ((isset ($settings ['plugin_profile_show']) AND in_array ($settings ['plugin_profile_show'], array (0, 1))) ? $settings ['plugin_profile_show'] : 1);
|
1171 |
?>
|
1172 |
-
<input type="radio" id="plugin_profile_show_1" name="oa_social_login_settings[plugin_profile_show]" value="1" <?php echo ($plugin_profile_show == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_profile_show_1"><?php _e ('Yes, show the Social Link buttons', '
|
1173 |
-
<input type="radio" id="plugin_profile_show_0" name="oa_social_login_settings[plugin_profile_show]" value="0" <?php echo ($plugin_profile_show == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_profile_show_0"><?php _e ('No, do not show the Social Link buttons', '
|
1174 |
</td>
|
1175 |
</tr>
|
1176 |
</table>
|
1177 |
<table class="form-table oa_social_login_table">
|
1178 |
<tr class="row_head">
|
1179 |
<th>
|
1180 |
-
<?php _e ('Login Page Settings', '
|
1181 |
</th>
|
1182 |
</tr>
|
1183 |
<tr class="row_odd">
|
1184 |
<td>
|
1185 |
-
<strong><?php _e ('Do you want to display Social Login on the login form of your blog?', '
|
1186 |
</td>
|
1187 |
</tr>
|
1188 |
<tr class="row_even">
|
@@ -1190,13 +1257,13 @@ function oa_display_social_login_settings ()
|
|
1190 |
<?php
|
1191 |
$plugin_display_in_login_form = ((isset ($settings ['plugin_display_in_login_form']) AND in_array ($settings ['plugin_display_in_login_form'], array (0, 1))) ? $settings ['plugin_display_in_login_form'] : 1);
|
1192 |
?>
|
1193 |
-
<input type="radio" id="plugin_display_in_login_form_1" name="oa_social_login_settings[plugin_display_in_login_form]" value="1" <?php echo ($plugin_display_in_login_form == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_login_form_1"><?php _e ('Yes, display the social network buttons below the login form', '
|
1194 |
-
<input type="radio" id="plugin_display_in_login_form_0" name="oa_social_login_settings[plugin_display_in_login_form]" value="0" <?php echo ($plugin_display_in_login_form == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_login_form_0"><?php _e ('No, disable social network buttons in the login form', '
|
1195 |
</td>
|
1196 |
</tr>
|
1197 |
<tr class="row_odd">
|
1198 |
<td>
|
1199 |
-
<strong><?php _e ('Where should users be redirected to after having logged in with Social Login on the login page?', '
|
1200 |
</td>
|
1201 |
</tr>
|
1202 |
<tr class="row_even">
|
@@ -1205,16 +1272,16 @@ function oa_display_social_login_settings ()
|
|
1205 |
$plugin_login_form_redirect = ((isset ($settings ['plugin_login_form_redirect']) AND in_array ($settings ['plugin_login_form_redirect'], array ('current','homepage','dashboard','custom'))) ? $settings ['plugin_login_form_redirect'] : 'homepage');
|
1206 |
$plugin_login_form_redirect_custom_url = (isset ($settings ['plugin_login_form_redirect_custom_url']) ? $settings ['plugin_login_form_redirect_custom_url'] : '');
|
1207 |
?>
|
1208 |
-
<input type="radio" id="plugin_login_form_redirect_current" name="oa_social_login_settings[plugin_login_form_redirect]" value="current" <?php echo ($plugin_login_form_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_current"><?php _e ('Redirect users back to the current page', '
|
1209 |
-
<input type="radio" id="plugin_login_form_redirect_homepage" name="oa_social_login_settings[plugin_login_form_redirect]" value="homepage" <?php echo ($plugin_login_form_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', '
|
1210 |
-
<input type="radio" id="plugin_login_form_redirect_dashboard" name="oa_social_login_settings[plugin_login_form_redirect]" value="dashboard" <?php echo ($plugin_login_form_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', '
|
1211 |
-
<input type="radio" id="plugin_login_form_redirect_custom" name="oa_social_login_settings[plugin_login_form_redirect]" value="custom" <?php echo ($plugin_login_form_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_custom"><?php _e ('Redirect users to the following url', '
|
1212 |
<input type="text" name="oa_social_login_settings[plugin_login_form_redirect_custom_url]" size="90" value="<?php echo htmlspecialchars ($plugin_login_form_redirect_custom_url); ?>" />
|
1213 |
</td>
|
1214 |
</tr>
|
1215 |
<tr class="row_odd">
|
1216 |
<td>
|
1217 |
-
<strong><?php _e ('Allow other plugins to change the redirection url that you have chosen by using a hook/filter?', '
|
1218 |
</td>
|
1219 |
</tr>
|
1220 |
<tr class="row_even">
|
@@ -1222,8 +1289,8 @@ function oa_display_social_login_settings ()
|
|
1222 |
<?php
|
1223 |
$plugin_protect_login_redirect_url = (empty ($settings ['plugin_protect_login_redirect_url']) ? 0 : 1);
|
1224 |
?>
|
1225 |
-
<input type="radio" id="plugin_protect_login_redirect_url_0" name="oa_social_login_settings[plugin_protect_login_redirect_url]" value="0" <?php echo ($plugin_protect_login_redirect_url == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_login_redirect_url_0"><?php _e ('Yes, allow plugins to change the redirection url', '
|
1226 |
-
<input type="radio" id="plugin_protect_login_redirect_url_1" name="oa_social_login_settings[plugin_protect_login_redirect_url]" value="1" <?php echo ($plugin_protect_login_redirect_url == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_login_redirect_url_1"><?php _e ('No, protect the redirection url (Use this option if the redirection does not work correctly)', '
|
1227 |
</td>
|
1228 |
</tr>
|
1229 |
|
@@ -1233,12 +1300,12 @@ function oa_display_social_login_settings ()
|
|
1233 |
<table class="form-table oa_social_login_table">
|
1234 |
<tr class="row_head">
|
1235 |
<th>
|
1236 |
-
<?php _e ('Registration Page Settings', '
|
1237 |
</th>
|
1238 |
</tr>
|
1239 |
<tr class="row_odd">
|
1240 |
<td>
|
1241 |
-
<strong><?php _e ('Do you want to display Social Login on the registration form of your blog?', '
|
1242 |
</td>
|
1243 |
</tr>
|
1244 |
<tr class="row_even">
|
@@ -1246,13 +1313,13 @@ function oa_display_social_login_settings ()
|
|
1246 |
<?php
|
1247 |
$plugin_display_in_registration_form = ((isset ($settings ['plugin_display_in_registration_form']) AND in_array ($settings ['plugin_display_in_registration_form'], array (0, 1))) ? $settings ['plugin_display_in_registration_form'] : 1);
|
1248 |
?>
|
1249 |
-
<input type="radio" id="plugin_display_in_registration_form_1" name="oa_social_login_settings[plugin_display_in_registration_form]" value="1" <?php echo ($plugin_display_in_registration_form == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_registration_form_1"><?php _e ('Yes, display the social network buttons below the registration form', '
|
1250 |
-
<input type="radio" id="plugin_display_in_registration_form_0" name="oa_social_login_settings[plugin_display_in_registration_form]" value="0" <?php echo ($plugin_display_in_registration_form == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_registration_form_0"><?php _e ('No, disable social network buttons in the registration form', '
|
1251 |
</td>
|
1252 |
</tr>
|
1253 |
<tr class="row_odd">
|
1254 |
<td>
|
1255 |
-
<strong><?php _e ('Where should users be redirected to after having registered with Social Login on the registration page?', '
|
1256 |
</td>
|
1257 |
</tr>
|
1258 |
<tr class="row_even">
|
@@ -1261,16 +1328,16 @@ function oa_display_social_login_settings ()
|
|
1261 |
$plugin_registration_form_redirect = ((isset ($settings ['plugin_registration_form_redirect']) AND in_array ($settings ['plugin_registration_form_redirect'], array ('current','homepage','dashboard','custom'))) ? $settings ['plugin_registration_form_redirect'] : 'dashboard');
|
1262 |
$plugin_registration_form_redirect_custom_url = (isset ($settings ['plugin_registration_form_redirect_custom_url']) ? $settings ['plugin_registration_form_redirect_custom_url'] : '');
|
1263 |
?>
|
1264 |
-
<input type="radio" id="plugin_registration_form_redirect_current" name="oa_social_login_settings[plugin_registration_form_redirect]" value="current" <?php echo ($plugin_registration_form_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_current"><?php _e ('Redirect users back to the current page', '
|
1265 |
-
<input type="radio" id="plugin_registration_form_redirect_homepage" name="oa_social_login_settings[plugin_registration_form_redirect]" value="homepage" <?php echo ($plugin_registration_form_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', '
|
1266 |
-
<input type="radio" id="plugin_registration_form_redirect_dashboard" name="oa_social_login_settings[plugin_registration_form_redirect]" value="dashboard" <?php echo ($plugin_registration_form_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', '
|
1267 |
-
<input type="radio" id="plugin_registration_form_redirect_custom" name="oa_social_login_settings[plugin_registration_form_redirect]" value="custom" <?php echo ($plugin_registration_form_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_custom"><?php _e ('Redirect users to the following url', '
|
1268 |
<input type="text" name="oa_social_login_settings[plugin_registration_form_redirect_custom_url]" size="90" value="<?php echo htmlspecialchars ($plugin_registration_form_redirect_custom_url); ?>" />
|
1269 |
</td>
|
1270 |
</tr>
|
1271 |
<tr class="row_odd">
|
1272 |
<td>
|
1273 |
-
<strong><?php _e ('Allow other plugins to change the redirection url that you have chosen by using a hook/filter?', '
|
1274 |
</td>
|
1275 |
</tr>
|
1276 |
<tr class="row_even">
|
@@ -1278,20 +1345,20 @@ function oa_display_social_login_settings ()
|
|
1278 |
<?php
|
1279 |
$plugin_protect_registration_redirect_url = (empty ($settings ['plugin_protect_registration_redirect_url']) ? 0 : 1);
|
1280 |
?>
|
1281 |
-
<input type="radio" id="plugin_protect_registration_redirect_url_0" name="oa_social_login_settings[plugin_protect_registration_redirect_url]" value="0" <?php echo ($plugin_protect_registration_redirect_url == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_registration_redirect_url_0"><?php _e ('Yes, allow plugins to change the redirection url', '
|
1282 |
-
<input type="radio" id="plugin_protect_registration_redirect_url_1" name="oa_social_login_settings[plugin_protect_registration_redirect_url]" value="1" <?php echo ($plugin_protect_registration_redirect_url == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_registration_redirect_url_1"><?php _e ('No, protect the redirection url (Use this option if the redirection does not work correctly)', '
|
1283 |
</td>
|
1284 |
</tr>
|
1285 |
</table>
|
1286 |
<table class="form-table oa_social_login_table">
|
1287 |
<tr class="row_head">
|
1288 |
<th>
|
1289 |
-
<?php _e ('Widget & Shortcode Settings', '
|
1290 |
</th>
|
1291 |
</tr>
|
1292 |
<tr class="row_odd">
|
1293 |
<td>
|
1294 |
-
<strong><?php _e ('Redirect users to this page after they have logged in with Social Login embedded by Widget/Shortcode:', '
|
1295 |
</td>
|
1296 |
</tr>
|
1297 |
<tr class="row_even">
|
@@ -1300,16 +1367,16 @@ function oa_display_social_login_settings ()
|
|
1300 |
$plugin_shortcode_login_redirect = ((isset ($settings ['plugin_shortcode_login_redirect']) AND in_array ($settings ['plugin_shortcode_login_redirect'], array ('current', 'dashboard', 'homepage', 'custom'))) ? $settings ['plugin_shortcode_login_redirect'] : 'current');
|
1301 |
$plugin_shortcode_login_redirect_url = (isset ($settings ['plugin_shortcode_login_redirect_url']) ? $settings ['plugin_shortcode_login_redirect_url'] : '');
|
1302 |
?>
|
1303 |
-
<input type="radio" id="plugin_shortcode_login_redirect_current" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="current" <?php echo ($plugin_shortcode_login_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_current"><?php _e ('Redirect users back to the current page', '
|
1304 |
-
<input type="radio" id="plugin_shortcode_login_redirect_homepage" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="homepage" <?php echo ($plugin_shortcode_login_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', '
|
1305 |
-
<input type="radio" id="plugin_shortcode_login_redirect_dashboard" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="dashboard" <?php echo ($plugin_shortcode_login_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', '
|
1306 |
-
<input type="radio" id="plugin_shortcode_login_redirect_custom" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="custom" <?php echo ($plugin_shortcode_login_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_custom"><?php _e ('Redirect users to the following url', '
|
1307 |
<input type="text" name="oa_social_login_settings[plugin_shortcode_login_redirect_url]" size="90" value="<?php echo htmlspecialchars ($plugin_shortcode_login_redirect_url); ?>" />
|
1308 |
</td>
|
1309 |
</tr>
|
1310 |
<tr class="row_odd">
|
1311 |
<td>
|
1312 |
-
<strong><?php _e ('Redirect users to this page after they have registered with Social Login embedded by Widget/Shortcode:', '
|
1313 |
</td>
|
1314 |
</tr>
|
1315 |
<tr class="row_even">
|
@@ -1318,17 +1385,17 @@ function oa_display_social_login_settings ()
|
|
1318 |
$plugin_shortcode_register_redirect = ((isset ($settings ['plugin_shortcode_register_redirect']) AND in_array ($settings ['plugin_shortcode_register_redirect'], array ('current', 'dashboard', 'homepage', 'custom'))) ? $settings ['plugin_shortcode_register_redirect'] : 'current');
|
1319 |
$plugin_shortcode_register_redirect_url = (isset ($settings ['plugin_shortcode_register_redirect_url']) ? $settings ['plugin_shortcode_register_redirect_url'] : '');
|
1320 |
?>
|
1321 |
-
<input type="radio" id="plugin_shortcode_register_redirect_current" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="current" <?php echo ($plugin_shortcode_register_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_current"><?php _e ('Redirect users back to the current page', '
|
1322 |
-
<input type="radio" id="plugin_shortcode_register_redirect_homepage" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="homepage" <?php echo ($plugin_shortcode_register_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', '
|
1323 |
-
<input type="radio" id="plugin_shortcode_register_redirect_dashboard" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="dashboard" <?php echo ($plugin_shortcode_register_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', '
|
1324 |
-
<input type="radio" id="plugin_shortcode_register_redirect_custom" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="custom" <?php echo ($plugin_shortcode_register_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_custom"><?php _e ('Redirect users to the following url', '
|
1325 |
<input type="text" name="oa_social_login_settings[plugin_shortcode_register_redirect_url]" size="90" value="<?php echo htmlspecialchars ($plugin_shortcode_register_redirect_url); ?>" />
|
1326 |
</td>
|
1327 |
</tr>
|
1328 |
</table>
|
1329 |
<p class="submit">
|
1330 |
<input type="hidden" name="page" value="settings" />
|
1331 |
-
<input type="submit" class="button-primary" value="<?php _e ('Save Changes', '
|
1332 |
</p>
|
1333 |
</form>
|
1334 |
</div>
|
11 |
//Add column if enabled
|
12 |
if (!empty ($settings ['plugin_add_column_user_list']))
|
13 |
{
|
14 |
+
$columns ['oa_social_login_registration'] = __ ('Registration', 'oa-social-login');
|
15 |
}
|
16 |
return $columns;
|
17 |
}
|
52 |
//Traditional Registration
|
53 |
else
|
54 |
{
|
55 |
+
return __ ('Registration Form', 'oa-social-login');
|
56 |
}
|
57 |
}
|
58 |
add_action ('manage_users_custom_column', 'oa_social_login_admin_user_colum_display', 10, 3);
|
64 |
function oa_social_login_admin_menu ()
|
65 |
{
|
66 |
//Setup
|
67 |
+
$page = add_menu_page ('OneAll Social Login ' . __ ('Setup', 'oa-social-login'), 'Social Login', 'manage_options', 'oa_social_login_setup', 'oa_display_social_login_setup');
|
68 |
add_action ('admin_print_styles-' . $page, 'oa_social_login_admin_css');
|
69 |
|
70 |
//Settings
|
79 |
global $submenu;
|
80 |
if (is_array ($submenu) AND isset ($submenu ['oa_social_login_setup']))
|
81 |
{
|
82 |
+
$submenu ['oa_social_login_setup'] [0] [0] = __ ('Setup', 'oa-social-login');
|
83 |
}
|
|
|
84 |
add_action ('admin_enqueue_scripts', 'oa_social_login_admin_js');
|
85 |
add_action ('admin_init', 'oa_register_social_login_settings');
|
86 |
add_action ('admin_notices', 'oa_social_login_admin_message');
|
87 |
+
add_action ('admin_notices', 'oa_social_login_admin_ask_review');
|
88 |
}
|
89 |
add_action ('admin_menu', 'oa_social_login_admin_menu');
|
90 |
|
124 |
|
125 |
|
126 |
/**
|
127 |
+
* Add an activation message to be displayed once.
|
128 |
*/
|
129 |
function oa_social_login_admin_message ()
|
130 |
{
|
131 |
if (get_option ('oa_social_login_activation_message') !== '1')
|
132 |
{
|
133 |
+
echo '<div class="updated"><p><strong>' . __ ('Thank you for using Social Login!', 'oa-social-login') . '</strong> ' . sprintf (__ ('Please complete the <strong><a href="%s">Social Login Setup</a></strong> to enable the plugin.', 'oa-social-login'), 'admin.php?page=oa_social_login_setup') . '</p></div>';
|
134 |
update_option ('oa_social_login_activation_message', '1');
|
135 |
}
|
136 |
}
|
137 |
|
138 |
+
/**
|
139 |
+
* Add a request to review the plugin.
|
140 |
+
*/
|
141 |
+
function oa_social_login_admin_ask_review ()
|
142 |
+
{
|
143 |
+
// Treshhold.
|
144 |
+
$user_treshold = 25;
|
145 |
+
|
146 |
+
// Postpone duration.
|
147 |
+
$postpone_duration = (24 * 60 * 60 * 7);
|
148 |
+
|
149 |
+
// Make sure the message is not disabled.
|
150 |
+
if (get_option ('oa_social_login_hide_rate_message') !== '1')
|
151 |
+
{
|
152 |
+
// Make sure the message has not been postponed.
|
153 |
+
if (get_option ('oa_social_login_postpone_rate_message', 0) < time())
|
154 |
+
{
|
155 |
+
// Action.
|
156 |
+
$action = (! empty ($_GET['oa_social_login_rate']) ? strtolower(trim ($_GET['oa_social_login_rate'])) : '');
|
157 |
+
|
158 |
+
// Postpone message.
|
159 |
+
if ($action == 'later')
|
160 |
+
{
|
161 |
+
update_option ('oa_social_login_postpone_rate_message', (time() + $postpone_duration));
|
162 |
+
}
|
163 |
+
// Mark done.
|
164 |
+
elseif ($action == 'done')
|
165 |
+
{
|
166 |
+
update_option ('oa_social_login_hide_rate_message', 1);
|
167 |
+
}
|
168 |
+
// Display message.
|
169 |
+
else
|
170 |
+
{
|
171 |
+
// Don't display for POST requests, as we can't compute the required url arguments.
|
172 |
+
if (! isset ($_SERVER['REQUEST_METHOD']) || strtoupper(trim($_SERVER['REQUEST_METHOD'])) != 'POST')
|
173 |
+
{
|
174 |
+
// Make sure we have enough users.
|
175 |
+
if (oa_social_login_get_num_users() > $user_treshold)
|
176 |
+
{
|
177 |
+
// Current url.
|
178 |
+
$url = oa_social_login_get_current_url();
|
179 |
+
|
180 |
+
// Build message.
|
181 |
+
$message = array ();
|
182 |
+
$message[] = '<div class="updated">';
|
183 |
+
$message[] = ' <p style="font-size:16px; margin: 5px 0 0 0;color: #218029">';
|
184 |
+
$message[] = ' <strong>' . sprintf (__ ("Hey, I noticed that more than %s users have already connected using Social Login - that's awesome!", 'oa-social-login'), $user_treshold) .'</strong>';
|
185 |
+
$message[] = ' </p>';
|
186 |
+
$message[] = ' <p style="font-size:14px; margin: 0 0 5px 0;">';
|
187 |
+
$message[] = ' '.__("It's great to see that the plugin works for you! Could you please do me a BIG favor and give it a 5-star rating on WordPress? ", 'oa-social-login') .'<br>';
|
188 |
+
$message[] = ' '.__("Just to help us spread the word and boost our motivation. Thank you so much!", 'oa-social-login');
|
189 |
+
$message[] = ' </p>';
|
190 |
+
$message[] = ' <p style="font-size:14px; margin: 0 0 10px 0;">';
|
191 |
+
$message[] = ' <a class="button-primary" href="https://wordpress.org/support/plugin/oa-social-login/reviews/?filter=5#new-post" target="_blank">'. __ ("Ok, you deserve it", 'oa-social-login').'</a>';
|
192 |
+
$message[] = ' <a class="button-secondary" href="'.add_query_arg ('oa_social_login_rate', 'later', $url).'">'. __ ("Not now, maybe later", 'oa-social-login').'</a>';
|
193 |
+
$message[] = ' <a class="button-secondary" href="'.add_query_arg ('oa_social_login_rate', 'done', $url).'">'. __ ("I already did", 'oa-social-login').'</a>';
|
194 |
+
$message[] = ' </p>';
|
195 |
+
$message[] = '</div>';
|
196 |
+
|
197 |
+
// Display message.
|
198 |
+
echo implode ("\n", $message);
|
199 |
+
}
|
200 |
+
}
|
201 |
+
}
|
202 |
+
}
|
203 |
+
}
|
204 |
+
}
|
205 |
|
206 |
/**
|
207 |
* Autodetect API Connection Handler
|
388 |
wp_localize_script ('oa_social_login_admin_js', 'objectL10n',
|
389 |
array (
|
390 |
'oa_social_login_ajax_nonce' => $oa_social_login_ajax_nonce,
|
391 |
+
'oa_admin_js_1' => __ ('Contacting API - please wait this may take a few minutes ...', 'oa-social-login'),
|
392 |
+
'oa_admin_js_101' => __ ('The settings are correct - do not forget to save your changes!', 'oa-social-login'),
|
393 |
+
'oa_admin_js_111' => __ ('Please fill out each of the fields above.', 'oa-social-login'),
|
394 |
+
'oa_admin_js_112' => __ ('The subdomain does not exist. Have you filled it out correctly?', 'oa-social-login'),
|
395 |
+
'oa_admin_js_113' => __ ('The subdomain has a wrong syntax!', 'oa-social-login'),
|
396 |
+
'oa_admin_js_114' => __ ('Could not contact API. Are outbound requests on port 443 allowed?', 'oa-social-login'),
|
397 |
+
'oa_admin_js_115' => __ ('The API subdomain is correct, but one or both keys are invalid', 'oa-social-login'),
|
398 |
+
'oa_admin_js_116' => __ ('Connection handler does not work, try using the Autodetection', 'oa-social-login'),
|
399 |
+
'oa_admin_js_201a' => __ ('Detected CURL on Port 443 - do not forget to save your changes!', 'oa-social-login'),
|
400 |
+
'oa_admin_js_201b' => __ ('Detected CURL on Port 80 - do not forget to save your changes!', 'oa-social-login'),
|
401 |
+
'oa_admin_js_201c' => __ ('CURL is available but both ports (80, 443) are blocked for outbound requests', 'oa-social-login'),
|
402 |
+
'oa_admin_js_202a' => __ ('Detected FSOCKOPEN on Port 443 - do not forget to save your changes!', 'oa-social-login'),
|
403 |
+
'oa_admin_js_202b' => __ ('Detected FSOCKOPEN on Port 80 - do not forget to save your changes!', 'oa-social-login'),
|
404 |
+
'oa_admin_js_202c' => __ ('FSOCKOPEN is available but both ports (80, 443) are blocked for outbound requests', 'oa-social-login'),
|
405 |
+
'oa_admin_js_211' => sprintf (__ ('Autodetection Error - our <a href="%s" target="_blank">documentation</a> helps you fix this issue.', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/#help')
|
406 |
));
|
407 |
}
|
408 |
}
|
598 |
|
599 |
|
600 |
//Multiple settings
|
601 |
+
$sanitzed_settings ['plugin_show_avatars_in_comments'] = (in_array ($sanitzed_settings ['plugin_show_avatars_in_comments'], array (0, 1, 2)) ? $sanitzed_settings ['plugin_show_avatars_in_comments'] : 2);
|
602 |
|
603 |
//Redirection Settings: Widget & Shortcode Login
|
604 |
$sanitzed_settings ['plugin_shortcode_login_redirect'] = (in_array ($sanitzed_settings ['plugin_shortcode_login_redirect'], array ('current','dashboard','homepage','custom')) ? $sanitzed_settings ['plugin_shortcode_login_redirect'] : 'current');
|
677 |
<h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
|
678 |
|
679 |
<h2 class="nav-tab-wrapper">
|
680 |
+
<a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
|
681 |
+
<a class="nav-tab" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
|
682 |
+
<a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
|
683 |
</h2>
|
684 |
|
685 |
<p></p>
|
686 |
|
687 |
<div class="oa_social_login_box" id="oa_social_login_box_help">
|
688 |
<ul>
|
689 |
+
<li><?php printf (__ ('<a target="_blank" href="%s">Follow us on Twitter</a> to stay informed about updates', 'oa-social-login'), 'http://www.twitter.com/oneall'); ?>;</li>
|
690 |
+
<li><?php printf (__ ('<a target="_blank" href="%s">Read the online documentation</a> for more information about this plugin', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>;</li>
|
691 |
+
<li><?php printf (__ ('<a target="_blank" href="%s">Contact us</a> if you have feedback or need assistance', 'oa-social-login'), 'http://www.oneall.com/company/contact-us/'); ?>.
|
692 |
+
<li><?php printf (__ ('We also have <a target="_blank" href="%s">turnkey plugins</a> for Drupal, PrestaShop, Joomla, phpBB andy many others ...', 'oa-social-login'), 'http://docs.oneall.com/plugins/'); ?>.
|
693 |
</li>
|
694 |
</ul>
|
695 |
</div>
|
696 |
|
697 |
+
<h1><?php _e ('Discover our other plugins!', 'oa-social-login'); ?></h1>
|
698 |
<?php
|
699 |
$more_url = admin_url('plugin-install.php?s=share+buttons+oneall&tab=search&type=term');
|
700 |
?>
|
701 |
<div class="oa_social_login_plugin">
|
702 |
<div class="oa_social_login_plugin_img">
|
703 |
+
<a href="<?php echo $more_url; ?>"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/social_sharing.png' ?>" alt="<?php _e ('Social Login', 'oa-social-login') ?>" /></a>
|
704 |
</div>
|
705 |
<div class="oa_social_login_plugin_desc">
|
706 |
+
<?php _e ('Allow your visitors to comment, login and register with 40+ social networks like for example Twitter, Facebook, Pinterest, Instagram, Paypal, LinkedIn, OpenID, VKontakte or Google+. Easy to use and 100% FREE.', 'oa-social-login'); ?>
|
707 |
+
<a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', 'oa-social-login'); ?></a>
|
708 |
</div>
|
709 |
</div>
|
710 |
|
713 |
?>
|
714 |
<div class="oa_social_login_plugin">
|
715 |
<div class="oa_social_login_plugin_img">
|
716 |
+
<a href="<?php echo $more_url; ?>"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/loudvoice.png' ?>" alt="<?php _e ('LoudVoice Comment System', 'oa-social-login') ?>" /></a>
|
717 |
</div>
|
718 |
<div class="oa_social_login_plugin_desc">
|
719 |
+
<?php _e ('LoudVoice replaces the basic WordPress comments by a powerful comment system that includes logging in with 40+ social networks, spam filters and more. Easy to use and 100% FREE. Existing comments can be imported!', 'oa-social-login'); ?>
|
720 |
+
<a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', 'oa-social-login'); ?></a>
|
721 |
</div>
|
722 |
</div>
|
723 |
|
726 |
?>
|
727 |
<div class="oa_social_login_plugin">
|
728 |
<div class="oa_social_login_plugin_img">
|
729 |
+
<a href="<?php echo $more_url; ?>"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/single-sign-on.png' ?>" alt="<?php _e ('Single Sign-On', 'oa-social-login') ?>" /></a>
|
730 |
</div>
|
731 |
<div class="oa_social_login_plugin_desc">
|
732 |
+
<?php _e ('Automatically creates accounts and signs users in as they browse between multiple and independent WordPress blogs or websites in your network. Take away the need for your users to create new accounts or re-enter their authentication credentials on every of your websites.', 'oa-social-login'); ?>
|
733 |
+
<a href="<?php echo $more_url; ?>" class="button-primary"><?php _e ('More Info', 'oa-social-login'); ?></a>
|
734 |
</div>
|
735 |
</div>
|
736 |
</div>
|
751 |
<div id="oa_social_login_page" class="oa_social_login_setup">
|
752 |
<h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
|
753 |
<h2 class="nav-tab-wrapper">
|
754 |
+
<a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
|
755 |
+
<a class="nav-tab" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
|
756 |
+
<a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
|
757 |
</h2>
|
758 |
<?php
|
759 |
if (get_option ('oa_social_login_api_settings_verified') !== '1')
|
760 |
{
|
761 |
?>
|
762 |
<p>
|
763 |
+
<?php _e ('Allow your visitors to comment, login and register with 40+ Social Networks like for example Twitter, Facebook, LinkedIn, Instagram, VKontakte, Google or Yahoo.', 'oa-social-login'); ?>
|
764 |
+
<strong><?php _e ('Draw a larger audience and increase your user engagement in a few simple steps.', 'oa-social-login'); ?> </strong>
|
765 |
</p>
|
766 |
<div class="oa_social_login_box" id="oa_social_login_box_started">
|
767 |
<div class="oa_social_login_box_title">
|
768 |
+
<?php _e ('Thank you for using Social Login', 'oa-social-login'); ?>
|
769 |
</div>
|
770 |
<p>
|
771 |
+
<?php printf (__ ('To be able to use this plugin you first of all need to create a free account at %s. By using OneAll you will be sure that your social media integration will always run smoothly and with the most up-to-date calls.', 'oa-social-login'), '<a href="https://app.oneall.com/signup/wp" target="_blank">http://www.oneall.com</a>'); ?>
|
772 |
</p>
|
773 |
<p>
|
774 |
+
<?php _e ('After having created your account and setup a Site, please enter the Site settings below.', 'oa-social-login'); ?>
|
775 |
+
<?php _e ("Don't worry the setup is free and takes only a few minutes!", 'oa-social-login'); ?>
|
776 |
+
<?php printf (__ ('You are in good company! This plugin is used on more than %s websites!', 'oa-social-login'), '300,000'); ?>
|
777 |
</p>
|
778 |
<p class="oa_social_login_button_wrap">
|
779 |
+
<a class="button-secondary" href="https://app.oneall.com/signup/wp" target="_blank"><strong><?php _e ('Click here to setup your free account', 'oa-social-login'); ?></strong></a>
|
780 |
</p>
|
781 |
<h3>
|
782 |
|
790 |
<p></p>
|
791 |
<div class="oa_social_login_box" id="oa_social_login_box_status">
|
792 |
<p>
|
793 |
+
<?php _e ('Login to your OneAll account to manage your social networks and to access your Social Analytics, Graphs & Statistics.', 'oa-social-login'); ?>
|
794 |
</p>
|
795 |
<p class="oa_social_login_button_wrap">
|
796 |
+
<a class="button-secondary" href="https://app.oneall.com/signin/" target="_blank"><strong><?php _e ('Login to my OneAll account', 'oa-social-login'); ?></strong> </a>
|
797 |
+
<a class="button-secondary" href="https://app.oneall.com/insights/" target="_blank"><strong><?php _e ('Access my Social Analytics', 'oa-social-login'); ?></strong> </a>
|
798 |
</p>
|
799 |
</div>
|
800 |
<?php
|
804 |
|
805 |
<div class="oa_social_login_box" id="oa_social_login_box_help">
|
806 |
<ul>
|
807 |
+
<li><?php printf (__ ('Checkout the <a target="_blank" href="%s">online documentation</a> for more information about this plugin', 'oa-social-login'), 'http://docs.oneall.com/plugins/guide/social-login-wordpress/'); ?>;</li>
|
808 |
+
<li><?php printf (__ ('Do not hesitate to <a target="_blank" href="%s">contact us</a> if you have feedback or need assistance', 'oa-social-login'), 'http://www.oneall.com/company/contact-us/'); ?>.</li>
|
809 |
</ul>
|
810 |
</div>
|
811 |
<?php
|
813 |
{
|
814 |
?>
|
815 |
<div class="oa_social_login_box" id="oa_social_login_box_updated">
|
816 |
+
<?php _e ('Your modifications have been saved successfully!', 'oa-social-login'); ?>
|
817 |
</div>
|
818 |
<?php
|
819 |
}
|
825 |
?>
|
826 |
<table class="form-table oa_social_login_table">
|
827 |
<tr class="row_head">
|
828 |
+
<th colspan="2"><?php _e ('API Connection Handler', 'oa-social-login'); ?>
|
829 |
</th>
|
830 |
</tr>
|
831 |
<?php
|
833 |
?>
|
834 |
<tr class="row_even">
|
835 |
<td rowspan="2" class="row_multi" style="width:200px">
|
836 |
+
<label><?php _e ('API Connection Handler', 'oa-social-login'); ?>:</label>
|
837 |
</td>
|
838 |
<td>
|
839 |
<input type="radio" id="oa_social_login_api_connection_handler_curl" name="oa_social_login_settings[api_connection_handler]" value="curl" <?php echo (($api_connection_handler <> 'fsockopen') ? 'checked="checked"' : ''); ?> />
|
840 |
+
<label for="oa_social_login_api_connection_handler_curl"><?php _e ('Use PHP CURL to communicate with the API', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
841 |
+
<span class="description"><?php _e ('Using CURL is recommended but it might be disabled on some servers.', 'oa-social-login'); ?></span>
|
842 |
</td>
|
843 |
</tr>
|
844 |
<tr class="row_even">
|
845 |
<td>
|
846 |
<input type="radio" id="oa_social_login_api_connection_handler_fsockopen" name="oa_social_login_settings[api_connection_handler]" value="fsockopen" <?php echo (($api_connection_handler == 'fsockopen') ? 'checked="checked"' : ''); ?> />
|
847 |
+
<label for="oa_social_login_api_connection_handler_fsockopen"><?php _e ('Use PHP FSOCKOPEN to communicate with the API', 'oa-social-login'); ?> </label><br />
|
848 |
+
<span class="description"><?php _e ('Try using FSOCKOPEN if you encounter any problems with CURL.', 'oa-social-login'); ?></span>
|
849 |
</td>
|
850 |
</tr>
|
851 |
<?php
|
853 |
?>
|
854 |
<tr class="row_even">
|
855 |
<td rowspan="2" class="row_multi" style="width:200px">
|
856 |
+
<label><?php _e ('API Connection Port', 'oa-social-login'); ?>:</label>
|
857 |
</td>
|
858 |
<td>
|
859 |
<input type="radio" id="oa_social_login_api_connection_handler_use_https_1" name="oa_social_login_settings[api_connection_use_https]" value="1" <?php echo ($api_connection_use_https ? 'checked="checked"' : ''); ?> />
|
860 |
+
<label for="oa_social_login_api_connection_handler_use_https_1"><?php _e ('Communication via HTTPS on port 443', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
861 |
+
<span class="description"><?php _e ('Using port 443 is secure but you might need OpenSSL', 'oa-social-login'); ?></span>
|
862 |
</td>
|
863 |
</tr>
|
864 |
<tr class="row_even">
|
865 |
<td>
|
866 |
<input type="radio" id="oa_social_login_api_connection_handler_use_https_0" name="oa_social_login_settings[api_connection_use_https]" value="0" <?php echo (!$api_connection_use_https ? 'checked="checked"' : ''); ?> />
|
867 |
+
<label for="oa_social_login_api_connection_handler_use_https_0"><?php _e ('Communication via HTTP on port 80', 'oa-social-login'); ?> </label><br />
|
868 |
+
<span class="description"><?php _e ("Using port 80 is a bit faster, doesn't need OpenSSL but is less secure", 'oa-social-login'); ?></span>
|
869 |
</td>
|
870 |
</tr>
|
871 |
<tr class="row_foot">
|
872 |
<td>
|
873 |
+
<a class="button-primary" id="oa_social_login_autodetect_api_connection_handler" href="#"><?php _e ('Autodetect API Connection', 'oa-social-login'); ?></a>
|
874 |
</td>
|
875 |
<td>
|
876 |
<div id="oa_social_login_api_connection_handler_result"></div>
|
880 |
<table class="form-table oa_social_login_table">
|
881 |
<tr class="row_head">
|
882 |
<th>
|
883 |
+
<?php _e ('API Settings', 'oa-social-login'); ?>
|
884 |
</th>
|
885 |
+
<th><a href="https://app.oneall.com/applications/" target="_blank"><?php _e ('Click here to create and view your API Credentials', 'oa-social-login'); ?></a>
|
886 |
</th>
|
887 |
</tr>
|
888 |
<tr class="row_even">
|
889 |
<td style="width:200px">
|
890 |
+
<label for="oa_social_login_settings_api_subdomain"><?php _e ('API Subdomain', 'oa-social-login'); ?>:</label>
|
891 |
</td>
|
892 |
<td>
|
893 |
<input type="text" id="oa_social_login_settings_api_subdomain" name="oa_social_login_settings[api_subdomain]" size="65" value="<?php echo (isset ($settings ['api_subdomain']) ? htmlspecialchars ($settings ['api_subdomain']) : ''); ?>" />
|
895 |
</tr>
|
896 |
<tr class="row_odd">
|
897 |
<td style="width:200px">
|
898 |
+
<label for="oa_social_login_settings_api_key"><?php _e ('API Public Key', 'oa-social-login'); ?>:</label>
|
899 |
</td>
|
900 |
<td>
|
901 |
<input type="text" id="oa_social_login_settings_api_key" name="oa_social_login_settings[api_key]" size="65" value="<?php echo (isset ($settings ['api_key']) ? htmlspecialchars ($settings ['api_key']) : ''); ?>" />
|
903 |
</tr>
|
904 |
<tr class="row_even">
|
905 |
<td style="width:200px">
|
906 |
+
<label for="oa_social_login_settings_api_secret"><?php _e ('API Private Key', 'oa-social-login'); ?>:</label>
|
907 |
</td>
|
908 |
<td>
|
909 |
<input type="text" id="oa_social_login_settings_api_secret" name="oa_social_login_settings[api_secret]" size="65" value="<?php echo (isset ($settings ['api_secret']) ? htmlspecialchars ($settings ['api_secret']) : ''); ?>" />
|
911 |
</tr>
|
912 |
<tr class="row_foot">
|
913 |
<td>
|
914 |
+
<a class="button-primary" id="oa_social_login_test_api_settings" href="#"><?php _e ('Verify API Settings', 'oa-social-login'); ?> </a>
|
915 |
</td>
|
916 |
<td>
|
917 |
<div id="oa_social_login_api_test_result"></div>
|
921 |
|
922 |
<table class="form-table oa_social_login_table">
|
923 |
<tr class="row_head">
|
924 |
+
<th colspan="2"><?php _e ('JavaScript Settings', 'oa-social-login'); ?>
|
925 |
</th>
|
926 |
</tr>
|
927 |
<?php
|
951 |
?>
|
952 |
<tr class="row_even">
|
953 |
<td rowspan="2" class="row_multi" style="width:200px">
|
954 |
+
<label><?php _e ('JavaScript Usage', 'oa-social-login'); ?>:</label>
|
955 |
</td>
|
956 |
<td>
|
957 |
<input type="radio" id="oa_social_login_asynchronous_javascript_1" name="oa_social_login_settings[asynchronous_javascript]" value="1" <?php echo ( ! empty ($asynchronous_javascript) ? 'checked="checked"' : ''); ?> />
|
958 |
+
<label for="oa_social_login_asynchronous_javascript_1"><?php _e ('Asynchronous JavaScript', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
959 |
+
<span class="description"><?php _e ('Background loading without interfering with the display and behavior of the existing page.', 'oa-social-login'); ?></span>
|
960 |
</td>
|
961 |
</tr>
|
962 |
<tr class="row_even">
|
963 |
<td>
|
964 |
<input type="radio" id="oa_social_login_asynchronous_javascript_0" name="oa_social_login_settings[asynchronous_javascript]" value="0" <?php echo (empty ($asynchronous_javascript) ? 'checked="checked"' : ''); ?> />
|
965 |
+
<label for="oa_social_login_asynchronous_javascript_0"><?php _e ('Synchronous JavaScript', 'oa-social-login'); ?> </label><br />
|
966 |
+
<span class="description"><?php _e ('Real-time loading when the page is being rendered by the browser.', 'oa-social-login'); ?></span>
|
967 |
</td>
|
968 |
</tr>
|
969 |
</table>
|
971 |
<table class="form-table oa_social_login_table">
|
972 |
<tr class="row_head">
|
973 |
<th colspan="2">
|
974 |
+
<?php _e ('Enable the social networks/identity providers of your choice', 'oa-social-login'); ?>
|
975 |
</th>
|
976 |
</tr>
|
977 |
<?php
|
991 |
<?php
|
992 |
if (in_array ($key, array ('vkontakte', 'mailru', 'odnoklassniki')))
|
993 |
{
|
994 |
+
echo ' - ' . sprintf (__ ('To enable cyrillic usernames, you might need <a target="_blank" href="%s">this plugin</a>', 'oa-social-login'), 'http://wordpress.org/extend/plugins/wordpress-special-characters-in-usernames/');
|
995 |
}
|
996 |
?>
|
997 |
</td>
|
1002 |
</table>
|
1003 |
<p class="submit">
|
1004 |
<input type="hidden" name="page" value="setup" />
|
1005 |
+
<input type="submit" class="button-primary" value="<?php _e ('Save Changes', 'oa-social-login') ?>" />
|
1006 |
</p>
|
1007 |
</form>
|
1008 |
</div>
|
1021 |
<div id="oa_social_login_page" class="oa_social_login_settings">
|
1022 |
<h2>OneAll Social Login <?php echo (defined ('OA_SOCIAL_LOGIN_VERSION') ? OA_SOCIAL_LOGIN_VERSION : ''); ?></h2>
|
1023 |
<h2 class="nav-tab-wrapper">
|
1024 |
+
<a class="nav-tab" href="admin.php?page=oa_social_login_setup"><?php _e ('Setup', 'oa-social-login'); ?></a>
|
1025 |
+
<a class="nav-tab nav-tab-active" href="admin.php?page=oa_social_login_settings"><?php _e ('Settings', 'oa-social-login'); ?></a>
|
1026 |
+
<a class="nav-tab" href="admin.php?page=oa_social_login_more"><?php _e ('+More', 'oa-social-login'); ?></a>
|
1027 |
</h2>
|
1028 |
<p></p>
|
1029 |
<form method="post" action="options.php">
|
1033 |
?>
|
1034 |
<div class="oa_social_login_box" id="oa_social_login_box_help">
|
1035 |
<div class="oa_social_login_box_title">
|
1036 |
+
<?php _e ('Logout to see the plugin in action!', 'oa-social-login'); ?>
|
1037 |
</div>
|
1038 |
<p>
|
1039 |
<?php
|
1040 |
+
_e ('Social Login is a plugin that allows your users to comment, login and register with their existing Social Network accounts. If a user is already logged in, the plugin will not be displayed. There is no need to give the user the possibility to connect with a social network if he is already connected.', 'oa-social-login');
|
1041 |
?>
|
1042 |
+
<strong><?php _e ('You therefore have to logout to see the plugin in action.', 'oa-social-login'); ?> </strong>
|
1043 |
</p>
|
1044 |
</div>
|
1045 |
<?php
|
1047 |
{
|
1048 |
?>
|
1049 |
<div class="oa_social_login_box" id="oa_social_login_box_updated">
|
1050 |
+
<?php _e ('Your modifications have been saved successfully!', 'oa-social-login'); ?>
|
1051 |
</div>
|
1052 |
<?php
|
1053 |
}
|
1055 |
<table class="form-table oa_social_login_table">
|
1056 |
<tr class="row_head">
|
1057 |
<th>
|
1058 |
+
<?php _e ('General Settings', 'oa-social-login'); ?>
|
1059 |
</th>
|
1060 |
</tr>
|
1061 |
<tr class="row_odd">
|
1062 |
<td>
|
1063 |
+
<strong><?php _e ('Enter the description to be displayed above the Social Login buttons (leave empty for none):', 'oa-social-login'); ?></strong>
|
1064 |
</td>
|
1065 |
</tr>
|
1066 |
<tr class="row_even">
|
1067 |
<td>
|
1068 |
<?php
|
1069 |
+
$plugin_caption = (isset ($settings ['plugin_caption']) ? $settings ['plugin_caption'] : __ ('Connect with:', 'oa-social-login'));
|
1070 |
?>
|
1071 |
<input type="text" name="oa_social_login_settings[plugin_caption]" size="90" value="<?php echo htmlspecialchars ($plugin_caption); ?>" />
|
1072 |
</td>
|
1073 |
</tr>
|
1074 |
<tr class="row_odd">
|
1075 |
<td>
|
1076 |
+
<strong><?php _e ("Please select the icon theme to use per default:", 'oa-social-login'); ?></strong>
|
1077 |
</td>
|
1078 |
</tr>
|
1079 |
<tr class="row_even">
|
1081 |
<?php
|
1082 |
$plugin_icon_theme = ((isset ($settings ['plugin_icon_theme']) AND in_array ($settings ['plugin_icon_theme'], array (0, 1, 2))) ? $settings ['plugin_icon_theme'] : 0);
|
1083 |
?>
|
1084 |
+
<input type="radio" id="plugin_icon_theme_0" name="oa_social_login_settings[plugin_icon_theme]" value="0" <?php echo ($plugin_icon_theme == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_0"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_classic.png' ?>" alt="<?php _e('Classic', 'oa-social-login'); ?>" /></label>
|
1085 |
+
<input type="radio" id="plugin_icon_theme_1" name="oa_social_login_settings[plugin_icon_theme]" value="1" <?php echo ($plugin_icon_theme == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_1"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_modern.png' ?>" alt="<?php _e('Modern', 'oa-social-login'); ?>" /></label>
|
1086 |
+
<input type="radio" id="plugin_icon_theme_2" name="oa_social_login_settings[plugin_icon_theme]" value="2" <?php echo ($plugin_icon_theme == 2 ? 'checked="checked"' : ''); ?> /> <label for="plugin_icon_theme_2"><img src="<?php echo plugin_dir_url( __FILE__ ) . '../assets/img/theme_small.png' ?>" alt="<?php _e('Small', 'oa-social-login'); ?>" /></label>
|
1087 |
</td>
|
1088 |
</tr>
|
1089 |
<tr class="row_odd">
|
1090 |
<td>
|
1091 |
+
<strong><?php _e ('Do you want to display the social networks used to connect in the user list of the administration area ?', 'oa-social-login'); ?></strong>
|
1092 |
</td>
|
1093 |
</tr>
|
1094 |
<tr class="row_even">
|
1096 |
<?php
|
1097 |
$plugin_add_column_user_list = ((isset ($settings ['plugin_add_column_user_list']) AND in_array ($settings ['plugin_add_column_user_list'], array (0, 1))) ? $settings ['plugin_add_column_user_list'] : 0);
|
1098 |
?>
|
1099 |
+
<input type="radio" id="plugin_add_column_user_list_1" name="oa_social_login_settings[plugin_add_column_user_list]" value="1" <?php echo ($plugin_add_column_user_list == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_1"><?php _e ('Yes, add a new column to the user list and display the social network that the user connected with', 'oa-social-login'); ?></label> <br />
|
1100 |
+
<input type="radio" id="plugin_add_column_user_list_0" name="oa_social_login_settings[plugin_add_column_user_list]" value="0" <?php echo ($plugin_add_column_user_list == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_add_column_user_list_0"><?php _e ('No, do not display the social networks in the user list', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label>
|
1101 |
</td>
|
1102 |
</tr>
|
1103 |
<tr class="row_odd">
|
1104 |
<td>
|
1105 |
+
<strong><?php _e ('Do you want to receive an email whenever a new user registers with Social Login ?', 'oa-social-login'); ?></strong>
|
1106 |
</td>
|
1107 |
</tr>
|
1108 |
<tr class="row_even">
|
1110 |
<?php
|
1111 |
$plugin_notify_admin = ((isset ($settings ['plugin_notify_admin']) AND in_array ($settings ['plugin_notify_admin'], array (0, 1))) ? $settings ['plugin_notify_admin'] : 1);
|
1112 |
?>
|
1113 |
+
<input type="radio" id="plugin_notify_admin_1" name="oa_social_login_settings[plugin_notify_admin]" value="1" <?php echo ($plugin_notify_admin == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_notify_admin_1"><?php _e ('Yes, send me an email whenever a new user registers with Social Login', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1114 |
+
<input type="radio" id="plugin_notify_admin_0" name="oa_social_login_settings[plugin_notify_admin]" value="0" <?php echo ($plugin_notify_admin == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_notify_admin_0"><?php _e ('No, do not send me any emails', 'oa-social-login'); ?></label>
|
1115 |
</td>
|
1116 |
</tr>
|
1117 |
</table>
|
1118 |
<table class="form-table oa_social_login_table">
|
1119 |
<tr class="row_head">
|
1120 |
<th>
|
1121 |
+
<?php _e ('User Settings', 'oa-social-login'); ?>
|
1122 |
</th>
|
1123 |
</tr>
|
1124 |
<tr class="row_odd">
|
1125 |
<td>
|
1126 |
+
<strong><?php _e ("If the user's social network profile has no email address, should we ask the user to enter it manually?", 'oa-social-login'); ?></strong>
|
1127 |
</td>
|
1128 |
</tr>
|
1129 |
<tr class="row_even">
|
1131 |
<?php
|
1132 |
$plugin_require_email = ((isset ($settings ['plugin_require_email']) AND in_array ($settings ['plugin_require_email'], array (0, 1))) ? $settings ['plugin_require_email'] : 0);
|
1133 |
?>
|
1134 |
+
<input type="radio" id="plugin_require_email_0" name="oa_social_login_settings[plugin_require_email]" value="0" <?php echo ($plugin_require_email == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_require_email_0"><?php _e ('No, simplify the registration by automatically creating a placeholder email', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1135 |
+
<input type="radio" id="plugin_require_email_1" name="oa_social_login_settings[plugin_require_email]" value="1" <?php echo ($plugin_require_email == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_require_email_1"><?php _e ('Yes, require the user to enter his email address manually and display this message:', 'oa-social-login'); ?></label> <br />
|
1136 |
+
<textarea name="oa_social_login_settings[plugin_require_email_text]" cols="100" rows="3"><?php echo (isset ($settings ['plugin_require_email_text']) ? htmlspecialchars ($settings ['plugin_require_email_text']) : _e ('<strong>We unfortunately could not retrieve your email address from %s.</strong> Please enter your email address in the form below in order to continue.', 'oa-social-login')); ?></textarea>
|
1137 |
+
<span class="description"><?php _e ('HTML is allowed, the placeholder %s is replaced by the name of the social network used to connect.', 'oa-social-login'); ?></span>
|
1138 |
</td>
|
1139 |
</tr>
|
1140 |
<tr class="row_odd">
|
1141 |
<td>
|
1142 |
+
<strong><?php _e ("If the user's social network profile has a verified email, should we try to link it to an existing account?", 'oa-social-login'); ?></strong>
|
1143 |
</td>
|
1144 |
</tr>
|
1145 |
<tr class="row_even">
|
1147 |
<?php
|
1148 |
$plugin_link_verified_accounts = ((isset ($settings ['plugin_link_verified_accounts']) AND in_array ($settings ['plugin_link_verified_accounts'], array (0, 1))) ? $settings ['plugin_link_verified_accounts'] : 1);
|
1149 |
?>
|
1150 |
+
<input type="radio" id="plugin_link_verified_accounts_1" name="oa_social_login_settings[plugin_link_verified_accounts]" value="1" <?php echo ($plugin_link_verified_accounts == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_link_verified_accounts_1"><?php _e ('Yes, try to link verified social network profiles to existing blog accounts', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1151 |
+
<input type="radio" id="plugin_link_verified_accounts_0" name="oa_social_login_settings[plugin_link_verified_accounts]" value="0" <?php echo ($plugin_link_verified_accounts == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_link_verified_accounts_0"><?php _e ('No, disable account linking', 'oa-social-login'); ?></label>
|
1152 |
</td>
|
1153 |
</tr>
|
1154 |
<tr class="row_odd">
|
1155 |
<td>
|
1156 |
+
<strong><?php _e ("If the user's social network profile has an avatar, should this avatar be used as default avatar for the user?", 'oa-social-login'); ?></strong>
|
1157 |
</td>
|
1158 |
</tr>
|
1159 |
<tr class="row_even">
|
1160 |
<td>
|
1161 |
<?php
|
1162 |
+
$plugin_show_avatars_in_comments = ((isset ($settings ['plugin_show_avatars_in_comments']) AND in_array ($settings ['plugin_show_avatars_in_comments'], array (0, 1, 2))) ? $settings ['plugin_show_avatars_in_comments'] : 2);
|
1163 |
?>
|
1164 |
+
<input type="radio" id="plugin_show_avatars_in_comments_0" name="oa_social_login_settings[plugin_show_avatars_in_comments]" value="0" <?php echo ($plugin_show_avatars_in_comments == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_show_avatars_in_comments_0"><?php _e ('No, do not use avatars from social networks', 'oa-social-login'); ?></label><br />
|
1165 |
+
<input type="radio" id="plugin_show_avatars_in_comments_1" name="oa_social_login_settings[plugin_show_avatars_in_comments]" value="1" <?php echo ($plugin_show_avatars_in_comments == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_show_avatars_in_comments_1"><?php _e ('Yes, use small avatars from social networks if available', 'oa-social-login'); ?></label><br />
|
1166 |
+
<input type="radio" id="plugin_show_avatars_in_comments_2" name="oa_social_login_settings[plugin_show_avatars_in_comments]" value="2" <?php echo ($plugin_show_avatars_in_comments == 2 ? 'checked="checked"' : ''); ?> /> <label for="plugin_show_avatars_in_comments_2"><?php _e ('Yes, use large avatars from social networks if available', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label>
|
1167 |
</td>
|
1168 |
</tr>
|
1169 |
</table>
|
1170 |
<table class="form-table oa_social_login_table">
|
1171 |
<tr class="row_head">
|
1172 |
<th>
|
1173 |
+
<?php _e ('Comment Settings', 'oa-social-login'); ?>
|
1174 |
</th>
|
1175 |
</tr>
|
1176 |
<tr class="row_odd">
|
1177 |
<td>
|
1178 |
+
<strong><?php _e ("Show the Social Login buttons in the comment area?", 'oa-social-login'); ?></strong>
|
1179 |
</td>
|
1180 |
</tr>
|
1181 |
<tr class="row_even">
|
1183 |
<?php
|
1184 |
$plugin_comment_show = ((isset ($settings ['plugin_comment_show']) AND in_array ($settings ['plugin_comment_show'], array (0, 1))) ? $settings ['plugin_comment_show'] : 1);
|
1185 |
?>
|
1186 |
+
<input type="radio" id="plugin_comment_show_1" name="oa_social_login_settings[plugin_comment_show]" value="1" <?php echo ($plugin_comment_show == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_1"><?php _e ('Yes, show the Social Login buttons', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1187 |
+
<input type="radio" id="plugin_comment_show_0" name="oa_social_login_settings[plugin_comment_show]" value="0" <?php echo ($plugin_comment_show == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_0"><?php _e ('No, do not show the Social Login buttons', 'oa-social-login'); ?></label><br />
|
1188 |
</td>
|
1189 |
</tr>
|
1190 |
<tr class="row_odd">
|
1191 |
<td>
|
1192 |
+
<strong><?php _e ("Show the Social Login buttons in the comment area if comments are disabled for guests?", 'oa-social-login'); ?></strong>
|
1193 |
</td>
|
1194 |
</tr>
|
1195 |
<tr class="row_even">
|
1197 |
<?php
|
1198 |
$plugin_comment_show_if_members_only = ((isset ($settings ['plugin_comment_show_if_members_only']) AND in_array ($settings ['plugin_comment_show_if_members_only'], array (0, 1))) ? $settings ['plugin_comment_show_if_members_only'] : 1);
|
1199 |
?>
|
1200 |
+
<span class="description"><?php _e ('The buttons will be displayed below the "You must be logged in to leave a comment" notice.', 'oa-social-login'); ?> </span><br />
|
1201 |
+
<input type="radio" id="plugin_comment_show_if_members_only_1" name="oa_social_login_settings[plugin_comment_show_if_members_only]" value="1" <?php echo ($plugin_comment_show_if_members_only == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_if_members_only_1"><?php _e ('Yes, show the Social Login buttons', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1202 |
+
<input type="radio" id="plugin_comment_show_if_members_only_0" name="oa_social_login_settings[plugin_comment_show_if_members_only]" value="0" <?php echo ($plugin_comment_show_if_members_only == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_show_if_members_only_0"><?php _e ('No, do not show the Social Login buttons', 'oa-social-login'); ?></label>
|
1203 |
</td>
|
1204 |
</tr>
|
1205 |
<tr class="row_odd">
|
1206 |
<td>
|
1207 |
+
<strong><?php _e ("Automatically approve comments left by users that connected by using Social Login?", 'oa-social-login'); ?></strong>
|
1208 |
</td>
|
1209 |
</tr>
|
1210 |
<tr class="row_even">
|
1212 |
<?php
|
1213 |
$plugin_comment_auto_approve = ((isset ($settings ['plugin_comment_auto_approve']) AND in_array ($settings ['plugin_comment_auto_approve'], array (0, 1))) ? $settings ['plugin_comment_auto_approve'] : 0);
|
1214 |
?>
|
1215 |
+
<input type="radio" id="plugin_comment_auto_approve_1" name="oa_social_login_settings[plugin_comment_auto_approve]" value="1" <?php echo ($plugin_comment_auto_approve == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_auto_approve_1"><?php _e ('Yes, automatically approve comments made by users that connected with Social Login', 'oa-social-login'); ?></label><br />
|
1216 |
+
<input type="radio" id="plugin_comment_auto_approve_0" name="oa_social_login_settings[plugin_comment_auto_approve]" value="0" <?php echo ($plugin_comment_auto_approve == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_comment_auto_approve_0"><?php _e ('No, do not automatically approve', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</label>
|
1217 |
</strong><br />
|
1218 |
</td>
|
1219 |
</tr>
|
1222 |
<table class="form-table oa_social_login_table">
|
1223 |
<tr class="row_head">
|
1224 |
<th>
|
1225 |
+
<?php _e ('Profile Settings', 'oa-social-login'); ?>
|
1226 |
</th>
|
1227 |
</tr>
|
1228 |
<tr class="row_odd">
|
1229 |
<td>
|
1230 |
+
<strong><?php _e ("Show the Social Link buttons in the user profile?", 'oa-social-login'); ?></strong>
|
1231 |
</td>
|
1232 |
</tr>
|
1233 |
<tr class="row_even">
|
1234 |
<td>
|
1235 |
+
<span class="description"><?php _e ('Keep this option enabled to allow each user to connect multiple social networks to his own profile.', 'oa-social-login'); ?> </span><br />
|
1236 |
<?php
|
1237 |
$plugin_profile_show = ((isset ($settings ['plugin_profile_show']) AND in_array ($settings ['plugin_profile_show'], array (0, 1))) ? $settings ['plugin_profile_show'] : 1);
|
1238 |
?>
|
1239 |
+
<input type="radio" id="plugin_profile_show_1" name="oa_social_login_settings[plugin_profile_show]" value="1" <?php echo ($plugin_profile_show == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_profile_show_1"><?php _e ('Yes, show the Social Link buttons', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1240 |
+
<input type="radio" id="plugin_profile_show_0" name="oa_social_login_settings[plugin_profile_show]" value="0" <?php echo ($plugin_profile_show == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_profile_show_0"><?php _e ('No, do not show the Social Link buttons', 'oa-social-login'); ?></label><br />
|
1241 |
</td>
|
1242 |
</tr>
|
1243 |
</table>
|
1244 |
<table class="form-table oa_social_login_table">
|
1245 |
<tr class="row_head">
|
1246 |
<th>
|
1247 |
+
<?php _e ('Login Page Settings', 'oa-social-login'); ?>
|
1248 |
</th>
|
1249 |
</tr>
|
1250 |
<tr class="row_odd">
|
1251 |
<td>
|
1252 |
+
<strong><?php _e ('Do you want to display Social Login on the login form of your blog?', 'oa-social-login'); ?></strong>
|
1253 |
</td>
|
1254 |
</tr>
|
1255 |
<tr class="row_even">
|
1257 |
<?php
|
1258 |
$plugin_display_in_login_form = ((isset ($settings ['plugin_display_in_login_form']) AND in_array ($settings ['plugin_display_in_login_form'], array (0, 1))) ? $settings ['plugin_display_in_login_form'] : 1);
|
1259 |
?>
|
1260 |
+
<input type="radio" id="plugin_display_in_login_form_1" name="oa_social_login_settings[plugin_display_in_login_form]" value="1" <?php echo ($plugin_display_in_login_form == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_login_form_1"><?php _e ('Yes, display the social network buttons below the login form', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1261 |
+
<input type="radio" id="plugin_display_in_login_form_0" name="oa_social_login_settings[plugin_display_in_login_form]" value="0" <?php echo ($plugin_display_in_login_form == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_login_form_0"><?php _e ('No, disable social network buttons in the login form', 'oa-social-login'); ?></label>
|
1262 |
</td>
|
1263 |
</tr>
|
1264 |
<tr class="row_odd">
|
1265 |
<td>
|
1266 |
+
<strong><?php _e ('Where should users be redirected to after having logged in with Social Login on the login page?', 'oa-social-login'); ?></strong>
|
1267 |
</td>
|
1268 |
</tr>
|
1269 |
<tr class="row_even">
|
1272 |
$plugin_login_form_redirect = ((isset ($settings ['plugin_login_form_redirect']) AND in_array ($settings ['plugin_login_form_redirect'], array ('current','homepage','dashboard','custom'))) ? $settings ['plugin_login_form_redirect'] : 'homepage');
|
1273 |
$plugin_login_form_redirect_custom_url = (isset ($settings ['plugin_login_form_redirect_custom_url']) ? $settings ['plugin_login_form_redirect_custom_url'] : '');
|
1274 |
?>
|
1275 |
+
<input type="radio" id="plugin_login_form_redirect_current" name="oa_social_login_settings[plugin_login_form_redirect]" value="current" <?php echo ($plugin_login_form_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_current"><?php _e ('Redirect users back to the current page', 'oa-social-login'); ?></label><br />
|
1276 |
+
<input type="radio" id="plugin_login_form_redirect_homepage" name="oa_social_login_settings[plugin_login_form_redirect]" value="homepage" <?php echo ($plugin_login_form_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1277 |
+
<input type="radio" id="plugin_login_form_redirect_dashboard" name="oa_social_login_settings[plugin_login_form_redirect]" value="dashboard" <?php echo ($plugin_login_form_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', 'oa-social-login'); ?></label><br />
|
1278 |
+
<input type="radio" id="plugin_login_form_redirect_custom" name="oa_social_login_settings[plugin_login_form_redirect]" value="custom" <?php echo ($plugin_login_form_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_login_form_redirect_custom"><?php _e ('Redirect users to the following url', 'oa-social-login'); ?>:</label><br />
|
1279 |
<input type="text" name="oa_social_login_settings[plugin_login_form_redirect_custom_url]" size="90" value="<?php echo htmlspecialchars ($plugin_login_form_redirect_custom_url); ?>" />
|
1280 |
</td>
|
1281 |
</tr>
|
1282 |
<tr class="row_odd">
|
1283 |
<td>
|
1284 |
+
<strong><?php _e ('Allow other plugins to change the redirection url that you have chosen by using a hook/filter?', 'oa-social-login'); ?></strong>
|
1285 |
</td>
|
1286 |
</tr>
|
1287 |
<tr class="row_even">
|
1289 |
<?php
|
1290 |
$plugin_protect_login_redirect_url = (empty ($settings ['plugin_protect_login_redirect_url']) ? 0 : 1);
|
1291 |
?>
|
1292 |
+
<input type="radio" id="plugin_protect_login_redirect_url_0" name="oa_social_login_settings[plugin_protect_login_redirect_url]" value="0" <?php echo ($plugin_protect_login_redirect_url == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_login_redirect_url_0"><?php _e ('Yes, allow plugins to change the redirection url', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1293 |
+
<input type="radio" id="plugin_protect_login_redirect_url_1" name="oa_social_login_settings[plugin_protect_login_redirect_url]" value="1" <?php echo ($plugin_protect_login_redirect_url == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_login_redirect_url_1"><?php _e ('No, protect the redirection url (Use this option if the redirection does not work correctly)', 'oa-social-login'); ?></label>
|
1294 |
</td>
|
1295 |
</tr>
|
1296 |
|
1300 |
<table class="form-table oa_social_login_table">
|
1301 |
<tr class="row_head">
|
1302 |
<th>
|
1303 |
+
<?php _e ('Registration Page Settings', 'oa-social-login'); ?>
|
1304 |
</th>
|
1305 |
</tr>
|
1306 |
<tr class="row_odd">
|
1307 |
<td>
|
1308 |
+
<strong><?php _e ('Do you want to display Social Login on the registration form of your blog?', 'oa-social-login'); ?></strong>
|
1309 |
</td>
|
1310 |
</tr>
|
1311 |
<tr class="row_even">
|
1313 |
<?php
|
1314 |
$plugin_display_in_registration_form = ((isset ($settings ['plugin_display_in_registration_form']) AND in_array ($settings ['plugin_display_in_registration_form'], array (0, 1))) ? $settings ['plugin_display_in_registration_form'] : 1);
|
1315 |
?>
|
1316 |
+
<input type="radio" id="plugin_display_in_registration_form_1" name="oa_social_login_settings[plugin_display_in_registration_form]" value="1" <?php echo ($plugin_display_in_registration_form == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_registration_form_1"><?php _e ('Yes, display the social network buttons below the registration form', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1317 |
+
<input type="radio" id="plugin_display_in_registration_form_0" name="oa_social_login_settings[plugin_display_in_registration_form]" value="0" <?php echo ($plugin_display_in_registration_form == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_display_in_registration_form_0"><?php _e ('No, disable social network buttons in the registration form', 'oa-social-login'); ?></label>
|
1318 |
</td>
|
1319 |
</tr>
|
1320 |
<tr class="row_odd">
|
1321 |
<td>
|
1322 |
+
<strong><?php _e ('Where should users be redirected to after having registered with Social Login on the registration page?', 'oa-social-login'); ?></strong>
|
1323 |
</td>
|
1324 |
</tr>
|
1325 |
<tr class="row_even">
|
1328 |
$plugin_registration_form_redirect = ((isset ($settings ['plugin_registration_form_redirect']) AND in_array ($settings ['plugin_registration_form_redirect'], array ('current','homepage','dashboard','custom'))) ? $settings ['plugin_registration_form_redirect'] : 'dashboard');
|
1329 |
$plugin_registration_form_redirect_custom_url = (isset ($settings ['plugin_registration_form_redirect_custom_url']) ? $settings ['plugin_registration_form_redirect_custom_url'] : '');
|
1330 |
?>
|
1331 |
+
<input type="radio" id="plugin_registration_form_redirect_current" name="oa_social_login_settings[plugin_registration_form_redirect]" value="current" <?php echo ($plugin_registration_form_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_current"><?php _e ('Redirect users back to the current page', 'oa-social-login'); ?></label><br />
|
1332 |
+
<input type="radio" id="plugin_registration_form_redirect_homepage" name="oa_social_login_settings[plugin_registration_form_redirect]" value="homepage" <?php echo ($plugin_registration_form_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', 'oa-social-login'); ?></label><br />
|
1333 |
+
<input type="radio" id="plugin_registration_form_redirect_dashboard" name="oa_social_login_settings[plugin_registration_form_redirect]" value="dashboard" <?php echo ($plugin_registration_form_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1334 |
+
<input type="radio" id="plugin_registration_form_redirect_custom" name="oa_social_login_settings[plugin_registration_form_redirect]" value="custom" <?php echo ($plugin_registration_form_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_registration_form_redirect_custom"><?php _e ('Redirect users to the following url', 'oa-social-login'); ?>:</label><br />
|
1335 |
<input type="text" name="oa_social_login_settings[plugin_registration_form_redirect_custom_url]" size="90" value="<?php echo htmlspecialchars ($plugin_registration_form_redirect_custom_url); ?>" />
|
1336 |
</td>
|
1337 |
</tr>
|
1338 |
<tr class="row_odd">
|
1339 |
<td>
|
1340 |
+
<strong><?php _e ('Allow other plugins to change the redirection url that you have chosen by using a hook/filter?', 'oa-social-login'); ?></strong>
|
1341 |
</td>
|
1342 |
</tr>
|
1343 |
<tr class="row_even">
|
1345 |
<?php
|
1346 |
$plugin_protect_registration_redirect_url = (empty ($settings ['plugin_protect_registration_redirect_url']) ? 0 : 1);
|
1347 |
?>
|
1348 |
+
<input type="radio" id="plugin_protect_registration_redirect_url_0" name="oa_social_login_settings[plugin_protect_registration_redirect_url]" value="0" <?php echo ($plugin_protect_registration_redirect_url == 0 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_registration_redirect_url_0"><?php _e ('Yes, allow plugins to change the redirection url', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1349 |
+
<input type="radio" id="plugin_protect_registration_redirect_url_1" name="oa_social_login_settings[plugin_protect_registration_redirect_url]" value="1" <?php echo ($plugin_protect_registration_redirect_url == 1 ? 'checked="checked"' : ''); ?> /> <label for="plugin_protect_registration_redirect_url_1"><?php _e ('No, protect the redirection url (Use this option if the redirection does not work correctly)', 'oa-social-login'); ?></label>
|
1350 |
</td>
|
1351 |
</tr>
|
1352 |
</table>
|
1353 |
<table class="form-table oa_social_login_table">
|
1354 |
<tr class="row_head">
|
1355 |
<th>
|
1356 |
+
<?php _e ('Widget & Shortcode Settings', 'oa-social-login'); ?>
|
1357 |
</th>
|
1358 |
</tr>
|
1359 |
<tr class="row_odd">
|
1360 |
<td>
|
1361 |
+
<strong><?php _e ('Redirect users to this page after they have logged in with Social Login embedded by Widget/Shortcode:', 'oa-social-login'); ?></strong>
|
1362 |
</td>
|
1363 |
</tr>
|
1364 |
<tr class="row_even">
|
1367 |
$plugin_shortcode_login_redirect = ((isset ($settings ['plugin_shortcode_login_redirect']) AND in_array ($settings ['plugin_shortcode_login_redirect'], array ('current', 'dashboard', 'homepage', 'custom'))) ? $settings ['plugin_shortcode_login_redirect'] : 'current');
|
1368 |
$plugin_shortcode_login_redirect_url = (isset ($settings ['plugin_shortcode_login_redirect_url']) ? $settings ['plugin_shortcode_login_redirect_url'] : '');
|
1369 |
?>
|
1370 |
+
<input type="radio" id="plugin_shortcode_login_redirect_current" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="current" <?php echo ($plugin_shortcode_login_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_current"><?php _e ('Redirect users back to the current page', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1371 |
+
<input type="radio" id="plugin_shortcode_login_redirect_homepage" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="homepage" <?php echo ($plugin_shortcode_login_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', 'oa-social-login'); ?></label><br />
|
1372 |
+
<input type="radio" id="plugin_shortcode_login_redirect_dashboard" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="dashboard" <?php echo ($plugin_shortcode_login_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', 'oa-social-login'); ?></label><br />
|
1373 |
+
<input type="radio" id="plugin_shortcode_login_redirect_custom" name="oa_social_login_settings[plugin_shortcode_login_redirect]" value="custom" <?php echo ($plugin_shortcode_login_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_login_redirect_custom"><?php _e ('Redirect users to the following url', 'oa-social-login'); ?>:</label><br />
|
1374 |
<input type="text" name="oa_social_login_settings[plugin_shortcode_login_redirect_url]" size="90" value="<?php echo htmlspecialchars ($plugin_shortcode_login_redirect_url); ?>" />
|
1375 |
</td>
|
1376 |
</tr>
|
1377 |
<tr class="row_odd">
|
1378 |
<td>
|
1379 |
+
<strong><?php _e ('Redirect users to this page after they have registered with Social Login embedded by Widget/Shortcode:', 'oa-social-login'); ?></strong>
|
1380 |
</td>
|
1381 |
</tr>
|
1382 |
<tr class="row_even">
|
1385 |
$plugin_shortcode_register_redirect = ((isset ($settings ['plugin_shortcode_register_redirect']) AND in_array ($settings ['plugin_shortcode_register_redirect'], array ('current', 'dashboard', 'homepage', 'custom'))) ? $settings ['plugin_shortcode_register_redirect'] : 'current');
|
1386 |
$plugin_shortcode_register_redirect_url = (isset ($settings ['plugin_shortcode_register_redirect_url']) ? $settings ['plugin_shortcode_register_redirect_url'] : '');
|
1387 |
?>
|
1388 |
+
<input type="radio" id="plugin_shortcode_register_redirect_current" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="current" <?php echo ($plugin_shortcode_register_redirect == 'current' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_current"><?php _e ('Redirect users back to the current page', 'oa-social-login'); ?> <strong>(<?php _e ('Default', 'oa-social-login') ?>)</strong></label><br />
|
1389 |
+
<input type="radio" id="plugin_shortcode_register_redirect_homepage" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="homepage" <?php echo ($plugin_shortcode_register_redirect == 'homepage' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_homepage"><?php _e ('Redirect users to the homepage of my blog', 'oa-social-login'); ?></label><br />
|
1390 |
+
<input type="radio" id="plugin_shortcode_register_redirect_dashboard" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="dashboard" <?php echo ($plugin_shortcode_register_redirect == 'dashboard' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_dashboard"><?php _e ('Redirect users to their account dashboard', 'oa-social-login'); ?></label><br />
|
1391 |
+
<input type="radio" id="plugin_shortcode_register_redirect_custom" name="oa_social_login_settings[plugin_shortcode_register_redirect]" value="custom" <?php echo ($plugin_shortcode_register_redirect == 'custom' ? 'checked="checked"' : ''); ?> /> <label for="plugin_shortcode_register_redirect_custom"><?php _e ('Redirect users to the following url', 'oa-social-login'); ?>:</label><br />
|
1392 |
<input type="text" name="oa_social_login_settings[plugin_shortcode_register_redirect_url]" size="90" value="<?php echo htmlspecialchars ($plugin_shortcode_register_redirect_url); ?>" />
|
1393 |
</td>
|
1394 |
</tr>
|
1395 |
</table>
|
1396 |
<p class="submit">
|
1397 |
<input type="hidden" name="page" value="settings" />
|
1398 |
+
<input type="submit" class="button-primary" value="<?php _e ('Save Changes', 'oa-social-login') ?>" />
|
1399 |
</p>
|
1400 |
</form>
|
1401 |
</div>
|
includes/toolbox.php
CHANGED
@@ -5,13 +5,13 @@
|
|
5 |
*/
|
6 |
function oa_social_login_init ()
|
7 |
{
|
8 |
-
//Add language file.
|
9 |
if (function_exists ('load_plugin_textdomain'))
|
10 |
{
|
11 |
-
load_plugin_textdomain ('
|
12 |
}
|
13 |
|
14 |
-
//Launch the callback handler.
|
15 |
oa_social_login_callback ();
|
16 |
}
|
17 |
|
@@ -75,23 +75,23 @@ function oa_social_login_https_on ()
|
|
75 |
*/
|
76 |
function oa_social_login_user_notification ($user_id, $user_identity_provider)
|
77 |
{
|
78 |
-
//Get the user details
|
79 |
$user = new WP_User ($user_id);
|
80 |
$user_login = stripslashes ($user->user_login);
|
81 |
|
82 |
-
//The blogname option is escaped with esc_html on the way into the database
|
83 |
$blogname = wp_specialchars_decode (get_option ('blogname'), ENT_QUOTES);
|
84 |
|
85 |
-
//Setup Mail Header
|
86 |
$recipient = get_bloginfo ('admin_email');
|
87 |
-
$subject = '[Social Login] ' . sprintf (__ ('[%s] New User Registration', '
|
88 |
|
89 |
//Setup Mail Body
|
90 |
-
$body = sprintf (__ ('New user registration on your site %s:', '
|
91 |
-
$body .= sprintf (__ ('Username: %s', '
|
92 |
-
$body .= sprintf (__ ('Social Network: %s', '
|
93 |
|
94 |
-
//Send Mail
|
95 |
@wp_mail ($recipient, $subject, $body);
|
96 |
}
|
97 |
|
@@ -101,59 +101,59 @@ function oa_social_login_user_notification ($user_id, $user_identity_provider)
|
|
101 |
*/
|
102 |
function oa_social_login_get_current_url ()
|
103 |
{
|
104 |
-
//Extract parts
|
105 |
$request_uri = (isset ($_SERVER ['REQUEST_URI']) ? $_SERVER ['REQUEST_URI'] : $_SERVER ['PHP_SELF']);
|
106 |
$request_protocol = (oa_social_login_https_on () ? 'https' : 'http');
|
107 |
$request_host = (isset ($_SERVER ['HTTP_X_FORWARDED_HOST']) ? $_SERVER ['HTTP_X_FORWARDED_HOST'] : (isset ($_SERVER ['HTTP_HOST']) ? $_SERVER ['HTTP_HOST'] : $_SERVER ['SERVER_NAME']));
|
108 |
|
109 |
-
//Port of this request
|
110 |
$request_port = '';
|
111 |
|
112 |
-
//We are using a proxy
|
113 |
if (isset ($_SERVER ['HTTP_X_FORWARDED_PORT']))
|
114 |
{
|
115 |
// SERVER_PORT is usually wrong on proxies, don't use it!
|
116 |
$request_port = intval ($_SERVER ['HTTP_X_FORWARDED_PORT']);
|
117 |
}
|
118 |
-
//Does not seem like a proxy
|
119 |
elseif (isset ($_SERVER ['SERVER_PORT']))
|
120 |
{
|
121 |
$request_port = intval ($_SERVER ['SERVER_PORT']);
|
122 |
}
|
123 |
|
124 |
-
// Remove standard ports
|
125 |
$request_port = (!in_array ($request_port, array (80, 443)) ? $request_port : '');
|
126 |
|
127 |
-
//Add your own filters
|
128 |
$request_port = apply_filters ('oa_social_login_filter_current_url_port', $request_port);
|
129 |
$request_protocol = apply_filters ('oa_social_login_filter_current_url_protocol', $request_protocol);
|
130 |
$request_host = apply_filters ('oa_social_login_filter_current_url_host', $request_host);
|
131 |
$request_uri = apply_filters ('oa_social_login_filter_current_url_uri', $request_uri);
|
132 |
|
133 |
-
//Build url
|
134 |
$current_url = $request_protocol . '://' . $request_host . ( ! empty ($request_port) ? (':'.$request_port) : '') . $request_uri;
|
135 |
|
136 |
-
//Remove the oa_social_login_source argument
|
137 |
if (strpos ($current_url, 'oa_social_login_source') !== false)
|
138 |
{
|
139 |
-
//Break up url
|
140 |
list($url_part, $query_part) = array_pad (explode ('?', $current_url), 2, '');
|
141 |
parse_str ($query_part, $query_vars);
|
142 |
|
143 |
-
//Remove oa_social_login_source argument
|
144 |
if (is_array ($query_vars) AND isset ($query_vars ['oa_social_login_source']))
|
145 |
{
|
146 |
unset ($query_vars ['oa_social_login_source']);
|
147 |
}
|
148 |
|
149 |
-
//Build new url
|
150 |
$current_url = $url_part . ((is_array ($query_vars) AND count ($query_vars) > 0) ? ('?' . http_build_query ($query_vars)) : '');
|
151 |
}
|
152 |
|
153 |
-
//Apply filters
|
154 |
$current_url = apply_filters ('oa_social_login_filter_current_url', $current_url);
|
155 |
|
156 |
-
//Done
|
157 |
return $current_url;
|
158 |
}
|
159 |
|
@@ -181,10 +181,10 @@ function oa_social_login_get_disabled_functions ()
|
|
181 |
*/
|
182 |
function oa_social_login_get_theme_css_url ($theme_id = 0)
|
183 |
{
|
184 |
-
// Themes are served from the CDN
|
185 |
$cdn_uri = (oa_social_login_https_on () ? 'https://secure.oneallcdn.com' : 'http://public.oneallcdn.com');
|
186 |
|
187 |
-
// Build Theme
|
188 |
switch ($theme_id)
|
189 |
{
|
190 |
case '1':
|
@@ -255,7 +255,7 @@ function oa_social_login_get_userid_by_token ($token)
|
|
255 |
}
|
256 |
|
257 |
// Read user for this token.
|
258 |
-
$sql = "SELECT u.ID FROM " . $wpdb->usermeta . " AS um INNER JOIN " . $wpdb->users . " AS u ON (um.user_id=u.ID)
|
259 |
return $wpdb->get_var ($wpdb->prepare ($sql, $token));
|
260 |
}
|
261 |
|
@@ -266,10 +266,21 @@ function oa_social_login_get_userid_by_token ($token)
|
|
266 |
function oa_social_login_get_token_by_userid ($userid)
|
267 |
{
|
268 |
GLOBAL $wpdb;
|
269 |
-
$sql = "SELECT um.meta_value FROM " . $wpdb->usermeta . " AS um INNER JOIN " . $wpdb->users . " AS u ON (um.user_id=u.ID)
|
270 |
return $wpdb->get_var ($wpdb->prepare ($sql, $userid));
|
271 |
}
|
272 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
|
274 |
/**
|
275 |
* Create a random email
|
@@ -278,10 +289,10 @@ function oa_social_login_create_rand_email ()
|
|
278 |
{
|
279 |
do
|
280 |
{
|
281 |
-
//Create a random email.
|
282 |
$email = md5 (uniqid (wp_rand (10000, 99000))) . "@example.com";
|
283 |
|
284 |
-
//Allow it to be customized.
|
285 |
$email = apply_filters ('oa_social_login_filter_create_random_email', $email);
|
286 |
}
|
287 |
while (email_exists ($email));
|
@@ -298,27 +309,27 @@ function oa_social_login_has_bp_user_uploaded_avatar ($user_id)
|
|
298 |
{
|
299 |
$has_bp_user_uploaded_avatar = false;
|
300 |
|
301 |
-
// Use build-in function
|
302 |
if (function_exists ('bp_get_user_has_avatar'))
|
303 |
{
|
304 |
$has_bp_user_uploaded_avatar = bp_get_user_has_avatar ($user_id);
|
305 |
}
|
306 |
-
// Do custom processing
|
307 |
else
|
308 |
{
|
309 |
-
// Make sure we can actually do this
|
310 |
if (function_exists ('bp_core_fetch_avatar') && function_exists ('bp_core_avatar_default'))
|
311 |
{
|
312 |
-
// Fetch the custom BuddyPress avatar for this user
|
313 |
$bp_user_avatar = strtolower (trim (strval (bp_core_fetch_avatar (array ('item_id' => $user_id, 'no_grav' => true, 'html' => false, 'type' => 'full')))));
|
314 |
|
315 |
-
// Fetch the default BuddyPress avatar
|
316 |
$bp_default_avatar = strtolower (trim (strval (bp_core_avatar_default ('local'))));
|
317 |
|
318 |
// Custom Avatar?
|
319 |
$has_bp_user_uploaded_avatar = (($bp_user_avatar == $bp_default_avatar) ? false : true);
|
320 |
|
321 |
-
// Done
|
322 |
$has_bp_user_uploaded_avatar = apply_filters('bp_get_user_has_avatar', $has_bp_user_uploaded_avatar, $user_id);
|
323 |
}
|
324 |
}
|
5 |
*/
|
6 |
function oa_social_login_init ()
|
7 |
{
|
8 |
+
// Add language file.
|
9 |
if (function_exists ('load_plugin_textdomain'))
|
10 |
{
|
11 |
+
load_plugin_textdomain ('oa-social-login', false, OA_SOCIAL_LOGIN_BASE_PATH . '/languages/');
|
12 |
}
|
13 |
|
14 |
+
// Launch the callback handler.
|
15 |
oa_social_login_callback ();
|
16 |
}
|
17 |
|
75 |
*/
|
76 |
function oa_social_login_user_notification ($user_id, $user_identity_provider)
|
77 |
{
|
78 |
+
// Get the user details.
|
79 |
$user = new WP_User ($user_id);
|
80 |
$user_login = stripslashes ($user->user_login);
|
81 |
|
82 |
+
// The blogname option is escaped with esc_html on the way into the database.
|
83 |
$blogname = wp_specialchars_decode (get_option ('blogname'), ENT_QUOTES);
|
84 |
|
85 |
+
// Setup Mail Header.
|
86 |
$recipient = get_bloginfo ('admin_email');
|
87 |
+
$subject = '[Social Login] ' . sprintf (__ ('[%s] New User Registration', 'oa-social-login'), $blogname);
|
88 |
|
89 |
//Setup Mail Body
|
90 |
+
$body = sprintf (__ ('New user registration on your site %s:', 'oa-social-login'), $blogname) . "\r\n\r\n";
|
91 |
+
$body .= sprintf (__ ('Username: %s', 'oa-social-login'), $user_login) . "\r\n\r\n";
|
92 |
+
$body .= sprintf (__ ('Social Network: %s', 'oa-social-login'), $user_identity_provider) . "\r\n";
|
93 |
|
94 |
+
// Send Mail.
|
95 |
@wp_mail ($recipient, $subject, $body);
|
96 |
}
|
97 |
|
101 |
*/
|
102 |
function oa_social_login_get_current_url ()
|
103 |
{
|
104 |
+
// Extract parts.
|
105 |
$request_uri = (isset ($_SERVER ['REQUEST_URI']) ? $_SERVER ['REQUEST_URI'] : $_SERVER ['PHP_SELF']);
|
106 |
$request_protocol = (oa_social_login_https_on () ? 'https' : 'http');
|
107 |
$request_host = (isset ($_SERVER ['HTTP_X_FORWARDED_HOST']) ? $_SERVER ['HTTP_X_FORWARDED_HOST'] : (isset ($_SERVER ['HTTP_HOST']) ? $_SERVER ['HTTP_HOST'] : $_SERVER ['SERVER_NAME']));
|
108 |
|
109 |
+
// Port of this request.
|
110 |
$request_port = '';
|
111 |
|
112 |
+
// We are using a proxy.
|
113 |
if (isset ($_SERVER ['HTTP_X_FORWARDED_PORT']))
|
114 |
{
|
115 |
// SERVER_PORT is usually wrong on proxies, don't use it!
|
116 |
$request_port = intval ($_SERVER ['HTTP_X_FORWARDED_PORT']);
|
117 |
}
|
118 |
+
// Does not seem like a proxy.
|
119 |
elseif (isset ($_SERVER ['SERVER_PORT']))
|
120 |
{
|
121 |
$request_port = intval ($_SERVER ['SERVER_PORT']);
|
122 |
}
|
123 |
|
124 |
+
// Remove standard ports.
|
125 |
$request_port = (!in_array ($request_port, array (80, 443)) ? $request_port : '');
|
126 |
|
127 |
+
// Add your own filters.
|
128 |
$request_port = apply_filters ('oa_social_login_filter_current_url_port', $request_port);
|
129 |
$request_protocol = apply_filters ('oa_social_login_filter_current_url_protocol', $request_protocol);
|
130 |
$request_host = apply_filters ('oa_social_login_filter_current_url_host', $request_host);
|
131 |
$request_uri = apply_filters ('oa_social_login_filter_current_url_uri', $request_uri);
|
132 |
|
133 |
+
// Build url.
|
134 |
$current_url = $request_protocol . '://' . $request_host . ( ! empty ($request_port) ? (':'.$request_port) : '') . $request_uri;
|
135 |
|
136 |
+
// Remove the oa_social_login_source argument
|
137 |
if (strpos ($current_url, 'oa_social_login_source') !== false)
|
138 |
{
|
139 |
+
// Break up url.
|
140 |
list($url_part, $query_part) = array_pad (explode ('?', $current_url), 2, '');
|
141 |
parse_str ($query_part, $query_vars);
|
142 |
|
143 |
+
// Remove oa_social_login_source argument.
|
144 |
if (is_array ($query_vars) AND isset ($query_vars ['oa_social_login_source']))
|
145 |
{
|
146 |
unset ($query_vars ['oa_social_login_source']);
|
147 |
}
|
148 |
|
149 |
+
// Build new url.
|
150 |
$current_url = $url_part . ((is_array ($query_vars) AND count ($query_vars) > 0) ? ('?' . http_build_query ($query_vars)) : '');
|
151 |
}
|
152 |
|
153 |
+
// Apply filters.
|
154 |
$current_url = apply_filters ('oa_social_login_filter_current_url', $current_url);
|
155 |
|
156 |
+
// Done.
|
157 |
return $current_url;
|
158 |
}
|
159 |
|
181 |
*/
|
182 |
function oa_social_login_get_theme_css_url ($theme_id = 0)
|
183 |
{
|
184 |
+
// Themes are served from the CDN.
|
185 |
$cdn_uri = (oa_social_login_https_on () ? 'https://secure.oneallcdn.com' : 'http://public.oneallcdn.com');
|
186 |
|
187 |
+
// Build Theme.
|
188 |
switch ($theme_id)
|
189 |
{
|
190 |
case '1':
|
255 |
}
|
256 |
|
257 |
// Read user for this token.
|
258 |
+
$sql = "SELECT u.ID FROM " . $wpdb->usermeta . " AS um INNER JOIN " . $wpdb->users . " AS u ON (um.user_id=u.ID) WHERE um.meta_key = 'oa_social_login_user_token' AND um.meta_value=%s";
|
259 |
return $wpdb->get_var ($wpdb->prepare ($sql, $token));
|
260 |
}
|
261 |
|
266 |
function oa_social_login_get_token_by_userid ($userid)
|
267 |
{
|
268 |
GLOBAL $wpdb;
|
269 |
+
$sql = "SELECT um.meta_value FROM " . $wpdb->usermeta . " AS um INNER JOIN " . $wpdb->users . " AS u ON (um.user_id=u.ID) WHERE um.meta_key = 'oa_social_login_user_token' AND u.ID=%d";
|
270 |
return $wpdb->get_var ($wpdb->prepare ($sql, $userid));
|
271 |
}
|
272 |
|
273 |
+
/**
|
274 |
+
* Count the number of social login users.
|
275 |
+
*/
|
276 |
+
function oa_social_login_get_num_users ()
|
277 |
+
{
|
278 |
+
GLOBAL $wpdb;
|
279 |
+
$sql = "SELECT COUNT(user_id) AS tot FROM " . $wpdb->usermeta . " AS um WHERE um.meta_key = 'oa_social_login_user_token'";
|
280 |
+
return $wpdb->get_var ($wpdb->prepare ($sql, null));
|
281 |
+
}
|
282 |
+
|
283 |
+
|
284 |
|
285 |
/**
|
286 |
* Create a random email
|
289 |
{
|
290 |
do
|
291 |
{
|
292 |
+
// Create a random email.
|
293 |
$email = md5 (uniqid (wp_rand (10000, 99000))) . "@example.com";
|
294 |
|
295 |
+
// Allow it to be customized.
|
296 |
$email = apply_filters ('oa_social_login_filter_create_random_email', $email);
|
297 |
}
|
298 |
while (email_exists ($email));
|
309 |
{
|
310 |
$has_bp_user_uploaded_avatar = false;
|
311 |
|
312 |
+
// Use build-in function.
|
313 |
if (function_exists ('bp_get_user_has_avatar'))
|
314 |
{
|
315 |
$has_bp_user_uploaded_avatar = bp_get_user_has_avatar ($user_id);
|
316 |
}
|
317 |
+
// Do custom processing.
|
318 |
else
|
319 |
{
|
320 |
+
// Make sure we can actually do this.
|
321 |
if (function_exists ('bp_core_fetch_avatar') && function_exists ('bp_core_avatar_default'))
|
322 |
{
|
323 |
+
// Fetch the custom BuddyPress avatar for this user.
|
324 |
$bp_user_avatar = strtolower (trim (strval (bp_core_fetch_avatar (array ('item_id' => $user_id, 'no_grav' => true, 'html' => false, 'type' => 'full')))));
|
325 |
|
326 |
+
// Fetch the default BuddyPress avatar.
|
327 |
$bp_default_avatar = strtolower (trim (strval (bp_core_avatar_default ('local'))));
|
328 |
|
329 |
// Custom Avatar?
|
330 |
$has_bp_user_uploaded_avatar = (($bp_user_avatar == $bp_default_avatar) ? false : true);
|
331 |
|
332 |
+
// Done.
|
333 |
$has_bp_user_uploaded_avatar = apply_filters('bp_get_user_has_avatar', $has_bp_user_uploaded_avatar, $user_id);
|
334 |
}
|
335 |
}
|
includes/user_interface.php
CHANGED
@@ -112,7 +112,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
112 |
//No providers have been selected.
|
113 |
if (count ($api_providers) == 0)
|
114 |
{
|
115 |
-
$output = '<div style="color:white;background-color:red;">[Social Login] ' . __ ('Please enable at least one social network!', '
|
116 |
}
|
117 |
//At least one providers has been selected.
|
118 |
else
|
@@ -163,7 +163,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
163 |
//Already connected to this user
|
164 |
if ($userid_by_token == $userid)
|
165 |
{
|
166 |
-
$success_message = sprintf (__ ('You have successfully linked your %s account.', '
|
167 |
|
168 |
// Linked Social Network
|
169 |
$linked_social_networks = array ();
|
@@ -182,13 +182,13 @@ function oa_social_login_render_link_form ($source, $user)
|
|
182 |
//Connected to a different user
|
183 |
else
|
184 |
{
|
185 |
-
$error_message = sprintf (__ ('This %s account is already used by another user of this website.', '
|
186 |
}
|
187 |
}
|
188 |
// The user does not have a user_token yet
|
189 |
else
|
190 |
{
|
191 |
-
$success_message = sprintf (__ ('You have successfully linked your %s account.', '
|
192 |
|
193 |
//Clean Cache
|
194 |
wp_cache_delete ($userid, 'users');
|
@@ -239,7 +239,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
239 |
//Was connected to this user
|
240 |
if ($userid_by_token == $userid)
|
241 |
{
|
242 |
-
$success_message = sprintf (__ ('You have successfully unlinked your %s account.', '
|
243 |
|
244 |
//Remove avatar
|
245 |
delete_user_meta ($userid, 'oa_social_login_user_thumbnail');
|
@@ -260,7 +260,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
260 |
//No providers linked
|
261 |
if (count ($linked_social_networks) == 0)
|
262 |
{
|
263 |
-
$error_message = __ ("You might no longer be able to login to this website if you don't link at least one social network.", '
|
264 |
delete_user_meta ($userid, 'oa_social_login_identity_provider');
|
265 |
}
|
266 |
else
|
@@ -271,7 +271,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
271 |
//Connected to a different user
|
272 |
else
|
273 |
{
|
274 |
-
$error_message = sprintf (__ ('This %s account is already used by another user of this website.', '
|
275 |
}
|
276 |
}
|
277 |
|
@@ -283,7 +283,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
283 |
{
|
284 |
if ($data->plugin->data->status == 'error' && $data->plugin->data->reason = 'identity_is_linked_to_another_user')
|
285 |
{
|
286 |
-
$error_message = __ ('This social network account is already used by another user.', '
|
287 |
}
|
288 |
}
|
289 |
}
|
@@ -347,7 +347,7 @@ function oa_social_login_render_link_form ($source, $user)
|
|
347 |
|
348 |
|
349 |
//Setup Output
|
350 |
-
$output .= '<h3 id="oa_social_link"> ' . __ ('Connect your account to one or more social networks', '
|
351 |
$output .= '<table class="form-table">';
|
352 |
$output .= (empty ($success_message) ? '' : '<tr><td><span style="color:green;font-weight:bold"> ' . $success_message . '</span></td></tr>');
|
353 |
$output .= (empty ($error_message) ? '' : '<tr><td><span style="color:red;font-weight:bold">' . $error_message . '</span></td></tr>');
|
@@ -486,7 +486,7 @@ function oa_social_login_bp_custom_fetch_avatar ($text, $args)
|
|
486 |
if (is_null ($oa_social_login_avatars))
|
487 |
{
|
488 |
$oa_social_login_settings = get_option ('oa_social_login_settings');
|
489 |
-
$oa_social_login_avatars = (isset ($oa_social_login_settings ['plugin_show_avatars_in_comments']) ? $oa_social_login_settings ['plugin_show_avatars_in_comments'] :
|
490 |
}
|
491 |
|
492 |
//Check if avatars are enabled
|
@@ -556,7 +556,7 @@ function oa_social_login_custom_avatar ($avatar, $mixed, $size, $default, $alt =
|
|
556 |
if (is_null ($oa_social_login_avatars))
|
557 |
{
|
558 |
$oa_social_login_settings = get_option ('oa_social_login_settings');
|
559 |
-
$oa_social_login_avatars = (isset ($oa_social_login_settings ['plugin_show_avatars_in_comments']) ? $oa_social_login_settings ['plugin_show_avatars_in_comments'] :
|
560 |
}
|
561 |
|
562 |
//Check if social avatars are enabled
|
@@ -942,7 +942,7 @@ function oa_social_login_render_login_form ($source, $args = array ())
|
|
942 |
//No providers selected
|
943 |
if (count ($providers) == 0)
|
944 |
{
|
945 |
-
$output = '<div style="color:white;background-color:red;">[Social Login] ' . __ ('Please enable at least one social network!', '
|
946 |
}
|
947 |
//Providers selected
|
948 |
else
|
@@ -1044,18 +1044,18 @@ function oa_social_login_request_email ()
|
|
1044 |
|
1045 |
if (empty ($user_email))
|
1046 |
{
|
1047 |
-
$message = __ ('Please enter your email address', '
|
1048 |
}
|
1049 |
else
|
1050 |
{
|
1051 |
if (!is_email ($user_email))
|
1052 |
{
|
1053 |
-
$message = __ ('This email is not valid', '
|
1054 |
}
|
1055 |
elseif (email_exists ($user_email))
|
1056 |
{
|
1057 |
|
1058 |
-
$message = __ ('This email is already used by another account', '
|
1059 |
}
|
1060 |
else
|
1061 |
{
|
@@ -1094,7 +1094,7 @@ function oa_social_login_request_email ()
|
|
1094 |
$oa_social_login_identity_provider = get_user_meta ($user_id, 'oa_social_login_identity_provider', true);
|
1095 |
|
1096 |
//Caption
|
1097 |
-
$caption = (isset ($oa_social_login_settings ['plugin_require_email_text']) ? $oa_social_login_settings ['plugin_require_email_text'] : __ ('<strong>We unfortunately could not retrieve your email address from %s.</strong> Please enter your email address in the form below in order to continue.', '
|
1098 |
|
1099 |
// Create Nonce
|
1100 |
$oa_nonce = wp_create_nonce ('request_email_cancel-'.$user_id);
|
@@ -1114,7 +1114,7 @@ function oa_social_login_request_email ()
|
|
1114 |
<div class="oa_social_login_modal_inner">
|
1115 |
<div class="oa_social_login_modal_title">
|
1116 |
<?php
|
1117 |
-
printf (__ ('You have successfully connected with %s!', '
|
1118 |
?>
|
1119 |
</div>
|
1120 |
<?php
|
@@ -1127,7 +1127,7 @@ function oa_social_login_request_email ()
|
|
1127 |
?>
|
1128 |
<div class="oa_social_login_modal_body">
|
1129 |
<div class="oa_social_login_modal_subtitle">
|
1130 |
-
<?php _e ('Please enter your email address', '
|
1131 |
</div>
|
1132 |
<form method="post" action="">
|
1133 |
<fieldset>
|
@@ -1139,8 +1139,8 @@ function oa_social_login_request_email ()
|
|
1139 |
<?php echo $message; ?>
|
1140 |
</div>
|
1141 |
<div class="oa_social_login_buttons">
|
1142 |
-
<input class="oa_social_login_button" id="oa_social_login_button_confirm" name="oa_social_login_confirm_btn" type="submit" value="<?php _e ('Confirm', '
|
1143 |
-
<a href="<?php echo esc_url ($logout_url); ?>" class="oa_social_login_button" id="oa_social_login_button_cancel"><?php _e ('Cancel', '
|
1144 |
</div>
|
1145 |
</fieldset>
|
1146 |
</form>
|
112 |
//No providers have been selected.
|
113 |
if (count ($api_providers) == 0)
|
114 |
{
|
115 |
+
$output = '<div style="color:white;background-color:red;">[Social Login] ' . __ ('Please enable at least one social network!', 'oa-social-login') . '</div>';
|
116 |
}
|
117 |
//At least one providers has been selected.
|
118 |
else
|
163 |
//Already connected to this user
|
164 |
if ($userid_by_token == $userid)
|
165 |
{
|
166 |
+
$success_message = sprintf (__ ('You have successfully linked your %s account.', 'oa-social-login'), $data->user->identity->source->name);
|
167 |
|
168 |
// Linked Social Network
|
169 |
$linked_social_networks = array ();
|
182 |
//Connected to a different user
|
183 |
else
|
184 |
{
|
185 |
+
$error_message = sprintf (__ ('This %s account is already used by another user of this website.', 'oa-social-login'), $data->user->identity->source->name);
|
186 |
}
|
187 |
}
|
188 |
// The user does not have a user_token yet
|
189 |
else
|
190 |
{
|
191 |
+
$success_message = sprintf (__ ('You have successfully linked your %s account.', 'oa-social-login'), $data->user->identity->source->name);
|
192 |
|
193 |
//Clean Cache
|
194 |
wp_cache_delete ($userid, 'users');
|
239 |
//Was connected to this user
|
240 |
if ($userid_by_token == $userid)
|
241 |
{
|
242 |
+
$success_message = sprintf (__ ('You have successfully unlinked your %s account.', 'oa-social-login'), $data->user->identity->source->name);
|
243 |
|
244 |
//Remove avatar
|
245 |
delete_user_meta ($userid, 'oa_social_login_user_thumbnail');
|
260 |
//No providers linked
|
261 |
if (count ($linked_social_networks) == 0)
|
262 |
{
|
263 |
+
$error_message = __ ("You might no longer be able to login to this website if you don't link at least one social network.", 'oa-social-login');
|
264 |
delete_user_meta ($userid, 'oa_social_login_identity_provider');
|
265 |
}
|
266 |
else
|
271 |
//Connected to a different user
|
272 |
else
|
273 |
{
|
274 |
+
$error_message = sprintf (__ ('This %s account is already used by another user of this website.', 'oa-social-login'), $data->user->identity->source->name);
|
275 |
}
|
276 |
}
|
277 |
|
283 |
{
|
284 |
if ($data->plugin->data->status == 'error' && $data->plugin->data->reason = 'identity_is_linked_to_another_user')
|
285 |
{
|
286 |
+
$error_message = __ ('This social network account is already used by another user.', 'oa-social-login');
|
287 |
}
|
288 |
}
|
289 |
}
|
347 |
|
348 |
|
349 |
//Setup Output
|
350 |
+
$output .= '<h3 id="oa_social_link"> ' . __ ('Connect your account to one or more social networks', 'oa-social-login') . '</h3>';
|
351 |
$output .= '<table class="form-table">';
|
352 |
$output .= (empty ($success_message) ? '' : '<tr><td><span style="color:green;font-weight:bold"> ' . $success_message . '</span></td></tr>');
|
353 |
$output .= (empty ($error_message) ? '' : '<tr><td><span style="color:red;font-weight:bold">' . $error_message . '</span></td></tr>');
|
486 |
if (is_null ($oa_social_login_avatars))
|
487 |
{
|
488 |
$oa_social_login_settings = get_option ('oa_social_login_settings');
|
489 |
+
$oa_social_login_avatars = (isset ($oa_social_login_settings ['plugin_show_avatars_in_comments']) ? $oa_social_login_settings ['plugin_show_avatars_in_comments'] : 2);
|
490 |
}
|
491 |
|
492 |
//Check if avatars are enabled
|
556 |
if (is_null ($oa_social_login_avatars))
|
557 |
{
|
558 |
$oa_social_login_settings = get_option ('oa_social_login_settings');
|
559 |
+
$oa_social_login_avatars = (isset ($oa_social_login_settings ['plugin_show_avatars_in_comments']) ? $oa_social_login_settings ['plugin_show_avatars_in_comments'] : 2);
|
560 |
}
|
561 |
|
562 |
//Check if social avatars are enabled
|
942 |
//No providers selected
|
943 |
if (count ($providers) == 0)
|
944 |
{
|
945 |
+
$output = '<div style="color:white;background-color:red;">[Social Login] ' . __ ('Please enable at least one social network!', 'oa-social-login') . '</div>';
|
946 |
}
|
947 |
//Providers selected
|
948 |
else
|
1044 |
|
1045 |
if (empty ($user_email))
|
1046 |
{
|
1047 |
+
$message = __ ('Please enter your email address', 'oa-social-login');
|
1048 |
}
|
1049 |
else
|
1050 |
{
|
1051 |
if (!is_email ($user_email))
|
1052 |
{
|
1053 |
+
$message = __ ('This email is not valid', 'oa-social-login');
|
1054 |
}
|
1055 |
elseif (email_exists ($user_email))
|
1056 |
{
|
1057 |
|
1058 |
+
$message = __ ('This email is already used by another account', 'oa-social-login');
|
1059 |
}
|
1060 |
else
|
1061 |
{
|
1094 |
$oa_social_login_identity_provider = get_user_meta ($user_id, 'oa_social_login_identity_provider', true);
|
1095 |
|
1096 |
//Caption
|
1097 |
+
$caption = (isset ($oa_social_login_settings ['plugin_require_email_text']) ? $oa_social_login_settings ['plugin_require_email_text'] : __ ('<strong>We unfortunately could not retrieve your email address from %s.</strong> Please enter your email address in the form below in order to continue.', 'oa-social-login'));
|
1098 |
|
1099 |
// Create Nonce
|
1100 |
$oa_nonce = wp_create_nonce ('request_email_cancel-'.$user_id);
|
1114 |
<div class="oa_social_login_modal_inner">
|
1115 |
<div class="oa_social_login_modal_title">
|
1116 |
<?php
|
1117 |
+
printf (__ ('You have successfully connected with %s!', 'oa-social-login'), '<strong>' . $oa_social_login_identity_provider . '</strong>');
|
1118 |
?>
|
1119 |
</div>
|
1120 |
<?php
|
1127 |
?>
|
1128 |
<div class="oa_social_login_modal_body">
|
1129 |
<div class="oa_social_login_modal_subtitle">
|
1130 |
+
<?php _e ('Please enter your email address', 'oa-social-login'); ?>:
|
1131 |
</div>
|
1132 |
<form method="post" action="">
|
1133 |
<fieldset>
|
1139 |
<?php echo $message; ?>
|
1140 |
</div>
|
1141 |
<div class="oa_social_login_buttons">
|
1142 |
+
<input class="oa_social_login_button" id="oa_social_login_button_confirm" name="oa_social_login_confirm_btn" type="submit" value="<?php _e ('Confirm', 'oa-social-login'); ?>" />
|
1143 |
+
<a href="<?php echo esc_url ($logout_url); ?>" class="oa_social_login_button" id="oa_social_login_button_cancel"><?php _e ('Cancel', 'oa-social-login'); ?></a>
|
1144 |
</div>
|
1145 |
</fieldset>
|
1146 |
</form>
|
includes/widget.php
CHANGED
@@ -10,8 +10,8 @@ class oa_social_login_widget extends WP_Widget
|
|
10 |
*/
|
11 |
public function __construct ()
|
12 |
{
|
13 |
-
parent::__construct ('
|
14 |
-
'description' => __ ('Allows your users to login and register with their social network accounts.', '
|
15 |
));
|
16 |
}
|
17 |
|
@@ -59,7 +59,7 @@ class oa_social_login_widget extends WP_Widget
|
|
59 |
{
|
60 |
//Default settings
|
61 |
$default_settings = array (
|
62 |
-
'widget_title' => __ ('Connect with', '
|
63 |
'widget_icon_theme' => '0',
|
64 |
'widget_content_before' => '',
|
65 |
'widget_content_after' => '',
|
@@ -74,28 +74,28 @@ class oa_social_login_widget extends WP_Widget
|
|
74 |
$instance = wp_parse_args ((array) $instance, $default_settings);
|
75 |
?>
|
76 |
<p>
|
77 |
-
<label for="<?php echo $this->get_field_id ('widget_title'); ?>"><?php _e ('Title', '
|
78 |
<input class="widefat" id="<?php echo $this->get_field_id ('widget_title'); ?>" name="<?php echo $this->get_field_name ('widget_title'); ?>" type="text" value="<?php echo $instance ['widget_title']; ?>" />
|
79 |
</p>
|
80 |
<p>
|
81 |
-
<label for="<?php echo $this->get_field_id ('widget_icon_theme'); ?>"><?php _e ('Icon Theme', '
|
82 |
<select class="widefat" id="<?php echo $this->get_field_id ('widget_icon_theme'); ?>" name="<?php echo $this->get_field_name ('widget_icon_theme'); ?>">
|
83 |
-
<option value="0"<?php echo ($instance ['widget_icon_theme'] == 0 ? ' selected="selected"' : ''); ?>><?php _e ('Classic Icons', '
|
84 |
-
<option value="1"<?php echo ($instance ['widget_icon_theme'] == 1 ? ' selected="selected"' : ''); ?>><?php _e ('Modern Icons', '
|
85 |
-
<option value="2"<?php echo ($instance ['widget_icon_theme'] == 2 ? ' selected="selected"' : ''); ?>><?php _e ('Small Icons', '
|
86 |
</select>
|
87 |
</p>
|
88 |
<p>
|
89 |
-
<label for="<?php echo $this->get_field_id ('widget_content_before'); ?>"><?php _e ('Insert text/html to add before the widget', '
|
90 |
<textarea class="widefat" id="<?php echo $this->get_field_id ('widget_content_before'); ?>" name="<?php echo $this->get_field_name ('widget_content_before'); ?>"><?php echo $instance ['widget_content_before']; ?></textarea>
|
91 |
</p>
|
92 |
<p>
|
93 |
-
<label for="<?php echo $this->get_field_id ('widget_content_after'); ?>"><?php _e ('Insert text/html to add after the widget', '
|
94 |
<textarea class="widefat" id="<?php echo $this->get_field_id ('widget_content_after'); ?>" name="<?php echo $this->get_field_name ('widget_content_after'); ?>"><?php echo $instance ['widget_content_after']; ?></textarea>
|
95 |
</p>
|
96 |
<p>
|
97 |
-
<input type="checkbox" id="<?php echo $this->get_field_id ('widget_hide_for_logged_in_users', '
|
98 |
-
<label for="<?php echo $this->get_field_id ('widget_hide_for_logged_in_users'); ?>"><?php _e ('Tick to hide the widget for logged-in users', '
|
99 |
</p>
|
100 |
<?php
|
101 |
}
|
10 |
*/
|
11 |
public function __construct ()
|
12 |
{
|
13 |
+
parent::__construct ('oa-social-login', 'Social Login', array (
|
14 |
+
'description' => __ ('Allows your users to login and register with their social network accounts.', 'oa-social-login')
|
15 |
));
|
16 |
}
|
17 |
|
59 |
{
|
60 |
//Default settings
|
61 |
$default_settings = array (
|
62 |
+
'widget_title' => __ ('Connect with', 'oa-social-login') . ':',
|
63 |
'widget_icon_theme' => '0',
|
64 |
'widget_content_before' => '',
|
65 |
'widget_content_after' => '',
|
74 |
$instance = wp_parse_args ((array) $instance, $default_settings);
|
75 |
?>
|
76 |
<p>
|
77 |
+
<label for="<?php echo $this->get_field_id ('widget_title'); ?>"><?php _e ('Title', 'oa-social-login'); ?>:</label>
|
78 |
<input class="widefat" id="<?php echo $this->get_field_id ('widget_title'); ?>" name="<?php echo $this->get_field_name ('widget_title'); ?>" type="text" value="<?php echo $instance ['widget_title']; ?>" />
|
79 |
</p>
|
80 |
<p>
|
81 |
+
<label for="<?php echo $this->get_field_id ('widget_icon_theme'); ?>"><?php _e ('Icon Theme', 'oa-social-login'); ?>:</label>
|
82 |
<select class="widefat" id="<?php echo $this->get_field_id ('widget_icon_theme'); ?>" name="<?php echo $this->get_field_name ('widget_icon_theme'); ?>">
|
83 |
+
<option value="0"<?php echo ($instance ['widget_icon_theme'] == 0 ? ' selected="selected"' : ''); ?>><?php _e ('Classic Icons', 'oa-social-login'); ?></option>
|
84 |
+
<option value="1"<?php echo ($instance ['widget_icon_theme'] == 1 ? ' selected="selected"' : ''); ?>><?php _e ('Modern Icons', 'oa-social-login'); ?></option>
|
85 |
+
<option value="2"<?php echo ($instance ['widget_icon_theme'] == 2 ? ' selected="selected"' : ''); ?>><?php _e ('Small Icons', 'oa-social-login'); ?></option>
|
86 |
</select>
|
87 |
</p>
|
88 |
<p>
|
89 |
+
<label for="<?php echo $this->get_field_id ('widget_content_before'); ?>"><?php _e ('Insert text/html to add before the widget', 'oa-social-login'); ?>:</label>
|
90 |
<textarea class="widefat" id="<?php echo $this->get_field_id ('widget_content_before'); ?>" name="<?php echo $this->get_field_name ('widget_content_before'); ?>"><?php echo $instance ['widget_content_before']; ?></textarea>
|
91 |
</p>
|
92 |
<p>
|
93 |
+
<label for="<?php echo $this->get_field_id ('widget_content_after'); ?>"><?php _e ('Insert text/html to add after the widget', 'oa-social-login'); ?>:</label>
|
94 |
<textarea class="widefat" id="<?php echo $this->get_field_id ('widget_content_after'); ?>" name="<?php echo $this->get_field_name ('widget_content_after'); ?>"><?php echo $instance ['widget_content_after']; ?></textarea>
|
95 |
</p>
|
96 |
<p>
|
97 |
+
<input type="checkbox" id="<?php echo $this->get_field_id ('widget_hide_for_logged_in_users', 'oa-social-login'); ?>" name="<?php echo $this->get_field_name ('widget_hide_for_logged_in_users'); ?>" type="text" value="1" <?php echo (!empty ($instance ['widget_hide_for_logged_in_users']) ? 'checked="checked"' : ''); ?> />
|
98 |
+
<label for="<?php echo $this->get_field_id ('widget_hide_for_logged_in_users'); ?>"><?php _e ('Tick to hide the widget for logged-in users', 'oa-social-login'); ?></label>
|
99 |
</p>
|
100 |
<?php
|
101 |
}
|
languages/oa-social-login-de_DE.mo
ADDED
Binary file
|
languages/{oa_social_login-de_DE.po → oa-social-login-de_DE.po}
RENAMED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Social Login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: Claude <cschlesser@oneall.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: de\n"
|
@@ -16,7 +16,7 @@ msgstr ""
|
|
16 |
"X-Generator: Poedit 1.5.4\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
-
#: oa-social-login.php:
|
20 |
#, php-format
|
21 |
msgid ""
|
22 |
"This plugin requires WordPress %s or newer. Please update your WordPress "
|
@@ -25,28 +25,147 @@ msgstr ""
|
|
25 |
"Dieses Plugin benötigt Wordpress %s oder höher. Bitte aktualisieren Sie "
|
26 |
"WordPress, um dieses Plugin zu nutzen."
|
27 |
|
28 |
-
#: oa-social-login.php:
|
29 |
-
#: includes/admin.php:
|
30 |
msgid "Setup"
|
31 |
msgstr "Einrichten"
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
#: includes/admin.php:14
|
34 |
msgid "Registration"
|
35 |
msgstr "Registriert mit"
|
36 |
|
37 |
-
#: includes/admin.php:
|
38 |
msgid "Registration Form"
|
39 |
msgstr "Anmeldeformular"
|
40 |
|
41 |
-
#: includes/admin.php:
|
|
|
42 |
msgid "Settings"
|
43 |
msgstr "Einstellungen"
|
44 |
|
45 |
-
#: includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
46 |
msgid "Thank you for using Social Login!"
|
47 |
msgstr "Danke, dass Sie Social Login installiert haben!"
|
48 |
|
49 |
-
#: includes/admin.php:
|
50 |
#, php-format
|
51 |
msgid ""
|
52 |
"Please complete the <strong><a href=\"%s\">Social Login Setup</a></strong> "
|
@@ -55,69 +174,105 @@ msgstr ""
|
|
55 |
"Bitte rufen Sie die Seite <strong><a href=\"%s\">Einstellungen\\Social "
|
56 |
"Login</a></strong> auf, um das Plugin zu konfigurieren."
|
57 |
|
58 |
-
#: includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
msgid "Contacting API - please wait this may take a few minutes ..."
|
60 |
msgstr "Teste Einstellungen - Dies kann einige Minutern dauern ..."
|
61 |
|
62 |
-
#: includes/admin.php:
|
63 |
msgid "The settings are correct - do not forget to save your changes!"
|
64 |
msgstr "Die Einstellungen sind korrekt! Vergessen Sie nicht abzuspeichern!"
|
65 |
|
66 |
-
#: includes/admin.php:
|
67 |
msgid "Please fill out each of the fields above."
|
68 |
msgstr "Bitte füllen Sie alle Felder aus."
|
69 |
|
70 |
-
#: includes/admin.php:
|
71 |
msgid "The subdomain does not exist. Have you filled it out correctly?"
|
72 |
msgstr "Subdomain wurde nicht gefunden. Haben Sie sie richtig ausgefüllt?"
|
73 |
|
74 |
-
#: includes/admin.php:
|
75 |
msgid "The subdomain has a wrong syntax!"
|
76 |
msgstr "Die Subdomain ist ungültig!"
|
77 |
|
78 |
-
#: includes/admin.php:
|
79 |
msgid "Could not contact API. Are outbound requests on port 443 allowed?"
|
80 |
msgstr ""
|
81 |
"Keine Verbindung zur API. Eventuell blockiert Ihre Firewall Anfragen auf "
|
82 |
"Port 443."
|
83 |
|
84 |
-
#: includes/admin.php:
|
85 |
msgid "The API subdomain is correct, but one or both keys are invalid"
|
86 |
msgstr "Die API-Subdomain ist korrekt, aber die Schlüssel stimmen nicht."
|
87 |
|
88 |
-
#: includes/admin.php:
|
89 |
msgid "Connection handler does not work, try using the Autodetection"
|
90 |
msgstr "Verbindungsfehler! Bitte nutzen Sie die automatische Erkennung"
|
91 |
|
92 |
-
#: includes/admin.php:
|
93 |
msgid "Detected CURL on Port 443 - do not forget to save your changes!"
|
94 |
msgstr ""
|
95 |
"CURL kann auf Port 443 verwendet werden. Vergessen Sie nicht abzuspeichern!"
|
96 |
|
97 |
-
#: includes/admin.php:
|
98 |
msgid "Detected CURL on Port 80 - do not forget to save your changes!"
|
99 |
msgstr ""
|
100 |
"CURL kann auf Port 80 verwendet werden. Vergessen Sie nicht abzuspeichern!"
|
101 |
|
102 |
-
#: includes/admin.php:
|
103 |
msgid ""
|
104 |
"CURL is available but both ports (80, 443) are blocked for outbound requests"
|
105 |
msgstr ""
|
106 |
"CURL wurde gefunden. Die Ports 80 und 443 scheinen aber für ausgehende "
|
107 |
"Verbindungen gesperrt zu sein."
|
108 |
|
109 |
-
#: includes/admin.php:
|
110 |
msgid "Detected FSOCKOPEN on Port 443 - do not forget to save your changes!"
|
111 |
msgstr ""
|
112 |
"FSOCKOPEN kann auf Port 443 verwendet werden. Vergessen Sie nicht "
|
113 |
"abzuspeichern!"
|
114 |
|
115 |
-
#: includes/admin.php:
|
116 |
msgid "Detected FSOCKOPEN on Port 80 - do not forget to save your changes!"
|
117 |
msgstr ""
|
118 |
"FSOCKOPEN kann Port 80 verwendet werden. Vergessen Sie nicht abzuspeichern!"
|
119 |
|
120 |
-
#: includes/admin.php:
|
121 |
msgid ""
|
122 |
"FSOCKOPEN is available but both ports (80, 443) are blocked for outbound "
|
123 |
"requests"
|
@@ -125,7 +280,7 @@ msgstr ""
|
|
125 |
"FSOCKOPEN wurde gefunden. Die Ports 80 und 443 scheinen aber für ausgehende "
|
126 |
"Verbindungen gesperrt zu sein."
|
127 |
|
128 |
-
#: includes/admin.php:
|
129 |
#, php-format
|
130 |
msgid ""
|
131 |
"Autodetection Error - our <a href=\"%s\" target=\"_blank\">documentation</a> "
|
@@ -134,234 +289,295 @@ msgstr ""
|
|
134 |
"Verbindungsfehler - in unserer <a href=\"%s\" target=\"_blank"
|
135 |
"\">Dokumentation</a> finden Sie die Lösung."
|
136 |
|
137 |
-
#: includes/admin.php:
|
|
|
138 |
msgid ""
|
139 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
"like for example Twitter, Facebook, LinkedIn, Instagram, VKontakte, Google "
|
141 |
"or Yahoo."
|
142 |
msgstr ""
|
143 |
-
"Erlauben Sie Ihren Besuchern, sich mit
|
144 |
"Twitter, Facebook, LinkedIn, Instagram, Google oder Yahoo anzumelden, und "
|
145 |
"Kommentare zu hinterlassen."
|
146 |
|
147 |
-
#: includes/admin.php:
|
148 |
msgid ""
|
149 |
"Draw a larger audience and increase your user engagement in a few simple "
|
150 |
"steps."
|
151 |
msgstr "Steigern Sie die Beteilung Ihrer Nutzer auf einfachste Art und Weise."
|
152 |
|
153 |
-
#: includes/admin.php:
|
154 |
-
msgid "
|
155 |
-
msgstr "
|
156 |
|
157 |
-
#: includes/admin.php:
|
158 |
#, php-format
|
159 |
msgid ""
|
160 |
"To be able to use this plugin you first of all need to create a free account "
|
161 |
-
"at %s
|
|
|
162 |
msgstr ""
|
163 |
"Um dieses Plugin nutzen zu können, müssen Sie sich zunächst kostenlos ein "
|
164 |
-
"Konto bei %s anmelden."
|
|
|
165 |
|
166 |
-
#: includes/admin.php:
|
167 |
msgid ""
|
168 |
-
"After having created your account and setup
|
169 |
-
"settings
|
170 |
msgstr ""
|
171 |
"Nachdem Sie Ihr Konto angemeldet haben, müssen Sie die API-Daten in das "
|
172 |
"nachfolgende Formular eintragen."
|
173 |
|
174 |
-
#: includes/admin.php:
|
175 |
-
msgid "Don't worry the setup takes only a
|
176 |
msgstr "Keine Sorge! Die Einrichtung dauert nur wenige Minuten."
|
177 |
|
178 |
-
#: includes/admin.php:
|
179 |
-
msgid "Click here to setup your free account"
|
180 |
-
msgstr "Kostenloses Konto anmelden"
|
181 |
-
|
182 |
-
#: includes/admin.php:617
|
183 |
#, php-format
|
184 |
msgid "You are in good company! This plugin is used on more than %s websites!"
|
185 |
msgstr "Mehr als %s Webseiten nutzen dieses Plugin. Seien Sie mit dabei!"
|
186 |
|
187 |
-
#: includes/admin.php:
|
188 |
-
msgid "
|
189 |
-
msgstr "
|
190 |
|
191 |
-
#: includes/admin.php:
|
192 |
msgid ""
|
193 |
-
"Login to your account to manage your
|
194 |
-
"
|
195 |
msgstr ""
|
196 |
-
"Loggen Sie sich in Ihr Konto ein, um Einstellungen vorzunehmen und "
|
197 |
"Statistiken einzusehen."
|
198 |
|
199 |
-
#: includes/admin.php:
|
200 |
-
msgid ""
|
201 |
-
"
|
202 |
-
"your registration experience to increase your users' engagement."
|
203 |
-
msgstr ""
|
204 |
-
"Finden Sie heraus, welche sozialen Netzwerke unter Ihren Besuchern beliebt "
|
205 |
-
"sind, und steigern Sie die Beteilung Ihrer Besucher."
|
206 |
-
|
207 |
-
#: includes/admin.php:635
|
208 |
-
msgid "Click here to login to your account"
|
209 |
-
msgstr "Klicken Sie hier, um sich in Ihr Konto einloggen"
|
210 |
-
|
211 |
-
#: includes/admin.php:643
|
212 |
-
msgid "Help, Updates & Documentation"
|
213 |
-
msgstr "Hilfe, Updates & Dokumentation"
|
214 |
|
215 |
-
#: includes/admin.php:
|
216 |
-
|
217 |
-
|
218 |
-
"<a target=\"_blank\" href=\"%s\">Follow us on Twitter</a> to stay informed "
|
219 |
-
"about updates"
|
220 |
-
msgstr ""
|
221 |
-
"<a target=\"_blank\" href=\"%s\">Folgen Sie uns auf Twitter</a>, um auf dem "
|
222 |
-
"Laufenden zu bleiben"
|
223 |
|
224 |
-
#: includes/admin.php:
|
225 |
#, php-format
|
226 |
msgid ""
|
227 |
-
"<a target=\"_blank\" href=\"%s\">
|
228 |
-
"information about this plugin"
|
229 |
msgstr ""
|
230 |
-
"<a target=\"_blank\" href=\"%s\">
|
231 |
-
"zusätzliche
|
232 |
|
233 |
-
#: includes/admin.php:
|
234 |
#, php-format
|
235 |
msgid ""
|
236 |
-
"<a target=\"_blank\" href=\"%s\">
|
237 |
-
"assistance"
|
238 |
msgstr ""
|
239 |
-
"<a target=\"_blank\" href=\"%s
|
240 |
-
"
|
241 |
|
242 |
-
#: includes/admin.php:
|
243 |
-
#, php-format
|
244 |
-
msgid ""
|
245 |
-
"We also have <a target=\"_blank\" href=\"%s\">turnkey plugins</a> for "
|
246 |
-
"Drupal, PrestaShop, Joomla, phpBB andy many others ..."
|
247 |
-
msgstr ""
|
248 |
-
"Wir bieten auch Module für <a target=\"_blank\" href=\"%s\">Drupal, phpBB , "
|
249 |
-
"Joomla</a> und andere an"
|
250 |
-
|
251 |
-
#: includes/admin.php:658 includes/admin.php:891
|
252 |
msgid "Your modifications have been saved successfully!"
|
253 |
msgstr "Ihre Einstellungen wurden erfolgreich gespeichert!"
|
254 |
|
255 |
-
#: includes/admin.php:
|
256 |
msgid "API Connection Handler"
|
257 |
msgstr "API Kommunikation"
|
258 |
|
259 |
-
#: includes/admin.php:
|
260 |
msgid "Use PHP CURL to communicate with the API"
|
261 |
msgstr "PHP CURL verwenden"
|
262 |
|
263 |
-
#: includes/admin.php:
|
264 |
-
#: includes/admin.php:
|
265 |
-
#: includes/admin.php:
|
266 |
-
#: includes/admin.php:
|
267 |
-
#: includes/admin.php:
|
268 |
-
#: includes/admin.php:
|
269 |
-
#: includes/admin.php:
|
270 |
msgid "Default"
|
271 |
msgstr "Standard"
|
272 |
|
273 |
-
#: includes/admin.php:
|
274 |
msgid "Using CURL is recommended but it might be disabled on some servers."
|
275 |
msgstr "Empfohlene Einstellung, auf manchen Serven aber deaktiviert."
|
276 |
|
277 |
-
#: includes/admin.php:
|
278 |
msgid "Use PHP FSOCKOPEN to communicate with the API"
|
279 |
msgstr "PHP FSOCKOPEN verwenden"
|
280 |
|
281 |
-
#: includes/admin.php:
|
282 |
msgid "Try using FSOCKOPEN if you encounter any problems with CURL."
|
283 |
-
msgstr "Verwenden Sie FSOCKEN
|
284 |
|
285 |
-
#: includes/admin.php:
|
286 |
msgid "API Connection Port"
|
287 |
msgstr "API Verbindungs Port"
|
288 |
|
289 |
-
#: includes/admin.php:
|
290 |
msgid "Communication via HTTPS on port 443"
|
291 |
msgstr "Verbindung auf HTTPS Port 443"
|
292 |
|
293 |
-
#: includes/admin.php:
|
294 |
msgid "Using port 443 is secure but you might need OpenSSL"
|
295 |
-
msgstr "Die Verbindung auf Port 443 ist sicherer benötigt aber ggfs. OpenSSL"
|
296 |
|
297 |
-
#: includes/admin.php:
|
298 |
msgid "Communication via HTTP on port 80"
|
299 |
msgstr "Verbindung auf HTTP Port 80"
|
300 |
|
301 |
-
#: includes/admin.php:
|
302 |
msgid "Using port 80 is a bit faster, doesn't need OpenSSL but is less secure"
|
303 |
msgstr ""
|
304 |
-
"Die Verbindung auf Port 80 ist etwas schneller aber nicht ganz so sicher"
|
305 |
|
306 |
-
#: includes/admin.php:
|
307 |
msgid "Autodetect API Connection"
|
308 |
msgstr "Automatisch erkennen"
|
309 |
|
310 |
-
#: includes/admin.php:
|
311 |
msgid "API Settings"
|
312 |
msgstr "API Einstellungen"
|
313 |
|
314 |
-
#: includes/admin.php:
|
315 |
msgid "Click here to create and view your API Credentials"
|
316 |
msgstr "Klicken Sie hier, um Ihre API-Daten einzusehen"
|
317 |
|
318 |
-
#: includes/admin.php:
|
319 |
msgid "API Subdomain"
|
320 |
msgstr "API Subdomain"
|
321 |
|
322 |
-
#: includes/admin.php:
|
323 |
msgid "API Public Key"
|
324 |
msgstr "API Public Key"
|
325 |
|
326 |
-
#: includes/admin.php:
|
327 |
msgid "API Private Key"
|
328 |
msgstr "API Private Key"
|
329 |
|
330 |
-
#: includes/admin.php:
|
331 |
msgid "Verify API Settings"
|
332 |
msgstr "API-Einstellungen überprüfen"
|
333 |
|
334 |
-
#: includes/admin.php:
|
335 |
msgid "JavaScript Settings"
|
336 |
msgstr "JavaScript Einstellungen"
|
337 |
|
338 |
-
#: includes/admin.php:
|
339 |
msgid "JavaScript Usage"
|
340 |
msgstr "JavaScript Kommunikation"
|
341 |
|
342 |
-
#: includes/admin.php:
|
343 |
msgid "Asynchronous JavaScript"
|
344 |
msgstr "Asynchrones JavaScript"
|
345 |
|
346 |
-
#: includes/admin.php:
|
347 |
msgid ""
|
348 |
"Background loading without interfering with the display and behavior of the "
|
349 |
"existing page."
|
350 |
msgstr "JavaScript im Hintergrund laden, um dem Seitenaufbau zu beschleunigen."
|
351 |
|
352 |
-
#: includes/admin.php:
|
353 |
msgid "Synchronous JavaScript"
|
354 |
msgstr "Synchrones JavaScript"
|
355 |
|
356 |
-
#: includes/admin.php:
|
357 |
msgid "Real-time loading when the page is being rendered by the browser."
|
358 |
msgstr "JavaScript in Echtzeit laden."
|
359 |
|
360 |
-
#: includes/admin.php:
|
361 |
msgid "Enable the social networks/identity providers of your choice"
|
362 |
msgstr "Wählen Sie die sozialen Netzwerke aus:"
|
363 |
|
364 |
-
#: includes/admin.php:
|
365 |
#, php-format
|
366 |
msgid ""
|
367 |
"To enable cyrillic usernames, you might need <a target=\"_blank\" href=\"%s"
|
@@ -370,15 +586,15 @@ msgstr ""
|
|
370 |
"Um kyrillische Zeichen zu verwenden, brauchen Sie <a target=\"_blank\" href="
|
371 |
"\"%s\">dieses Plugin</a>"
|
372 |
|
373 |
-
#: includes/admin.php:
|
374 |
msgid "Save Changes"
|
375 |
msgstr "Einstellungen speichern"
|
376 |
|
377 |
-
#: includes/admin.php:
|
378 |
msgid "Logout to see the plugin in action!"
|
379 |
msgstr "Sie müssen ausloggen, um das Plugin testen zu können."
|
380 |
|
381 |
-
#: includes/admin.php:
|
382 |
msgid ""
|
383 |
"Social Login is a plugin that allows your users to comment, login and "
|
384 |
"register with their existing Social Network accounts. If a user is already "
|
@@ -391,16 +607,16 @@ msgstr ""
|
|
391 |
"Plugin nicht angezeigt, da der Benutzer bereits angemeldet ist, und keine "
|
392 |
"weitere Anmeldenmöglichkeit benötigt. "
|
393 |
|
394 |
-
#: includes/admin.php:
|
395 |
msgid "You therefore have to logout to see the plugin in action."
|
396 |
msgstr ""
|
397 |
"Sie müssen Sich aus diesem Grund ausloggen, um das Plugin testen zu können."
|
398 |
|
399 |
-
#: includes/admin.php:
|
400 |
msgid "General Settings"
|
401 |
msgstr "Allgemeine Einstellungen"
|
402 |
|
403 |
-
#: includes/admin.php:
|
404 |
msgid ""
|
405 |
"Enter the description to be displayed above the Social Login buttons (leave "
|
406 |
"empty for none):"
|
@@ -408,26 +624,27 @@ msgstr ""
|
|
408 |
"Welcher Text soll über den Icons der sozialen Netzwerke angezeigt werden "
|
409 |
"(ggf. leer lassen) ?"
|
410 |
|
411 |
-
#: includes/admin.php:
|
412 |
msgid "Connect with:"
|
413 |
msgstr "Einloggen mit:"
|
414 |
|
415 |
-
#: includes/admin.php:
|
416 |
-
msgid "
|
417 |
-
msgstr ""
|
418 |
-
"Wollen Sie die standard -oder kleinere Icons für soziale Netzwerke verwenden?"
|
419 |
|
420 |
-
#: includes/admin.php:
|
421 |
-
|
422 |
-
|
423 |
-
msgstr "Standard-Icons verwenden (%s)"
|
424 |
|
425 |
-
#: includes/admin.php:
|
426 |
-
|
427 |
-
|
428 |
-
|
|
|
|
|
|
|
429 |
|
430 |
-
#: includes/admin.php:
|
431 |
msgid ""
|
432 |
"Do you want to display the social networks used to connect in the user list "
|
433 |
"of the administration area ?"
|
@@ -435,17 +652,17 @@ msgstr ""
|
|
435 |
"Sollen die verwendeten sozialen Netzwerke in der Benutzerliste angezeigt "
|
436 |
"werden?"
|
437 |
|
438 |
-
#: includes/admin.php:
|
439 |
msgid ""
|
440 |
"Yes, add a new column to the user list and display the social network that "
|
441 |
"the user connected with"
|
442 |
msgstr "Ja, eine weitere Spalte in der Benutzerliste anzeigen"
|
443 |
|
444 |
-
#: includes/admin.php:
|
445 |
msgid "No, do not display the social networks in the user list"
|
446 |
msgstr "Nein, soziale Netzwerke nicht anzeigen"
|
447 |
|
448 |
-
#: includes/admin.php:
|
449 |
msgid ""
|
450 |
"Do you want to receive an email whenever a new user registers with Social "
|
451 |
"Login ?"
|
@@ -453,53 +670,43 @@ msgstr ""
|
|
453 |
"Wollen Sie per Email benachrichtigt werden, sobald ein Benutzer sich mit "
|
454 |
"Social Login anmeldet?"
|
455 |
|
456 |
-
#: includes/admin.php:
|
457 |
msgid "Yes, send me an email whenever a new user registers with Social Login"
|
458 |
msgstr ""
|
459 |
"Ja, ich möchte eine Email erhalten, wenn jemand sich mit Social Login "
|
460 |
"anmeldet"
|
461 |
|
462 |
-
#: includes/admin.php:
|
463 |
msgid "No, do not send me any emails"
|
464 |
msgstr "Nein, keine Benachrichtigung per Email versenden"
|
465 |
|
466 |
-
#: includes/admin.php:
|
467 |
msgid "User Settings"
|
468 |
msgstr "Benutzer Einstellungen"
|
469 |
|
470 |
-
#: includes/admin.php:
|
471 |
msgid ""
|
472 |
"If the user's social network profile has no email address, should we ask the "
|
473 |
"user to enter it manually?"
|
474 |
msgstr ""
|
475 |
-
"Müssen Benutzer Ihre Email Address manuell eingeben falls
|
476 |
-
"
|
477 |
|
478 |
-
#: includes/admin.php:
|
479 |
msgid ""
|
480 |
"No, simplify the registration by automatically creating a placeholder email"
|
481 |
msgstr ""
|
482 |
"Nein, in diesem Fall eine Platzhalter-Email anlegen (vereinfach die "
|
483 |
"Registrierung)"
|
484 |
|
485 |
-
#: includes/admin.php:
|
486 |
msgid ""
|
487 |
"Yes, require the user to enter his email address manually and display this "
|
488 |
"message:"
|
489 |
msgstr ""
|
490 |
"Ja, Benutzer mit folgendem Text auffordern, ihre Email-Adresse einzugeben:"
|
491 |
|
492 |
-
#: includes/admin.php:
|
493 |
-
#, php-format
|
494 |
-
msgid ""
|
495 |
-
"<strong>We unfortunately could not retrieve your email address from %s.</"
|
496 |
-
"strong> Please enter your email address in the form below in order to "
|
497 |
-
"continue."
|
498 |
-
msgstr ""
|
499 |
-
"<strong>Wir konnten Ihre E-Mail-Adresse leider nicht über Ihr %s Konto "
|
500 |
-
"ermitteln.</strong> Bitte geben Sie Ihre Email-Adresse nachfolgend an."
|
501 |
-
|
502 |
-
#: includes/admin.php:977
|
503 |
#, php-format
|
504 |
msgid ""
|
505 |
"HTML is allowed, the placeholder %s is replaced by the name of the social "
|
@@ -508,7 +715,7 @@ msgstr ""
|
|
508 |
"HTML ist erlaubt, der Platzhalter %s wird durch den Namen des sozialen "
|
509 |
"Netzwerks ersetzt."
|
510 |
|
511 |
-
#: includes/admin.php:
|
512 |
msgid ""
|
513 |
"If the user's social network profile has a verified email, should we try to "
|
514 |
"link it to an existing account?"
|
@@ -516,16 +723,16 @@ msgstr ""
|
|
516 |
"Sollen soziale Profile mit überprüfter Email mit vorhandenen Blog-Nutzern "
|
517 |
"verknüpft werden?"
|
518 |
|
519 |
-
#: includes/admin.php:
|
520 |
msgid ""
|
521 |
"Yes, try to link verified social network profiles to existing blog accounts"
|
522 |
msgstr "Ja, verknüpfe soziale Profile gegebenenfalls mit vorhanden Nutzern"
|
523 |
|
524 |
-
#: includes/admin.php:
|
525 |
msgid "No, disable account linking"
|
526 |
msgstr "Nein, keine Verknüpfung"
|
527 |
|
528 |
-
#: includes/admin.php:
|
529 |
msgid ""
|
530 |
"If the user's social network profile has an avatar, should this avatar be "
|
531 |
"used as default avatar for the user?"
|
@@ -533,35 +740,35 @@ msgstr ""
|
|
533 |
"Sollen die Benutzerbilder der sozialen Netwerke gegebenenfalls als Avatare "
|
534 |
"verwendet werden?"
|
535 |
|
536 |
-
#: includes/admin.php:
|
537 |
msgid "No, do not use avatars from social networks"
|
538 |
msgstr "Nein, keine Benutzerbilder der sozialen Netzwerke verwenden"
|
539 |
|
540 |
-
#: includes/admin.php:
|
541 |
msgid "Yes, use small avatars from social networks if available"
|
542 |
msgstr "Ja, verwende Benutzerbilder (kleines Format) der sozialen Netzwerke"
|
543 |
|
544 |
-
#: includes/admin.php:
|
545 |
msgid "Yes, use large avatars from social networks if available"
|
546 |
msgstr "Ja, verwende Benutzerbilder (grosses Format) der sozialen Netzwerke"
|
547 |
|
548 |
-
#: includes/admin.php:
|
549 |
msgid "Comment Settings"
|
550 |
msgstr "Einstellungen: Kommentare"
|
551 |
|
552 |
-
#: includes/admin.php:
|
553 |
msgid "Show the Social Login buttons in the comment area?"
|
554 |
msgstr "Das Plugin über dem Kommentare-Formular anzeigen?"
|
555 |
|
556 |
-
#: includes/admin.php:
|
557 |
msgid "Yes, show the Social Login buttons"
|
558 |
msgstr "Ja, zeige das Plugin an"
|
559 |
|
560 |
-
#: includes/admin.php:
|
561 |
msgid "No, do not show the Social Login buttons"
|
562 |
msgstr "Nein, Plugin nicht anzeigen"
|
563 |
|
564 |
-
#: includes/admin.php:
|
565 |
msgid ""
|
566 |
"Show the Social Login buttons in the comment area if comments are disabled "
|
567 |
"for guests?"
|
@@ -569,7 +776,7 @@ msgstr ""
|
|
569 |
"Login mit einem sozialen Netzwerk anbieten falls Kommentare für Gäste "
|
570 |
"deaktiviert sind?"
|
571 |
|
572 |
-
#: includes/admin.php:
|
573 |
msgid ""
|
574 |
"The buttons will be displayed below the \"You must be logged in to leave a "
|
575 |
"comment\" notice."
|
@@ -577,65 +784,65 @@ msgstr ""
|
|
577 |
"Die Icons werden unter \"Du musst angemeldet sein, um einen Kommentar "
|
578 |
"abzugeben\" angezeigt."
|
579 |
|
580 |
-
#: includes/admin.php:
|
581 |
msgid ""
|
582 |
"Automatically approve comments left by users that connected by using Social "
|
583 |
"Login?"
|
584 |
msgstr ""
|
585 |
-
"Kommentare automatisch freischalten, falls dessen Autor sich mit
|
586 |
-
"eingeloggt hat?"
|
587 |
|
588 |
-
#: includes/admin.php:
|
589 |
msgid ""
|
590 |
"Yes, automatically approve comments made by users that connected with Social "
|
591 |
"Login"
|
592 |
msgstr "Ja, Kommentare automatisch freischalten"
|
593 |
|
594 |
-
#: includes/admin.php:
|
595 |
msgid "No, do not automatically approve"
|
596 |
msgstr "Nein, Kommentare nicht automatisch freischalten"
|
597 |
|
598 |
-
#: includes/admin.php:
|
599 |
msgid "Profile Settings"
|
600 |
msgstr "Mitgliederprofil Einstellungen"
|
601 |
|
602 |
-
#: includes/admin.php:
|
603 |
msgid "Show the Social Link buttons in the user profile?"
|
604 |
msgstr "Social Link im Mitgliederprofil anzeigen?"
|
605 |
|
606 |
-
#: includes/admin.php:
|
607 |
msgid ""
|
608 |
"Keep this option enabled to allow each user to connect multiple social "
|
609 |
"networks to his own profile."
|
610 |
msgstr ""
|
611 |
"Aktivieren Sie diese Option, damit Ihre Mitglieder Ihr Konto mit sozialen "
|
612 |
-
"Netzwerken
|
613 |
|
614 |
-
#: includes/admin.php:
|
615 |
msgid "Yes, show the Social Link buttons"
|
616 |
msgstr "Ja, zeige Social Link an"
|
617 |
|
618 |
-
#: includes/admin.php:
|
619 |
msgid "No, do not show the Social Link buttons"
|
620 |
msgstr "Nein, Social Link nicht anzeigen"
|
621 |
|
622 |
-
#: includes/admin.php:
|
623 |
msgid "Login Page Settings"
|
624 |
msgstr "Einstellungen: Login-Seite"
|
625 |
|
626 |
-
#: includes/admin.php:
|
627 |
msgid "Do you want to display Social Login on the login form of your blog?"
|
628 |
msgstr "Das Plugin auf der Login-Seite Ihres Blogs anzeigen?"
|
629 |
|
630 |
-
#: includes/admin.php:
|
631 |
msgid "Yes, display the social network buttons below the login form"
|
632 |
msgstr "Ja, die Icons der sozialen Netzwerke auf der Login-Seite anzeigen"
|
633 |
|
634 |
-
#: includes/admin.php:
|
635 |
msgid "No, disable social network buttons in the login form"
|
636 |
msgstr "Nein, keine Icons auf der Login-Seite anzeigen"
|
637 |
|
638 |
-
#: includes/admin.php:
|
639 |
msgid ""
|
640 |
"Where should users be redirected to after having logged in with Social Login "
|
641 |
"on the login page?"
|
@@ -643,44 +850,64 @@ msgstr ""
|
|
643 |
"Wohin sollen Nutzer weitergeleitet werden, nachdem Sie sich Social Login auf "
|
644 |
"der Login-Seite eingeloggt haben?"
|
645 |
|
646 |
-
#: includes/admin.php:
|
647 |
-
#: includes/admin.php:
|
648 |
msgid "Redirect users back to the current page"
|
649 |
-
msgstr "
|
650 |
|
651 |
-
#: includes/admin.php:
|
652 |
-
#: includes/admin.php:
|
653 |
msgid "Redirect users to the homepage of my blog"
|
654 |
msgstr "Weiterleitung zur Hauptseite meines Blogs"
|
655 |
|
656 |
-
#: includes/admin.php:
|
657 |
-
#: includes/admin.php:
|
658 |
msgid "Redirect users to their account dashboard"
|
659 |
msgstr "Weiterleitung zur Profilseite des Nutzers"
|
660 |
|
661 |
-
#: includes/admin.php:
|
662 |
-
#: includes/admin.php:
|
663 |
msgid "Redirect users to the following url"
|
664 |
msgstr "Weiterleitung zu dieser URL"
|
665 |
|
666 |
-
#: includes/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
667 |
msgid "Registration Page Settings"
|
668 |
msgstr "Einstellungen: Anmelden-Seite"
|
669 |
|
670 |
-
#: includes/admin.php:
|
671 |
msgid ""
|
672 |
"Do you want to display Social Login on the registration form of your blog?"
|
673 |
msgstr "Das Plugin auf der Anmelden-Seite Ihres Blogs anzeigen?"
|
674 |
|
675 |
-
#: includes/admin.php:
|
676 |
msgid "Yes, display the social network buttons below the registration form"
|
677 |
msgstr "Ja, die Icons der sozialen Netzwerke auf der Anmelden-Seite anzeigen"
|
678 |
|
679 |
-
#: includes/admin.php:
|
680 |
msgid "No, disable social network buttons in the registration form"
|
681 |
msgstr "Nein, keine Icons auf der Anmelden-Seite anzeigen"
|
682 |
|
683 |
-
#: includes/admin.php:
|
684 |
msgid ""
|
685 |
"Where should users be redirected to after having registered with Social "
|
686 |
"Login on the registration page?"
|
@@ -688,11 +915,11 @@ msgstr ""
|
|
688 |
"Wohin sollen Nutzer weitergeleitet werden, nachdem sie ein Konto mit einem "
|
689 |
"sozialen Netzwerk angelegt haben?"
|
690 |
|
691 |
-
#: includes/admin.php:
|
692 |
msgid "Widget & Shortcode Settings"
|
693 |
msgstr "Widget & Shortcode Einstellungen"
|
694 |
|
695 |
-
#: includes/admin.php:
|
696 |
msgid ""
|
697 |
"Redirect users to this page after they have logged in with Social Login "
|
698 |
"embedded by Widget/Shortcode:"
|
@@ -700,7 +927,7 @@ msgstr ""
|
|
700 |
"Benutzer zu dieser Seite weiterleiten nachdem sie im Social Login Widget/"
|
701 |
"Shortcode eingloggt haben:"
|
702 |
|
703 |
-
#: includes/admin.php:
|
704 |
msgid ""
|
705 |
"Redirect users to this page after they have registered with Social Login "
|
706 |
"embedded by Widget/Shortcode:"
|
@@ -708,95 +935,6 @@ msgstr ""
|
|
708 |
"Benutzer zu dieser Seite weiterleiten nachdem sie über das Social Login "
|
709 |
"Widget/Shortcode registriert haben:"
|
710 |
|
711 |
-
#: includes/user_interface.php:115 includes/user_interface.php:926
|
712 |
-
msgid "Please enable at least one social network!"
|
713 |
-
msgstr "Bitte aktivieren Sie mindestens ein soziales Netzwerk!"
|
714 |
-
|
715 |
-
#: includes/user_interface.php:160 includes/user_interface.php:198
|
716 |
-
#, php-format
|
717 |
-
msgid "You have successfully linked your %s account."
|
718 |
-
msgstr "Sie haben Ihr %s Konto erfolgreich hinzugefügt."
|
719 |
-
|
720 |
-
#: includes/user_interface.php:192 includes/user_interface.php:283
|
721 |
-
#, php-format
|
722 |
-
msgid "This %s account is already used by another user of this website."
|
723 |
-
msgstr "Dieses %s Konto wird bereit von einem anderen Nutzer verwendet."
|
724 |
-
|
725 |
-
#: includes/user_interface.php:223
|
726 |
-
#, php-format
|
727 |
-
msgid "You have successfully unlinked your %s account."
|
728 |
-
msgstr "Sie haben die Verbindung mit dem %s Konto getrennt."
|
729 |
-
|
730 |
-
#: includes/user_interface.php:271
|
731 |
-
msgid ""
|
732 |
-
"You might no longer be able to login to this website if you don't link at "
|
733 |
-
"least one social network."
|
734 |
-
msgstr ""
|
735 |
-
"Sie können sich womöglich nicht mehr einloggen, falls Sie nicht mindestens "
|
736 |
-
"ein soziales Netzwerk koppeln."
|
737 |
-
|
738 |
-
#: includes/user_interface.php:347
|
739 |
-
msgid "Connect your account to one or more social networks"
|
740 |
-
msgstr "Verbinden Sie Ihr Konto mit einem oder mehreren sozialen Netzwerken"
|
741 |
-
|
742 |
-
#: includes/user_interface.php:1028 includes/user_interface.php:1104
|
743 |
-
msgid "Please enter your email address"
|
744 |
-
msgstr "Bitte geben Sie Ihre E-Mail-Adresse ein"
|
745 |
-
|
746 |
-
#: includes/user_interface.php:1034
|
747 |
-
msgid "This email is not valid"
|
748 |
-
msgstr "Diese E-Mail-Adresse ist ungültig"
|
749 |
-
|
750 |
-
#: includes/user_interface.php:1039
|
751 |
-
msgid "This email is already used by another account"
|
752 |
-
msgstr "Diese E-Mail-Adresse wird bereits verwendet"
|
753 |
-
|
754 |
-
#: includes/user_interface.php:1091
|
755 |
-
#, php-format
|
756 |
-
msgid "You have successfully connected with %s!"
|
757 |
-
msgstr "Sie haben Sich erfolgreicht mit %s angemeldet!"
|
758 |
-
|
759 |
-
#: includes/user_interface.php:1116
|
760 |
-
msgid "Confirm"
|
761 |
-
msgstr "Bestätigen"
|
762 |
-
|
763 |
-
#: includes/user_interface.php:1117
|
764 |
-
msgid "Cancel"
|
765 |
-
msgstr "Abbrechen"
|
766 |
-
|
767 |
-
#: includes/widget.php:14
|
768 |
-
msgid ""
|
769 |
-
"Allow your visitors to login and register with social networks like Twitter, "
|
770 |
-
"Facebook, LinkedIn, Hyves, Google and Yahoo."
|
771 |
-
msgstr ""
|
772 |
-
"Erlauben Sie Ihren Nutzern, sich mit sozialen Netwerken wie z.B. Twitter, "
|
773 |
-
"Facebook, LinkedIn, Hyves, Google und Yahoo anzumelden, und Kommentare zu "
|
774 |
-
"schreiben"
|
775 |
-
|
776 |
-
#: includes/widget.php:62
|
777 |
-
msgid "Connect with"
|
778 |
-
msgstr "Einloggen mit"
|
779 |
-
|
780 |
-
#: includes/widget.php:77
|
781 |
-
msgid "Title"
|
782 |
-
msgstr "Titel"
|
783 |
-
|
784 |
-
#: includes/widget.php:81
|
785 |
-
msgid "Insert text/html to add before the widget"
|
786 |
-
msgstr "Text/Html vor dem Widget einfügen"
|
787 |
-
|
788 |
-
#: includes/widget.php:85
|
789 |
-
msgid "Insert text/html to add after the widget"
|
790 |
-
msgstr "Text/Html nach dem Widget einfügen"
|
791 |
-
|
792 |
-
#: includes/widget.php:90
|
793 |
-
msgid "Tick to hide widget for logged-in users"
|
794 |
-
msgstr "Widget verstecken bei eingeloggten Nutzern"
|
795 |
-
|
796 |
-
#: includes/widget.php:94
|
797 |
-
msgid "Tick to use small buttons"
|
798 |
-
msgstr "Kleine Icons verwenden"
|
799 |
-
|
800 |
#: includes/toolbox.php:87
|
801 |
#, php-format
|
802 |
msgid "[%s] New User Registration"
|
@@ -817,6 +955,39 @@ msgstr "Benutzername: %s"
|
|
817 |
msgid "Social Network: %s"
|
818 |
msgstr "Soziales Netzwerk: %s"
|
819 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
820 |
#~ msgid "This Social Network account may not be used to register"
|
821 |
#~ msgstr "Dieses Konto kann nicht zur Anmeldung genutzt werden"
|
822 |
|
@@ -849,9 +1020,6 @@ msgstr "Soziales Netzwerk: %s"
|
|
849 |
#~ msgid "The API credentials are wrong"
|
850 |
#~ msgstr "Die API-Nutzerdaten sind ungültig"
|
851 |
|
852 |
-
#~ msgid "Social Login Settings"
|
853 |
-
#~ msgstr "Social Login Einstellungen"
|
854 |
-
|
855 |
#~ msgid "Make your blog social!"
|
856 |
#~ msgstr "Verbinden Sie Ihren Blog mit den sozialen Netzwerken!"
|
857 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Social Login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2019-06-20 15:15+0100\n"
|
6 |
+
"PO-Revision-Date: 2019-06-20 15:36+0100\n"
|
7 |
"Last-Translator: Claude <cschlesser@oneall.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: de\n"
|
16 |
"X-Generator: Poedit 1.5.4\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
+
#: oa-social-login.php:25
|
20 |
#, php-format
|
21 |
msgid ""
|
22 |
"This plugin requires WordPress %s or newer. Please update your WordPress "
|
25 |
"Dieses Plugin benötigt Wordpress %s oder höher. Bitte aktualisieren Sie "
|
26 |
"WordPress, um dieses Plugin zu nutzen."
|
27 |
|
28 |
+
#: oa-social-login.php:47 includes/admin.php:67 includes/admin.php:82
|
29 |
+
#: includes/admin.php:676 includes/admin.php:750 includes/admin.php:1020
|
30 |
msgid "Setup"
|
31 |
msgstr "Einrichten"
|
32 |
|
33 |
+
#: includes/user_interface.php:115 includes/user_interface.php:945
|
34 |
+
msgid "Please enable at least one social network!"
|
35 |
+
msgstr "Bitte aktivieren Sie mindestens ein soziales Netzwerk!"
|
36 |
+
|
37 |
+
#: includes/user_interface.php:166 includes/user_interface.php:191
|
38 |
+
#, php-format
|
39 |
+
msgid "You have successfully linked your %s account."
|
40 |
+
msgstr "Sie haben Ihr %s Konto erfolgreich hinzugefügt."
|
41 |
+
|
42 |
+
#: includes/user_interface.php:185 includes/user_interface.php:274
|
43 |
+
#, php-format
|
44 |
+
msgid "This %s account is already used by another user of this website."
|
45 |
+
msgstr "Dieses %s Konto wird bereit von einem anderen Nutzer verwendet."
|
46 |
+
|
47 |
+
#: includes/user_interface.php:242
|
48 |
+
#, php-format
|
49 |
+
msgid "You have successfully unlinked your %s account."
|
50 |
+
msgstr "Sie haben die Verbindung mit dem %s Konto getrennt."
|
51 |
+
|
52 |
+
#: includes/user_interface.php:263
|
53 |
+
msgid ""
|
54 |
+
"You might no longer be able to login to this website if you don't link at "
|
55 |
+
"least one social network."
|
56 |
+
msgstr ""
|
57 |
+
"Sie können sich womöglich nicht mehr einloggen, falls Sie nicht mindestens "
|
58 |
+
"ein soziales Netzwerk koppeln."
|
59 |
+
|
60 |
+
#: includes/user_interface.php:286
|
61 |
+
msgid "This social network account is already used by another user."
|
62 |
+
msgstr "Dieses %s Konto wird bereit von einem anderen Nutzer verwendet."
|
63 |
+
|
64 |
+
#: includes/user_interface.php:350
|
65 |
+
msgid "Connect your account to one or more social networks"
|
66 |
+
msgstr "Verbinden Sie Ihr Konto mit einem oder mehreren sozialen Netzwerken"
|
67 |
+
|
68 |
+
#: includes/user_interface.php:1047 includes/user_interface.php:1130
|
69 |
+
msgid "Please enter your email address"
|
70 |
+
msgstr "Bitte geben Sie Ihre E-Mail-Adresse ein"
|
71 |
+
|
72 |
+
#: includes/user_interface.php:1053
|
73 |
+
msgid "This email is not valid"
|
74 |
+
msgstr "Diese E-Mail-Adresse ist ungültig"
|
75 |
+
|
76 |
+
#: includes/user_interface.php:1058
|
77 |
+
msgid "This email is already used by another account"
|
78 |
+
msgstr "Diese E-Mail-Adresse wird bereits verwendet"
|
79 |
+
|
80 |
+
#: includes/user_interface.php:1097 includes/admin.php:1132
|
81 |
+
#, php-format
|
82 |
+
msgid ""
|
83 |
+
"<strong>We unfortunately could not retrieve your email address from %s.</"
|
84 |
+
"strong> Please enter your email address in the form below in order to "
|
85 |
+
"continue."
|
86 |
+
msgstr ""
|
87 |
+
"<strong>Wir konnten Ihre E-Mail-Adresse leider nicht über Ihr %s Konto "
|
88 |
+
"ermitteln.</strong> Bitte geben Sie Ihre Email-Adresse nachfolgend an."
|
89 |
+
|
90 |
+
#: includes/user_interface.php:1117
|
91 |
+
#, php-format
|
92 |
+
msgid "You have successfully connected with %s!"
|
93 |
+
msgstr "Sie haben Sich erfolgreicht mit %s angemeldet!"
|
94 |
+
|
95 |
+
#: includes/user_interface.php:1142
|
96 |
+
msgid "Confirm"
|
97 |
+
msgstr "Bestätigen"
|
98 |
+
|
99 |
+
#: includes/user_interface.php:1143
|
100 |
+
msgid "Cancel"
|
101 |
+
msgstr "Abbrechen"
|
102 |
+
|
103 |
+
#: includes/widget.php:14
|
104 |
+
msgid ""
|
105 |
+
"Allows your users to login and register with their social network accounts."
|
106 |
+
msgstr ""
|
107 |
+
"Erlauben Sie Ihren Nutzern, sich mit sozialen Netwerken anzumelden, und "
|
108 |
+
"Kommentare zu schreiben"
|
109 |
+
|
110 |
+
#: includes/widget.php:62
|
111 |
+
msgid "Connect with"
|
112 |
+
msgstr "Einloggen mit"
|
113 |
+
|
114 |
+
#: includes/widget.php:77
|
115 |
+
msgid "Title"
|
116 |
+
msgstr "Titel"
|
117 |
+
|
118 |
+
#: includes/widget.php:81
|
119 |
+
msgid "Icon Theme"
|
120 |
+
msgstr "Icon Thema"
|
121 |
+
|
122 |
+
#: includes/widget.php:83
|
123 |
+
msgid "Classic Icons"
|
124 |
+
msgstr "Klassische Icons"
|
125 |
+
|
126 |
+
#: includes/widget.php:84
|
127 |
+
msgid "Modern Icons"
|
128 |
+
msgstr "Moderne Icons"
|
129 |
+
|
130 |
+
#: includes/widget.php:85
|
131 |
+
msgid "Small Icons"
|
132 |
+
msgstr "Kleine Icons"
|
133 |
+
|
134 |
+
#: includes/widget.php:89
|
135 |
+
msgid "Insert text/html to add before the widget"
|
136 |
+
msgstr "Text/Html vor dem Widget einfügen"
|
137 |
+
|
138 |
+
#: includes/widget.php:93
|
139 |
+
msgid "Insert text/html to add after the widget"
|
140 |
+
msgstr "Text/Html nach dem Widget einfügen"
|
141 |
+
|
142 |
+
#: includes/widget.php:98
|
143 |
+
msgid "Tick to hide the widget for logged-in users"
|
144 |
+
msgstr "Widget verstecken bei eingeloggten Nutzern"
|
145 |
+
|
146 |
#: includes/admin.php:14
|
147 |
msgid "Registration"
|
148 |
msgstr "Registriert mit"
|
149 |
|
150 |
+
#: includes/admin.php:55
|
151 |
msgid "Registration Form"
|
152 |
msgstr "Anmeldeformular"
|
153 |
|
154 |
+
#: includes/admin.php:71 includes/admin.php:677 includes/admin.php:751
|
155 |
+
#: includes/admin.php:1021
|
156 |
msgid "Settings"
|
157 |
msgstr "Einstellungen"
|
158 |
|
159 |
+
#: includes/admin.php:75 includes/admin.php:678 includes/admin.php:752
|
160 |
+
#: includes/admin.php:1022
|
161 |
+
msgid "+More"
|
162 |
+
msgstr "+Mehr"
|
163 |
+
|
164 |
+
#: includes/admin.php:133
|
165 |
msgid "Thank you for using Social Login!"
|
166 |
msgstr "Danke, dass Sie Social Login installiert haben!"
|
167 |
|
168 |
+
#: includes/admin.php:133
|
169 |
#, php-format
|
170 |
msgid ""
|
171 |
"Please complete the <strong><a href=\"%s\">Social Login Setup</a></strong> "
|
174 |
"Bitte rufen Sie die Seite <strong><a href=\"%s\">Einstellungen\\Social "
|
175 |
"Login</a></strong> auf, um das Plugin zu konfigurieren."
|
176 |
|
177 |
+
#: includes/admin.php:181
|
178 |
+
#, php-format
|
179 |
+
msgid ""
|
180 |
+
"Hey, I noticed that more than %s users have already connected using Social "
|
181 |
+
"Login - that's awesome!"
|
182 |
+
msgstr ""
|
183 |
+
"Es haben sich bereits mehr als %s Benutzer über Social Login angemeldet! "
|
184 |
+
"Herzlichen Glückwunsch."
|
185 |
+
|
186 |
+
#: includes/admin.php:184
|
187 |
+
msgid ""
|
188 |
+
"It's great to see that the plugin works for you! Could you please do me a "
|
189 |
+
"BIG favor and give it a 5-star rating on WordPress? "
|
190 |
+
msgstr ""
|
191 |
+
"Es freut uns zu sehen, dass das Plugin soviel Erfolg hat! Könnten Sie uns "
|
192 |
+
"bitte einen Gefallen tun, und uns eine 5-Sterne Bewertung schreiben?"
|
193 |
+
|
194 |
+
#: includes/admin.php:185
|
195 |
+
msgid ""
|
196 |
+
"Just to help us spread the word and boost our motivation. Thank you so much!"
|
197 |
+
msgstr ""
|
198 |
+
"Dies wäre eine grossartige Motivation für unser Team und würde uns helfen, "
|
199 |
+
"das Plugin noch bekannter zu machen. Herzlich Dank!"
|
200 |
+
|
201 |
+
#: includes/admin.php:188
|
202 |
+
msgid "Ok, you deserve it"
|
203 |
+
msgstr "Ja, mache ich gerne"
|
204 |
+
|
205 |
+
#: includes/admin.php:189
|
206 |
+
msgid "Not now, maybe later"
|
207 |
+
msgstr "Mache ich später"
|
208 |
+
|
209 |
+
#: includes/admin.php:190
|
210 |
+
msgid "I already did"
|
211 |
+
msgstr "Habe ich bereits getan"
|
212 |
+
|
213 |
+
#: includes/admin.php:387
|
214 |
msgid "Contacting API - please wait this may take a few minutes ..."
|
215 |
msgstr "Teste Einstellungen - Dies kann einige Minutern dauern ..."
|
216 |
|
217 |
+
#: includes/admin.php:388
|
218 |
msgid "The settings are correct - do not forget to save your changes!"
|
219 |
msgstr "Die Einstellungen sind korrekt! Vergessen Sie nicht abzuspeichern!"
|
220 |
|
221 |
+
#: includes/admin.php:389
|
222 |
msgid "Please fill out each of the fields above."
|
223 |
msgstr "Bitte füllen Sie alle Felder aus."
|
224 |
|
225 |
+
#: includes/admin.php:390
|
226 |
msgid "The subdomain does not exist. Have you filled it out correctly?"
|
227 |
msgstr "Subdomain wurde nicht gefunden. Haben Sie sie richtig ausgefüllt?"
|
228 |
|
229 |
+
#: includes/admin.php:391
|
230 |
msgid "The subdomain has a wrong syntax!"
|
231 |
msgstr "Die Subdomain ist ungültig!"
|
232 |
|
233 |
+
#: includes/admin.php:392
|
234 |
msgid "Could not contact API. Are outbound requests on port 443 allowed?"
|
235 |
msgstr ""
|
236 |
"Keine Verbindung zur API. Eventuell blockiert Ihre Firewall Anfragen auf "
|
237 |
"Port 443."
|
238 |
|
239 |
+
#: includes/admin.php:393
|
240 |
msgid "The API subdomain is correct, but one or both keys are invalid"
|
241 |
msgstr "Die API-Subdomain ist korrekt, aber die Schlüssel stimmen nicht."
|
242 |
|
243 |
+
#: includes/admin.php:394
|
244 |
msgid "Connection handler does not work, try using the Autodetection"
|
245 |
msgstr "Verbindungsfehler! Bitte nutzen Sie die automatische Erkennung"
|
246 |
|
247 |
+
#: includes/admin.php:395
|
248 |
msgid "Detected CURL on Port 443 - do not forget to save your changes!"
|
249 |
msgstr ""
|
250 |
"CURL kann auf Port 443 verwendet werden. Vergessen Sie nicht abzuspeichern!"
|
251 |
|
252 |
+
#: includes/admin.php:396
|
253 |
msgid "Detected CURL on Port 80 - do not forget to save your changes!"
|
254 |
msgstr ""
|
255 |
"CURL kann auf Port 80 verwendet werden. Vergessen Sie nicht abzuspeichern!"
|
256 |
|
257 |
+
#: includes/admin.php:397
|
258 |
msgid ""
|
259 |
"CURL is available but both ports (80, 443) are blocked for outbound requests"
|
260 |
msgstr ""
|
261 |
"CURL wurde gefunden. Die Ports 80 und 443 scheinen aber für ausgehende "
|
262 |
"Verbindungen gesperrt zu sein."
|
263 |
|
264 |
+
#: includes/admin.php:398
|
265 |
msgid "Detected FSOCKOPEN on Port 443 - do not forget to save your changes!"
|
266 |
msgstr ""
|
267 |
"FSOCKOPEN kann auf Port 443 verwendet werden. Vergessen Sie nicht "
|
268 |
"abzuspeichern!"
|
269 |
|
270 |
+
#: includes/admin.php:399
|
271 |
msgid "Detected FSOCKOPEN on Port 80 - do not forget to save your changes!"
|
272 |
msgstr ""
|
273 |
"FSOCKOPEN kann Port 80 verwendet werden. Vergessen Sie nicht abzuspeichern!"
|
274 |
|
275 |
+
#: includes/admin.php:400
|
276 |
msgid ""
|
277 |
"FSOCKOPEN is available but both ports (80, 443) are blocked for outbound "
|
278 |
"requests"
|
280 |
"FSOCKOPEN wurde gefunden. Die Ports 80 und 443 scheinen aber für ausgehende "
|
281 |
"Verbindungen gesperrt zu sein."
|
282 |
|
283 |
+
#: includes/admin.php:401
|
284 |
#, php-format
|
285 |
msgid ""
|
286 |
"Autodetection Error - our <a href=\"%s\" target=\"_blank\">documentation</a> "
|
289 |
"Verbindungsfehler - in unserer <a href=\"%s\" target=\"_blank"
|
290 |
"\">Dokumentation</a> finden Sie die Lösung."
|
291 |
|
292 |
+
#: includes/admin.php:685
|
293 |
+
#, php-format
|
294 |
msgid ""
|
295 |
+
"<a target=\"_blank\" href=\"%s\">Follow us on Twitter</a> to stay informed "
|
296 |
+
"about updates"
|
297 |
+
msgstr ""
|
298 |
+
"<a target=\"_blank\" href=\"%s\">Folgen Sie uns auf Twitter</a>, um auf dem "
|
299 |
+
"Laufenden zu bleiben"
|
300 |
+
|
301 |
+
#: includes/admin.php:686
|
302 |
+
#, php-format
|
303 |
+
msgid ""
|
304 |
+
"<a target=\"_blank\" href=\"%s\">Read the online documentation</a> for more "
|
305 |
+
"information about this plugin"
|
306 |
+
msgstr ""
|
307 |
+
"<a target=\"_blank\" href=\"%s\">Lesen Sie unsere Dokumentation</a> für "
|
308 |
+
"zusätzliche Information"
|
309 |
+
|
310 |
+
#: includes/admin.php:687
|
311 |
+
#, php-format
|
312 |
+
msgid ""
|
313 |
+
"<a target=\"_blank\" href=\"%s\">Contact us</a> if you have feedback or need "
|
314 |
+
"assistance"
|
315 |
+
msgstr ""
|
316 |
+
"<a target=\"_blank\" href=\"%s\">Schreiben Sie uns</a>, falls Sie Hilfe "
|
317 |
+
"benötigen"
|
318 |
+
|
319 |
+
#: includes/admin.php:688
|
320 |
+
#, php-format
|
321 |
+
msgid ""
|
322 |
+
"We also have <a target=\"_blank\" href=\"%s\">turnkey plugins</a> for "
|
323 |
+
"Drupal, PrestaShop, Joomla, phpBB andy many others ..."
|
324 |
+
msgstr ""
|
325 |
+
"Wir bieten auch Module für <a target=\"_blank\" href=\"%s\">Drupal, phpBB , "
|
326 |
+
"Joomla</a> und andere an"
|
327 |
+
|
328 |
+
#: includes/admin.php:693
|
329 |
+
msgid "Discover our other plugins!"
|
330 |
+
msgstr "Entdecken Sie unsere anderen Plugins!"
|
331 |
+
|
332 |
+
#: includes/admin.php:699
|
333 |
+
msgid "Social Login"
|
334 |
+
msgstr "Social Login"
|
335 |
+
|
336 |
+
#: includes/admin.php:702
|
337 |
+
msgid ""
|
338 |
+
"Allow your visitors to comment, login and register with 40+ social networks "
|
339 |
+
"like for example Twitter, Facebook, Pinterest, Instagram, Paypal, LinkedIn, "
|
340 |
+
"OpenID, VKontakte or Google+. Easy to use and 100% FREE."
|
341 |
+
msgstr ""
|
342 |
+
"Erlauben Sie Ihren Besuchern, sich mit 40+ Sozialen Netzwerk wie z.B. "
|
343 |
+
"Twitter, Facebook, LinkedIn, Instagram, Google oder Yahoo anzumelden, und "
|
344 |
+
"Kommentare zu hinterlassen."
|
345 |
+
|
346 |
+
#: includes/admin.php:703 includes/admin.php:716 includes/admin.php:729
|
347 |
+
msgid "More Info"
|
348 |
+
msgstr "Mehr Info"
|
349 |
+
|
350 |
+
#: includes/admin.php:712
|
351 |
+
msgid "LoudVoice Comment System"
|
352 |
+
msgstr "LoudVoice Kommentare"
|
353 |
+
|
354 |
+
#: includes/admin.php:715
|
355 |
+
msgid ""
|
356 |
+
"LoudVoice replaces the basic WordPress comments by a powerful comment system "
|
357 |
+
"that includes logging in with 40+ social networks, spam filters and more. "
|
358 |
+
"Easy to use and 100% FREE. Existing comments can be imported!"
|
359 |
+
msgstr ""
|
360 |
+
"LoudVoice ersetzt die WordPress Kommentare durch ein vielseitiges Kommentar-"
|
361 |
+
"System, das das Einloggen mit 40+ sozialen Netzwerken, Spam Filter und "
|
362 |
+
"automatische Backups beinhaltet. Bestehende Kommente können übernommen "
|
363 |
+
"werden!"
|
364 |
+
|
365 |
+
#: includes/admin.php:725
|
366 |
+
msgid "Single Sign-On"
|
367 |
+
msgstr "Single Sign-On"
|
368 |
+
|
369 |
+
#: includes/admin.php:728
|
370 |
+
msgid ""
|
371 |
+
"Automatically creates accounts and signs users in as they browse between "
|
372 |
+
"multiple and independent WordPress blogs or websites in your network. Take "
|
373 |
+
"away the need for your users to create new accounts or re-enter their "
|
374 |
+
"authentication credentials on every of your websites."
|
375 |
+
msgstr ""
|
376 |
+
"Legt automatische Benutzerkonten an, und loggt Benutzer automatisch ein, "
|
377 |
+
"wenn sie von einer Ihrer Webseite zu einer anderen Ihrer Webseiten wechseln. "
|
378 |
+
"Verhindert, dass die Benutzer sich auf jeder Webseite erneut anmelden und "
|
379 |
+
"einloggen müssen."
|
380 |
+
|
381 |
+
#: includes/admin.php:759
|
382 |
+
msgid ""
|
383 |
+
"Allow your visitors to comment, login and register with 40+ Social Networks "
|
384 |
"like for example Twitter, Facebook, LinkedIn, Instagram, VKontakte, Google "
|
385 |
"or Yahoo."
|
386 |
msgstr ""
|
387 |
+
"Erlauben Sie Ihren Besuchern, sich mit 40+ Sozialen Netzwerk wie z.B. "
|
388 |
"Twitter, Facebook, LinkedIn, Instagram, Google oder Yahoo anzumelden, und "
|
389 |
"Kommentare zu hinterlassen."
|
390 |
|
391 |
+
#: includes/admin.php:760
|
392 |
msgid ""
|
393 |
"Draw a larger audience and increase your user engagement in a few simple "
|
394 |
"steps."
|
395 |
msgstr "Steigern Sie die Beteilung Ihrer Nutzer auf einfachste Art und Weise."
|
396 |
|
397 |
+
#: includes/admin.php:764
|
398 |
+
msgid "Thank you for using Social Login"
|
399 |
+
msgstr "Danke, dass Sie Social Login installiert haben!"
|
400 |
|
401 |
+
#: includes/admin.php:767
|
402 |
#, php-format
|
403 |
msgid ""
|
404 |
"To be able to use this plugin you first of all need to create a free account "
|
405 |
+
"at %s. By using OneAll you will be sure that your social media integration "
|
406 |
+
"will always run smoothly and with the most up-to-date calls."
|
407 |
msgstr ""
|
408 |
"Um dieses Plugin nutzen zu können, müssen Sie sich zunächst kostenlos ein "
|
409 |
+
"Konto bei %s anmelden. Mit OneAll stellen Sie sicher, dass die Einbindung "
|
410 |
+
"der sozialen Netzwerk stets reibungslos funktioniert."
|
411 |
|
412 |
+
#: includes/admin.php:770
|
413 |
msgid ""
|
414 |
+
"After having created your account and setup a Site, please enter the Site "
|
415 |
+
"settings below."
|
416 |
msgstr ""
|
417 |
"Nachdem Sie Ihr Konto angemeldet haben, müssen Sie die API-Daten in das "
|
418 |
"nachfolgende Formular eintragen."
|
419 |
|
420 |
+
#: includes/admin.php:771
|
421 |
+
msgid "Don't worry the setup is free and takes only a few minutes!"
|
422 |
msgstr "Keine Sorge! Die Einrichtung dauert nur wenige Minuten."
|
423 |
|
424 |
+
#: includes/admin.php:772
|
|
|
|
|
|
|
|
|
425 |
#, php-format
|
426 |
msgid "You are in good company! This plugin is used on more than %s websites!"
|
427 |
msgstr "Mehr als %s Webseiten nutzen dieses Plugin. Seien Sie mit dabei!"
|
428 |
|
429 |
+
#: includes/admin.php:775
|
430 |
+
msgid "Click here to setup your free account"
|
431 |
+
msgstr "Kostenloses Konto anmelden"
|
432 |
|
433 |
+
#: includes/admin.php:789
|
434 |
msgid ""
|
435 |
+
"Login to your OneAll account to manage your social networks and to access "
|
436 |
+
"your Social Analytics, Graphs & Statistics."
|
437 |
msgstr ""
|
438 |
+
"Loggen Sie sich in Ihr OneAll Konto ein, um Einstellungen vorzunehmen und "
|
439 |
"Statistiken einzusehen."
|
440 |
|
441 |
+
#: includes/admin.php:792
|
442 |
+
msgid "Login to my OneAll account"
|
443 |
+
msgstr "In mein OneAll Konto einloggen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
444 |
|
445 |
+
#: includes/admin.php:793
|
446 |
+
msgid "Access my Social Analytics"
|
447 |
+
msgstr "Meine Statistiken aufrufen"
|
|
|
|
|
|
|
|
|
|
|
448 |
|
449 |
+
#: includes/admin.php:803
|
450 |
#, php-format
|
451 |
msgid ""
|
452 |
+
"Checkout the <a target=\"_blank\" href=\"%s\">online documentation</a> for "
|
453 |
+
"more information about this plugin"
|
454 |
msgstr ""
|
455 |
+
"Bitte lesen Sie unsere <a target=\"_blank\" href=\"%s\">Dokumentation</a> "
|
456 |
+
"für zusätzliche Informationen und Beispiele"
|
457 |
|
458 |
+
#: includes/admin.php:804
|
459 |
#, php-format
|
460 |
msgid ""
|
461 |
+
"Do not hesitate to <a target=\"_blank\" href=\"%s\">contact us</a> if you "
|
462 |
+
"have feedback or need assistance"
|
463 |
msgstr ""
|
464 |
+
"Bei weiteren Fragen können Sie uns gerne <a target=\"_blank\" href=\"%s"
|
465 |
+
"\">kontaktieren</a>"
|
466 |
|
467 |
+
#: includes/admin.php:812 includes/admin.php:1046
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
msgid "Your modifications have been saved successfully!"
|
469 |
msgstr "Ihre Einstellungen wurden erfolgreich gespeichert!"
|
470 |
|
471 |
+
#: includes/admin.php:824 includes/admin.php:832
|
472 |
msgid "API Connection Handler"
|
473 |
msgstr "API Kommunikation"
|
474 |
|
475 |
+
#: includes/admin.php:836
|
476 |
msgid "Use PHP CURL to communicate with the API"
|
477 |
msgstr "PHP CURL verwenden"
|
478 |
|
479 |
+
#: includes/admin.php:836 includes/admin.php:856 includes/admin.php:954
|
480 |
+
#: includes/admin.php:1096 includes/admin.php:1109 includes/admin.php:1130
|
481 |
+
#: includes/admin.php:1146 includes/admin.php:1162 includes/admin.php:1182
|
482 |
+
#: includes/admin.php:1197 includes/admin.php:1212 includes/admin.php:1235
|
483 |
+
#: includes/admin.php:1256 includes/admin.php:1272 includes/admin.php:1288
|
484 |
+
#: includes/admin.php:1312 includes/admin.php:1329 includes/admin.php:1344
|
485 |
+
#: includes/admin.php:1366 includes/admin.php:1384
|
486 |
msgid "Default"
|
487 |
msgstr "Standard"
|
488 |
|
489 |
+
#: includes/admin.php:837
|
490 |
msgid "Using CURL is recommended but it might be disabled on some servers."
|
491 |
msgstr "Empfohlene Einstellung, auf manchen Serven aber deaktiviert."
|
492 |
|
493 |
+
#: includes/admin.php:843
|
494 |
msgid "Use PHP FSOCKOPEN to communicate with the API"
|
495 |
msgstr "PHP FSOCKOPEN verwenden"
|
496 |
|
497 |
+
#: includes/admin.php:844
|
498 |
msgid "Try using FSOCKOPEN if you encounter any problems with CURL."
|
499 |
+
msgstr "Verwenden Sie FSOCKEN, falls Probleme mit CURL auftreten sollten."
|
500 |
|
501 |
+
#: includes/admin.php:852
|
502 |
msgid "API Connection Port"
|
503 |
msgstr "API Verbindungs Port"
|
504 |
|
505 |
+
#: includes/admin.php:856
|
506 |
msgid "Communication via HTTPS on port 443"
|
507 |
msgstr "Verbindung auf HTTPS Port 443"
|
508 |
|
509 |
+
#: includes/admin.php:857
|
510 |
msgid "Using port 443 is secure but you might need OpenSSL"
|
511 |
+
msgstr "Die Verbindung auf Port 443 ist sicherer, benötigt aber ggfs. OpenSSL"
|
512 |
|
513 |
+
#: includes/admin.php:863
|
514 |
msgid "Communication via HTTP on port 80"
|
515 |
msgstr "Verbindung auf HTTP Port 80"
|
516 |
|
517 |
+
#: includes/admin.php:864
|
518 |
msgid "Using port 80 is a bit faster, doesn't need OpenSSL but is less secure"
|
519 |
msgstr ""
|
520 |
+
"Die Verbindung auf Port 80 ist etwas schneller, aber nicht ganz so sicher"
|
521 |
|
522 |
+
#: includes/admin.php:869
|
523 |
msgid "Autodetect API Connection"
|
524 |
msgstr "Automatisch erkennen"
|
525 |
|
526 |
+
#: includes/admin.php:879
|
527 |
msgid "API Settings"
|
528 |
msgstr "API Einstellungen"
|
529 |
|
530 |
+
#: includes/admin.php:881
|
531 |
msgid "Click here to create and view your API Credentials"
|
532 |
msgstr "Klicken Sie hier, um Ihre API-Daten einzusehen"
|
533 |
|
534 |
+
#: includes/admin.php:886
|
535 |
msgid "API Subdomain"
|
536 |
msgstr "API Subdomain"
|
537 |
|
538 |
+
#: includes/admin.php:894
|
539 |
msgid "API Public Key"
|
540 |
msgstr "API Public Key"
|
541 |
|
542 |
+
#: includes/admin.php:902
|
543 |
msgid "API Private Key"
|
544 |
msgstr "API Private Key"
|
545 |
|
546 |
+
#: includes/admin.php:910
|
547 |
msgid "Verify API Settings"
|
548 |
msgstr "API-Einstellungen überprüfen"
|
549 |
|
550 |
+
#: includes/admin.php:920
|
551 |
msgid "JavaScript Settings"
|
552 |
msgstr "JavaScript Einstellungen"
|
553 |
|
554 |
+
#: includes/admin.php:950
|
555 |
msgid "JavaScript Usage"
|
556 |
msgstr "JavaScript Kommunikation"
|
557 |
|
558 |
+
#: includes/admin.php:954
|
559 |
msgid "Asynchronous JavaScript"
|
560 |
msgstr "Asynchrones JavaScript"
|
561 |
|
562 |
+
#: includes/admin.php:955
|
563 |
msgid ""
|
564 |
"Background loading without interfering with the display and behavior of the "
|
565 |
"existing page."
|
566 |
msgstr "JavaScript im Hintergrund laden, um dem Seitenaufbau zu beschleunigen."
|
567 |
|
568 |
+
#: includes/admin.php:961
|
569 |
msgid "Synchronous JavaScript"
|
570 |
msgstr "Synchrones JavaScript"
|
571 |
|
572 |
+
#: includes/admin.php:962
|
573 |
msgid "Real-time loading when the page is being rendered by the browser."
|
574 |
msgstr "JavaScript in Echtzeit laden."
|
575 |
|
576 |
+
#: includes/admin.php:970
|
577 |
msgid "Enable the social networks/identity providers of your choice"
|
578 |
msgstr "Wählen Sie die sozialen Netzwerke aus:"
|
579 |
|
580 |
+
#: includes/admin.php:990
|
581 |
#, php-format
|
582 |
msgid ""
|
583 |
"To enable cyrillic usernames, you might need <a target=\"_blank\" href=\"%s"
|
586 |
"Um kyrillische Zeichen zu verwenden, brauchen Sie <a target=\"_blank\" href="
|
587 |
"\"%s\">dieses Plugin</a>"
|
588 |
|
589 |
+
#: includes/admin.php:1001 includes/admin.php:1394
|
590 |
msgid "Save Changes"
|
591 |
msgstr "Einstellungen speichern"
|
592 |
|
593 |
+
#: includes/admin.php:1032
|
594 |
msgid "Logout to see the plugin in action!"
|
595 |
msgstr "Sie müssen ausloggen, um das Plugin testen zu können."
|
596 |
|
597 |
+
#: includes/admin.php:1036
|
598 |
msgid ""
|
599 |
"Social Login is a plugin that allows your users to comment, login and "
|
600 |
"register with their existing Social Network accounts. If a user is already "
|
607 |
"Plugin nicht angezeigt, da der Benutzer bereits angemeldet ist, und keine "
|
608 |
"weitere Anmeldenmöglichkeit benötigt. "
|
609 |
|
610 |
+
#: includes/admin.php:1038
|
611 |
msgid "You therefore have to logout to see the plugin in action."
|
612 |
msgstr ""
|
613 |
"Sie müssen Sich aus diesem Grund ausloggen, um das Plugin testen zu können."
|
614 |
|
615 |
+
#: includes/admin.php:1054
|
616 |
msgid "General Settings"
|
617 |
msgstr "Allgemeine Einstellungen"
|
618 |
|
619 |
+
#: includes/admin.php:1059
|
620 |
msgid ""
|
621 |
"Enter the description to be displayed above the Social Login buttons (leave "
|
622 |
"empty for none):"
|
624 |
"Welcher Text soll über den Icons der sozialen Netzwerke angezeigt werden "
|
625 |
"(ggf. leer lassen) ?"
|
626 |
|
627 |
+
#: includes/admin.php:1065
|
628 |
msgid "Connect with:"
|
629 |
msgstr "Einloggen mit:"
|
630 |
|
631 |
+
#: includes/admin.php:1072
|
632 |
+
msgid "Please select the icon theme to use per default:"
|
633 |
+
msgstr "Bitte wählen Sie die standardmässige Anzeige der Icons:"
|
|
|
634 |
|
635 |
+
#: includes/admin.php:1080
|
636 |
+
msgid "Classic"
|
637 |
+
msgstr "Klassisch"
|
|
|
638 |
|
639 |
+
#: includes/admin.php:1081
|
640 |
+
msgid "Modern"
|
641 |
+
msgstr "Modern"
|
642 |
+
|
643 |
+
#: includes/admin.php:1082
|
644 |
+
msgid "Small"
|
645 |
+
msgstr "Klein"
|
646 |
|
647 |
+
#: includes/admin.php:1087
|
648 |
msgid ""
|
649 |
"Do you want to display the social networks used to connect in the user list "
|
650 |
"of the administration area ?"
|
652 |
"Sollen die verwendeten sozialen Netzwerke in der Benutzerliste angezeigt "
|
653 |
"werden?"
|
654 |
|
655 |
+
#: includes/admin.php:1095
|
656 |
msgid ""
|
657 |
"Yes, add a new column to the user list and display the social network that "
|
658 |
"the user connected with"
|
659 |
msgstr "Ja, eine weitere Spalte in der Benutzerliste anzeigen"
|
660 |
|
661 |
+
#: includes/admin.php:1096
|
662 |
msgid "No, do not display the social networks in the user list"
|
663 |
msgstr "Nein, soziale Netzwerke nicht anzeigen"
|
664 |
|
665 |
+
#: includes/admin.php:1101
|
666 |
msgid ""
|
667 |
"Do you want to receive an email whenever a new user registers with Social "
|
668 |
"Login ?"
|
670 |
"Wollen Sie per Email benachrichtigt werden, sobald ein Benutzer sich mit "
|
671 |
"Social Login anmeldet?"
|
672 |
|
673 |
+
#: includes/admin.php:1109
|
674 |
msgid "Yes, send me an email whenever a new user registers with Social Login"
|
675 |
msgstr ""
|
676 |
"Ja, ich möchte eine Email erhalten, wenn jemand sich mit Social Login "
|
677 |
"anmeldet"
|
678 |
|
679 |
+
#: includes/admin.php:1110
|
680 |
msgid "No, do not send me any emails"
|
681 |
msgstr "Nein, keine Benachrichtigung per Email versenden"
|
682 |
|
683 |
+
#: includes/admin.php:1117
|
684 |
msgid "User Settings"
|
685 |
msgstr "Benutzer Einstellungen"
|
686 |
|
687 |
+
#: includes/admin.php:1122
|
688 |
msgid ""
|
689 |
"If the user's social network profile has no email address, should we ask the "
|
690 |
"user to enter it manually?"
|
691 |
msgstr ""
|
692 |
+
"Müssen Benutzer Ihre Email Address manuell eingeben, falls diese nicht im "
|
693 |
+
"sozialen Profil vorhanden ist?"
|
694 |
|
695 |
+
#: includes/admin.php:1130
|
696 |
msgid ""
|
697 |
"No, simplify the registration by automatically creating a placeholder email"
|
698 |
msgstr ""
|
699 |
"Nein, in diesem Fall eine Platzhalter-Email anlegen (vereinfach die "
|
700 |
"Registrierung)"
|
701 |
|
702 |
+
#: includes/admin.php:1131
|
703 |
msgid ""
|
704 |
"Yes, require the user to enter his email address manually and display this "
|
705 |
"message:"
|
706 |
msgstr ""
|
707 |
"Ja, Benutzer mit folgendem Text auffordern, ihre Email-Adresse einzugeben:"
|
708 |
|
709 |
+
#: includes/admin.php:1133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
710 |
#, php-format
|
711 |
msgid ""
|
712 |
"HTML is allowed, the placeholder %s is replaced by the name of the social "
|
715 |
"HTML ist erlaubt, der Platzhalter %s wird durch den Namen des sozialen "
|
716 |
"Netzwerks ersetzt."
|
717 |
|
718 |
+
#: includes/admin.php:1138
|
719 |
msgid ""
|
720 |
"If the user's social network profile has a verified email, should we try to "
|
721 |
"link it to an existing account?"
|
723 |
"Sollen soziale Profile mit überprüfter Email mit vorhandenen Blog-Nutzern "
|
724 |
"verknüpft werden?"
|
725 |
|
726 |
+
#: includes/admin.php:1146
|
727 |
msgid ""
|
728 |
"Yes, try to link verified social network profiles to existing blog accounts"
|
729 |
msgstr "Ja, verknüpfe soziale Profile gegebenenfalls mit vorhanden Nutzern"
|
730 |
|
731 |
+
#: includes/admin.php:1147
|
732 |
msgid "No, disable account linking"
|
733 |
msgstr "Nein, keine Verknüpfung"
|
734 |
|
735 |
+
#: includes/admin.php:1152
|
736 |
msgid ""
|
737 |
"If the user's social network profile has an avatar, should this avatar be "
|
738 |
"used as default avatar for the user?"
|
740 |
"Sollen die Benutzerbilder der sozialen Netwerke gegebenenfalls als Avatare "
|
741 |
"verwendet werden?"
|
742 |
|
743 |
+
#: includes/admin.php:1160
|
744 |
msgid "No, do not use avatars from social networks"
|
745 |
msgstr "Nein, keine Benutzerbilder der sozialen Netzwerke verwenden"
|
746 |
|
747 |
+
#: includes/admin.php:1161
|
748 |
msgid "Yes, use small avatars from social networks if available"
|
749 |
msgstr "Ja, verwende Benutzerbilder (kleines Format) der sozialen Netzwerke"
|
750 |
|
751 |
+
#: includes/admin.php:1162
|
752 |
msgid "Yes, use large avatars from social networks if available"
|
753 |
msgstr "Ja, verwende Benutzerbilder (grosses Format) der sozialen Netzwerke"
|
754 |
|
755 |
+
#: includes/admin.php:1169
|
756 |
msgid "Comment Settings"
|
757 |
msgstr "Einstellungen: Kommentare"
|
758 |
|
759 |
+
#: includes/admin.php:1174
|
760 |
msgid "Show the Social Login buttons in the comment area?"
|
761 |
msgstr "Das Plugin über dem Kommentare-Formular anzeigen?"
|
762 |
|
763 |
+
#: includes/admin.php:1182 includes/admin.php:1197
|
764 |
msgid "Yes, show the Social Login buttons"
|
765 |
msgstr "Ja, zeige das Plugin an"
|
766 |
|
767 |
+
#: includes/admin.php:1183 includes/admin.php:1198
|
768 |
msgid "No, do not show the Social Login buttons"
|
769 |
msgstr "Nein, Plugin nicht anzeigen"
|
770 |
|
771 |
+
#: includes/admin.php:1188
|
772 |
msgid ""
|
773 |
"Show the Social Login buttons in the comment area if comments are disabled "
|
774 |
"for guests?"
|
776 |
"Login mit einem sozialen Netzwerk anbieten falls Kommentare für Gäste "
|
777 |
"deaktiviert sind?"
|
778 |
|
779 |
+
#: includes/admin.php:1196
|
780 |
msgid ""
|
781 |
"The buttons will be displayed below the \"You must be logged in to leave a "
|
782 |
"comment\" notice."
|
784 |
"Die Icons werden unter \"Du musst angemeldet sein, um einen Kommentar "
|
785 |
"abzugeben\" angezeigt."
|
786 |
|
787 |
+
#: includes/admin.php:1203
|
788 |
msgid ""
|
789 |
"Automatically approve comments left by users that connected by using Social "
|
790 |
"Login?"
|
791 |
msgstr ""
|
792 |
+
"Kommentare automatisch freischalten, falls dessen Autor sich mit Social "
|
793 |
+
"Login eingeloggt hat?"
|
794 |
|
795 |
+
#: includes/admin.php:1211
|
796 |
msgid ""
|
797 |
"Yes, automatically approve comments made by users that connected with Social "
|
798 |
"Login"
|
799 |
msgstr "Ja, Kommentare automatisch freischalten"
|
800 |
|
801 |
+
#: includes/admin.php:1212
|
802 |
msgid "No, do not automatically approve"
|
803 |
msgstr "Nein, Kommentare nicht automatisch freischalten"
|
804 |
|
805 |
+
#: includes/admin.php:1221
|
806 |
msgid "Profile Settings"
|
807 |
msgstr "Mitgliederprofil Einstellungen"
|
808 |
|
809 |
+
#: includes/admin.php:1226
|
810 |
msgid "Show the Social Link buttons in the user profile?"
|
811 |
msgstr "Social Link im Mitgliederprofil anzeigen?"
|
812 |
|
813 |
+
#: includes/admin.php:1231
|
814 |
msgid ""
|
815 |
"Keep this option enabled to allow each user to connect multiple social "
|
816 |
"networks to his own profile."
|
817 |
msgstr ""
|
818 |
"Aktivieren Sie diese Option, damit Ihre Mitglieder Ihr Konto mit sozialen "
|
819 |
+
"Netzwerken verknüpfen können."
|
820 |
|
821 |
+
#: includes/admin.php:1235
|
822 |
msgid "Yes, show the Social Link buttons"
|
823 |
msgstr "Ja, zeige Social Link an"
|
824 |
|
825 |
+
#: includes/admin.php:1236
|
826 |
msgid "No, do not show the Social Link buttons"
|
827 |
msgstr "Nein, Social Link nicht anzeigen"
|
828 |
|
829 |
+
#: includes/admin.php:1243
|
830 |
msgid "Login Page Settings"
|
831 |
msgstr "Einstellungen: Login-Seite"
|
832 |
|
833 |
+
#: includes/admin.php:1248
|
834 |
msgid "Do you want to display Social Login on the login form of your blog?"
|
835 |
msgstr "Das Plugin auf der Login-Seite Ihres Blogs anzeigen?"
|
836 |
|
837 |
+
#: includes/admin.php:1256
|
838 |
msgid "Yes, display the social network buttons below the login form"
|
839 |
msgstr "Ja, die Icons der sozialen Netzwerke auf der Login-Seite anzeigen"
|
840 |
|
841 |
+
#: includes/admin.php:1257
|
842 |
msgid "No, disable social network buttons in the login form"
|
843 |
msgstr "Nein, keine Icons auf der Login-Seite anzeigen"
|
844 |
|
845 |
+
#: includes/admin.php:1262
|
846 |
msgid ""
|
847 |
"Where should users be redirected to after having logged in with Social Login "
|
848 |
"on the login page?"
|
850 |
"Wohin sollen Nutzer weitergeleitet werden, nachdem Sie sich Social Login auf "
|
851 |
"der Login-Seite eingeloggt haben?"
|
852 |
|
853 |
+
#: includes/admin.php:1271 includes/admin.php:1327 includes/admin.php:1366
|
854 |
+
#: includes/admin.php:1384
|
855 |
msgid "Redirect users back to the current page"
|
856 |
+
msgstr "Auf der aktuellen Seite bleiben"
|
857 |
|
858 |
+
#: includes/admin.php:1272 includes/admin.php:1328 includes/admin.php:1367
|
859 |
+
#: includes/admin.php:1385
|
860 |
msgid "Redirect users to the homepage of my blog"
|
861 |
msgstr "Weiterleitung zur Hauptseite meines Blogs"
|
862 |
|
863 |
+
#: includes/admin.php:1273 includes/admin.php:1329 includes/admin.php:1368
|
864 |
+
#: includes/admin.php:1386
|
865 |
msgid "Redirect users to their account dashboard"
|
866 |
msgstr "Weiterleitung zur Profilseite des Nutzers"
|
867 |
|
868 |
+
#: includes/admin.php:1274 includes/admin.php:1330 includes/admin.php:1369
|
869 |
+
#: includes/admin.php:1387
|
870 |
msgid "Redirect users to the following url"
|
871 |
msgstr "Weiterleitung zu dieser URL"
|
872 |
|
873 |
+
#: includes/admin.php:1280 includes/admin.php:1336
|
874 |
+
msgid ""
|
875 |
+
"Allow other plugins to change the redirection url that you have chosen by "
|
876 |
+
"using a hook/filter?"
|
877 |
+
msgstr ""
|
878 |
+
"Anderen Plugins erlauben, die Weiterleitung nach dem Einloggen mit Social "
|
879 |
+
"Login zu beinflussen?"
|
880 |
+
|
881 |
+
#: includes/admin.php:1288 includes/admin.php:1344
|
882 |
+
msgid "Yes, allow plugins to change the redirection url"
|
883 |
+
msgstr "Ja, andere Plugins können das Ziel der Weiterleitung ändern"
|
884 |
+
|
885 |
+
#: includes/admin.php:1289 includes/admin.php:1345
|
886 |
+
msgid ""
|
887 |
+
"No, protect the redirection url (Use this option if the redirection does not "
|
888 |
+
"work correctly)"
|
889 |
+
msgstr ""
|
890 |
+
"Nein, das Weiterleitungsziel schützen (Aktivieren Sie diese Option, falls "
|
891 |
+
"die Weiterleitung nicht richtig funktioniert)"
|
892 |
+
|
893 |
+
#: includes/admin.php:1299
|
894 |
msgid "Registration Page Settings"
|
895 |
msgstr "Einstellungen: Anmelden-Seite"
|
896 |
|
897 |
+
#: includes/admin.php:1304
|
898 |
msgid ""
|
899 |
"Do you want to display Social Login on the registration form of your blog?"
|
900 |
msgstr "Das Plugin auf der Anmelden-Seite Ihres Blogs anzeigen?"
|
901 |
|
902 |
+
#: includes/admin.php:1312
|
903 |
msgid "Yes, display the social network buttons below the registration form"
|
904 |
msgstr "Ja, die Icons der sozialen Netzwerke auf der Anmelden-Seite anzeigen"
|
905 |
|
906 |
+
#: includes/admin.php:1313
|
907 |
msgid "No, disable social network buttons in the registration form"
|
908 |
msgstr "Nein, keine Icons auf der Anmelden-Seite anzeigen"
|
909 |
|
910 |
+
#: includes/admin.php:1318
|
911 |
msgid ""
|
912 |
"Where should users be redirected to after having registered with Social "
|
913 |
"Login on the registration page?"
|
915 |
"Wohin sollen Nutzer weitergeleitet werden, nachdem sie ein Konto mit einem "
|
916 |
"sozialen Netzwerk angelegt haben?"
|
917 |
|
918 |
+
#: includes/admin.php:1352
|
919 |
msgid "Widget & Shortcode Settings"
|
920 |
msgstr "Widget & Shortcode Einstellungen"
|
921 |
|
922 |
+
#: includes/admin.php:1357
|
923 |
msgid ""
|
924 |
"Redirect users to this page after they have logged in with Social Login "
|
925 |
"embedded by Widget/Shortcode:"
|
927 |
"Benutzer zu dieser Seite weiterleiten nachdem sie im Social Login Widget/"
|
928 |
"Shortcode eingloggt haben:"
|
929 |
|
930 |
+
#: includes/admin.php:1375
|
931 |
msgid ""
|
932 |
"Redirect users to this page after they have registered with Social Login "
|
933 |
"embedded by Widget/Shortcode:"
|
935 |
"Benutzer zu dieser Seite weiterleiten nachdem sie über das Social Login "
|
936 |
"Widget/Shortcode registriert haben:"
|
937 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
938 |
#: includes/toolbox.php:87
|
939 |
#, php-format
|
940 |
msgid "[%s] New User Registration"
|
955 |
msgid "Social Network: %s"
|
956 |
msgstr "Soziales Netzwerk: %s"
|
957 |
|
958 |
+
#~ msgid "Get Started!"
|
959 |
+
#~ msgstr "Los gehts!"
|
960 |
+
|
961 |
+
#~ msgid "Your API Account is setup correctly"
|
962 |
+
#~ msgstr "Die API-Daten sind korrekt"
|
963 |
+
|
964 |
+
#~ msgid ""
|
965 |
+
#~ "Determine which social networks are popular amongst your users and tailor "
|
966 |
+
#~ "your registration experience to increase your users' engagement."
|
967 |
+
#~ msgstr ""
|
968 |
+
#~ "Finden Sie heraus, welche sozialen Netzwerke unter Ihren Besuchern "
|
969 |
+
#~ "beliebt sind, und steigern Sie die Beteilung Ihrer Besucher."
|
970 |
+
|
971 |
+
#~ msgid "Click here to login to your account"
|
972 |
+
#~ msgstr "Klicken Sie hier, um sich in Ihr Konto einloggen"
|
973 |
+
|
974 |
+
#~ msgid "Help, Updates & Documentation"
|
975 |
+
#~ msgstr "Hilfe, Updates & Dokumentation"
|
976 |
+
|
977 |
+
#~ msgid "Do you want to use the default or the small social network buttons?"
|
978 |
+
#~ msgstr ""
|
979 |
+
#~ "Wollen Sie die standard -oder kleinere Icons für soziale Netzwerke "
|
980 |
+
#~ "verwenden?"
|
981 |
+
|
982 |
+
#~ msgid "Use the default social network buttons (%s)"
|
983 |
+
#~ msgstr "Standard-Icons verwenden (%s)"
|
984 |
+
|
985 |
+
#~ msgid "Use the small social network buttons (%s)"
|
986 |
+
#~ msgstr "Kleine Icons verwenden (%s)"
|
987 |
+
|
988 |
+
#~ msgid "Tick to use small buttons"
|
989 |
+
#~ msgstr "Kleine Icons verwenden"
|
990 |
+
|
991 |
#~ msgid "This Social Network account may not be used to register"
|
992 |
#~ msgstr "Dieses Konto kann nicht zur Anmeldung genutzt werden"
|
993 |
|
1020 |
#~ msgid "The API credentials are wrong"
|
1021 |
#~ msgstr "Die API-Nutzerdaten sind ungültig"
|
1022 |
|
|
|
|
|
|
|
1023 |
#~ msgid "Make your blog social!"
|
1024 |
#~ msgstr "Verbinden Sie Ihren Blog mit den sozialen Netzwerken!"
|
1025 |
|
languages/{oa_social_login-fr_CA.mo → oa-social-login-fr_CA.mo}
RENAMED
File without changes
|
languages/{oa_social_login-fr_CA.po → oa-social-login-fr_CA.po}
RENAMED
File without changes
|
languages/{oa_social_login-fr_FR.mo → oa-social-login-fr_FR.mo}
RENAMED
File without changes
|
languages/{oa_social_login-fr_FR.po → oa-social-login-fr_FR.po}
RENAMED
File without changes
|
languages/oa_social_login-de_DE.mo
DELETED
Binary file
|
oa-social-login.php
CHANGED
@@ -1,17 +1,18 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name: Social Login
|
4 |
-
Plugin URI: http://www.oneall.com/
|
5 |
-
Description: Social Login allows your users to <strong>comment, login and register with 40+ social networks</strong> like Twitter, Facebook, LinkedIn, Instagram, Вконтакте, Google or Yahoo.
|
6 |
-
Version: 5.
|
7 |
-
Author: OneAll Social Login <support@oneall.com>
|
8 |
-
Author URI: https://www.oneall.com/services/social-network-integration/social-login/
|
9 |
-
License: GPL2
|
|
|
10 |
*/
|
11 |
|
12 |
define ('OA_SOCIAL_LOGIN_PLUGIN_URL', plugins_url () . '/' . basename (dirname (__FILE__)));
|
13 |
define ('OA_SOCIAL_LOGIN_BASE_PATH', dirname (plugin_basename (__FILE__)));
|
14 |
-
define ('OA_SOCIAL_LOGIN_VERSION', '5.
|
15 |
|
16 |
/**
|
17 |
* Check technical requirements before activating the plugin (Wordpress 3.0 or newer required)
|
@@ -21,7 +22,7 @@ function oa_social_login_activate ()
|
|
21 |
if (!function_exists ('register_post_status'))
|
22 |
{
|
23 |
deactivate_plugins (basename (dirname (__FILE__)) . '/' . basename (__FILE__));
|
24 |
-
echo sprintf (__ ('This plugin requires WordPress %s or newer. Please update your WordPress installation to activate this plugin.', '
|
25 |
exit;
|
26 |
}
|
27 |
update_option ('oa_social_login_activation_message', 0);
|
@@ -43,7 +44,7 @@ function oa_social_login_add_setup_link ($links, $file)
|
|
43 |
|
44 |
if ($file == $oa_social_login_plugin)
|
45 |
{
|
46 |
-
$settings_link = '<a href="admin.php?page=oa_social_login_setup">' . __ ('Setup', '
|
47 |
array_unshift ($links, $settings_link);
|
48 |
}
|
49 |
return $links;
|
1 |
<?php
|
2 |
/*
|
3 |
+
* Plugin Name: Social Login
|
4 |
+
* Plugin URI: http://www.oneall.com/
|
5 |
+
* Description: Social Login allows your users to <strong>comment, login and register with 40+ social networks</strong> like Twitter, Facebook, LinkedIn, Instagram, Вконтакте, Google or Yahoo.
|
6 |
+
* Version: 5.5.0
|
7 |
+
* Author: OneAll Social Login <support@oneall.com>
|
8 |
+
* Author URI: https://www.oneall.com/services/social-network-integration/social-login/
|
9 |
+
* License: GPL2
|
10 |
+
* Text Domain: oa-social-login
|
11 |
*/
|
12 |
|
13 |
define ('OA_SOCIAL_LOGIN_PLUGIN_URL', plugins_url () . '/' . basename (dirname (__FILE__)));
|
14 |
define ('OA_SOCIAL_LOGIN_BASE_PATH', dirname (plugin_basename (__FILE__)));
|
15 |
+
define ('OA_SOCIAL_LOGIN_VERSION', '5.5.0');
|
16 |
|
17 |
/**
|
18 |
* Check technical requirements before activating the plugin (Wordpress 3.0 or newer required)
|
22 |
if (!function_exists ('register_post_status'))
|
23 |
{
|
24 |
deactivate_plugins (basename (dirname (__FILE__)) . '/' . basename (__FILE__));
|
25 |
+
echo sprintf (__ ('This plugin requires WordPress %s or newer. Please update your WordPress installation to activate this plugin.', 'oa-social-login'), '3.0');
|
26 |
exit;
|
27 |
}
|
28 |
update_option ('oa_social_login_activation_message', 0);
|
44 |
|
45 |
if ($file == $oa_social_login_plugin)
|
46 |
{
|
47 |
+
$settings_link = '<a href="admin.php?page=oa_social_login_setup">' . __ ('Setup', 'oa-social-login') . '</a>';
|
48 |
array_unshift ($links, $settings_link);
|
49 |
}
|
50 |
return $links;
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Social Login ===
|
2 |
-
Contributors: OneAll.com, ClaudeSchlesser
|
3 |
Tags: social login, social network login, social connect, facebook login, twitter login, linkedin login
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 5.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Social Login allows your users to login, register and comment with 40+ Social Networks. Professional development and support included.
|
@@ -24,7 +24,7 @@ Social Login is fully customizable and seamlessly integrates with your existing
|
|
24 |
Get rid of long and complicated forms, improve your data quality and instantly eliminate spam and bot registrations. Social Login increases registration rates by up to 50% and provides permission-based access to users' social network profile data, allowing you to start delivering a personalized experience.
|
25 |
|
26 |
**Maintenance Free**<br />
|
27 |
-
Do not take the risk of
|
28 |
|
29 |
By using OneAll you can be sure that your social media integration will always run smoothly and with the most up-to-date calls.
|
30 |
|
@@ -36,7 +36,16 @@ You can easily configure which social accounts to enable/disable for login and o
|
|
36 |
* In your sidebar
|
37 |
* With a shortcode
|
38 |
|
39 |
-
**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
* Amazon
|
41 |
* Battle.net
|
42 |
* Blogger
|
@@ -77,6 +86,8 @@ You can easily configure which social accounts to enable/disable for login and o
|
|
77 |
* Yahoo
|
78 |
* YouTube
|
79 |
|
|
|
|
|
80 |
**Professionally Developed and Maintained**
|
81 |
Social Login is maintained by [OneAll](http://www.oneall.com), a technology company offering a set of web-delivered tools to simplify the integration of 40+ social networks into business and personal websites and apps.
|
82 |
|
@@ -150,6 +161,10 @@ http://docs.oneall.com/plugins/guide/social-login-wordpress/
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
|
|
153 |
= 5.4.4 =
|
154 |
* Social Network "Draugiem" added
|
155 |
* Social Network "Mixer" added
|
@@ -385,7 +400,7 @@ to many social networks by your plugin.</em>
|
|
385 |
<strong>Deha K.</strong>
|
386 |
|
387 |
<em>Just wanted to let you know how happy i am that i stumbled onto your service. This was the 6 Facebook/Twitter integration
|
388 |
-
i tried and was starting to
|
389 |
<strong>Kyle L.</strong>
|
390 |
|
391 |
<em>I would like to thank YOU! Seriously, the WordPress plugin has been a huge life saver for me.</em>
|
1 |
=== Social Login ===
|
2 |
+
Contributors: OneAll.com, ClaudeSchlesser, socialloginoneall
|
3 |
Tags: social login, social network login, social connect, facebook login, twitter login, linkedin login
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 5.5.0
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Social Login allows your users to login, register and comment with 40+ Social Networks. Professional development and support included.
|
24 |
Get rid of long and complicated forms, improve your data quality and instantly eliminate spam and bot registrations. Social Login increases registration rates by up to 50% and provides permission-based access to users' social network profile data, allowing you to start delivering a personalized experience.
|
25 |
|
26 |
**Maintenance Free**<br />
|
27 |
+
Do not take the risk of losing any users or customers due to outdated social network integrations. Unlike other Social Login providers we monitor the APIs and technologies of the different social networks and update our service as soon as changes arise.
|
28 |
|
29 |
By using OneAll you can be sure that your social media integration will always run smoothly and with the most up-to-date calls.
|
30 |
|
36 |
* In your sidebar
|
37 |
* With a shortcode
|
38 |
|
39 |
+
**Fully Compatible With Other Plugins**<br />
|
40 |
+
Social Login uses standard WordPress hooks and is compatible with all plugins that follow WordPress coding conventions,
|
41 |
+
like per example BuddyPress or WooCommerce amongst others.
|
42 |
+
|
43 |
+
**Data Export**<br />
|
44 |
+
Easily export your users or automatically push data of users that login using Social Login to Mailchimp or Campaign Monitor.
|
45 |
+
This feature is available in the premium version of Social Login and can be enabled in your OneAll account.
|
46 |
+
|
47 |
+
|
48 |
+
**40+ Social Networks**
|
49 |
* Amazon
|
50 |
* Battle.net
|
51 |
* Blogger
|
86 |
* Yahoo
|
87 |
* YouTube
|
88 |
|
89 |
+
|
90 |
+
|
91 |
**Professionally Developed and Maintained**
|
92 |
Social Login is maintained by [OneAll](http://www.oneall.com), a technology company offering a set of web-delivered tools to simplify the integration of 40+ social networks into business and personal websites and apps.
|
93 |
|
161 |
|
162 |
== Changelog ==
|
163 |
|
164 |
+
= 5.5.0 =
|
165 |
+
* Text domain fixed
|
166 |
+
* German translations updated
|
167 |
+
|
168 |
= 5.4.4 =
|
169 |
* Social Network "Draugiem" added
|
170 |
* Social Network "Mixer" added
|
400 |
<strong>Deha K.</strong>
|
401 |
|
402 |
<em>Just wanted to let you know how happy i am that i stumbled onto your service. This was the 6 Facebook/Twitter integration
|
403 |
+
i tried and was starting to lose hope that i could actually find one that worked for me.</em>
|
404 |
<strong>Kyle L.</strong>
|
405 |
|
406 |
<em>I would like to thank YOU! Seriously, the WordPress plugin has been a huge life saver for me.</em>
|