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.

    You can only get to them here: 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:

    <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=””] </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.


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

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