Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter veucom

    (@veucom)

    Anyone got any ideas why the restricted content will not show after logging in?

    Thread Starter veucom

    (@veucom)

    Hi all cacheing is turned off. The restricted content just doesn’t show when you are logged in. However, I have noticed that when logged into the WP backend admin, the plug-in does show restricted content! Here’s the pages set up now:

    Login – http://www.sifcoasc.com/login/

    [login redirect_page='/restricted/']
    [side]
    [breakout-box]
    <h2>SDS Menu</h2>
    <ul>
    <li><a href="http://www.sifcoasc.com/registration/">Register here</a></li>
    <li><a href="http://www.sifcoasc.com/restricted">SDS Documents</a></li>
    <li><a href="http://www.sifcoasc.com/login">Login</a></li>
    <li><a href="http://www.sifcoasc.com/forgot-password">Forgot Password?</a></li>
    <li><a href="http://www.sifcoasc.com/edit-profile">Your Profile</a></li>
    <li><a href="http://www.sifcoasc.com/logout">Logout</a></li>
    </ul>
    [/breakout-box]
    [/side]
    
    Registration - http://www.sifcoasc.com/registration/
    
    [register]
    [side]
    [breakout-box]
    <h2>SDS Menu</h2>
    <ul>
    <li><a href="http://www.sifcoasc.com/registration/">Register here</a></li>
    <li><a href="http://www.sifcoasc.com/restricted">SDS Documents</a></li>
    <li><a href="http://www.sifcoasc.com/login">Login</a></li>
    <li><a href="http://www.sifcoasc.com/forgot-password">Forgot Password?</a></li>
    <li><a href="http://www.sifcoasc.com/edit-profile">Your Profile</a></li>
    <li><a href="http://www.sifcoasc.com/logout">Logout</a></li>
    </ul>
    [/breakout-box]
    [/side]
    
    Logout - http://www.sifcoasc.com/logout/
    
    [logout]
    [side]
    [breakout-box]
    <h2>SDS Menu</h2>
    <ul>
    <li><a href="http://www.sifcoasc.com/registration/">Register here</a></li>
    <li><a href="http://www.sifcoasc.com/restricted">SDS Documents</a></li>
    <li><a href="http://www.sifcoasc.com/login">Login</a></li>
    <li><a href="http://www.sifcoasc.com/forgot-password">Forgot Password?</a></li>
    <li><a href="http://www.sifcoasc.com/edit-profile">Your Profile</a></li>
    <li><a href="http://www.sifcoasc.com/logout">Logout</a></li>
    </ul>
    [/breakout-box]
    [/side]
    
    Restricted - http://www.sifcoasc.com/restricted/
    
    [restricted login_page='/login/']
    [output-documents type="SDS" /]
    [/restricted]
    [side]
    [breakout-box]
    <h2>SDS Menu</h2>
    <ul>
    <li><a href="http://www.sifcoasc.com/registration/">Register here</a></li>
    <li><a href="http://www.sifcoasc.com/restricted">SDS Documents</a></li>
    <li><a href="http://www.sifcoasc.com/login">Login</a></li>
    <li><a href="http://www.sifcoasc.com/forgot-password">Forgot Password?</a></li>
    <li><a href="http://www.sifcoasc.com/edit-profile">Your Profile</a></li>
    <li><a href="http://www.sifcoasc.com/logout">Logout</a></li>
    </ul>
    [/breakout-box]
    
    [/side]

    Please help – love the look of this plug-in but it just won’t work for me!

    many thanks

    • This reply was modified 9 years, 8 months ago by Matthew.
    • This reply was modified 9 years, 8 months ago by Matthew.
    Thread Starter veucom

    (@veucom)

    Hi,
    I have not got admin approval or email confirmation enabled.

    Here’s the current basic page content/set-up:

    Login Page:
    <h2>Login</h2>
    Please enter your Login details below to access the SDS Library.

    [login redirect_page=’/sds-documents/’]

    Restricted Content Page (/sds-documents/):
    <h2>Welcome to the SDS Library</h2>
    [restricted]

    You are now logged in. Please click the links below to download the SDS documents.

    [output-documents type=”SDS” /]

    [/restricted]

    Unfortunately it seems the restricted content page does not register the that you have just logged in as when you redirect from the log-in page it does not show the restricted content.

    Any help appreciated!
    Thanks

    Thread Starter veucom

    (@veucom)

    The Send Sign Up Emails is set to yes. Should this be set to No?

    Thread Starter veucom

    (@veucom)

    Hi, thanks for taking a look. Yes, there is a redirect from the /sds-login/ page back to the /sds/ page where the short codes are entered to show the restricted content.

    Here is the /sds/ page code:

    <h2>Welcome to the SDS Library</h2>
    [restricted no_message=’Yes’]

    You are now logged in. Please click the links below to download the SDS documents.

    [output-documents type=”SDS” /]

    [/restricted]

    [restricted block_logged_in=’Yes’ no_message=’Yes’]

    <h3>No login details?</h3>

    [/restricted]

    [restricted no_message=’Yes’]

    [side]

    [breakout-box]
    <h2>You are logged in</h2>

    [/breakout-box]

    [/side]

    [/restricted]

    And here is the /sds-login/ code:

    <h2>Login</h2>
    Please enter your Login details below to access the SDS Library.

    [login redirect_page=’/sds/’]

    [restricted block_logged_in=’Yes’ no_message=’Yes’]
    [side]
    [breakout-box]
    <h2>No login details?</h2>

    <h2>Forgot password?</h2>

    [/breakout-box]
    [/side]
    [/restricted]

    I can’t see why it doesn’t show the restricted content and continues to show the restricted block_logged_in content.

    Can you see anything that I am missing?

    Thanks

    Carl

Viewing 5 replies - 1 through 5 (of 5 total)