Login pages ....
Customer log in
To enable the customer to login to the secure area you give them a url which you enter into the email template in the Global Set Up admin page. The customer will receive this url when they purchase the subscription.
This url is usually the index page within the secure area. So on my web site this would be :
Entering this into the web browser will give a standard Basic Authentication pop up window where they enter the username / password.
If you wish to have a better looking log in box then you may use the pages in the folder /logincustomer/.
In my example this is :
Make sure that you have a class of "httpauth" and in the href you must place your own url of course.
Customer admin pages
The administration pages for the customer allow viewing of current subscription details, changing password and recovering a lost password.
The customer admin pages are located at /login/index.php
An example of the front page of the customer admin pages can be seen at http://www.withinweb.com/secureareav20/customeradmin/index.php
The customer administration pages incorporate a language file (signup/lang/file.php) where each displayed item such as button names, error messages, email subject and body text and other descriptive text may be modified. This provides a means to easily change the language of the pages.
The login contains a captcha facility where the subscriber has to enter letters before they subscribe. This is configured at the top of signup/lang/file.php. To stop using captcha, set the variable to false.
Note that to use captcha, you need GD Graphics Library compiled with your PHP.
Each of the customer administration pages has a header and a footer (login/includes/header.php and login/includes/footer.php) which can be modified to customize the display.
Also, you may change the css styles in header.php to further customize the displays.
Customer registration pages
The customer registration pages located in the /signup/ folder can be modified to make certain entries optional or to remove them all together. You can also change the text on the sign up by changing the language file located at /lang/file.php. So for example you may want the age of the person instead of the mobile phone number, just change the text in /lang/file.php
Each label has a class which can be class="required" meaning that the entry box is required. Remove that class and it becomes optional.
You can also have a label of class="nocontent"
The switch(obj.name) defines the error mask to be displayed.