Next, one of the improvements in the Php+jquery registration module continues to be modified:
① after successful registration return to the Login Mail page (maillogin.php), in the page users can click the link to jump to their own registered mailbox login page, you can send the activation link again;
② to activate the link to set the validity period, after the expiration date click to activate the connection, will jump the page lets the user choose to send the mail again or returns the registration page, after sends the mail, enters the mailbox to click the link to activate;
③ Click Resend Activation Connection, do not jump page, no refresh pop-up notification on current page: The link has been resend, a few seconds after the notice disappears;
④ Click to replace the Inbox and jump to the registration page
1. Click the email link to jump to the corresponding mailbox login interface
Ideas:
Set up a list of commonly used mailing addresses in Maillogin.js (also available in PHP). When the user's registered mailbox and the mailbox in the list match, the button "sign in now verify Mailbox" is displayed, click to jump to the landing page of the mailbox; If the user's registered mailbox does not exist in the list, The login button is not displayed.
As shown in the figure, when a registered mailbox exists in the list of mailboxes:
When registering mailboxes does not exist in the list of mailboxes:
Prompt for parameter error when passed parameter is not a valid mailbox:
maillogin.php:
Maillogin.js:
Current 1/2 page
12 Next read the full text