I’ve hit a bit of a wall here. I’ve been creating a website for someone, I’ve already set up the forums along with a MySQL database for said forums. I want to include some sort of front page integration for this, for example:
[img]
Obviously creating the actual field isn’t a huge issue, but it’s getting it to connect to my forum database to retrieve the user’s credentials is what’s hindering me. When they log in, it would be nice if it fetched their profile preferences, such as their avatar, forum inbox, etc. Like so:
[img]
Other features I can work in for myself. Otherwise, I’m not sure how to make it so once they log in it displays something like image 2 rather than looping back to the login fields. One workaround I considered is having two separate front pages, and once they log in it will redirect them to front page version 2, with that feature in. But that’s messy and unnecessary. I’m sure there’s a way to check and say something like: “If the user is logged in, then display profile details”, rather than “If user is logged in, then display login field”
If anyone could help me out with this, or at least refer me to a good source of information on this, I would appreciate it.