Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: theme set possible with bb2 intergration?  (Read 4790 times)

0 Members and 1 Guest are viewing this topic.

desert_dave

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
theme set possible with bb2 intergration?
« 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: theme set possible with bb2 intergration?
« Reply #1 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.
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: theme set possible with bb2 intergration?
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: theme set possible with bb2 intergration?
« Reply #3 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: theme set possible with bb2 intergration?
« Reply #4 on: January 07, 2005, 05:34:58 pm »

It should remain set, as Gaugau said, their choice is stored in the cookie.
Logged
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

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: theme set possible with bb2 intergration?
« Reply #5 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
Logged

Nibbler

  • Guest
Re: theme set possible with bb2 intergration?
« Reply #6 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.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: theme set possible with bb2 intergration?
« Reply #7 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. ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: theme set possible with bb2 intergration?
« Reply #8 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
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 21 queries.