Advanced search  


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.

Pages: [1]   Go Down

Author Topic: CPG using multiple SMF Themes  (Read 16744 times)

0 Members and 1 Guest are viewing this topic.


  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 3
CPG using multiple SMF Themes
« 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.



« Last Edit: November 16, 2006, 07:15:36 pm by GauGau »


  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: CPG using multiple SMF Themes
« Reply #1 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.  ::)


  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: CPG using multiple SMF Themes
« Reply #2 on: January 24, 2007, 07:37:14 pm »

Is this working with SMF 1.1.1 ?


  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: CPG using multiple SMF Themes
« Reply #3 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.

Pages: [1]   Go Up

Page created in 0.018 seconds with 20 queries.