Version Description
- PHP 7.2+ compatibility fixes.
Download this release
Release Info
Developer | ClaudeSchlesser |
Plugin | Social Login |
Version | 5.4.2 |
Comparing to | |
See all releases |
Code changes from version 5.4.1 to 5.4.2
- includes/communication.php +103 -95
- includes/user_interface.php +1 -1
- includes/widget.php +13 -6
- languages/oa_social_login-de_DE.mo +0 -0
- languages/oa_social_login-de_DE.po +288 -151
- oa-social-login.php +2 -2
- readme.txt +5 -2
includes/communication.php
CHANGED
@@ -37,41 +37,41 @@ function oa_social_login_callback ()
|
|
37 |
//Check result
|
38 |
if (is_object ($result) AND property_exists ($result, 'http_code') AND $result->http_code == 200 AND property_exists ($result, 'http_data'))
|
39 |
{
|
40 |
-
//Decode result
|
41 |
$decoded_result = @json_decode ($result->http_data);
|
42 |
if (is_object ($decoded_result) AND isset ($decoded_result->response->result->data->user))
|
43 |
{
|
44 |
-
//User data
|
45 |
$user_data = $decoded_result->response->result->data->user;
|
46 |
|
47 |
-
//Social network profile data
|
48 |
$identity = $user_data->identity;
|
49 |
|
50 |
-
//Unique user token provided by OneAll
|
51 |
$user_token = $user_data->user_token;
|
52 |
|
53 |
-
//Identity Provider
|
54 |
$user_identity_provider = $identity->source->name;
|
55 |
|
56 |
-
//Thumbnail
|
57 |
$user_thumbnail = (!empty ($identity->thumbnailUrl) ? trim ($identity->thumbnailUrl) : '');
|
58 |
|
59 |
-
//Picture
|
60 |
$user_picture = (!empty ($identity->pictureUrl) ? trim ($identity->pictureUrl) : '');
|
61 |
|
62 |
-
//About Me
|
63 |
$user_about_me = (!empty ($identity->aboutMe) ? trim ($identity->aboutMe) : '');
|
64 |
|
65 |
-
//Note
|
66 |
$user_note = (!empty ($identity->note) ? trim ($identity->note) : '');
|
67 |
|
68 |
-
//Firstname
|
69 |
$user_first_name = (!empty ($identity->name->givenName) ? $identity->name->givenName : '');
|
70 |
|
71 |
-
//Lastname
|
72 |
$user_last_name = (!empty ($identity->name->familyName) ? $identity->name->familyName : '');
|
73 |
|
74 |
-
//Fullname
|
75 |
if (!empty ($identity->name->formatted))
|
76 |
{
|
77 |
$user_full_name = $identity->name->formatted;
|
@@ -87,23 +87,24 @@ function oa_social_login_callback ()
|
|
87 |
|
88 |
// Email Address.
|
89 |
$user_email = '';
|
90 |
-
|
|
|
91 |
{
|
92 |
-
$
|
93 |
-
while ($user_email_is_verified !== true AND (list(, $email) = each ($identity->emails)))
|
94 |
{
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
97 |
}
|
98 |
}
|
99 |
|
100 |
-
// Website
|
101 |
$user_website = '';
|
102 |
-
|
103 |
-
// List of websites.
|
104 |
$user_websites = array ();
|
105 |
|
106 |
-
// Profile.
|
107 |
if (!empty ($identity->profileUrl))
|
108 |
{
|
109 |
$user_websites[] = trim ($identity->profileUrl);
|
@@ -124,19 +125,23 @@ function oa_social_login_callback ()
|
|
124 |
// Do we have any websites?
|
125 |
if (count ($user_websites) > 0)
|
126 |
{
|
|
|
127 |
$user_websites = array_unique ($user_websites);
|
128 |
|
129 |
// Compute a website to be used.
|
130 |
-
|
131 |
{
|
132 |
-
if (
|
133 |
{
|
134 |
-
$
|
|
|
|
|
|
|
135 |
}
|
136 |
}
|
137 |
}
|
138 |
|
139 |
-
//Preferred Username
|
140 |
if (!empty ($identity->preferredUsername))
|
141 |
{
|
142 |
$user_login = $identity->preferredUsername;
|
@@ -150,29 +155,29 @@ function oa_social_login_callback ()
|
|
150 |
$user_login = $user_full_name;
|
151 |
}
|
152 |
|
153 |
-
//New user created?
|
154 |
$new_registration = false;
|
155 |
|
156 |
-
//Sanitize Login
|
157 |
$user_login = str_replace ('.', '-', $user_login);
|
158 |
$user_login = sanitize_user ($user_login, true);
|
159 |
|
160 |
-
// Get user by token
|
161 |
$user_id = oa_social_login_get_userid_by_token ($user_token);
|
162 |
|
163 |
-
//Try to link to existing account
|
164 |
if (!is_numeric ($user_id))
|
165 |
{
|
166 |
-
//This is a new user
|
167 |
$new_registration = true;
|
168 |
|
169 |
-
//Linking enabled?
|
170 |
if (!isset ($settings ['plugin_link_verified_accounts']) OR $settings ['plugin_link_verified_accounts'] == '1')
|
171 |
{
|
172 |
-
//Only if email is verified
|
173 |
-
if (!empty ($user_email)
|
174 |
{
|
175 |
-
//Read existing user
|
176 |
if (($user_id_tmp = email_exists ($user_email)) !== false)
|
177 |
{
|
178 |
$user_data = get_userdata ($user_id_tmp);
|
@@ -181,12 +186,12 @@ function oa_social_login_callback ()
|
|
181 |
$user_id = $user_data->ID;
|
182 |
$user_login = $user_data->user_login;
|
183 |
|
184 |
-
//Refresh the meta data
|
185 |
delete_metadata ('user', null, 'oa_social_login_user_token', $user_token, true);
|
186 |
update_user_meta ($user_id, 'oa_social_login_user_token', $user_token);
|
187 |
update_user_meta ($user_id, 'oa_social_login_identity_provider', $user_identity_provider);
|
188 |
|
189 |
-
//Refresh the cache
|
190 |
wp_cache_delete ($user_id, 'users');
|
191 |
wp_cache_delete ($user_login, 'userlogins');
|
192 |
}
|
@@ -196,10 +201,10 @@ function oa_social_login_callback ()
|
|
196 |
}
|
197 |
|
198 |
|
199 |
-
//New User
|
200 |
if (!is_numeric ($user_id))
|
201 |
{
|
202 |
-
//Username is mandatory
|
203 |
if (!isset ($user_login) OR strlen (trim ($user_login)) == 0)
|
204 |
{
|
205 |
$user_login = $user_identity_provider . 'User';
|
@@ -211,7 +216,7 @@ function oa_social_login_callback ()
|
|
211 |
$user_login = str_replace (' ', '-', $user_login);
|
212 |
}
|
213 |
|
214 |
-
//Username must be unique
|
215 |
if (username_exists ($user_login))
|
216 |
{
|
217 |
$i = 1;
|
@@ -224,10 +229,10 @@ function oa_social_login_callback ()
|
|
224 |
$user_login = $user_login_tmp;
|
225 |
}
|
226 |
|
227 |
-
//Email Filter
|
228 |
$user_email = apply_filters ('oa_social_login_filter_new_user_email', $user_email);
|
229 |
|
230 |
-
//Email must be unique
|
231 |
$placeholder_email_used = false;
|
232 |
if (!isset ($user_email) OR !is_email ($user_email) OR email_exists ($user_email))
|
233 |
{
|
@@ -246,47 +251,47 @@ function oa_social_login_callback ()
|
|
246 |
// Setup the name to display.
|
247 |
$user_display_name = (!empty ($user_full_name) ? $user_full_name : $user_login);
|
248 |
|
249 |
-
//Build user data
|
250 |
$user_fields = array (
|
251 |
|
252 |
-
// User
|
253 |
'user_login' => substr ($user_login, 0, 60),
|
254 |
'user_pass' => $user_pass,
|
255 |
'display_name' => substr ($user_display_name, 0, 250),
|
256 |
'user_email' => substr ($user_email, 0, 100),
|
257 |
'user_url' => substr ($user_website, 0, 100),
|
258 |
|
259 |
-
// Meta
|
260 |
'first_name' => $user_first_name,
|
261 |
'last_name' => $user_last_name,
|
262 |
'role' => $user_role
|
263 |
);
|
264 |
|
265 |
-
//Filter for user_data
|
266 |
$user_fields = apply_filters ('oa_social_login_filter_new_user_fields', $user_fields);
|
267 |
|
268 |
-
//Hook before adding the user
|
269 |
do_action ('oa_social_login_action_before_user_insert', $user_fields, $identity);
|
270 |
|
271 |
-
// Create a new user
|
272 |
$user_id = wp_insert_user ($user_fields);
|
273 |
if (is_numeric ($user_id) AND ($user_data = get_userdata ($user_id)) !== false)
|
274 |
{
|
275 |
-
//Refresh the meta
|
276 |
delete_metadata ('user', null, 'oa_social_login_user_token', $user_token, true);
|
277 |
|
278 |
-
//Save OneAll
|
279 |
update_user_meta ($user_id, 'oa_social_login_user_token', $user_token);
|
280 |
update_user_meta ($user_id, 'oa_social_login_identity_provider', $user_identity_provider);
|
281 |
|
282 |
-
//Save WordPress
|
283 |
if ( ! empty ($user_about_me) OR ! empty ($user_note))
|
284 |
{
|
285 |
$user_description = (! empty ($user_about_me) ? $user_about_me : $user_note);
|
286 |
update_user_meta ($user_id, 'description', $user_description);
|
287 |
}
|
288 |
|
289 |
-
//Email is required
|
290 |
if (!empty ($settings ['plugin_require_email']))
|
291 |
{
|
292 |
//We don't have the real email
|
@@ -296,63 +301,64 @@ function oa_social_login_callback ()
|
|
296 |
}
|
297 |
}
|
298 |
|
299 |
-
//Notify Administrator
|
300 |
if (!empty ($settings ['plugin_notify_admin']))
|
301 |
{
|
302 |
oa_social_login_user_notification ($user_id, $user_identity_provider);
|
303 |
}
|
304 |
|
305 |
-
//Refresh the cache
|
306 |
wp_cache_delete ($user_id, 'users');
|
307 |
wp_cache_delete ($user_login, 'userlogins');
|
308 |
|
309 |
-
//WordPress hook
|
310 |
do_action ('user_register', $user_id);
|
311 |
|
312 |
-
//Social Login Hook
|
313 |
do_action ('oa_social_login_action_after_user_insert', $user_data, $identity);
|
314 |
}
|
315 |
}
|
316 |
|
317 |
-
//Sucess
|
318 |
$user_data = get_userdata ($user_id);
|
319 |
if ($user_data !== false)
|
320 |
{
|
321 |
-
//Hooks to be used by third parties
|
322 |
do_action ('oa_social_login_action_before_user_login', $user_data, $identity, $new_registration);
|
323 |
|
324 |
-
//Update user thumbnail
|
325 |
if (!empty ($user_thumbnail))
|
326 |
{
|
327 |
update_user_meta ($user_id, 'oa_social_login_user_thumbnail', $user_thumbnail);
|
328 |
}
|
329 |
|
330 |
-
//Update user picture
|
331 |
if (!empty ($user_picture))
|
332 |
{
|
333 |
update_user_meta ($user_id, 'oa_social_login_user_picture', $user_picture);
|
334 |
}
|
335 |
|
336 |
-
//Set the cookie and login
|
337 |
wp_clear_auth_cookie ();
|
338 |
wp_set_auth_cookie ($user_data->ID, true);
|
339 |
do_action ('wp_login', $user_data->user_login, $user_data);
|
340 |
|
341 |
-
//Where did the user come from?
|
342 |
$oa_social_login_source = (!empty ($_REQUEST ['oa_social_login_source']) ? strtolower (trim ($_REQUEST ['oa_social_login_source'])) : '');
|
343 |
|
344 |
-
//Use safe redirection?
|
345 |
$redirect_to_safe = false;
|
346 |
|
347 |
-
//Build the url to redirect the user to
|
348 |
switch ($oa_social_login_source)
|
349 |
{
|
350 |
//*************** Registration ***************
|
351 |
case 'registration':
|
352 |
-
|
|
|
353 |
$redirect_to = admin_url ();
|
354 |
|
355 |
-
//Redirection in URL
|
356 |
if (!empty ($_GET ['redirect_to']))
|
357 |
{
|
358 |
$redirect_to = $_GET ['redirect_to'];
|
@@ -360,22 +366,22 @@ function oa_social_login_callback ()
|
|
360 |
}
|
361 |
else
|
362 |
{
|
363 |
-
//Redirection customized
|
364 |
if (isset ($settings ['plugin_registration_form_redirect']))
|
365 |
{
|
366 |
switch (strtolower ($settings ['plugin_registration_form_redirect']))
|
367 |
{
|
368 |
-
//Current
|
369 |
case 'current':
|
370 |
$redirect_to = oa_social_login_get_current_url ();
|
371 |
break;
|
372 |
|
373 |
-
//Homepage
|
374 |
case 'homepage':
|
375 |
$redirect_to = home_url ();
|
376 |
break;
|
377 |
|
378 |
-
//Custom
|
379 |
case 'custom':
|
380 |
if (isset ($settings ['plugin_registration_form_redirect_custom_url']) AND strlen (trim ($settings ['plugin_registration_form_redirect_custom_url'])) > 0)
|
381 |
{
|
@@ -383,7 +389,7 @@ function oa_social_login_callback ()
|
|
383 |
}
|
384 |
break;
|
385 |
|
386 |
-
//Default/Dashboard
|
387 |
default:
|
388 |
case 'dashboard':
|
389 |
$redirect_to = admin_url ();
|
@@ -396,10 +402,11 @@ function oa_social_login_callback ()
|
|
396 |
|
397 |
//*************** Login ***************
|
398 |
case 'login':
|
399 |
-
|
|
|
400 |
$redirect_to = home_url ();
|
401 |
|
402 |
-
//Redirection in URL
|
403 |
if (!empty ($_GET ['redirect_to']))
|
404 |
{
|
405 |
$redirect_to = $_GET ['redirect_to'];
|
@@ -407,34 +414,34 @@ function oa_social_login_callback ()
|
|
407 |
}
|
408 |
else
|
409 |
{
|
410 |
-
//Redirection customized
|
411 |
if (isset ($settings ['plugin_login_form_redirect']))
|
412 |
{
|
413 |
switch (strtolower ($settings ['plugin_login_form_redirect']))
|
414 |
{
|
415 |
-
//Current
|
416 |
case 'current':
|
417 |
|
418 |
global $pagenow;
|
419 |
|
420 |
-
//Do not redirect to the login page as this would logout the user.
|
421 |
if (empty ($pagenow) OR $pagenow <> 'wp-login.php')
|
422 |
{
|
423 |
$redirect_to = oa_social_login_get_current_url ();
|
424 |
}
|
425 |
-
//In this case just go to the
|
426 |
else
|
427 |
{
|
428 |
$redirect_to = home_url ();
|
429 |
}
|
430 |
break;
|
431 |
|
432 |
-
//Dashboard
|
433 |
case 'dashboard':
|
434 |
$redirect_to = admin_url ();
|
435 |
break;
|
436 |
|
437 |
-
//Custom
|
438 |
case 'custom':
|
439 |
if (isset ($settings ['plugin_login_form_redirect_custom_url']) AND strlen (trim ($settings ['plugin_login_form_redirect_custom_url'])) > 0)
|
440 |
{
|
@@ -442,7 +449,7 @@ function oa_social_login_callback ()
|
|
442 |
}
|
443 |
break;
|
444 |
|
445 |
-
//Default/Homepage
|
446 |
default:
|
447 |
case 'homepage':
|
448 |
$redirect_to = home_url ();
|
@@ -461,33 +468,34 @@ function oa_social_login_callback ()
|
|
461 |
default:
|
462 |
case 'widget':
|
463 |
case 'shortcode':
|
464 |
-
|
|
|
465 |
$opt_key = ($new_registration === true ? 'register' : 'login');
|
466 |
|
467 |
-
//Default
|
468 |
$redirect_to = oa_social_login_get_current_url ();
|
469 |
|
470 |
-
//Redirection customized
|
471 |
if (isset ($settings ['plugin_shortcode_' . $opt_key . '_redirect']))
|
472 |
{
|
473 |
switch (strtolower ($settings ['plugin_shortcode_' . $opt_key . '_redirect']))
|
474 |
{
|
475 |
-
//Current
|
476 |
case 'current':
|
477 |
$redirect_to = oa_social_login_get_current_url ();
|
478 |
break;
|
479 |
|
480 |
-
//Homepage
|
481 |
case 'homepage':
|
482 |
$redirect_to = home_url ();
|
483 |
break;
|
484 |
|
485 |
-
//Dashboard
|
486 |
case 'dashboard':
|
487 |
$redirect_to = admin_url ();
|
488 |
break;
|
489 |
|
490 |
-
//Custom
|
491 |
case 'custom':
|
492 |
if (isset ($settings ['plugin_shortcode_' . $opt_key . '_redirect_url']) AND strlen (trim ($settings ['plugin_shortcode_' . $opt_key . '_redirect_url'])) > 0)
|
493 |
{
|
@@ -499,41 +507,41 @@ function oa_social_login_callback ()
|
|
499 |
break;
|
500 |
}
|
501 |
|
502 |
-
//Check if url set
|
503 |
if (!isset ($redirect_to) OR strlen (trim ($redirect_to)) == 0)
|
504 |
{
|
505 |
$redirect_to = home_url ();
|
506 |
}
|
507 |
|
508 |
-
// New User
|
509 |
if ($new_registration === true)
|
510 |
{
|
511 |
-
// Apply the WordPress filters
|
512 |
if (empty ($settings['plugin_protect_registration_redirect_url']))
|
513 |
{
|
514 |
$redirect_to = apply_filters ('registration_redirect', $redirect_to);
|
515 |
}
|
516 |
|
517 |
-
// Apply our filters
|
518 |
$redirect_to = apply_filters ('oa_social_login_filter_registration_redirect_url', $redirect_to, $user_data);
|
519 |
}
|
520 |
-
// Existing User
|
521 |
else
|
522 |
{
|
523 |
-
// Apply the WordPress filters
|
524 |
if (empty ($settings['plugin_protect_login_redirect_url']))
|
525 |
{
|
526 |
$redirect_to = apply_filters ('login_redirect', $redirect_to, (! empty ($_GET ['redirect_to']) ? $_GET ['redirect_to'] : ''), $user_data);
|
527 |
}
|
528 |
|
529 |
-
// Apply our filters
|
530 |
$redirect_to = apply_filters ('oa_social_login_filter_login_redirect_url', $redirect_to, $user_data);
|
531 |
}
|
532 |
|
533 |
-
//Hooks for other plugins
|
534 |
do_action('oa_social_login_action_before_user_redirect', $user_data, $identity, $redirect_to);
|
535 |
|
536 |
-
//Use safe redirection
|
537 |
if ($redirect_to_safe === true)
|
538 |
{
|
539 |
wp_safe_redirect ($redirect_to);
|
37 |
//Check result
|
38 |
if (is_object ($result) AND property_exists ($result, 'http_code') AND $result->http_code == 200 AND property_exists ($result, 'http_data'))
|
39 |
{
|
40 |
+
// Decode result.
|
41 |
$decoded_result = @json_decode ($result->http_data);
|
42 |
if (is_object ($decoded_result) AND isset ($decoded_result->response->result->data->user))
|
43 |
{
|
44 |
+
// User data.
|
45 |
$user_data = $decoded_result->response->result->data->user;
|
46 |
|
47 |
+
// Social network profile data.
|
48 |
$identity = $user_data->identity;
|
49 |
|
50 |
+
// Unique user token provided by OneAll.
|
51 |
$user_token = $user_data->user_token;
|
52 |
|
53 |
+
// Identity Provider.
|
54 |
$user_identity_provider = $identity->source->name;
|
55 |
|
56 |
+
// Thumbnail.
|
57 |
$user_thumbnail = (!empty ($identity->thumbnailUrl) ? trim ($identity->thumbnailUrl) : '');
|
58 |
|
59 |
+
// Picture.
|
60 |
$user_picture = (!empty ($identity->pictureUrl) ? trim ($identity->pictureUrl) : '');
|
61 |
|
62 |
+
// About Me.
|
63 |
$user_about_me = (!empty ($identity->aboutMe) ? trim ($identity->aboutMe) : '');
|
64 |
|
65 |
+
// Note.
|
66 |
$user_note = (!empty ($identity->note) ? trim ($identity->note) : '');
|
67 |
|
68 |
+
// Firstname.
|
69 |
$user_first_name = (!empty ($identity->name->givenName) ? $identity->name->givenName : '');
|
70 |
|
71 |
+
// Lastname.
|
72 |
$user_last_name = (!empty ($identity->name->familyName) ? $identity->name->familyName : '');
|
73 |
|
74 |
+
// Fullname.
|
75 |
if (!empty ($identity->name->formatted))
|
76 |
{
|
77 |
$user_full_name = $identity->name->formatted;
|
87 |
|
88 |
// Email Address.
|
89 |
$user_email = '';
|
90 |
+
$user_email_is_verified = false;
|
91 |
+
if (property_exists ($identity, 'emails') && is_array ($identity->emails))
|
92 |
{
|
93 |
+
foreach ($identity->emails AS $email)
|
|
|
94 |
{
|
95 |
+
if ($user_email_is_verified !== true)
|
96 |
+
{
|
97 |
+
$user_email = $email->value;
|
98 |
+
$user_email_is_verified = ($email->is_verified == '1');
|
99 |
+
}
|
100 |
}
|
101 |
}
|
102 |
|
103 |
+
// Website.
|
104 |
$user_website = '';
|
|
|
|
|
105 |
$user_websites = array ();
|
106 |
|
107 |
+
// Profile URL.
|
108 |
if (!empty ($identity->profileUrl))
|
109 |
{
|
110 |
$user_websites[] = trim ($identity->profileUrl);
|
125 |
// Do we have any websites?
|
126 |
if (count ($user_websites) > 0)
|
127 |
{
|
128 |
+
// Remove duplcates.
|
129 |
$user_websites = array_unique ($user_websites);
|
130 |
|
131 |
// Compute a website to be used.
|
132 |
+
foreach ($user_websites AS $value)
|
133 |
{
|
134 |
+
if (empty ($user_website))
|
135 |
{
|
136 |
+
if ( ! empty ($value) && strlen ($value) < 100)
|
137 |
+
{
|
138 |
+
$user_website = $value;
|
139 |
+
}
|
140 |
}
|
141 |
}
|
142 |
}
|
143 |
|
144 |
+
// Preferred Username.
|
145 |
if (!empty ($identity->preferredUsername))
|
146 |
{
|
147 |
$user_login = $identity->preferredUsername;
|
155 |
$user_login = $user_full_name;
|
156 |
}
|
157 |
|
158 |
+
// New user created?
|
159 |
$new_registration = false;
|
160 |
|
161 |
+
// Sanitize Login.
|
162 |
$user_login = str_replace ('.', '-', $user_login);
|
163 |
$user_login = sanitize_user ($user_login, true);
|
164 |
|
165 |
+
// Get user by token.
|
166 |
$user_id = oa_social_login_get_userid_by_token ($user_token);
|
167 |
|
168 |
+
// Try to link to existing account.
|
169 |
if (!is_numeric ($user_id))
|
170 |
{
|
171 |
+
// This is a new user!
|
172 |
$new_registration = true;
|
173 |
|
174 |
+
// Linking enabled?
|
175 |
if (!isset ($settings ['plugin_link_verified_accounts']) OR $settings ['plugin_link_verified_accounts'] == '1')
|
176 |
{
|
177 |
+
// Only link if email is verified.
|
178 |
+
if (!empty ($user_email) && $user_email_is_verified === true)
|
179 |
{
|
180 |
+
// Read existing user.
|
181 |
if (($user_id_tmp = email_exists ($user_email)) !== false)
|
182 |
{
|
183 |
$user_data = get_userdata ($user_id_tmp);
|
186 |
$user_id = $user_data->ID;
|
187 |
$user_login = $user_data->user_login;
|
188 |
|
189 |
+
// Refresh the meta data.
|
190 |
delete_metadata ('user', null, 'oa_social_login_user_token', $user_token, true);
|
191 |
update_user_meta ($user_id, 'oa_social_login_user_token', $user_token);
|
192 |
update_user_meta ($user_id, 'oa_social_login_identity_provider', $user_identity_provider);
|
193 |
|
194 |
+
// Refresh the cache.
|
195 |
wp_cache_delete ($user_id, 'users');
|
196 |
wp_cache_delete ($user_login, 'userlogins');
|
197 |
}
|
201 |
}
|
202 |
|
203 |
|
204 |
+
// New User?
|
205 |
if (!is_numeric ($user_id))
|
206 |
{
|
207 |
+
// Username is mandatory.
|
208 |
if (!isset ($user_login) OR strlen (trim ($user_login)) == 0)
|
209 |
{
|
210 |
$user_login = $user_identity_provider . 'User';
|
216 |
$user_login = str_replace (' ', '-', $user_login);
|
217 |
}
|
218 |
|
219 |
+
// Username must be unique.
|
220 |
if (username_exists ($user_login))
|
221 |
{
|
222 |
$i = 1;
|
229 |
$user_login = $user_login_tmp;
|
230 |
}
|
231 |
|
232 |
+
// Email Filter.
|
233 |
$user_email = apply_filters ('oa_social_login_filter_new_user_email', $user_email);
|
234 |
|
235 |
+
// Email must be unique.
|
236 |
$placeholder_email_used = false;
|
237 |
if (!isset ($user_email) OR !is_email ($user_email) OR email_exists ($user_email))
|
238 |
{
|
251 |
// Setup the name to display.
|
252 |
$user_display_name = (!empty ($user_full_name) ? $user_full_name : $user_login);
|
253 |
|
254 |
+
// Build user data.
|
255 |
$user_fields = array (
|
256 |
|
257 |
+
// User table.
|
258 |
'user_login' => substr ($user_login, 0, 60),
|
259 |
'user_pass' => $user_pass,
|
260 |
'display_name' => substr ($user_display_name, 0, 250),
|
261 |
'user_email' => substr ($user_email, 0, 100),
|
262 |
'user_url' => substr ($user_website, 0, 100),
|
263 |
|
264 |
+
// Meta mable.
|
265 |
'first_name' => $user_first_name,
|
266 |
'last_name' => $user_last_name,
|
267 |
'role' => $user_role
|
268 |
);
|
269 |
|
270 |
+
// Filter for user_data.
|
271 |
$user_fields = apply_filters ('oa_social_login_filter_new_user_fields', $user_fields);
|
272 |
|
273 |
+
// Hook before adding the user.
|
274 |
do_action ('oa_social_login_action_before_user_insert', $user_fields, $identity);
|
275 |
|
276 |
+
// Create a new user.
|
277 |
$user_id = wp_insert_user ($user_fields);
|
278 |
if (is_numeric ($user_id) AND ($user_data = get_userdata ($user_id)) !== false)
|
279 |
{
|
280 |
+
// Refresh the meta-data.
|
281 |
delete_metadata ('user', null, 'oa_social_login_user_token', $user_token, true);
|
282 |
|
283 |
+
// Save the OneAll meta-data.
|
284 |
update_user_meta ($user_id, 'oa_social_login_user_token', $user_token);
|
285 |
update_user_meta ($user_id, 'oa_social_login_identity_provider', $user_identity_provider);
|
286 |
|
287 |
+
// Save the WordPress meta-data.
|
288 |
if ( ! empty ($user_about_me) OR ! empty ($user_note))
|
289 |
{
|
290 |
$user_description = (! empty ($user_about_me) ? $user_about_me : $user_note);
|
291 |
update_user_meta ($user_id, 'description', $user_description);
|
292 |
}
|
293 |
|
294 |
+
// Email is required.
|
295 |
if (!empty ($settings ['plugin_require_email']))
|
296 |
{
|
297 |
//We don't have the real email
|
301 |
}
|
302 |
}
|
303 |
|
304 |
+
// Notify Administrator.
|
305 |
if (!empty ($settings ['plugin_notify_admin']))
|
306 |
{
|
307 |
oa_social_login_user_notification ($user_id, $user_identity_provider);
|
308 |
}
|
309 |
|
310 |
+
// Refresh the cache.
|
311 |
wp_cache_delete ($user_id, 'users');
|
312 |
wp_cache_delete ($user_login, 'userlogins');
|
313 |
|
314 |
+
// Native WordPress hook.
|
315 |
do_action ('user_register', $user_id);
|
316 |
|
317 |
+
// Social Login Hook.
|
318 |
do_action ('oa_social_login_action_after_user_insert', $user_data, $identity);
|
319 |
}
|
320 |
}
|
321 |
|
322 |
+
// Sucess.
|
323 |
$user_data = get_userdata ($user_id);
|
324 |
if ($user_data !== false)
|
325 |
{
|
326 |
+
// Hooks to be used by third parties.
|
327 |
do_action ('oa_social_login_action_before_user_login', $user_data, $identity, $new_registration);
|
328 |
|
329 |
+
// Update user thumbnail.
|
330 |
if (!empty ($user_thumbnail))
|
331 |
{
|
332 |
update_user_meta ($user_id, 'oa_social_login_user_thumbnail', $user_thumbnail);
|
333 |
}
|
334 |
|
335 |
+
// Update user picture.
|
336 |
if (!empty ($user_picture))
|
337 |
{
|
338 |
update_user_meta ($user_id, 'oa_social_login_user_picture', $user_picture);
|
339 |
}
|
340 |
|
341 |
+
// Set the cookie and login.
|
342 |
wp_clear_auth_cookie ();
|
343 |
wp_set_auth_cookie ($user_data->ID, true);
|
344 |
do_action ('wp_login', $user_data->user_login, $user_data);
|
345 |
|
346 |
+
// Where did the user come from?
|
347 |
$oa_social_login_source = (!empty ($_REQUEST ['oa_social_login_source']) ? strtolower (trim ($_REQUEST ['oa_social_login_source'])) : '');
|
348 |
|
349 |
+
// Use safe redirection?
|
350 |
$redirect_to_safe = false;
|
351 |
|
352 |
+
// Build the url to redirect the user to.
|
353 |
switch ($oa_social_login_source)
|
354 |
{
|
355 |
//*************** Registration ***************
|
356 |
case 'registration':
|
357 |
+
|
358 |
+
// Default redirection.
|
359 |
$redirect_to = admin_url ();
|
360 |
|
361 |
+
// Redirection in URL.
|
362 |
if (!empty ($_GET ['redirect_to']))
|
363 |
{
|
364 |
$redirect_to = $_GET ['redirect_to'];
|
366 |
}
|
367 |
else
|
368 |
{
|
369 |
+
// Redirection customized.
|
370 |
if (isset ($settings ['plugin_registration_form_redirect']))
|
371 |
{
|
372 |
switch (strtolower ($settings ['plugin_registration_form_redirect']))
|
373 |
{
|
374 |
+
// Current.
|
375 |
case 'current':
|
376 |
$redirect_to = oa_social_login_get_current_url ();
|
377 |
break;
|
378 |
|
379 |
+
// Homepage.
|
380 |
case 'homepage':
|
381 |
$redirect_to = home_url ();
|
382 |
break;
|
383 |
|
384 |
+
// Custom.
|
385 |
case 'custom':
|
386 |
if (isset ($settings ['plugin_registration_form_redirect_custom_url']) AND strlen (trim ($settings ['plugin_registration_form_redirect_custom_url'])) > 0)
|
387 |
{
|
389 |
}
|
390 |
break;
|
391 |
|
392 |
+
// Default/Dashboard.
|
393 |
default:
|
394 |
case 'dashboard':
|
395 |
$redirect_to = admin_url ();
|
402 |
|
403 |
//*************** Login ***************
|
404 |
case 'login':
|
405 |
+
|
406 |
+
// Default redirection.
|
407 |
$redirect_to = home_url ();
|
408 |
|
409 |
+
// Redirection in URL.
|
410 |
if (!empty ($_GET ['redirect_to']))
|
411 |
{
|
412 |
$redirect_to = $_GET ['redirect_to'];
|
414 |
}
|
415 |
else
|
416 |
{
|
417 |
+
// Redirection customized.
|
418 |
if (isset ($settings ['plugin_login_form_redirect']))
|
419 |
{
|
420 |
switch (strtolower ($settings ['plugin_login_form_redirect']))
|
421 |
{
|
422 |
+
// Current.
|
423 |
case 'current':
|
424 |
|
425 |
global $pagenow;
|
426 |
|
427 |
+
// Do not redirect to the login page as this would logout the user.
|
428 |
if (empty ($pagenow) OR $pagenow <> 'wp-login.php')
|
429 |
{
|
430 |
$redirect_to = oa_social_login_get_current_url ();
|
431 |
}
|
432 |
+
// In this case just go to the homepage.
|
433 |
else
|
434 |
{
|
435 |
$redirect_to = home_url ();
|
436 |
}
|
437 |
break;
|
438 |
|
439 |
+
// Dashboard.
|
440 |
case 'dashboard':
|
441 |
$redirect_to = admin_url ();
|
442 |
break;
|
443 |
|
444 |
+
// Custom.
|
445 |
case 'custom':
|
446 |
if (isset ($settings ['plugin_login_form_redirect_custom_url']) AND strlen (trim ($settings ['plugin_login_form_redirect_custom_url'])) > 0)
|
447 |
{
|
449 |
}
|
450 |
break;
|
451 |
|
452 |
+
// Default/Homepage.
|
453 |
default:
|
454 |
case 'homepage':
|
455 |
$redirect_to = home_url ();
|
468 |
default:
|
469 |
case 'widget':
|
470 |
case 'shortcode':
|
471 |
+
|
472 |
+
// Is this is a new user?
|
473 |
$opt_key = ($new_registration === true ? 'register' : 'login');
|
474 |
|
475 |
+
// Default redirection.
|
476 |
$redirect_to = oa_social_login_get_current_url ();
|
477 |
|
478 |
+
// Redirection customized.
|
479 |
if (isset ($settings ['plugin_shortcode_' . $opt_key . '_redirect']))
|
480 |
{
|
481 |
switch (strtolower ($settings ['plugin_shortcode_' . $opt_key . '_redirect']))
|
482 |
{
|
483 |
+
// Current.
|
484 |
case 'current':
|
485 |
$redirect_to = oa_social_login_get_current_url ();
|
486 |
break;
|
487 |
|
488 |
+
// Homepage.
|
489 |
case 'homepage':
|
490 |
$redirect_to = home_url ();
|
491 |
break;
|
492 |
|
493 |
+
// Dashboard.
|
494 |
case 'dashboard':
|
495 |
$redirect_to = admin_url ();
|
496 |
break;
|
497 |
|
498 |
+
// Custom.
|
499 |
case 'custom':
|
500 |
if (isset ($settings ['plugin_shortcode_' . $opt_key . '_redirect_url']) AND strlen (trim ($settings ['plugin_shortcode_' . $opt_key . '_redirect_url'])) > 0)
|
501 |
{
|
507 |
break;
|
508 |
}
|
509 |
|
510 |
+
// Check if url set.
|
511 |
if (!isset ($redirect_to) OR strlen (trim ($redirect_to)) == 0)
|
512 |
{
|
513 |
$redirect_to = home_url ();
|
514 |
}
|
515 |
|
516 |
+
// New User -> Registration.
|
517 |
if ($new_registration === true)
|
518 |
{
|
519 |
+
// Apply the WordPress filters.
|
520 |
if (empty ($settings['plugin_protect_registration_redirect_url']))
|
521 |
{
|
522 |
$redirect_to = apply_filters ('registration_redirect', $redirect_to);
|
523 |
}
|
524 |
|
525 |
+
// Apply our filters.
|
526 |
$redirect_to = apply_filters ('oa_social_login_filter_registration_redirect_url', $redirect_to, $user_data);
|
527 |
}
|
528 |
+
// Existing User -> Login.
|
529 |
else
|
530 |
{
|
531 |
+
// Apply the WordPress filters.
|
532 |
if (empty ($settings['plugin_protect_login_redirect_url']))
|
533 |
{
|
534 |
$redirect_to = apply_filters ('login_redirect', $redirect_to, (! empty ($_GET ['redirect_to']) ? $_GET ['redirect_to'] : ''), $user_data);
|
535 |
}
|
536 |
|
537 |
+
// Apply our filters.
|
538 |
$redirect_to = apply_filters ('oa_social_login_filter_login_redirect_url', $redirect_to, $user_data);
|
539 |
}
|
540 |
|
541 |
+
// Hooks for other plugins.
|
542 |
do_action('oa_social_login_action_before_user_redirect', $user_data, $identity, $redirect_to);
|
543 |
|
544 |
+
// Use safe redirection?
|
545 |
if ($redirect_to_safe === true)
|
546 |
{
|
547 |
wp_safe_redirect ($redirect_to);
|
includes/user_interface.php
CHANGED
@@ -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 = __ ('You have successfully unlinked your
|
243 |
|
244 |
//Remove avatar
|
245 |
delete_user_meta ($userid, 'oa_social_login_user_thumbnail');
|
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');
|
includes/widget.php
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* Social Login Widget
|
5 |
*/
|
6 |
class oa_social_login_widget extends WP_Widget
|
7 |
{
|
8 |
/**
|
9 |
-
* Constructor
|
10 |
*/
|
11 |
public function __construct ()
|
12 |
{
|
@@ -16,7 +16,7 @@ class oa_social_login_widget extends WP_Widget
|
|
16 |
}
|
17 |
|
18 |
/**
|
19 |
-
* Display the widget
|
20 |
*/
|
21 |
public function widget ($args, $instance)
|
22 |
{
|
@@ -53,7 +53,7 @@ class oa_social_login_widget extends WP_Widget
|
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
-
*
|
57 |
*/
|
58 |
public function form ($instance)
|
59 |
{
|
@@ -102,7 +102,7 @@ class oa_social_login_widget extends WP_Widget
|
|
102 |
|
103 |
|
104 |
/**
|
105 |
-
* Update
|
106 |
*/
|
107 |
public function update ($new_instance, $old_instance)
|
108 |
{
|
@@ -116,4 +116,11 @@ class oa_social_login_widget extends WP_Widget
|
|
116 |
}
|
117 |
}
|
118 |
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* Social Login \ Widget
|
5 |
*/
|
6 |
class oa_social_login_widget extends WP_Widget
|
7 |
{
|
8 |
/**
|
9 |
+
* Constructor.
|
10 |
*/
|
11 |
public function __construct ()
|
12 |
{
|
16 |
}
|
17 |
|
18 |
/**
|
19 |
+
* Display the widget itself.
|
20 |
*/
|
21 |
public function widget ($args, $instance)
|
22 |
{
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
+
* Display the widget settings.
|
57 |
*/
|
58 |
public function form ($instance)
|
59 |
{
|
102 |
|
103 |
|
104 |
/**
|
105 |
+
* Update the widget settings.
|
106 |
*/
|
107 |
public function update ($new_instance, $old_instance)
|
108 |
{
|
116 |
}
|
117 |
}
|
118 |
|
119 |
+
/**
|
120 |
+
* Social Login \ Initialise widget.
|
121 |
+
*/
|
122 |
+
function oa_social_login_init_widget ()
|
123 |
+
{
|
124 |
+
return register_widget('oa_social_login_widget');
|
125 |
+
}
|
126 |
+
add_action ('widgets_init', oa_social_login_init_widget);
|
languages/oa_social_login-de_DE.mo
CHANGED
Binary file
|
languages/oa_social_login-de_DE.po
CHANGED
@@ -3,29 +3,30 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Social Login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2014-05-06 11:41+0100\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: Claude
|
8 |
"Language-Team: \n"
|
9 |
-
"Language: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-Language: German\n"
|
16 |
"X-Poedit-SourceCharset: utf-8\n"
|
|
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: oa-social-login.php:24
|
20 |
#, php-format
|
21 |
-
msgid "
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
#: includes/admin.php:
|
|
|
29 |
msgid "Setup"
|
30 |
msgstr "Einrichten"
|
31 |
|
@@ -37,9 +38,7 @@ msgstr "Registriert mit"
|
|
37 |
msgid "Registration Form"
|
38 |
msgstr "Anmeldeformular"
|
39 |
|
40 |
-
#: includes/admin.php:63
|
41 |
-
#: includes/admin.php:594
|
42 |
-
#: includes/admin.php:867
|
43 |
msgid "Settings"
|
44 |
msgstr "Einstellungen"
|
45 |
|
@@ -49,8 +48,12 @@ msgstr "Danke, dass Sie Social Login installiert haben!"
|
|
49 |
|
50 |
#: includes/admin.php:116
|
51 |
#, php-format
|
52 |
-
msgid "
|
53 |
-
|
|
|
|
|
|
|
|
|
54 |
|
55 |
#: includes/admin.php:308
|
56 |
msgid "Contacting API - please wait this may take a few minutes ..."
|
@@ -74,7 +77,9 @@ msgstr "Die Subdomain ist ungültig!"
|
|
74 |
|
75 |
#: includes/admin.php:313
|
76 |
msgid "Could not contact API. Are outbound requests on port 443 allowed?"
|
77 |
-
msgstr "
|
|
|
|
|
78 |
|
79 |
#: includes/admin.php:314
|
80 |
msgid "The API subdomain is correct, but one or both keys are invalid"
|
@@ -86,39 +91,63 @@ msgstr "Verbindungsfehler! Bitte nutzen Sie die automatische Erkennung"
|
|
86 |
|
87 |
#: includes/admin.php:316
|
88 |
msgid "Detected CURL on Port 443 - do not forget to save your changes!"
|
89 |
-
msgstr "
|
|
|
90 |
|
91 |
#: includes/admin.php:317
|
92 |
msgid "Detected CURL on Port 80 - do not forget to save your changes!"
|
93 |
-
msgstr "
|
|
|
94 |
|
95 |
#: includes/admin.php:318
|
96 |
-
msgid "
|
97 |
-
|
|
|
|
|
|
|
98 |
|
99 |
#: includes/admin.php:319
|
100 |
msgid "Detected FSOCKOPEN on Port 443 - do not forget to save your changes!"
|
101 |
-
msgstr "
|
|
|
|
|
102 |
|
103 |
#: includes/admin.php:320
|
104 |
msgid "Detected FSOCKOPEN on Port 80 - do not forget to save your changes!"
|
105 |
-
msgstr "
|
|
|
106 |
|
107 |
#: includes/admin.php:321
|
108 |
-
msgid "
|
109 |
-
|
|
|
|
|
|
|
|
|
110 |
|
111 |
#: includes/admin.php:322
|
112 |
#, php-format
|
113 |
-
msgid "
|
114 |
-
|
|
|
|
|
|
|
|
|
115 |
|
116 |
#: includes/admin.php:601
|
117 |
-
msgid "
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
|
120 |
#: includes/admin.php:602
|
121 |
-
msgid "
|
|
|
|
|
122 |
msgstr "Steigern Sie die Beteilung Ihrer Nutzer auf einfachste Art und Weise."
|
123 |
|
124 |
#: includes/admin.php:606
|
@@ -127,12 +156,20 @@ msgstr "Los gehts!"
|
|
127 |
|
128 |
#: includes/admin.php:609
|
129 |
#, php-format
|
130 |
-
msgid "
|
131 |
-
|
|
|
|
|
|
|
|
|
132 |
|
133 |
#: includes/admin.php:610
|
134 |
-
msgid "
|
135 |
-
|
|
|
|
|
|
|
|
|
136 |
|
137 |
#: includes/admin.php:611
|
138 |
msgid "Don't worry the setup takes only a couple of minutes!"
|
@@ -152,12 +189,20 @@ msgid "Your API Account is setup correctly"
|
|
152 |
msgstr "Die API-Daten sind korrekt"
|
153 |
|
154 |
#: includes/admin.php:631
|
155 |
-
msgid "
|
156 |
-
|
|
|
|
|
|
|
|
|
157 |
|
158 |
#: includes/admin.php:632
|
159 |
-
msgid "
|
160 |
-
|
|
|
|
|
|
|
|
|
161 |
|
162 |
#: includes/admin.php:635
|
163 |
msgid "Click here to login to your account"
|
@@ -169,31 +214,45 @@ msgstr "Hilfe, Updates & Dokumentation"
|
|
169 |
|
170 |
#: includes/admin.php:646
|
171 |
#, php-format
|
172 |
-
msgid "
|
173 |
-
|
|
|
|
|
|
|
|
|
174 |
|
175 |
#: includes/admin.php:647
|
176 |
#, php-format
|
177 |
-
msgid "
|
178 |
-
|
|
|
|
|
|
|
|
|
179 |
|
180 |
#: includes/admin.php:648
|
181 |
#, php-format
|
182 |
-
msgid "
|
183 |
-
|
|
|
|
|
|
|
|
|
184 |
|
185 |
#: includes/admin.php:649
|
186 |
#, php-format
|
187 |
-
msgid "
|
188 |
-
|
|
|
|
|
|
|
|
|
189 |
|
190 |
-
#: includes/admin.php:658
|
191 |
-
#: includes/admin.php:891
|
192 |
msgid "Your modifications have been saved successfully!"
|
193 |
msgstr "Ihre Einstellungen wurden erfolgreich gespeichert!"
|
194 |
|
195 |
-
#: includes/admin.php:670
|
196 |
-
#: includes/admin.php:678
|
197 |
msgid "API Connection Handler"
|
198 |
msgstr "API Kommunikation"
|
199 |
|
@@ -201,24 +260,12 @@ msgstr "API Kommunikation"
|
|
201 |
msgid "Use PHP CURL to communicate with the API"
|
202 |
msgstr "PHP CURL verwenden"
|
203 |
|
204 |
-
#: includes/admin.php:682
|
205 |
-
#: includes/admin.php:
|
206 |
-
#: includes/admin.php:
|
207 |
-
#: includes/admin.php:
|
208 |
-
#: includes/admin.php:
|
209 |
-
#: includes/admin.php:
|
210 |
-
#: includes/admin.php:974
|
211 |
-
#: includes/admin.php:990
|
212 |
-
#: includes/admin.php:1004
|
213 |
-
#: includes/admin.php:1026
|
214 |
-
#: includes/admin.php:1041
|
215 |
-
#: includes/admin.php:1056
|
216 |
-
#: includes/admin.php:1079
|
217 |
-
#: includes/admin.php:1100
|
218 |
-
#: includes/admin.php:1116
|
219 |
-
#: includes/admin.php:1139
|
220 |
-
#: includes/admin.php:1156
|
221 |
-
#: includes/admin.php:1179
|
222 |
#: includes/admin.php:1197
|
223 |
msgid "Default"
|
224 |
msgstr "Standard"
|
@@ -253,7 +300,8 @@ msgstr "Verbindung auf HTTP Port 80"
|
|
253 |
|
254 |
#: includes/admin.php:710
|
255 |
msgid "Using port 80 is a bit faster, doesn't need OpenSSL but is less secure"
|
256 |
-
msgstr "
|
|
|
257 |
|
258 |
#: includes/admin.php:715
|
259 |
msgid "Autodetect API Connection"
|
@@ -296,7 +344,9 @@ msgid "Asynchronous JavaScript"
|
|
296 |
msgstr "Asynchrones JavaScript"
|
297 |
|
298 |
#: includes/admin.php:801
|
299 |
-
msgid "
|
|
|
|
|
300 |
msgstr "JavaScript im Hintergrund laden, um dem Seitenaufbau zu beschleunigen."
|
301 |
|
302 |
#: includes/admin.php:807
|
@@ -313,11 +363,14 @@ msgstr "Wählen Sie die sozialen Netzwerke aus:"
|
|
313 |
|
314 |
#: includes/admin.php:836
|
315 |
#, php-format
|
316 |
-
msgid "
|
317 |
-
|
|
|
|
|
|
|
|
|
318 |
|
319 |
-
#: includes/admin.php:847
|
320 |
-
#: includes/admin.php:1207
|
321 |
msgid "Save Changes"
|
322 |
msgstr "Einstellungen speichern"
|
323 |
|
@@ -326,20 +379,34 @@ msgid "Logout to see the plugin in action!"
|
|
326 |
msgstr "Sie müssen ausloggen, um das Plugin testen zu können."
|
327 |
|
328 |
#: includes/admin.php:881
|
329 |
-
msgid "
|
330 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
|
332 |
#: includes/admin.php:883
|
333 |
msgid "You therefore have to logout to see the plugin in action."
|
334 |
-
msgstr "
|
|
|
335 |
|
336 |
#: includes/admin.php:899
|
337 |
msgid "General Settings"
|
338 |
msgstr "Allgemeine Einstellungen"
|
339 |
|
340 |
#: includes/admin.php:904
|
341 |
-
msgid "
|
342 |
-
|
|
|
|
|
|
|
|
|
343 |
|
344 |
#: includes/admin.php:910
|
345 |
msgid "Connect with:"
|
@@ -347,7 +414,8 @@ msgstr "Einloggen mit:"
|
|
347 |
|
348 |
#: includes/admin.php:917
|
349 |
msgid "Do you want to use the default or the small social network buttons?"
|
350 |
-
msgstr "
|
|
|
351 |
|
352 |
#: includes/admin.php:925
|
353 |
#, php-format
|
@@ -360,11 +428,17 @@ msgid "Use the small social network buttons (%s)"
|
|
360 |
msgstr "Kleine Icons verwenden (%s)"
|
361 |
|
362 |
#: includes/admin.php:931
|
363 |
-
msgid "
|
364 |
-
|
|
|
|
|
|
|
|
|
365 |
|
366 |
#: includes/admin.php:939
|
367 |
-
msgid "
|
|
|
|
|
368 |
msgstr "Ja, eine weitere Spalte in der Benutzerliste anzeigen"
|
369 |
|
370 |
#: includes/admin.php:940
|
@@ -372,12 +446,18 @@ msgid "No, do not display the social networks in the user list"
|
|
372 |
msgstr "Nein, soziale Netzwerke nicht anzeigen"
|
373 |
|
374 |
#: includes/admin.php:945
|
375 |
-
msgid "
|
376 |
-
|
|
|
|
|
|
|
|
|
377 |
|
378 |
#: includes/admin.php:953
|
379 |
msgid "Yes, send me an email whenever a new user registers with Social Login"
|
380 |
-
msgstr "
|
|
|
|
|
381 |
|
382 |
#: includes/admin.php:954
|
383 |
msgid "No, do not send me any emails"
|
@@ -388,34 +468,57 @@ msgid "User Settings"
|
|
388 |
msgstr "Benutzer Einstellungen"
|
389 |
|
390 |
#: includes/admin.php:966
|
391 |
-
msgid "
|
392 |
-
|
|
|
|
|
|
|
|
|
393 |
|
394 |
#: includes/admin.php:974
|
395 |
-
msgid "
|
396 |
-
|
|
|
|
|
|
|
397 |
|
398 |
#: includes/admin.php:975
|
399 |
-
msgid "
|
400 |
-
|
|
|
|
|
|
|
401 |
|
402 |
-
#: includes/admin.php:976
|
403 |
-
#: includes/user_interface.php:1078
|
404 |
#, php-format
|
405 |
-
msgid "
|
406 |
-
|
|
|
|
|
|
|
|
|
|
|
407 |
|
408 |
#: includes/admin.php:977
|
409 |
#, php-format
|
410 |
-
msgid "
|
411 |
-
|
|
|
|
|
|
|
|
|
412 |
|
413 |
#: includes/admin.php:982
|
414 |
-
msgid "
|
415 |
-
|
|
|
|
|
|
|
|
|
416 |
|
417 |
#: includes/admin.php:990
|
418 |
-
msgid "
|
|
|
419 |
msgstr "Ja, verknüpfe soziale Profile gegebenenfalls mit vorhanden Nutzern"
|
420 |
|
421 |
#: includes/admin.php:991
|
@@ -423,8 +526,12 @@ msgid "No, disable account linking"
|
|
423 |
msgstr "Nein, keine Verknüpfung"
|
424 |
|
425 |
#: includes/admin.php:996
|
426 |
-
msgid "
|
427 |
-
|
|
|
|
|
|
|
|
|
428 |
|
429 |
#: includes/admin.php:1004
|
430 |
msgid "No, do not use avatars from social networks"
|
@@ -446,30 +553,42 @@ msgstr "Einstellungen: Kommentare"
|
|
446 |
msgid "Show the Social Login buttons in the comment area?"
|
447 |
msgstr "Das Plugin über dem Kommentare-Formular anzeigen?"
|
448 |
|
449 |
-
#: includes/admin.php:1026
|
450 |
-
#: includes/admin.php:1041
|
451 |
msgid "Yes, show the Social Login buttons"
|
452 |
msgstr "Ja, zeige das Plugin an"
|
453 |
|
454 |
-
#: includes/admin.php:1027
|
455 |
-
#: includes/admin.php:1042
|
456 |
msgid "No, do not show the Social Login buttons"
|
457 |
msgstr "Nein, Plugin nicht anzeigen"
|
458 |
|
459 |
#: includes/admin.php:1032
|
460 |
-
msgid "
|
461 |
-
|
|
|
|
|
|
|
|
|
462 |
|
463 |
#: includes/admin.php:1040
|
464 |
-
msgid "
|
465 |
-
|
|
|
|
|
|
|
|
|
466 |
|
467 |
#: includes/admin.php:1047
|
468 |
-
msgid "
|
469 |
-
|
|
|
|
|
|
|
|
|
470 |
|
471 |
#: includes/admin.php:1055
|
472 |
-
msgid "
|
|
|
|
|
473 |
msgstr "Ja, Kommentare automatisch freischalten"
|
474 |
|
475 |
#: includes/admin.php:1056
|
@@ -485,8 +604,12 @@ msgid "Show the Social Link buttons in the user profile?"
|
|
485 |
msgstr "Social Link im Mitgliederprofil anzeigen?"
|
486 |
|
487 |
#: includes/admin.php:1075
|
488 |
-
msgid "
|
489 |
-
|
|
|
|
|
|
|
|
|
490 |
|
491 |
#: includes/admin.php:1079
|
492 |
msgid "Yes, show the Social Link buttons"
|
@@ -513,33 +636,29 @@ msgid "No, disable social network buttons in the login form"
|
|
513 |
msgstr "Nein, keine Icons auf der Login-Seite anzeigen"
|
514 |
|
515 |
#: includes/admin.php:1106
|
516 |
-
msgid "
|
517 |
-
|
|
|
|
|
|
|
|
|
518 |
|
519 |
-
#: includes/admin.php:1115
|
520 |
-
#: includes/admin.php:1154
|
521 |
-
#: includes/admin.php:1179
|
522 |
#: includes/admin.php:1197
|
523 |
msgid "Redirect users back to the current page"
|
524 |
msgstr "Weiterleitung zurück zur aktuellen Seite"
|
525 |
|
526 |
-
#: includes/admin.php:1116
|
527 |
-
#: includes/admin.php:1155
|
528 |
-
#: includes/admin.php:1180
|
529 |
#: includes/admin.php:1198
|
530 |
msgid "Redirect users to the homepage of my blog"
|
531 |
msgstr "Weiterleitung zur Hauptseite meines Blogs"
|
532 |
|
533 |
-
#: includes/admin.php:1117
|
534 |
-
#: includes/admin.php:1156
|
535 |
-
#: includes/admin.php:1181
|
536 |
#: includes/admin.php:1199
|
537 |
msgid "Redirect users to their account dashboard"
|
538 |
msgstr "Weiterleitung zur Profilseite des Nutzers"
|
539 |
|
540 |
-
#: includes/admin.php:1118
|
541 |
-
#: includes/admin.php:1157
|
542 |
-
#: includes/admin.php:1182
|
543 |
#: includes/admin.php:1200
|
544 |
msgid "Redirect users to the following url"
|
545 |
msgstr "Weiterleitung zu dieser URL"
|
@@ -549,7 +668,8 @@ msgid "Registration Page Settings"
|
|
549 |
msgstr "Einstellungen: Anmelden-Seite"
|
550 |
|
551 |
#: includes/admin.php:1131
|
552 |
-
msgid "
|
|
|
553 |
msgstr "Das Plugin auf der Anmelden-Seite Ihres Blogs anzeigen?"
|
554 |
|
555 |
#: includes/admin.php:1139
|
@@ -561,34 +681,43 @@ msgid "No, disable social network buttons in the registration form"
|
|
561 |
msgstr "Nein, keine Icons auf der Anmelden-Seite anzeigen"
|
562 |
|
563 |
#: includes/admin.php:1145
|
564 |
-
msgid "
|
565 |
-
|
|
|
|
|
|
|
|
|
566 |
|
567 |
#: includes/admin.php:1165
|
568 |
msgid "Widget & Shortcode Settings"
|
569 |
msgstr "Widget & Shortcode Einstellungen"
|
570 |
|
571 |
#: includes/admin.php:1170
|
572 |
-
msgid "
|
573 |
-
|
|
|
|
|
|
|
|
|
574 |
|
575 |
#: includes/admin.php:1188
|
576 |
-
msgid "
|
577 |
-
|
|
|
|
|
|
|
|
|
578 |
|
579 |
-
#: includes/user_interface.php:115
|
580 |
-
#: includes/user_interface.php:926
|
581 |
msgid "Please enable at least one social network!"
|
582 |
msgstr "Bitte aktivieren Sie mindestens ein soziales Netzwerk!"
|
583 |
|
584 |
-
#: includes/user_interface.php:160
|
585 |
-
#: includes/user_interface.php:198
|
586 |
#, php-format
|
587 |
msgid "You have successfully linked your %s account."
|
588 |
msgstr "Sie haben Ihr %s Konto erfolgreich hinzugefügt."
|
589 |
|
590 |
-
#: includes/user_interface.php:192
|
591 |
-
#: includes/user_interface.php:283
|
592 |
#, php-format
|
593 |
msgid "This %s account is already used by another user of this website."
|
594 |
msgstr "Dieses %s Konto wird bereit von einem anderen Nutzer verwendet."
|
@@ -596,18 +725,21 @@ msgstr "Dieses %s Konto wird bereit von einem anderen Nutzer verwendet."
|
|
596 |
#: includes/user_interface.php:223
|
597 |
#, php-format
|
598 |
msgid "You have successfully unlinked your %s account."
|
599 |
-
msgstr "Sie haben die Verbindung mit %s Konto getrennt."
|
600 |
|
601 |
#: includes/user_interface.php:271
|
602 |
-
msgid "
|
603 |
-
|
|
|
|
|
|
|
|
|
604 |
|
605 |
#: includes/user_interface.php:347
|
606 |
msgid "Connect your account to one or more social networks"
|
607 |
msgstr "Verbinden Sie Ihr Konto mit einem oder mehreren sozialen Netzwerken"
|
608 |
|
609 |
-
#: includes/user_interface.php:1028
|
610 |
-
#: includes/user_interface.php:1104
|
611 |
msgid "Please enter your email address"
|
612 |
msgstr "Bitte geben Sie Ihre E-Mail-Adresse ein"
|
613 |
|
@@ -633,8 +765,13 @@ msgid "Cancel"
|
|
633 |
msgstr "Abbrechen"
|
634 |
|
635 |
#: includes/widget.php:14
|
636 |
-
msgid "
|
637 |
-
|
|
|
|
|
|
|
|
|
|
|
638 |
|
639 |
#: includes/widget.php:62
|
640 |
msgid "Connect with"
|
3 |
"Project-Id-Version: Social Login\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2014-05-06 11:41+0100\n"
|
6 |
+
"PO-Revision-Date: 2018-07-19 16:16+0100\n"
|
7 |
+
"Last-Translator: Claude <cschlesser@oneall.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
+
"Language: de\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
|
|
15 |
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Generator: Poedit 1.5.4\n"
|
17 |
"X-Poedit-SearchPath-0: .\n"
|
18 |
|
19 |
#: oa-social-login.php:24
|
20 |
#, php-format
|
21 |
+
msgid ""
|
22 |
+
"This plugin requires WordPress %s or newer. Please update your WordPress "
|
23 |
+
"installation to activate this plugin."
|
24 |
+
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:46 includes/admin.php:59 includes/admin.php:70
|
29 |
+
#: includes/admin.php:593 includes/admin.php:866
|
30 |
msgid "Setup"
|
31 |
msgstr "Einrichten"
|
32 |
|
38 |
msgid "Registration Form"
|
39 |
msgstr "Anmeldeformular"
|
40 |
|
41 |
+
#: includes/admin.php:63 includes/admin.php:594 includes/admin.php:867
|
|
|
|
|
42 |
msgid "Settings"
|
43 |
msgstr "Einstellungen"
|
44 |
|
48 |
|
49 |
#: includes/admin.php:116
|
50 |
#, php-format
|
51 |
+
msgid ""
|
52 |
+
"Please complete the <strong><a href=\"%s\">Social Login Setup</a></strong> "
|
53 |
+
"to enable the plugin."
|
54 |
+
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:308
|
59 |
msgid "Contacting API - please wait this may take a few minutes ..."
|
77 |
|
78 |
#: includes/admin.php:313
|
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:314
|
85 |
msgid "The API subdomain is correct, but one or both keys are invalid"
|
91 |
|
92 |
#: includes/admin.php:316
|
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:317
|
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:318
|
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:319
|
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:320
|
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:321
|
121 |
+
msgid ""
|
122 |
+
"FSOCKOPEN is available but both ports (80, 443) are blocked for outbound "
|
123 |
+
"requests"
|
124 |
+
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:322
|
129 |
#, php-format
|
130 |
+
msgid ""
|
131 |
+
"Autodetection Error - our <a href=\"%s\" target=\"_blank\">documentation</a> "
|
132 |
+
"helps you fix this issue."
|
133 |
+
msgstr ""
|
134 |
+
"Verbindungsfehler - in unserer <a href=\"%s\" target=\"_blank"
|
135 |
+
"\">Dokumentation</a> finden Sie die Lösung."
|
136 |
|
137 |
#: includes/admin.php:601
|
138 |
+
msgid ""
|
139 |
+
"Allow your visitors to comment, login and register with 20+ Social Networks "
|
140 |
+
"like for example Twitter, Facebook, LinkedIn, Instagram, VKontakte, Google "
|
141 |
+
"or Yahoo."
|
142 |
+
msgstr ""
|
143 |
+
"Erlauben Sie Ihren Besuchern, sich mit 20+ Sozialen Netzwerk wie z.B. "
|
144 |
+
"Twitter, Facebook, LinkedIn, Instagram, Google oder Yahoo anzumelden, und "
|
145 |
+
"Kommentare zu hinterlassen."
|
146 |
|
147 |
#: includes/admin.php:602
|
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:606
|
156 |
|
157 |
#: includes/admin.php:609
|
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 and setup a Site."
|
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:610
|
167 |
+
msgid ""
|
168 |
+
"After having created your account and setup your Site, please enter the Site "
|
169 |
+
"settings in the form below."
|
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:611
|
175 |
msgid "Don't worry the setup takes only a couple of minutes!"
|
189 |
msgstr "Die API-Daten sind korrekt"
|
190 |
|
191 |
#: includes/admin.php:631
|
192 |
+
msgid ""
|
193 |
+
"Login to your account to manage your providers and access your Social "
|
194 |
+
"Insights."
|
195 |
+
msgstr ""
|
196 |
+
"Loggen Sie sich in Ihr Konto ein, um Einstellungen vorzunehmen und "
|
197 |
+
"Statistiken einzusehen."
|
198 |
|
199 |
#: includes/admin.php:632
|
200 |
+
msgid ""
|
201 |
+
"Determine which social networks are popular amongst your users and tailor "
|
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"
|
214 |
|
215 |
#: includes/admin.php:646
|
216 |
#, php-format
|
217 |
+
msgid ""
|
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:647
|
225 |
#, php-format
|
226 |
+
msgid ""
|
227 |
+
"<a target=\"_blank\" href=\"%s\">Read the online documentation</a> for more "
|
228 |
+
"information about this plugin"
|
229 |
+
msgstr ""
|
230 |
+
"<a target=\"_blank\" href=\"%s\">Lesen Sie unsere Dokumentation</a> für "
|
231 |
+
"zusätzliche Information"
|
232 |
|
233 |
#: includes/admin.php:648
|
234 |
#, php-format
|
235 |
+
msgid ""
|
236 |
+
"<a target=\"_blank\" href=\"%s\">Contact us</a> if you have feedback or need "
|
237 |
+
"assistance"
|
238 |
+
msgstr ""
|
239 |
+
"<a target=\"_blank\" href=\"%s\">Schreiben Sie uns</a>, falls Sie Hilfe "
|
240 |
+
"benötigen"
|
241 |
|
242 |
#: includes/admin.php:649
|
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:670 includes/admin.php:678
|
|
|
256 |
msgid "API Connection Handler"
|
257 |
msgstr "API Kommunikation"
|
258 |
|
260 |
msgid "Use PHP CURL to communicate with the API"
|
261 |
msgstr "PHP CURL verwenden"
|
262 |
|
263 |
+
#: includes/admin.php:682 includes/admin.php:702 includes/admin.php:800
|
264 |
+
#: includes/admin.php:925 includes/admin.php:940 includes/admin.php:953
|
265 |
+
#: includes/admin.php:974 includes/admin.php:990 includes/admin.php:1004
|
266 |
+
#: includes/admin.php:1026 includes/admin.php:1041 includes/admin.php:1056
|
267 |
+
#: includes/admin.php:1079 includes/admin.php:1100 includes/admin.php:1116
|
268 |
+
#: includes/admin.php:1139 includes/admin.php:1156 includes/admin.php:1179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
#: includes/admin.php:1197
|
270 |
msgid "Default"
|
271 |
msgstr "Standard"
|
300 |
|
301 |
#: includes/admin.php:710
|
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:715
|
307 |
msgid "Autodetect API Connection"
|
344 |
msgstr "Asynchrones JavaScript"
|
345 |
|
346 |
#: includes/admin.php:801
|
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:807
|
363 |
|
364 |
#: includes/admin.php:836
|
365 |
#, php-format
|
366 |
+
msgid ""
|
367 |
+
"To enable cyrillic usernames, you might need <a target=\"_blank\" href=\"%s"
|
368 |
+
"\">this plugin</a>"
|
369 |
+
msgstr ""
|
370 |
+
"Um kyrillische Zeichen zu verwenden, brauchen Sie <a target=\"_blank\" href="
|
371 |
+
"\"%s\">dieses Plugin</a>"
|
372 |
|
373 |
+
#: includes/admin.php:847 includes/admin.php:1207
|
|
|
374 |
msgid "Save Changes"
|
375 |
msgstr "Einstellungen speichern"
|
376 |
|
379 |
msgstr "Sie müssen ausloggen, um das Plugin testen zu können."
|
380 |
|
381 |
#: includes/admin.php:881
|
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 "
|
385 |
+
"logged in, the plugin will not be displayed. There is no need to give the "
|
386 |
+
"user the possibility to connect with a social network if he is already "
|
387 |
+
"connected."
|
388 |
+
msgstr ""
|
389 |
+
"Social Login erlaubt es Ihren Benutzern, sich mit dem Konto eines sozialen "
|
390 |
+
"Netzwerks anzumelden. Bei Benutzern die bereits eingeloggt sind wird das "
|
391 |
+
"Plugin nicht angezeigt, da der Benutzer bereits angemeldet ist, und keine "
|
392 |
+
"weitere Anmeldenmöglichkeit benötigt. "
|
393 |
|
394 |
#: includes/admin.php:883
|
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:899
|
400 |
msgid "General Settings"
|
401 |
msgstr "Allgemeine Einstellungen"
|
402 |
|
403 |
#: includes/admin.php:904
|
404 |
+
msgid ""
|
405 |
+
"Enter the description to be displayed above the Social Login buttons (leave "
|
406 |
+
"empty for none):"
|
407 |
+
msgstr ""
|
408 |
+
"Welcher Text soll über den Icons der sozialen Netzwerke angezeigt werden "
|
409 |
+
"(ggf. leer lassen) ?"
|
410 |
|
411 |
#: includes/admin.php:910
|
412 |
msgid "Connect with:"
|
414 |
|
415 |
#: includes/admin.php:917
|
416 |
msgid "Do you want to use the default or the small social network buttons?"
|
417 |
+
msgstr ""
|
418 |
+
"Wollen Sie die standard -oder kleinere Icons für soziale Netzwerke verwenden?"
|
419 |
|
420 |
#: includes/admin.php:925
|
421 |
#, php-format
|
428 |
msgstr "Kleine Icons verwenden (%s)"
|
429 |
|
430 |
#: includes/admin.php:931
|
431 |
+
msgid ""
|
432 |
+
"Do you want to display the social networks used to connect in the user list "
|
433 |
+
"of the administration area ?"
|
434 |
+
msgstr ""
|
435 |
+
"Sollen die verwendeten sozialen Netzwerke in der Benutzerliste angezeigt "
|
436 |
+
"werden?"
|
437 |
|
438 |
#: includes/admin.php:939
|
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:940
|
446 |
msgstr "Nein, soziale Netzwerke nicht anzeigen"
|
447 |
|
448 |
#: includes/admin.php:945
|
449 |
+
msgid ""
|
450 |
+
"Do you want to receive an email whenever a new user registers with Social "
|
451 |
+
"Login ?"
|
452 |
+
msgstr ""
|
453 |
+
"Wollen Sie per Email benachrichtigt werden, sobald ein Benutzer sich mit "
|
454 |
+
"Social Login anmeldet?"
|
455 |
|
456 |
#: includes/admin.php:953
|
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:954
|
463 |
msgid "No, do not send me any emails"
|
468 |
msgstr "Benutzer Einstellungen"
|
469 |
|
470 |
#: includes/admin.php:966
|
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 sie nicht im "
|
476 |
+
"Sozialen Profil vorhanden ist?"
|
477 |
|
478 |
#: includes/admin.php:974
|
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:975
|
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:976 includes/user_interface.php:1078
|
|
|
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 "
|
506 |
+
"network used to connect."
|
507 |
+
msgstr ""
|
508 |
+
"HTML ist erlaubt, der Platzhalter %s wird durch den Namen des sozialen "
|
509 |
+
"Netzwerks ersetzt."
|
510 |
|
511 |
#: includes/admin.php:982
|
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?"
|
515 |
+
msgstr ""
|
516 |
+
"Sollen soziale Profile mit überprüfter Email mit vorhandenen Blog-Nutzern "
|
517 |
+
"verknüpft werden?"
|
518 |
|
519 |
#: includes/admin.php:990
|
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:991
|
526 |
msgstr "Nein, keine Verknüpfung"
|
527 |
|
528 |
#: includes/admin.php:996
|
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?"
|
532 |
+
msgstr ""
|
533 |
+
"Sollen die Benutzerbilder der sozialen Netwerke gegebenenfalls als Avatare "
|
534 |
+
"verwendet werden?"
|
535 |
|
536 |
#: includes/admin.php:1004
|
537 |
msgid "No, do not use avatars from social networks"
|
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:1026 includes/admin.php:1041
|
|
|
557 |
msgid "Yes, show the Social Login buttons"
|
558 |
msgstr "Ja, zeige das Plugin an"
|
559 |
|
560 |
+
#: includes/admin.php:1027 includes/admin.php:1042
|
|
|
561 |
msgid "No, do not show the Social Login buttons"
|
562 |
msgstr "Nein, Plugin nicht anzeigen"
|
563 |
|
564 |
#: includes/admin.php:1032
|
565 |
+
msgid ""
|
566 |
+
"Show the Social Login buttons in the comment area if comments are disabled "
|
567 |
+
"for guests?"
|
568 |
+
msgstr ""
|
569 |
+
"Login mit einem sozialen Netzwerk anbieten falls Kommentare für Gäste "
|
570 |
+
"deaktiviert sind?"
|
571 |
|
572 |
#: includes/admin.php:1040
|
573 |
+
msgid ""
|
574 |
+
"The buttons will be displayed below the \"You must be logged in to leave a "
|
575 |
+
"comment\" notice."
|
576 |
+
msgstr ""
|
577 |
+
"Die Icons werden unter \"Du musst angemeldet sein, um einen Kommentar "
|
578 |
+
"abzugeben\" angezeigt."
|
579 |
|
580 |
#: includes/admin.php:1047
|
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 SocialLogin "
|
586 |
+
"eingeloggt hat?"
|
587 |
|
588 |
#: includes/admin.php:1055
|
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:1056
|
604 |
msgstr "Social Link im Mitgliederprofil anzeigen?"
|
605 |
|
606 |
#: includes/admin.php:1075
|
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 koppeln können."
|
613 |
|
614 |
#: includes/admin.php:1079
|
615 |
msgid "Yes, show the Social Link buttons"
|
636 |
msgstr "Nein, keine Icons auf der Login-Seite anzeigen"
|
637 |
|
638 |
#: includes/admin.php:1106
|
639 |
+
msgid ""
|
640 |
+
"Where should users be redirected to after having logged in with Social Login "
|
641 |
+
"on the login page?"
|
642 |
+
msgstr ""
|
643 |
+
"Wohin sollen Nutzer weitergeleitet werden, nachdem Sie sich Social Login auf "
|
644 |
+
"der Login-Seite eingeloggt haben?"
|
645 |
|
646 |
+
#: includes/admin.php:1115 includes/admin.php:1154 includes/admin.php:1179
|
|
|
|
|
647 |
#: includes/admin.php:1197
|
648 |
msgid "Redirect users back to the current page"
|
649 |
msgstr "Weiterleitung zurück zur aktuellen Seite"
|
650 |
|
651 |
+
#: includes/admin.php:1116 includes/admin.php:1155 includes/admin.php:1180
|
|
|
|
|
652 |
#: includes/admin.php:1198
|
653 |
msgid "Redirect users to the homepage of my blog"
|
654 |
msgstr "Weiterleitung zur Hauptseite meines Blogs"
|
655 |
|
656 |
+
#: includes/admin.php:1117 includes/admin.php:1156 includes/admin.php:1181
|
|
|
|
|
657 |
#: includes/admin.php:1199
|
658 |
msgid "Redirect users to their account dashboard"
|
659 |
msgstr "Weiterleitung zur Profilseite des Nutzers"
|
660 |
|
661 |
+
#: includes/admin.php:1118 includes/admin.php:1157 includes/admin.php:1182
|
|
|
|
|
662 |
#: includes/admin.php:1200
|
663 |
msgid "Redirect users to the following url"
|
664 |
msgstr "Weiterleitung zu dieser URL"
|
668 |
msgstr "Einstellungen: Anmelden-Seite"
|
669 |
|
670 |
#: includes/admin.php:1131
|
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:1139
|
681 |
msgstr "Nein, keine Icons auf der Anmelden-Seite anzeigen"
|
682 |
|
683 |
#: includes/admin.php:1145
|
684 |
+
msgid ""
|
685 |
+
"Where should users be redirected to after having registered with Social "
|
686 |
+
"Login on the registration page?"
|
687 |
+
msgstr ""
|
688 |
+
"Wohin sollen Nutzer weitergeleitet werden, nachdem sie ein Konto mit einem "
|
689 |
+
"sozialen Netzwerk angelegt haben?"
|
690 |
|
691 |
#: includes/admin.php:1165
|
692 |
msgid "Widget & Shortcode Settings"
|
693 |
msgstr "Widget & Shortcode Einstellungen"
|
694 |
|
695 |
#: includes/admin.php:1170
|
696 |
+
msgid ""
|
697 |
+
"Redirect users to this page after they have logged in with Social Login "
|
698 |
+
"embedded by Widget/Shortcode:"
|
699 |
+
msgstr ""
|
700 |
+
"Benutzer zu dieser Seite weiterleiten nachdem sie im Social Login Widget/"
|
701 |
+
"Shortcode eingloggt haben:"
|
702 |
|
703 |
#: includes/admin.php:1188
|
704 |
+
msgid ""
|
705 |
+
"Redirect users to this page after they have registered with Social Login "
|
706 |
+
"embedded by Widget/Shortcode:"
|
707 |
+
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."
|
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 |
|
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"
|
oa-social-login.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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 35+ social networks</strong> like Twitter, Facebook, LinkedIn, Instagram, Вконтакте, Google or Yahoo.
|
6 |
-
Version: 5.4.
|
7 |
Author: OneAll - Social Network Integration <support@oneall.com>
|
8 |
Author URI: http://www.oneall.com/
|
9 |
License: GPL2
|
@@ -11,7 +11,7 @@ License: GPL2
|
|
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.4.
|
15 |
|
16 |
/**
|
17 |
* Check technical requirements before activating the plugin (Wordpress 3.0 or newer required)
|
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 35+ social networks</strong> like Twitter, Facebook, LinkedIn, Instagram, Вконтакте, Google or Yahoo.
|
6 |
+
Version: 5.4.2
|
7 |
Author: OneAll - Social Network Integration <support@oneall.com>
|
8 |
Author URI: http://www.oneall.com/
|
9 |
License: GPL2
|
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.4.2');
|
15 |
|
16 |
/**
|
17 |
* Check technical requirements before activating the plugin (Wordpress 3.0 or newer required)
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
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: 4.9.
|
6 |
-
Stable tag: 5.4.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Social Login is fully GDPR compliant and allows your users to login, register and comment with 35+ Social Networks.
|
@@ -148,6 +148,9 @@ http://docs.oneall.com/plugins/guide/social-login-wordpress/
|
|
148 |
|
149 |
== Changelog ==
|
150 |
|
|
|
|
|
|
|
151 |
= 5.4.1 =
|
152 |
* User website URL truncated (WordPress restriction)
|
153 |
|
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: 4.9.7
|
6 |
+
Stable tag: 5.4.2
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Social Login is fully GDPR compliant and allows your users to login, register and comment with 35+ Social Networks.
|
148 |
|
149 |
== Changelog ==
|
150 |
|
151 |
+
= 5.4.2 =
|
152 |
+
* PHP 7.2+ compatibility fixes.
|
153 |
+
|
154 |
= 5.4.1 =
|
155 |
* User website URL truncated (WordPress restriction)
|
156 |
|