Sideways8 Private Pages
[resolved] Link to private page (7 posts)

  1. thasnes
    Posted 2 years ago #

    I want to show a link to a user's private page(s) when that user is logged in. Automatically in the menu, and don't show the menu item to any other, not even admins (because they can see the page on the admin pages).


  2. thasnes
    Posted 2 years ago #

    I also want a page where users can change their names and passwords. Just not the standard WP, but on a private page for that user.

    I want a menu showing: My page. When a user is logged on. With profile change page and that user's private pages.

  3. thasnes
    Posted 2 years ago #

    I found out that
    s8_pp_redirect is what I'm looking for here.

    That means the full url is: yourdomain/url-endpoint-of-your-private-pages?=s8_pp_redirect
    for example: http://yourdomain.com/private-pages?=s8_pp_redirect

    That leads you to a user's private page. Now the part for only show that link when user is logged in.

    I use the S8 login widget in my header. Which means I want to have it horizontally. The code in s8-login-widget.php, line 99 (approx.) will be:

    elseif($instance['show_logout'] == 'yes') {
    echo '<div style="display:inline-block;list-style:none;padding:0 0 0 1rem;>
    <li><a href="http://mypage.com/private-pages?=s8_pp_redirect">My Page</a></li>
    <li><a href="http://mypage.com/login/?action=logout&redirect=http%3A%2F%2Fmypage.com">Log out</a></li>
  4. thasnes
    Posted 2 years ago #

    .. Now I only miss the Change-Name-and-Password option..
    Anyone knows?

  5. aaronsj7
    Posted 2 years ago #

    I don't understand how I can input this into my page so it allows only the logged in user to see their page with a click. I have the redirect working, but going back and forth within the page is tough. Is there anyway to have a link showup for a member ?

    thanks for your help :)

  6. JustCasey76
    Posted 2 years ago #

    The plugin doesn't have a s8-login-widget.php file. This is NOT resolved...

  7. thasnes
    Posted 2 years ago #

    Use this:

    It's from the same developer.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sideways8 Private Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic