Display social login buttons when user prompted to login to add listing

This topic contains 12 replies, has 3 voices, and was last updated by  Patrik 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3052

    Andrew
    Buyer
    Post count: 197

    Hi,

    I’ve set up a website with WPGeoDirectory, and have installed the Social Login plugin alongside the UsersWP login, and the Facebook and Google buttons are displayed on the standard Login page. However, they’re not displayed on the login prompt when a user is attempting to add a listing (but has not logged in). How can I ensure the Facebook and Google buttons are displayed here also?

    Thanks,
    Andrew

    #3053

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    please share the site credentials an we will take a look at that issue.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    #3054

    Andrew
    Buyer
    Post count: 197
    This reply has been marked as private.
    #3055

    Alex Rollin
    Moderator
    Post count: 27815

    Hmm…looks like it is working now?

    /login/

    #3057

    Andrew
    Buyer
    Post count: 197

    So it’s working there, however if you go to this URL when you’re not logged in – https://www.simplfi-mockups.com.au/add-listing/?listing_type=gd_accommodation – the social login buttons are not displayed.

    #3059

    Alex Rollin
    Moderator
    Post count: 27815

    Ah, you are on GDV2. We are working on the next release of UsersWP now for GDV2 compatibility.

    Thaks for your patience while we are testing.

    #3060

    Andrew
    Buyer
    Post count: 197

    Sorry about that, should’ve mentioned. All good!

    #3061

    Patrik
    Moderator
    Post count: 1971

    Hi Andrew,

    We have removed login functionality from V1 in V2. We are using the default WP login form so we will be adding the social login in the login form for V2 in the next update of the social login plugin. If you want to do it then let me know the FTP details in private reply and I can do it for you. You can use the following code for now in your functions.php file of current theme and once you update the social login add-on you can remove it.

    
    
    add_filter( 'login_form_middle', 'uwp_social_login_form_botton' );
    function uwp_social_login_form_botton($val){
        if(function_exists('uwp_social_login_buttons_display')) {
            return $val.uwp_social_login_buttons_display();
        }
    
        return $val;
    }

    Let me know if you have any queries.

    Regards,
    Patrik

    #3062

    Andrew
    Buyer
    Post count: 197
    This reply has been marked as private.
    #3063

    Patrik
    Moderator
    Post count: 1971

    Hi,

    I have made the changes in plugin files so you don’t need to worry about removing the code from the functions.php file later once plugin updated in future. Let me know how it works for you.

    Regards,
    Patrik

    #3064

    Andrew
    Buyer
    Post count: 197

    Hi Patrik,

    It doesn’t seem that the social buttons (Facebook/Google) are not showing on either the register page (https://www.simplfi-mockups.com.au/register/) or the add-listing page if not signed in (https://www.simplfi-mockups.com.au/add-listing/?listing_type=gd_accommodation) – see attached images.

    Is this the same behaviour you are seeing?

    Andrew

    #3067

    Andrew
    Buyer
    Post count: 197

    Hey guys, this is marked as ‘Resolved’ however I’m still having issues … see above reply.

    #3068

    Patrik
    Moderator
    Post count: 1971

    Hi Andrew,

    You had social login plugin disabled. That is why it was not showing social login buttons. I have enabled the plugin and it works fine. Please review it and let me know your inputs.

    Regards,
    Patrik

Viewing 13 posts - 1 through 13 (of 13 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket