• Resolved rolfhuiber

    (@rolfhuiber)


    We are using your plugin successfully.

    How can we check if a user registered/authenticates via social login (wp-admin/user-edit.php)?
    What we see is an avatar URL filled out, but this might be empty when the user disallows this information to be collected.

    Another question: After a user registers with social login, can he set a password (e.g. sent with password reset link) and authenticate both with social login and password?
    Or is the social login connection thereafter dropped? When yes, can they change back to a social login (how)?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Heateor Support

    (@heateor)

    You can add following code in the functions.php file of your active theme to show a new field Social Login User at the user-profile page that shows Yes if that user used social login.

    You can check the checkbox Send post-registration email to user to set account password in the Advanced Configuration section at the Social Login configuration page to send an email to the new user to set a password to login via login form at your website. If they use this link to set password, they will be able to login via login form and it won’t affect social login. They can use both the ways to login.

    Plugin Author Heateor Support

    (@heateor)

    Here is the code.

    Thread Starter rolfhuiber

    (@rolfhuiber)

    Thanks, had to change to
    <td><?php echo get_user_meta( isset( $_GET['user_id'] ) ? intval( $_GET['user_id'] ) : $user_ID, 'thechamp_social_id', true ) ? __( 'Yes', 'thechamp-social-login' ) : __( 'No', 'thechamp-social-login' ); ?></td>

    With setting the checkbox as described above: is this the only possibility a user can have social login and password when they set a password when they receive a mail.

    Differently asked, can they, without this mail, set a password and get both?

    Plugin Author Heateor Support

    (@heateor)

    As this is the support forum for Heateor Social Login plugin, I assumed you were using that plugin.
    Yes, even if a user sets password manually at your website after using social login, they won’t lose their ability to social login.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to check a user uses social login’ is closed to new replies.