|
Posted by Michael Phipps on 10/04/48 11:23
"Mickey" <mickey.allroid@gmail.com> wrote in message
news:1123430222.261153.107860@g44g2000cwa.googlegroups.com...
> Hi,
>
> I am going to be creating a web-site where each user will be able to
> select the skin (their style, colors etc) of their choice.
> I have looked over many tutorials on the subject but I havn't yet found
> one that matches what I am trying to do.
> I want the user to be able to choose the backround color, or background
> image, font type etc. and have these settings for the user each time
> their page is viewed.
>
> My question is, would these settings need to be stored in a database...
> or would cookies be enough?
> Or, does anybody know of any information, tutorials, doc's..., which
> may help me with this?
>
One question... WHY do you want users to select a skin - is it for their
own viewing pleasure? Unless you've got a really good reason for people to
create a skin for themselves - I don't really see the point in skinning the
site. Your time would be better spent finding content instead - but that's
just my opinion
To answer the question:
If the skin is only a small amount of data, and for their own viewing
pleasure, just use a cookie, otherwise use a combination of cookie and
database, where you assign a cookie with a unique id to the user, and then
store skin information in a database, using the unique id stored in the
cookie to display the appropriate users skin. Advantage of a database, is
you can get an idea of what people's favourite skins settings are.
I'm interested in your motivations for allowing users to change the skin of
their website.
Navigation:
[Reply to this message]
|