This one. Unlike in the step 5. of the manual, I cannot select the option "Show Template Layout" (most probably because I am not using Layouts but Beaver Builder).
That kind of works, but only enables editing of the content layout, not a full page, meaning the Login page the unregistered users are "redirected to" is very poorly looking.
What I need is a simple redirect to the login page which I already designed. Is that possible, please?
The only other alternative I can think of is to either use our Layouts plugin to create the login page template or check the user's permissions in your page template and then redirect them using php if they have no access to that particular page.
Please let me know which solution you want to try then we can proceed from there.
One more thing to add: as I had the settings you recommended set up (login form content template), page builder was running crazy because I was using "page builder content template within page builder content template" - and none of the existent pages loaded correctly (!). This problem auto-fixed itself when I deleted the Login form content template. (Got me really scared there for a second, haha.)
That said, I am afraid that the Layouts would be conflicting with page builder eventually creating design/administrative mess, and as much as I honestly love Toolset and all your plugins, I still prefer page builder for the layout editing. Additionally, I think the php solution is also more elegant, cutting right to the chase - and hopefully, it won't be too complicated for this (seemingly simple) redirect.
However, my knowledge of PHP is literally 0, so if you could help me with it, I would really appreciate it! 🙂
What you need to do is provide the slug of the page you want to redirect the user from and then place the link of the page you want them to redirect to in the wp_redirect function.
In your case the is_page() function should be is_page('my-account')
In case there is a more elegant solution than adding code for each page that needs to be redirected (there are more pages limited to "registered biker" user role), it would be great.
I think it is fine if you install a duplicator and create a copy for testing, as long as you treat it with absolute confidentiality and delete the copy and any backdoor access afterwards.
Also, new problems arose. I'm not sure if you did any changes in the Access Control or how this broke, but now the "Registered bikers content" custom post group doesn't work and even guests can see the limited content. Also, post and user forms in this logged-in environment do not work now, although I didn't change any Access settings and "Registered bikers" (custom role) should be able to change "Bikes" (custom post type).
In other words, hell is breaking loose, I have no clue why, and am getting a bit desperate.
No new plugins were installed since it stopped working. Changes were made, but not any that would influence this functionality. The setup looks exactly the same as it did - from an amateur's perspective it should work, I have no clue how guests are able to access the pages, and even the "My Account" sub-item in the top menu (below Bike Register) doesn't show, meaning the setup is probably well done.