WPIntell

Source evidence

Redirect After Login With Modal Login?

FireBox Popups – Increase Sales and Grow Your Email List · support · 2023-07-26T16:25:00+00:00

mixedsentiment
mediumseverity
0.84relevance
7replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 36 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
fraugefahr resolved
I need to redirect users to different pages after they login and I use the LoginWP plugin to do this. Will this work with the FireBox modal login? Thanks! Kristen Hello @fraugefahr , I assume that LoginWP provides a way to automatically redirect your users after logging in to your desired page. The LoginWP plugin should provide the functionality you describe. Alternatively, if they provide a Javascript API, you can listen to when the user has logged in and redirect them to your desired page, but that’d require Javascript knowledge. Regards, Stergos Thank you, it works! I didn’t end up having to use Javascript. -Kristen Glad it’s working for you. Stergos I consider myself a rookie, so I may be missing something essential here, but for me things do not work. In my test, I used Members plugin to define two roles (role1 and role2), then created two users (one per role) and then used loginWP to define two redirection rules based on the user role. Then I created a popup login using elementor, login/signup popup and firebox. They all work (user logs in successfully), but no redirection applies. As I said, I am trying to learn something fooling around with xampp: the test framework is really simple, what am I doing wrong? Hello @roberto21 , Sorry for the late reply. As mentioned, LoginWP should provide a way to set up a redirection URL when a form is submitted. If they do not provide such a way, assuming they provide a Javascript API, you can use it to redirect the user when they successfully submit the form. You can add your custom Javascript within the campaign > Advanced > Custom Code section. Regards, Stergos Thanks for your answer. Unfortunately, I am not that advanced to use javascript, so since fraugefahr managed to make it work without javascript, I thought there was some mistake in my approach. I really don’t know why it doesn’t work, since the test setup is really simple. Hope that fraugefahr will clarify exactly what he has done to make it work. Thank you anyway. I don’t know if anyone is interested, but I found the solution for redirection after login with popup login created with login/signup popup plugin. The solution is buried in the loginWP (Peter’s redirect) documentation. After you define the redirection rules with loginWP, you have to define the redirect url in login/signup popup plugin as https://yoursite.tld/?loginwp_link_redirect=true obviously replacing the yoursite.tld with your domain address.

Comments

7 shown
Stergos Zamagias 2023-07-26T18:13:00+00:00

Hello @fraugefahr , I assume that LoginWP provides a way to automatically redirect your users after logging in to your desired page. The LoginWP plugin should provide the functionality you describe. Alternatively, if they provide a Javascript API, you can listen to when the user has logged in and redirect them to your desired page, but that’d require Javascript knowledge. Regards, Stergos

fraugefahr 2023-07-26T21:38:00+00:00

Thank you, it works! I didn’t end up having to use Javascript. -Kristen

Stergos Zamagias 2023-07-27T05:05:00+00:00

Glad it’s working for you. Stergos

roberto21 2023-08-27T10:43:00+00:00

I consider myself a rookie, so I may be missing something essential here, but for me things do not work. In my test, I used Members plugin to define two roles (role1 and role2), then created two users (one per role) and then used loginWP to define two redirection rules based on the user role. Then I created a popup login using elementor, login/signup popup and firebox. They all work (user logs in successfully), but no redirection applies. As I said, I am trying to learn something fooling around with xampp: the test framework is really simple, what am I doing wrong?

Stergos Zamagias 2023-09-07T12:19:00+00:00

Hello @roberto21 , Sorry for the late reply. As mentioned, LoginWP should provide a way to set up a redirection URL when a form is submitted. If they do not provide such a way, assuming they provide a Javascript API, you can use it to redirect the user when they successfully submit the form. You can add your custom Javascript within the campaign > Advanced > Custom Code section. Regards, Stergos

roberto21 2023-09-09T16:30:00+00:00

Thanks for your answer. Unfortunately, I am not that advanced to use javascript, so since fraugefahr managed to make it work without javascript, I thought there was some mistake in my approach. I really don’t know why it doesn’t work, since the test setup is really simple. Hope that fraugefahr will clarify exactly what he has done to make it work. Thank you anyway.

roberto21 2023-09-16T09:33:00+00:00

I don’t know if anyone is interested, but I found the solution for redirection after login with popup login created with login/signup popup plugin. The solution is buried in the loginWP (Peter’s redirect) documentation. After you define the redirection rules with loginWP, you have to define the redirect url in login/signup popup plugin as https://yoursite.tld/?loginwp_link_redirect=true obviously replacing the yoursite.tld with your domain address.