Changing CPG's theme based on phpBB2's theme Changing CPG's theme based on phpBB2's theme
 

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]

Main Menu

Changing CPG's theme based on phpBB2's theme

Started by biff, October 07, 2004, 09:29:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

biff

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.

Nibbler

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.

biff

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

kegobeer

Not to my knowledge.  Have you checked the phpbb forums?  Maybe another phpbb user has done something like that.
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