Display Error Message On Attempt To Access A Protected Areas

Discussion in 'Setting-up protection' started by tttadmin, Aug 27, 2009.

  1. tttadmin

    tttadmin New Member

    Joined:
    Jun 6, 2009
    Messages:
    30
    Everything has been great. I've been able to totally customize aMember to fit my web site. My question is, when going to a protected area if not logged in, shouldn't it display an error message along with the login form? This is one of my protected areas:

    www.tothetick.com/zones

    It redirects to the login form, but shouldn't it also display a message? Such as "Please login to access this content." It does, but ONLY if you are logged in and attempting to access an area that you haven't payed for, I customized the message to say "You do not have access to this content. Please renew or add a subscription." But, what about when you aren't logged in and attempt to access a protected area? I wish it would also display a message, along with the login form. Have I done something to make this not happen? I have modified the smarty stuff quite a bit used css to make very nice error messages, as you will see when you try to break the forms.

    Thanks in advance for the help!
  2. tttadmin

    tttadmin New Member

    Joined:
    Jun 6, 2009
    Messages:
    30
    I'm using new_rewrite for everything.
  3. tttadmin

    tttadmin New Member

    Joined:
    Jun 6, 2009
    Messages:
    30
    Fixed

    Modified error.inc.html

  4. tttadmin

    tttadmin New Member

    Joined:
    Jun 6, 2009
    Messages:
    30
    nevermind

    finally, I have exactly what I want. hope this helps someone!
  5. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Displays:

    in red box when I just tried it.
  6. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @tothetick: great customization, thanks for sharing!
  7. tttadmin

    tttadmin New Member

    Joined:
    Jun 6, 2009
    Messages:
    30
    no problem! skippy, can you help me with a customized signup.php configuration? e-mail admin@tothetick.com

Share This Page