• Resolved central4all

    (@central4allgmailcom)


    Hello. I used a separate plugin for social login, but now I want to use the functionality built in into youzify itself.

    Following the documentation, I went to Membership Settings -> Social Login Settings and I added my google ID and secret (which I know work from the other plugin), checked Enable Network but no button for google login appears on the login page: seeme.baby/login

    The plugin I was using before is NextEndSocialLogin (pro version), I tried using the integration code from github but that doesn’t show any buttons on the login page either.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Youzify

    (@kainelabsteam)

    Hi @central4allgmailcom

    Thank you for reaching out.

    Does the NextEnd Social Login provide a shortcode? If yes, you can try this snippet:

    https://gist.github.com/KaineLabs/92ff0c66f064db26dd4894a47d78079b#file-yzc_oa_plugin-php

    Change ‘[oa_social_login]’ on the code with the shortcode provides by NextEnd Social Login.

    Best Regards, KaineLabs Team.

    Thread Starter central4all

    (@central4allgmailcom)

    Hello. I was already using your code:

    https://gist.github.com/KaineLabs/6286d905e603a61f422efba26d6e061f#file-yz-integrate-nextend-plugin-php

    To integrate nextgen social with youzify, but it wasn’t working. The new code is not working either on the login page, there are no buttons. They do appear on the registration page and I can successfuly add the buttons on the main page using the shortcode.

    Meanwhile when I change the options for the login page in youzify, the form does change, so it’s a youzify form. Can I edit a php file to add the buttons to the login form manually? Without using actions, because clearly some action hook for the login page is not working on my site.

    Plugin Support Youzify

    (@kainelabsteam)

    Hi @central4allgmailcom

    Please do not use this snippet. Use this snippet instead:

    https://gist.github.com/KaineLabs/92ff0c66f064db26dd4894a47d78079b#file-yzc_oa_plugin-php

    Change ‘[oa_social_login]’ on the code with the shortcode provides by NextEnd Social Login.

    Best Regards, KaineLabs Team.

    Thread Starter central4all

    (@central4allgmailcom)

    Just to make sure I added the following code:

    /**

     * Integrate NextEnd Social Plugin

     */

    function yzc_oa_plugin() {

        echo “TEST SOCIAL LOGIN!”;

      echo do_shortcode(‘[nextend_social_login]’);

    }

    add_action( ‘logy_before_login_fields’, ‘yzc_oa_plugin’ );

    add_action( ‘bp_before_account_details_fields’, ‘yzc_oa_plugin’ );

    In the file: wp-content/plugins/bp-custom.php but I cannot see the social buttons on the login page.

    I added that test text (TEST SOCIAL LOGIN!) to make sure it wasn’t the shortcode with the problem, and the text doesn’t appear either.

    Login

    Both the text and the button appear on the register page:

    Registration

    The login page is definitely a youzify page because when I make changes in Youzify -> Membership Settings -> Login Settings, it takes the changes:

    I change the button layout from Youzify settings

    I also checked the page source for the “TEST SOCIAL LOGIN” text, in case it was hidden somewhere, or the theme graphics were hiding it, but no it’s not anywhere in the code.

    Any other ideas I can try?

    Plugin Support Youzify

    (@kainelabsteam)

    Hi @central4allgmailcom,

    Please clarify, is this the correct shortcode for the NextEnd Social Login? I will test on our end then.

    [nextend_social_login]

    Best Regards, KaineLabs Team.

    Thread Starter central4all

    (@central4allgmailcom)

    Yes, that’s the correct one

    Plugin Support Youzify

    (@kainelabsteam)

    Hello,

    Please try this snippet:

    /**
     * Integrate OneAll Social Plugin
     */
    function yzc_oa_plugin() {
      echo do_shortcode('[nextend_social_login]');
    }
    
    add_action( 'logy_before_login_fields', 'yzc_oa_plugin' );
    add_action( 'bp_before_account_details_fields', 'yzc_oa_plugin' );

    Best Regards, KaineLabs Team.

    Thread Starter central4all

    (@central4allgmailcom)

    That’s the same code I was using and it’s not working….

    Plugin Support Youzify

    (@kainelabsteam)

    Hi @central4allgmailcom

    Sorry, I send a wrong snippet. Here is the correct one:

    /**
     * Integrate OneAll Social Plugin
     */
    function yzc_oa_plugin() {
      echo do_shortcode('[nextend_social_login]');
    }
    
    add_action( 'youzify_before_login_fields', 'yzc_oa_plugin' );
    add_action( 'bp_before_account_details_fields', 'yzc_oa_plugin' );

    Best Regards, KaineLabs Team.

    • This reply was modified 7 months ago by Youzify.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[NSFW] Problem with Social Login’ is closed to new replies.