PDA

View Full Version : New to the forums & need help with my website


gamict
10-29-2009, 10:58 PM
Hello everybody!

My name is Mark and I've finally come around to start actually asking for help instead of browsing for answers via Google. I picked this community because I felt it was the busiest of any other related communities.

(I'm sorry if this isn't the right topic)
My questions is about my website www.gamict.com - I am pretty new when it comes to programming with PHP (I'm ok in CSS/HTML)
If you can, please take a look at my site and you will see on the right side I have a separate menu that holds the login box.
I want to be able to have users log into their accounts from that box, and once they are logged in, that same menu turns into their profile information (profile picture, stats, friends, instant messaging, etc) and follows them around the entire site (until they are logged out).... How would I go about setting this up?

I will answer promptly to any question you might have if anything I said was confusing.

Thanks!

-gamict

LakkadBabu
10-30-2009, 03:41 AM
Hello everybody!

My name is Mark and I've finally come around to start actually asking for help instead of browsing for answers via Google. I picked this community because I felt it was the busiest of any other related communities.

(I'm sorry if this isn't the right topic)
My questions is about my website www.gamict.com - I am pretty new when it comes to programming with PHP (I'm ok in CSS/HTML)
If you can, please take a look at my site and you will see on the right side I have a separate menu that holds the login box.
I want to be able to have users log into their accounts from that box, and once they are logged in, that same menu turns into their profile information (profile picture, stats, friends, instant messaging, etc) and follows them around the entire site (until they are logged out).... How would I go about setting this up?

I will answer promptly to any question you might have if anything I said was confusing.

Thanks!

-gamict

Hi Mark even I am pretty new to PHP . But I think that you have to create a small module for that. When a user logs-in, your code should verify the login details and load the module.

That module will contain all the user details which are to be shown on every page.

On each page there should be a SESSION variable that holds the user login status value - if the user logged in then show this module or replace the menu with the menu/module/whatever you want to display.

I think this is the way you have to go to.