• Resolved lazaa

    (@lazaa)


    It works oddly with theme-my-login: the Connect with facebook button is displayed between the email and password fields instead of the top or bottom of the form.

    Would be nice to have an option to disable the button on the login/register page so that we could place it anywhere on the page (using TML)

    https://www.ads-software.com/plugins/wp-facebook-login/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Damian

    (@timersys)

    I will have to play with that plugin, never used but I hear of it

    Plugin Author Damian

    (@timersys)

    I can’t reproduce the error. Looks fine for me

    Thread Starter lazaa

    (@lazaa)

    I have played around a bit. It’s only on the register page when you enable the “Custom Passwords” option that allows users to enter their own password. Those fields will be displayed under the Connect with Facebook button that is confusing.

    @lazaa: did you manage to make both plugins work OK together?

    Thanks.

    Thread Starter lazaa

    (@lazaa)

    Yes, but I use a heavily customized theme. I have a template for the register form so that I could move the button wherever I wanted (on top of the form).

    I could solve this problem by removing these 4 lines:

    $this->loader->add_action( 'login_form', $this->fbl, 'print_button' );
    $this->loader->add_action( 'login_form', $this->fbl, 'add_fb_scripts' );
    $this->loader->add_action( 'register_form', $this->fbl, 'print_button' );
    $this->loader->add_action( 'register_form', $this->fbl, 'add_fb_scripts' );

    From class-facebook-login.php and adding the shortcode [fbl_login_button redirect=”” hide_if_logged=””] where I wanted it. It also helped to set the redirection correctly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Theme-my-login issue’ is closed to new replies.