Design Document index Page

From BOARD18 Project WIKI
Jump to: navigation, search
This page has been updated to comply with Release 2.5.x of BOARD18.
Design Document edit


The index.html page can be used to register a new player or [by a registered player] to Login to BOARD18.
It also can be used [by a registered player] to recover a lost login ID or a lost password.

Most of the JavaScript logic for index.html is in the scripts/board18index.js file.

The index.html page also uses the scripts/board18com.js file and some other open source JavaScript files.
Style is supplied by the style/board18Index.css and the style/board18com.css files.

Remember Me

WIKI Links for BOARD18 WEB Pages edit
Page Overview Detail Design
index Page index Page
board18Main Page board18Main Page
board18View Page board18View Page
board18Admin Page board18Admin Page
board18Players Page board18Players Page
board18Games Page board18Games Page
board18Boxes Page board18Boxes Page
board18BoxLoad Page board18BoxLoad Page
board18Misc Page board18Misc Page
board18New Page board18New Page
board18Map Page board18Map Page
board18Market Page board18Market Page
board18SnapList Page board18SnapList Page
board18SnapMap Page board18SnapMap Page
board18SnapMrk Page board18SnapMrk Page
access-denied Page access-denied Page

When it is first entered this page checks for an "LTPAlocal" [Remember Me] cookie.
If such a cookie is found, then it attempts to auto login the player which could cause all login logic to be skipped.

Login

Entering a Player ID and a Password on the Login form and pressing the Login button initiates a BOARD18 Login process.
BOARD18 does some preliminary validation on the user input and then passes the validated input to php/validateUser.php.
The php/validateUser.php program, which is called via AJAX ($.post), is documented on the validateUser.php WIKI page.

Registration

Clicking the "Register" button on the Log In form causes the Registration form to be displayed.
This form does some preliminary validation on the user input and then passes the validated input to php/newUser.php.
The php/newUser.php program, which is called via AJAX ($.post), is documented on the newUser.php WIKI page.

Login ID Recovery

Clicking the "Forgot your Player ID?" button on the Log In form will bring up a login recovery form.
The player can use this form to get the php/emailPlayerID.php program to send an email containing his Player ID.
The php/emailPlayerID.php program, which is called via AJAX ($.post), is documented on the emailPlayerID.php WIKI page.

Password Recovery

Clicking the "Forgot your Password?" button on the Log In form will bring up a password recovery form.
The player can use this form to get the php/emailPassword.php program to send an email containing a new temporary password.
The php/emailPassword.php program, which is called via AJAX ($.post), is documented on the emailPassword.php WIKI page.