theme set possible with bb2 intergration? theme set possible with bb2 intergration?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

theme set possible with bb2 intergration?

Started by desert_dave, January 04, 2005, 03:56:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

desert_dave

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

desert_dave

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

Joachim Müller

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

Casper

It should remain set, as Gaugau said, their choice is stored in the cookie.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

desert_dave

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

Nibbler

It is cookie based - so anyone who logs in from your OS's login on your machine is sharing the same cookie.

Tranz

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. ;)

Joachim Müller

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