Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    I plan to implement this feature in 6.3.

    Thread Starter ari

    (@arihant2301)

    Great thanks!!
    Any idea by when it will be released?

    Plugin Author Jeff Farthing

    (@jfarthing84)

    Not yet.

    I’m also looking forward to this feature!

    Could you maybe provide some general guidance how I can implement this myself, as I really want it…

    Plugin Author Jeff Farthing

    (@jfarthing84)

    function tml_redirect_url( $url, $action ) {
    	if ( 'register' == $action )
    		$url = 'YOUR URL HERE';
    	return $url;
    }
    add_filter( 'tml_redirect_url', 'tml_redirect_url', 10, 2 );
    
    function tml_new_user_registered( $user_id ) {
    	wp_set_auth_cookie( $user_id );
    }
    add_action( 'tml_new_user_registered', 'tml_new_user_registered' );

    thank you!

    the second part, that one that logs in the user, works great.

    I couldn’t get the first part to work, but it’s ok, I found a way to do that

    Hi,

    I’m trying to implement the auto-login after registration but on a MultiSite installation. What I want is for users to create an account and automatically be logged in.

    I tried the code above, but after registration I just get the default “Congratulations! Your new blog is ready!” message and the user still has to manually log in.

    Is there a way to make this work?

    Thanks,
    Todd

    hi,
    someone managed to solve this problem?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Theme My Login] Auto-login after register’ is closed to new replies.