No Support => Modifications/Add-Ons/Hacks => Mods: Visuals => Topic started by: TTinSB on November 16, 2006, 01:09:54 pm

Title: CPG using multiple SMF Themes
Post by: TTinSB on November 16, 2006, 01:09:54 pm

i tried some ways to integrate the coppermine gallery with my SMF Forum und SSI Pages using the SMF Theme the user likes.

The best solution seems to be the SSI Interface of SMF.

Here some examples of my solution:

Coppermine using the SMF-Theme Metallic Abyss (

Coppermine using the SMF-Theme Cerberus (

Coppermine using the SMF-Theme Musiconica (

How does it work?

1. Install SMF & CPG seperatly and get it to work.
2. Use the Bridge Tool to synchronise the Users and Groups and geht it to work.
3. Create a SMF Theme that uses SMF CSS Tags instead of cgp styles and don't load the cgp style.css

4. Edit every Source File of cpg that can be loaded in the browser, like index.php, thumbnails.php, and so on.

Add the following at the top of each file:

Code: [Select]
$ssi_layers = array('main');
$context['page_title']="Your page title";
require_once("path to your forum/SSI.php");

Search for every occur of "pagefooter();" and add below:

Code: [Select]

Select the SMF Theme as standard in your coppermine gallery and turn of the theme chooser (themes will be choosed in the forum, or via ?theme=id in your ssi page).

Some SMF Themes have to be edited too, because they contain error or missing styeles, like main_tab & mirror_tab which used for the coppermine buttons.

I hope that future versions of coppermine can use smf themes directly via the bridging tool.



Title: Re: CPG using multiple SMF Themes
Post by: nomadman on December 22, 2006, 07:23:04 am
hey, just wanted to thank you for the how-to. I'm actually using DilberMC Theme for SMF and it works wonders. now if i can only make the SYS_MENU and SUB_MENU links look better using classic theme.  ::)
Title: Re: CPG using multiple SMF Themes
Post by: asterix23 on January 24, 2007, 07:37:14 pm
Is this working with SMF 1.1.1 ?
Title: Re: CPG using multiple SMF Themes
Post by: yelegen on April 01, 2007, 12:19:09 pm
TTinSB, is it possible to get a step by step for dilbermc your sites look great I would like to be able to do that too.

I have copper mine installed and bridged but cant open inside of forum like yours.