We are glad to welcome you to our Community Support Forums!
These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform.
The forums are run by the community and moderated by the OneAll team during office hours. Please stick to technical issues - and remember, no confidential information - these are public forums!

Google+ registration: Possible to NOT use google plus site as website?

Right now, if a user registers using Google the Wordpress plugin automatically replaces the Website in their Wordpress profile with their Google+ page. The vast majority of my users do not use Google+, so this is a useless feature and since I have a forum that links to their website if they have one, a distracting one. Is there anyway to turn this off and simply leave the website blank on registration with Google?

Answers

  • Hi David,

    this filter should do the trick:

    function oa_social_login_filter_fields ($user_fields)
    {
    $user_fields['user_url'] = '';
    return $user_fields;
    }
    add_filter('oa_social_login_filter_new_user_fields', 'oa_social_login_filter_fields');


    The code must be added to the end of the functions.php file of your WordPress theme.
    You can find this file in your WordPress admin area under Appearance \ Editor \ Theme Functions (functions.php)
Sign in with your OneAll account to take part in the discussion.