forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: biff on October 07, 2004, 09:29:13 am

Title: Changing CPG's theme based on phpBB2's theme
Post by: biff 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.
Title: Re: Changing CPG's theme based on phpBB2's theme
Post by: Nibbler 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.
Title: Re: Changing CPG's theme based on phpBB2's theme
Post by: biff on October 07, 2004, 07:08:05 pm
Has nobody ever done something like this and released their code?
Title: Re: Changing CPG's theme based on phpBB2's theme
Post by: kegobeer 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.