Hi,
Thanks for reaching out to us.
According to the WordPress guidelines, we use a special function that removes special characters in the username and email which is not supported, Because of that, you are facing this issue. Can you please share your email id and the name of the VKontakte user so that I can look into the issue and send you an updated plugin with the solution.
Waiting for your reply
Thanks
We use different accounts.
Some have mail.
[email protected]
https://vk.com/paul.panin
Other do not have mail
https://vk.com/artstasromanov
But the plugin always fills this field in WP, as
[email protected]
Another plugin fills this field for a user (https://vk.com/artstasromanov) without mail, as [email protected]
But I would like to use your product!
Thank you!
Hi,
Thank you for reaching out to us.
I’ve fixed this issue but I don’t have an exact environment like your website, so please get in touch with us from the plug-in support form or email us at the email address provided on our website, so I can provide you an updated plugin and test it.
Thanks
I wrote through the form in the application.
My email – [email protected].
My website – alexkimen.com(now closed for viewing).
Thanks
I suppose, this is because in wordpress user email stored as [email protected] when no email submitted. When user has cyrillic name like “Анастасия Иванова” this field stored as [email protected],
when full name is “Anastasia Ivanova” this field stored as [email protected]
// in file /wp-content/plugins/miniorange-login-openid/mo-openid-social-login-functions.php in function mo_create_new_user
we get data $user_val for non-latin names:
Array
(
[username] => _
[user_email] =>
[user_full_name] => Анастасия О
[first_name] => Анастасия
[last_name] => О
[user_url] =>
[user_picture] => https://sun9-50.userapi.com/c855020/v855020743/178b63/ib51YOicL-c.jpg?ava=1
[social_app_name] => vkontakte
[social_user_id] => 570696924
)
username always _
and user_email frequently can be not set by user
then error occurs
FIX: insert in /wp-content/plugins/miniorange-login-openid/mo-openid-social-login-functions.php in line ~307 after code $user_email = sanitize_email($email);
if($appname=='vkontakte'){
if(empty($email)){
$email='id'.$social_user_id.'@vkontakte.com';
$user_email = sanitize_email($email);
}
}