Support » Plugin: Peter's Login Redirect » Require user to Login / Register

  • Hello:

    I have two pages that I want to require unregistered/logged out users to be logged in in order to view them.
    https://lypper.com/tips-for-making-extra-cash/
    https://lypper.com/keep-more-of-your-money/

    You can only get to them here: https://lypper.com/resources/. They are a quarter of the page down.

    I want that logged out/uregistered users be redirected to the Register/Login form. A developer I used before added the code below to the Formidable Forms Global Settings, intended for users accessing this page: https://lypper.com/lifestyle-survey/

    <p>To access this resource, please register or log in.</p><div class=”tab”> <button class=”tablinks” onclick=”openCity(event, ‘Register’)” id=”defaultOpen”>Register</button> <button class=”tablinks” onclick=”openCity(event, ‘Log’)”>Log In</button> </div> <div id=”Register” class=”tabcontent”> [formidable id=8] </div> <div id=”Log” class=”tabcontent”> [frm-login redirect=”https://lypper.com/lifestyle-survey/”] </div>

    I want to add the same functionality to these two pages and be able to redirect the user to the correct page they’re trying to access.

    Thanks!

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

  • The topic ‘Require user to Login / Register’ is closed to new replies.