• Resolved ejyheng

    (@ejyheng)


    Hi,

    We have set all contents (including front page) to only accessible by login users. All “Customer” users will be directed to WooCommerce Account Page which displays a login form and a register account form (Refer screenshot).

    After version 0.17.1, “Customer” users will be redirect to WordPress Login page (wp-login.php) instead of WooCommerce Login/Register Form (My Account) page. As we have security enhance plugin which display the customize wp-login.php (E.g. abc_login.php), therefore we do not want to disclose the customize login url to non-admin users.

    We also tested with “Non-logged” users, which some of the pages (Including Front page) are accessibled by this group of users.

    Thank you for your assistance in advance.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this.

    Could you show me a screenshot of the settings of the Access Level in question? How many Access Levels do you have?

    Thread Starter ejyheng

    (@ejyheng)

    Hi Joachim,

    Only 1 level is set.
    Screenshot (User Level)
    Screenshot (Options)

    In “Options”, if we set Synchroznied Role to “Not logged-in”, all restrictions set in Conditional Logic will break and content is visible when user is not logged in.

    Appreciate your effort on this great plugin.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for the screenshots. It is correct to synchronize the level with the user role that you want to be able to see the content.

    Could you show me the restrictions/conditions for this level? And can you confirm that it is not another plugin that causes the redirection, ie. by disabling/enabling some?

    Thread Starter ejyheng

    (@ejyheng)

    Please find links for restrictions/conditions as below:
    https://ibb.co/d412sm
    https://ibb.co/jyB2sm
    https://ibb.co/g2FTXm
    https://ibb.co/hhcaCm
    https://ibb.co/iVPNsm

    I have also disabling/enabling plugins and issue still exist.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    I see what the problem is now. In your conditions, you restrict access to all pages, including the Account page. In the previous version of the plugin, to avoid redirection loops (redirecting unauthorized users to a page they do not have access to), the page would simply just be displayed even if it was restricted.

    In the new version, I made it possible to redirect to custom URLs, and I found a small bug in it. On redirection loops, it will now redirect to a 404 page (this is the bug), but I think that your site might have a redirect from 404 pages to wp-login.php.

    I will release an updated version shortly that will fix this, please let me know if the problem persists after that. And thanks again for reporting it!

    Thread Starter ejyheng

    (@ejyheng)

    Hi Joachim,

    Thank you for fixing it, working and all good now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCoomerce Login/Register Shortcode’ is closed to new replies.