I have created a website for a sorority that requires a log in to access “member only” pages. Among these pages are profile pages for each member.
A year ago I had a college student do some coding in the site Lightbox that would verify the individual’s membership and direct them to their profile page to update. This is how it worked:
-
User logged in by providing their first name, last name, EMAIL ADDRESS, and a unique 5 digit key code. In addition, the user was required to create a password.
-
If the first name, last name, email address and key code matched, the user was given access to the member only pages.
-
When a user successfully logged in, they were immediately directed to their personal profile page to update and submit.
The coding done by the student worked. However, what I learned was that several users were not using the email address in the dataset to log into the site. As a result, they were denied access and could not access the member only pages.
I lost touch with the student, so I have been trying to find a solution on my own. I have decided not to tie the login to an email address, but rather tie it to the semester and year the member joined the sorority. (This information is also in the dataset.) I created new input boxes in the light box and edited the student’s coding to replace the references to “email” with “semester” and added references to “lineyear” where it appeared appropriate. I also made sure the input boxes had a valid selector.
Unfortunately, this simplistic approach is not working. I am not a coder, but have been trying for weeks to figure this out. Any assistance anyone could give is appreciated. If there is additional information you need from me please let me know.
[Edit] Below is an images of the log in Lightbox input boxes, and the code is embedded in a reply message below.
Thanking you in advance.