WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
again on SFC / STC and TML (2 posts)

  1. 3dolab
    Member
    Posted 2 years ago #

    At last! I've managed to show the Facebook and Twitter buttons provided by Simple Facebook Connect and Simple Twitter Connect in the front-end login form generated by Theme My Login.

    However, neither the GLOBALS['action'] workaround you suggested, nor declaring global $action in the function parse_request() (class-theme-my-login.php line 185) did the trick.

    Don't know why, maybe it's because of the action queue, but I had to hack sfc-login.php and comment out the if ($action == 'login') at line 96

    In addition, as you remarked here, since SFC hooks to admin_footer and login_footer, I just added to my theme's functions.php

    add_action('wp_footer','sfc_add_base_js',20);
    add_action('wp_footer','sfc_login_update_js',30);

    now I'm going to test if everything works as expected

    http://wordpress.org/extend/plugins/theme-my-login/

  2. aguidis
    Member
    Posted 1 year ago #

    so did you succeed in having a facebook connect button in your login-form.php ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic