Advanced search  

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

Pages: [1]   Go Down

Author Topic: Changing CPG's theme based on phpBB2's theme  (Read 4007 times)

0 Members and 1 Guest are viewing this topic.

biff

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Biff's Lyrics Archive
Changing CPG's theme based on phpBB2's theme
« on: October 07, 2004, 09:29:13 am »

Hello,

I have integrated CPG 1.3.2 with phpBB2 and I have made similar themes for each.

Now I would like to create a second pair of themes for my gallery and forum. I want it set up so that when users choose a theme from their profile (phpBB profile), CPG would automatically switch to the matching theme.

Is this possible?

Thanks in advance.
Logged

Nibbler

  • Guest
Re: Changing CPG's theme based on phpBB2's theme
« Reply #1 on: October 07, 2004, 05:40:06 pm »

Yeah, if you can code it. You'd need a section in init.inc.php to connect to the phpbb table and extract the theme the user is using, and then set that as the user's theme in coppermine.
Logged

biff

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • Biff's Lyrics Archive
Re: Changing CPG's theme based on phpBB2's theme
« Reply #2 on: October 07, 2004, 07:08:05 pm »

Has nobody ever done something like this and released their code?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Changing CPG's theme based on phpBB2's theme
« Reply #3 on: October 07, 2004, 07:26:04 pm »

Not to my knowledge.  Have you checked the phpbb forums?  Maybe another phpbb user has done something like that.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.