Difference between revisions of "Design Document index Page"
(updated to comply with Release 0.4.x of BOARD18.) |
(added release 2.4.x) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ReleaseNotice| | {{ReleaseNotice|2.4}}{{Design Document Index}} | ||
The index.html page can be used to register a new player or [by a registered player] to Login to BOARD18.<br> | The index.html page can be used to register a new player or [by a registered player] to Login to BOARD18.<br> | ||
It also can be used [by a registered player] to recover a lost login ID or a lost password. | It also can be used [by a registered player] to recover a lost login ID or a lost password. |
Revision as of 09:21, 16 October 2016
This page has been updated to comply with Release 2.4.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.
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.