Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember protected content not staying on page after login

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eMember protected content not staying on page after login

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months ago by wzp.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 28, 2019 at 11:33 pm #15288
    c2l
    Spectator

    I have videos on pages that can only be viewed if members are logged in. I want it to be an inline login with no redirection so that as soon as the person logs in they remain on the page where they can watch the video. I’ve searched the forums and followed the tips given. In settings I have unchecked “Enable Auto Login After Registration:”, “Enable Fancy Login Widget/Popup:”, and “Disable Inline Login Widget ” then I CHECKED “Prevent After Login Redirection When Logging in via Inline Login Option” . The code on the protected content part of the page is this:

    [emember_protected scope=”verified_users_only”]<iframe src=”//player.vimeo.com/video/100064444″ width=”700″ height=”438″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>[/emember_protected]

    However, this redirects to the join-us page and once logged in they stay on the login page that shows their username and membership details etc.

    What I want is for them to remain on the original page where the protected content is. Link here: connect2learning.com/members/co-constructing-criteria/

    ALSO, as administrator I’m naturally logged in while working in the dashboard yet when I view this page after editing it hides the content from me and I have to log in again and then navigate back to the page. Why doesn’t it recognize that I’m logged in already?

    January 29, 2019 at 7:28 pm #79094
    wzp
    Moderator

    The code on the protected content part of the page is this:

    [emember_protected scope=”verified_users_only”]<iframe src=”//player.vimeo.com/video/100064444″ width=”700″ height=”438″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>[/emember_protected]

    You cannot place an HTML tag (the way you did) in the middle of a WP page like that. To show you the shortcode ***is working*** place the text “Can you see me now?” inside the shortcode. The text will only be seen when the member is logged in.

    ALSO, as administrator I’m naturally logged in while working in the dashboard yet when I view this page after editing it hides the content from me and I have to log in again and then navigate back to the page. Why doesn’t it recognize that I’m logged in already?

    Being logged in as the WordPress Admin, doe not automatically log you in as an eMember “member.” You must separately log into eMember. While it’s true that you can setup auto login, whereby logging into WP as a WP user automagically logs you into an eMember account; that has its own set of drawbacks.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ