Forum Replies Created

Viewing 2 Topics - 1 through 2 (of 2 total)
Author Posts
September 15, 2014 at 9:09 am in reply to: Login after registration 26802
Jordan Jordan

I am not satisfied with the support I have received, and I have viewed other posts in the support forums and it seems that the support team does not try to understand people problems and instead recycle the same excuses “This is not a feature of our addon. So we can not provide further support…”, “You may want to hire a developer” etc.

I’ll try a word my issues in another way..

After successfully registering as a new user you are not logged in. If you are on a restricted page you get an error message “This page is restricted. Please login to view this page.” Why are new users prompted to log in just after registering.

Other people have had the same issue but seem to have solved it by adding this code:

// auto log in a user who has just signed up       
function wpufe_auto_login_new_user( $user_id ) {
    wp_set_current_user( $user_id );
    wp_set_auth_cookie( $user_id, false );
}
add_action( 'user_register', 'wpufe_auto_login_new_user' );

However the function has not made a difference for me.

Does anyone have any ideas on how this can be fixed?

Maybe this should be added into the plugin as it is a basic feature that would save most people a bit of time on searching for fixes.

September 11, 2014 at 5:50 pm in reply to: Login after registration 26672
Jordan Jordan

I am still having issues.

Once I register I get auto redirected to the dashboard but it says,
“This page is restricted. Please login to view this page.”

Viewing 2 Topics - 1 through 2 (of 2 total)