PDA

View Full Version : HTML Login Form in Place of Apache Popup?


Nathan Bray
07-14-2009, 01:40 AM
Hi does anyone know if this is possible and how to do it?

1. I've create a remote membership using Delavo. All of my membership content is in a directory that Delavo is protecting called MyRemoteDomain/members. Any other information such as sales pages, free content etc. is above that directory

2. When I navigate to my "members" directory I am prompted with the standard Apache popup login box which allows me to login to the MyRemoteDomain/members directory. This works fine for protecting the content, however I would like to take it to the next level and rather than having users login with the Apache login box they will actually have a HTML login page that can also show information such as a "Welcome, please login" message or other links to retrieve their password, or even sign up as a new user.

The reasons I would like to do this are

a. It is kind of confusing for people that don't understand the popup box, if the wrong password is entered or if user hits "cancel" they are given an ugly page that says the following....

"Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

b. The second thing I would like to see is once this is set up, to also be able to have a "logout" link that will post and log user out of the directory when they choose. Right now it keeps logged in until browser is closed and history/cache cleared.

Now, I know that this is either not going to be possible to fix, or it is going to be VERY easy for someone that has done this before, I am sure it just has something to with creating the HTML page and posting the form details, checking .htaccess file....

...but I don't know how to do this yet.

If anyone has done this yet or has a solution please let me know if you would be able to provide some guidance. I would REALLY appreciate it.

Thanks

Brian Collins
07-14-2009, 03:44 AM
Hi Nathan,

I personally use John's Little Script For Running A Membership Site - does what you need.

Brian

Nathan Bray
07-19-2009, 12:19 AM
Brian,

Once again thanks for the help. That John's little script works perfect. Was able to set up a nice login page with that and integrates with Delavo user registration.

Awesome.

Danny Turner
07-27-2009, 03:58 PM
Is there a way to do this within Delavo - ie show a custom html page within login box rather than the apache log in without installing another script?

Brian Collins
07-27-2009, 05:54 PM
Hi Danny,

Yes you can use the minisites or pages plugins to have the membership inside your Delavo instead of a remote membership.

Brian

Kerrie Mullins-Gunst
07-28-2009, 02:45 AM
It used to be possible to do this using the No More Grey Screens script, and the sites I had previously set up that way still work, but the integration with NMGS seems to have disappeared from Delavo.

Or am I missing something? Can anyone else get NMGS to work with Delavo?

Brian Collins
07-28-2009, 03:53 AM
Hi Kerrie,

I too noticed this and mentioned it in a HD ticket a few weeks ago, in the mean time I am using John's Little Script For Running A Membership Site - highly recommended.

Brian