Skip Navigation

[Resolved] Sign up form not redirecting into login form

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by RaulS6474 4 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#1547009
Screenshot 2020-03-11 at 14.46.43.png

I have created a CPT "User profile" so users could extend their info. I have created a form on a page "new user profile" so it gets there after signing up.

I am following https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/#the-flow

Some days before it automatically redirects first to login after signin up, and after login it takes me to "create profile" page. That was ok, but after applying "How do I prevent users from creating more than one Contractor post?" (https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/#how-do-i-prevent-users-from-creating-more-than-one-contractor-post) after signing up it takes me into "create profile" without login in, and because of that new conditional, it appears empy...

How I can do to go to login page after signin up, and then into "create profile"?

Thanks for your patiente

#1547491

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Raul,

From your screenshot I see that set your form to redirect to a page.

Is this page the page where the login form is on ? If not could you set it to the page where the login form is on.

As you do have the option to set a redirect on the login form to redirect them to the create profile/view profile if they already dont have an account.

Thanks
Shane

#1548197

I have tried, but it still takes me to Create profile using shortcode:
[wpv-login-form redirect_url="hidden link" redirect_url_fail="hidden link" allow_remember="true"]

on login options its only: 1) redirect url, and 2) redirect url fail

I don't see any conditionals as on register form. Can I create a login form as register one?

#1548677

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Raul,

Let me explain a bit more about this.

[wpv-login-form redirect_url="<em><u>hidden link</u></em>" redirect_url_fail="<em><u>hidden link</u></em>" allow_remember="true"]

Given the parameter "redirect_url" you will always get redirected to the create-profile page. What you should do is to rename this page from Create Profile to My Profile or My account in order to not have create profile in the URL.

This way the view that was created with the tutorial here https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/#how-do-i-prevent-users-from-creating-more-than-one-contractor-post

Will only show a profile form if the user doesn't already have one.

Thanks,
Shane

#1548737

Well actually is not showing the form to the users who alredy have it, but it gives a blank content page. What I want is to redirect not showing empy content.

Not sure what you mean about changing the page name Shane...

#1548749

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Raul,

Would you mind sharing the credentials for you updated site so that i can have a look at the code on the page.

Its quite possible that the view is making the page blank.

The private fields have been enabled for your next response.

Thanks,
Shane

#1549675

Here is duplicator files, as it's on localhost

hidden link

hidden link

#1552783

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Raul,

I'm having some issues setting up the duplicator package.

What you can do is to send me a few screenshots of the login process or record a short video demonstrating the login process as well as a backend video of the pages that are involved in the login process.

This way I can trace through and see if I can find anything wrong with the process.

Thanks,
Shane

#1553329

Shane, we are leaving this issue for a time. I'll get back with other ticket, thanks anyway!