Advanced search  

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

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

TTinSB

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 3
CPG using multiple SMF Themes
« on: November 16, 2006, 01:09:54 pm »

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:

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]
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

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

nomadman

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

asterix23

  • 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 ?
Logged

yelegen

  • 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.

thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.