Logging in not discovered – possible conflict.
-
Hello there,
I am running a small project where I allow people access to two specific pages.
Users log in using Custom Login Page Customizer | LoginPress plugin (Pro version, with login redirections etc).
I am afraid one of the plugins creates some kind of issue. LoginPress seem to be working just fine, however your plugin does not discover that user is logged in, and despite me setting the condition it still triggers an action for not logged in user.
I am also using your User Menus – Nav Menu Visibility plugin to redirect logged in user to the right pages.
The way it’s set up is this:
1. LoginPress logs a user in using custom login URL (hides default wp-admin).
2. User gets redirected (using LoginPress login redirection) to account page.
3. Here I display a custom menu using your User Menus plugin.
4. Link to a page in a menu is set up with your Content Control plugin to check if a user is logged in and a specific role.It seem to work fine in Microsoft Edge, it DOES NOT WORK in the latest Google Chrome internet browser (multiple tests done, clearing cookies, browsers setting etc done, even DNS resets on machines done).
Content Control is set up so that for a specific page (content IS a Selected Page) it redirects back to the login page (redirected to custom login page by LoginPress).
It seem to work on Microsoft Edge, not on Google Chrome.
The set up is all done in Polish language, but I will try to display some settings of the plugins used just so you can have an idea of what’s going on.
Content Control settings:
1. General settings
2. Protection settings
3. Content settingsMy question is whether I am making a mistake in the [1]st step? I mean… by setting it up to Administrator AND desired user role? I do it only because I want to be able to test (and build page) as an admin too. Is it AND or OR logic used in this step by your devs?
Page settings:
1. Content control on the bottom of wordpress editor page settingsSome links in a custom menu are displayed on the account page to logged in users only with a custom role set. This part works.
What doesn’t work is what follows… user who CAN SEE the link is not recognised as logged in OR allowed user and redirected back to login page.
I assume it must be the Content Control plugin doing this, I don’t understand WHY would it? The same settings are used (two roles – Administrator and Custom role) to limit the content visibility (Menus) and accessibility (Content Restriction).
Please answer…
1) What could be done to make it work in this sort of setup?
2) Are the General settings of Content Control set by me correct to limit the content to users of a “Custom role”? Should I untick and ignore admin here? Could this be the problem?
3) Any ideas what else can cause this issue? I’m happy to provide all the feedback needed in order to diagnose and solve it.Kind regards.
- The topic ‘Logging in not discovered – possible conflict.’ is closed to new replies.