function oa_filter_email ( $email )
{
if ( ! email_exists($email))
{
wp_redirect ('http://url_to_registration_page');
exit;
}
return $email;
}
add_filter( 'oa_social_login_filter_new_user_email', 'oa_filter_email');
Whenever a new users registers, the Social Login plugin checks if his email is already in the Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
In what environment are you using Social Login? Is it via a plugin (Wordpress...), or directly with the API?
You can control the login procedure, it is pre-built in our plugin on some CMS.
Thanks.
I have no way to upload attachments here to show you the screen shots.
In Wordpress, our plugin settings only allow to tune account creation when the email address is missing.
There are hooks which can be used to customize the process.
We need to check if what you want to achieve is feasible.
Do you want to prevent user registration, until the new user has provided some more data, such as role? What other data do you require?
Regards
Currently, there is no easy way to include a custom registration step via Social Login (via configuration only).
It is possible to manually add it, but this could be tedious (see https://support.oneall.com/forums/discussion/comment/1187/#Comment_1187 for one example of hooks).
We are adding registration customization across our plugins, but this would not be custom one.
However, you can search for a plugin to do this extra registration step. Social Login registration would then hook into this other plugin.
Let us know if you find such a setup, because others may also need it.
I only want this action to occur on the registration page so that I can show some details before they do so. If they are on the login page and click on a social login button, it should send them to the registration page instead of just creating an account.