Custom Protected Access Error Message

Discussion in 'Setting-up protection' started by bgtheory, Feb 24, 2011.

  1. bgtheory

    bgtheory New Member

    Joined:
    Jan 22, 2010
    Messages:
    15
    I currently have both free and premium (paid) memberships. You must be logged in to access any of the content on the site (outside of the home/sales pages). Here is my question: You must be a premium member to access premium content.

    1) When a non-logged in user tries to access premium content (redirects to login page), how do I customize a message to state something like "You must be logged in to view this content. Please login or signup..." on the login page?

    2) When a logged in FREE member tries to access premium content (redirects to member.php), how do I customize a message to state something like "This video is for premium members only, please upgrade your membership today" on the membership page?

    Thanks!
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Sure this is possible with customization. Also this will depends on what you will use to protect content.
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Are you integrated with any CMS system like wordpress?
    Using wordpress and amprotect you can display these types of messages.

    David
  4. bgtheory

    bgtheory New Member

    Joined:
    Jan 22, 2010
    Messages:
    15
    We are using wordpress with the amProtect and amUpgrade plugins; however, we are hesitant to use the amProtect tags for protected content as you have to specify product IDs in the tags for access, and we create product IDs on the fly for enterprise accounts with custom access. With a few hundred protected pages, I am trying to figure out if I can use a page template or something like that in WP, but in the meantime, is there a band aid fix to displaying custom error messaging just for when a user is redirected to either the login or member.php pages when trying to access protected content?

    Thanks!
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    May be possible to do a redirect to a custom page based on the error message that amember displays in the smarty login or member page.

    David

Share This Page