WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. thasnes
    Member
    Posted 6 months 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).

    http://wordpress.org/plugins/s8-private-pages/

  2. thasnes
    Member
    Posted 6 months 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.

    Summary:
    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
    Member
    Posted 6 months 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;>
    <ul>
    <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>
    </ul>
    </div>';
    }
  4. thasnes
    Member
    Posted 6 months ago #

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

  5. aaronsj7
    Member
    Posted 6 months 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
    Member
    Posted 1 month ago #

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

  7. thasnes
    Member
    Posted 1 month ago #

    Use this:
    http://wordpress.org/plugins/s8-custom-login-and-registration/

    It's from the same developer.

Reply

You must log in to post.

About this Plugin

About this Topic