Open HomerGaidarski opened 8 years ago
Just realized dashboard page requires login to view but doesn't really have sensitive functionality; yes it shows location info but i can change the backend logic so that it only displays that if you are viewing your own dashboard page or if you are allowing your friends/certain friends to view it.
When one wants to view the profile of another user, they click on their username and the website takes them to a dashboard page populated with that user's info. The most efficient way to do this would be to save the user's uid to a post variable and then query the database with that id. If user goes to link directly just by typing gamer-net/user/usernameGoesHere, need to query database with the username to get the user data.