forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: desert_dave on January 04, 2005, 03:56:20 pm

Title: theme set possible with bb2 intergration?
Post by: desert_dave on January 04, 2005, 03:56:20 pm
I have different theme sets in my gallery and BB2. Since gallery is intergrated w/ my BB2, the profile takes you there and a lot of my gallery themes aren't a BB2 theme. So is there a way a member can set there choice theme in gallery?
TIA,
Dave
Title: Re: theme set possible with bb2 intergration?
Post by: Casper on January 05, 2005, 06:09:11 pm
you can let users select different themes in config.  Once they have selected the theme they want, it will stay as that theme for them until they change it again.

Look in the section of config for theme and language settings.
Title: Re: theme set possible with bb2 intergration?
Post by: desert_dave on January 05, 2005, 07:51:39 pm
Maybe I'm missing something. Users don't have access to the main config file. And if I set a theme in config it's global.
In profile they get taken to the phpbb database and there are no coppermine themes in there. So the only choice is for them to pick from the theme dropdown list on the gallery. But that doesn't hold (as far as I can tell) to what the user choses but goes back to the config default I have set each time they login. So I guess it would have to be a script change that whatever theme they chose would overid the global config correct?
-dave
Title: Re: theme set possible with bb2 intergration?
Post by: Joachim Müller on January 07, 2005, 10:54:15 am
the theme a user has chosen is stored in a cookie, so if he returns to the page on a second browser session, the theme chosen before should persist.

Joachim
Title: Re: theme set possible with bb2 intergration?
Post by: Casper on January 07, 2005, 05:34:58 pm
It should remain set, as Gaugau said, their choice is stored in the cookie.
Title: Re: theme set possible with bb2 intergration?
Post by: desert_dave on January 07, 2005, 11:37:40 pm
Here's whats happin:
In config I set the theme to "a"
I signed in under (test) and changed the theme from the theme dropdown (not config). to "b"
I signed in under my password my password and the default should have come up "a" but "b" comes up instead.

So the theme is being reset for all  to whatever the last person changed it to.

www.creatingslideshows.com/gallery
test / test

??
-dave
Title: Re: theme set possible with bb2 intergration?
Post by: Nibbler on January 07, 2005, 11:42:50 pm
It is cookie based - so anyone who logs in from your OS's login on your machine is sharing the same cookie.
Title: Re: theme set possible with bb2 intergration?
Post by: Tranz on January 08, 2005, 03:06:29 am
I think the cookie is also associated with the user who logged onto the computer. So if you are sharing computers, you should have separate logins anyway. ;)
Title: Re: theme set possible with bb2 intergration?
Post by: Joachim Müller on January 08, 2005, 05:12:12 am
to test this for yourself on one machine, with one OS logon, you could use different browsers. Everybody who runs his own website should have at least two browsers. On Windows, this usually is the built-in IE, and the best and most important alternative browser atm Firebird. Having Opera to check such things won't hurt either.

Joachim