• 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Theme My Login] again on SFC / STC and TML’ is closed to new replies.