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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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