Redirection for Locked Forms
-
Hello Sir,
I locked my Form to “Only Logged In Users“, as seen here– https://prnt.sc/t12kuy42QYxC
The challenge now, is that you don’t have a way for us to redirect Users to the Login Page, if they try to access the Form’s Page.
This means that anytime anybody tries to open the page, they meet an empty page. And there’s no message telling them anything, and what to do next.
Can you do something–where if we lock a Form to Logged In Users, there will be an optional link for Login, Redirection, or something like this– https://prnt.sc/9iOYThVM2BZ4
Is there a fix for this?
Regards.
-
Hi @gamicord
I hope you are doing well.
The easiest way to create this is using the content control plugin https://wordpress.org/plugins/content-control/ so you can display specific content for non-logged users.
Another solution would be using a simple code to redirect the user if they are not logged in.
You can use the code as a mu-plugin following this guide: https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
Best Regards
Patrick FreitasI’ve reasoned out all your answers. But they are not good enough.
You see, I have come to realize that Forminator has a way of being lazy:
1.) I used Forminator to create Login and Registration Pages. But I later removed them because users couldn’t be logged-in to a User Dashboard— a User Dashboard that cuts off the WP Admin Dashboard.
2.) NO IN-BUILT REDIRECT OF THE WP LOGIN PAGE
If people type the wrong details multiple times on the Login Form created with Forminator, they are redirected to the WP Admin Login Page.The reason we always want to create Custom Login and Registration pages, is always to bypass the WP Admin Login Page.
But Forminator couldn’t do this, and didn’t have this in-built. Such an error of judgement!
I decided to look into WP User Frontend, UsersWP, Profile Builder, Pie Register, and some other plugins that can be used to create Login and Registration Forms.
They all had In-built Redirect of the WP Admin or WP Login Page.
Forminator is the only Custom Login and Registration Form Builder that I know of, which didn’t think that an in-built redirect of the WP Admin Login Page is a compulsory necessity.
3.) Forminator decided to build Security Feature into any Form created with Forminator. Now this is a very beautiful Feature.
Where Forminator lags behind, is that, after securing the Form, it expects someone else to complete it’s job for it.
Forminator has this way of failing to complete its work, then sends you off to third party solutions to mend its uncompleted job.
If Forminator decides to lock a Form to logged-in Users, it should also have a way to notify people who come to the Form Page, that the item on the Page is Protected Content, and they need Logged in access, or User Permission to access it.
Forminator should go the extra mile of completing the security intent by creating a Message Page like this— https://prnt.sc/9iOYThVM2BZ4
Or create a space to fill in, a redirect to Login Page–if people select the Security Feature of “Lock Form to Logged in user“.
In conclusion:
–create Login and Registration without User Dashboard.— Create Login and Registration without in-built Redirect for WP Admin Login Page.
— Secure Form without a Page to redirect users to, while trying to access the Page unauthorized, are the many ways that Forminator is really being lazy.
Forminator is really being lazy in the small but critical areas where it mattered the most.
If it’s to create Forms, we can always use Contact Form 7.
If Forminator is to be more than an ordinary Form Builder, it needs to do these things I’ve mentioned. And it needs to do more than these three(3) things I’ve mentioned, but the many others that other users have certainly requested.
Regards.
Hi @gamicord
Sorry to hear you feel that,
1.) I used Forminator to create Login and Registration Pages. But I later removed them because users couldn’t be logged-in to a User Dashboard— a User Dashboard that cuts off the WP Admin Dashboard.
Sorry, not sure what happened here as I checked your profile back to a year and couldn’t find any ticket for a similar situation.
By default when you create the Registration and Login fields the setting “Hide if you are logged in” is enabled, but you can easily disable it in the form settings:
https://wpmudev.com/docs/wwpmu-dev-plugins/forminator/#additional-settings
The login uses the default behaviour for WordPress, if no other plugin is blocking the wp-admin access the plugin would log in the user and allow the wp-admin access, it shouldn’t prevent any access.
If people type the wrong details multiple times on the Login Form created with Forminator, they are redirected to the WP Admin Login Page.
Forminator won’t redirect you to any page unless the user clicks on “Forgot password” then it is expected to send to the default WordPress reset password page, it is on our to-do list to create a reset password feature for Forminator but we don’t have an estimated time.
It is also important to say that the plugins pointed out for example WP User Frontend, UsersWP, and Profile Builder have different targets than Forminator, the plugin is not supposed to be a user profile plugin but Form which allows you to login/register but no feature to create an entire profile interface in the fronted.
We do also have some requests to extend the login/register allowing the user to be edited on the front but we don’t have an estimated time for it.
Where Forminator lags behind, is that, after securing the Form, it expects someone else to complete it’s job for it.
I agree this can be improved, I found a similar request in the past and sent this ticket as an extra vote letting our developers know you are also looking for it.
As I described in the first topic on this response, by default the login page is hidden for logged-in users, so you can embed two forms on the same page, a login visible for non-logged-in users and the regular form visible for logged-in users only, that wouldn’t depend of extra plugins.
–create Login and Registration without User Dashboard.
As I explained, it is not the focus of the plugin as we focus on form not being a user management plugin, we do have requests and plans but no ETA yet.
— Create Login and Registration without in-built Redirect for WP Admin Login Page.
This can be done already under the Behaviour tab: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#after-submission the login default is wp-admin but it can be customised in the settings.
— Secure Form without a Page to redirect users to, while trying to access the Page unauthorized, are the many ways that Forminator is really being lazy.
We forwarded this request to our developers, I agree we could extend that setting.
If it’s to create Forms, we can always use Contact Form 7.
Forminator is more than a simple form plugin and has nice built-in features like Quiz, Poll, payments, login, register, signature, PDF and others but is also to understand the task of the plugin is not a full user management tool either.
Best Regards
Patrick FreitasI may agree with you that Forminator is for Forms, and not a User Management System.
The one thing actually, that thrills me about Forminator, is that it is too sweet and too smooth to use. When it comes to creating Forms, I will score Forminator 5 Stars because Forminator made Form creation to be a very beautiful and smooth user experience.
The only part where I deviate is that– one thing that life allows is evolution. See the Story of SeedProd from here– https://wordpress.org/plugins/coming-soon/
It was originally created to be a Maintenance and “Coming Soon Page” plugin. But it evolved into a Full Website Builder.
Who then says, that Forminator cannot evolve as well, from being everything Forms only, to an equally User Management System?
So long as you have agreed to be able to create Login, Registration, Payment,Polls, and other kinds of forms, it shouldn’t be a problem for users to have a Dashboard where they can actually view all these submitted Data, away from the native WP Dashboard.
And so long as you have agreed to be able to create Custom Login and Registration Forms especially, a Frontend User Dashboard separate from the WP Admin Dashboard should factor natively into your equation.
The reason for this, is because it doesn’t make good sense to Register and Login with Custom Login and Registration Forms that will still bring me back to the same WP Admin Dashboard.
I would rather use White Label CMS plugin (https://wordpress.org/plugins/white-label-cms/) —- to Style and Customize the WP Admin Login and Registration Pages, then use the same White Label CMS to create different WP Dashboards for my different User Roles.
This rationale of the fact that creating Custom Login and Registration Pages, must mean that I intend these Custom Login and Registration Pages to totally bypass the default and native WP Admin Dashboard, is my request Number 1, and this is the only logical sense there can be to it, compared to whatever else you are thinking.
If I’m therefore stressing myself to create Custom Login and Registration Pages, it must be that these Custom Login and Registration Pages are totally bypassing the default and native WP Admin Dashboard, and helping me deal with my users through a Frontend Interface.
Helping me deal with my users through a Frontend Interface, is the only logical reason for wanting to create Custom Login and Registration Pages, else the native WP Dashboard fancified with White Label CMS plugin should be quite sufficient then.
2.)Honestly, if the Frontend User Dashboard is ready, then my other Two problems will automatically find their solution.
It means that the Redirect of the native WP Admin and WP Login Page will be a natively built-in Feature, then automatic Content Restriction to Logged-in-Users will also be possible because your Login Feature will be able to track Logged-In session cookies.
These are my ultimate desires of what I expect to see in Forminator in 2023. And I hope you will implement these soon.
Regards.`
HI @gamicord
Thank you for response and valuable feedback!
I get your point, it all makes sense but just to add my “2 cents”:
Of course Forminator can evolve and it should evolve. There’s no doubt about it and I fully agree with this. And it actually does evolve. It’s just that there are some “boundaries” that need to be set (note: I’m not saying what are they; I’m not in a position to decide – I’m just saying that they are there) and one thing that we’ve learnt through the years is that it’s not always good to try to do “everything”.
We had a lot more plugins in the past (not here but we did, a lot more of them) and we also do a lot of troubleshooting of all kinds of 3rd-party plugins on daily basis (via our own site) so we have a pretty good insights. Believe me please that in many cases it’s way better not to attempt to “put every options one can imagine” into a single plugin – even if they appear to make perfect sense.
But that’s just a side-note and my private opinion. We are surely improving Forminator and I can tell you that it’s the plugin that has probably the longest future features & improvements list of all our plugins, with new ideas flowing-in all the time. So yes – there are plans, there are various big plans, and a lot of “goods” are on the way for next and following years 🙂
Whether they’ll be enough to satisfy all your wishes related to the plugin or not – I’d love to make a promise but I’m not really able to make predictions and for now, I’d rather stick to what my colleague wrote above. But certainly there will be a lot of nice features added (which, I’m sure of it, you’ll find useful) in future.
Best regards,
AdamHello @gamicord ,
We haven’t heard from you for almost 2 weeks now, so it looks like you don’t have more questions for us.
Feel free to re-open this ticket if needed.
Kind regards
Kasia
The topic ‘Redirection for Locked Forms’ is closed to new replies.