Forum Moderators: open

Message Too Old, No Replies

Allow members to change their profile design?

         

alwaysinit

2:09 pm on Dec 26, 2006 (gmt 0)

10+ Year Member



Hi, I have a site that offers users a profile page. I only have one design for everyone's profile, and would like to offer more.

I want to make other designs, and let the members pick which they like. Then it would apply to their profile.

I'm using Flash 8 to create pages, and PHP+MySQL to control things. Does anyone know how this could be done? Any ideas?

Thanks for the help

jatar_k

2:41 pm on Dec 26, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



if you make a couple of preset designs and allow a drop down for the member to select which they want to use you can then carry the selected profile around in their session.

How you load it depends on how you are doing things. You will need something simple that makes the coding of it very straight forward.

maybe have the designs named

layout1
layout2
layout3

then you just need to track the number in their session and can append that number to any includes for layout. Remember to always have a default setting so the site doesn't blow up on a bad include.

alwaysinit

1:08 am on Dec 27, 2006 (gmt 0)

10+ Year Member



Thanks Jatar, will that apply in this scenario:

Member has opened their profile. In the 'edit profile' section I supply a link to a page that displays thumbnails of all of my profile skins(SWF's). The user clicks on the one they like and it becomes applied to their profile. The new skin would then remain their profile skin until they issue another change.

Would that setup hold their skin choice forever?
Should I hold their choice in MySQL to retrieve when they come back?