Re: Am I Breaking Something? Is There An Easier Way?
Well…
I figured that I can have a register page with the register fields that is independent of login status. The purpose of the register page is to “save data to the database”.
Ever since I began this forum post, I solved some things. I created my join page (I’d have to really break it down how I did it). When a new user registers, his/her information gets saved to the database. Then the screen reloads saying that an “email was sent and to activate the account, click the email”.
The email was sent to the make-believe user I created. When I clicked the email, it redirected me to the activation page where it encouraged me to login. HERE AT THIS POINT (step 1), I figured that I can run some conditional, where if someone else is logged in, the new user logging into his/her account would log the active user out. (step 2) At this point, once the new user logs and the active user is logged out, the avatar load process and the rest of the completion of the new account can take place.
As long as all of the needed info is supplied to the db for a new user, it looks to me like this is the most important thing in establishing a new user. I shouldn’t be breaking anything (correct me if I’m wrong here).
So..it sounds possible to me…