/    Sign up×
Community /Pin to ProfileBookmark

different area for each member in members area

I’ve looked at some tutorials about how to create a members area using php and mySQL and I’ve got a simple one working.

But can someone point me to a good tutorial on how to create different areas for each member? Or can someone give me some starting advice on how to achieve this safely?

Thanks for help!

to post a comment
PHP

7 Comments(s)

Copy linkTweet thisAlerts:
@PierceMooreJun 12.2009 — Hey there, xkrja. I would love to try and help, but I am not sure specifically what you are asking.

Are you trying to customize, say, the css properties of each page based on what user is logged in?
Copy linkTweet thisAlerts:
@xkrjaauthorJun 12.2009 — Thanks for the reply.

Yes, something like that. It would be a start.

The plan (when I learn this better) is to let each member have an area where he/she can save files that are created in an application that we have developed.

Is that something of an explanation?
Copy linkTweet thisAlerts:
@PierceMooreJun 12.2009 — Yes it certainly is ?

Yeah, you can definitely load separate stylesheets, that is tedious but possible.

Where file management is concerned, you could technically have tables set up to accept user's files, complete with descriptions, thumbnails, etc. that would load into the page upon login. That is pretty common, as I understand. Are you referring to, say, something Google Docs-ish?
Copy linkTweet thisAlerts:
@xkrjaauthorJun 12.2009 — Thanks again,

Well, the stylesheet part is not very important :-). The file management is what I really wants. Do you have some links or tutorials for that? I haven't googled it yet because I didn't know what to google for but now i know :-)

Google docs certainly have much functionality that I would like but the application we have is a client side Silverlight application and we would like to add for example auto-saving functionality etc.

Thanks!
Copy linkTweet thisAlerts:
@PierceMooreJun 12.2009 — Not a problem!

I see now, that is cool. I unfortunately don't have any resources on hand regarding that particular brand of vodka, but I can see it being possible with auto-saving the user input into a massive $_SESSION[''] variable for each field. I am not sure exactly how PHP interacts with Silverlight, but if it is all client-side then you should be fine just storing form data into that session variable.

Thoughts?
Copy linkTweet thisAlerts:
@xkrjaauthorJun 12.2009 — Thanks,

Ok, I think it can't be too hard to get Silverlight to talk to php but maybe there needs to be AJAX included? I mean for auto-saving and posting the file without refreshing the page.

I have to check around for the file storage on the server. I know so little about that part so I can hardly discuss it at all :-)
Copy linkTweet thisAlerts:
@PierceMooreJun 12.2009 — Yeah, I am in the same boat. And you are probably right, AJAX will likely be neccessary to do so. This thread may be more suitable in that forum.

Just a thought :-)
×

Success!

Help @xkrja spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...