CPG using multiple SMF Themes CPG using multiple SMF Themes
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

CPG using multiple SMF Themes

Started by TTinSB, November 16, 2006, 01:09:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TTinSB

Hi,

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:


$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:


ssi_shutdown();


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.

enjoy

Torsten


nomadman

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.  ::)

asterix23


yelegen

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.

thanks