News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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