Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: Simple Integration with Pmachine and Coppermine Photogallery  (Read 21130 times)

0 Members and 1 Guest are viewing this topic.

thebign

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
    • http://thebign.com/userpic/index.php
Simple Integration with Pmachine and Coppermine Photogallery
« on: November 23, 2003, 01:48:12 pm »

23. november 2003

I use PmachinePro 2.3 for articles and calendar, and Coppermine Photogallery to take care of my pictures.

What to do:

1. Download latest version of Coppermine Photogallery http://coppermine.sf.net/
2. In Coppermine Photogallery folder: edit file anycontent.php
3. In Coppermine Photogallery online admin mode, choose config and make the settings in

   Section Album list view:
   The content of the main page: anycontent/catlist/alblist/random,1/lastup,1/lastcom,1

4. That should be it

I use the same theme for Pmachine and Coppermine Photogallery and you have to copy template.html from the chosen theme from Coppermine  into your web root and rename the file to weblog.php, archives.php, archivesum.php, more.php, comments.php and so on.

Edit the template.html file (this is with use of the theme CaliskinV6:

<link rel="stylesheet" href="/galleryfoldername/themes/caliSkinV6/style.css" />

<img src="/galleryfoldername/themes/caliSkinV6/images/caliskin_v6topleft.gif" alt="" />

Edit all calls to theme for theme pictures and css.

This is just suggestion how you can use Pmachine and Coppermine Photogallery on the same page.

You can see my version on http://thebign.dk

This guide and files can be downloaded on http://thebign.dk/tools

Take Care And Have Fun
Logged
Take Care And Have Fun

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Simple Integration with Pmachine and Coppermine Photogallery
« Reply #1 on: November 23, 2003, 02:21:44 pm »

actually there's a port available for real integration of coppermine (1.1) into pmachine, but thanks for the info.

GauGau
Logged

phylaxis

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Help with pMachine Port
« Reply #2 on: December 09, 2003, 09:34:51 pm »

I am attempting to install the pMachine Coppermine port under Mac OS X 10.3, PHP 4.3.4 and mySQL 3.23.49. I have the install complete according to your instructions, but I keep getting the following error:

Quote
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in/Users/phylaxis/Sites/thelangleys/gallery/themes/default/theme.php on line 660


 Fatal error: Call to undefined function: pageheader() in /Users/phylaxis/Sites/thelangleys/gallery/index.php on line 450


Any help is appreciated. Thanks
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Simple Integration with Pmachine and Coppermine Photogallery
« Reply #3 on: December 09, 2003, 09:41:47 pm »

The first error is usually a typo when editing your theme.  Look for missing $ ; " ' { or } from line 660 back.

The second error should be a result of the failure of the theme file to open.  Fix the first, and the second should go away.
Logged
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Simple Integration with Pmachine and Coppermine Photogallery
« Reply #4 on: December 09, 2003, 11:21:39 pm »

@phylaxis: please do not double-post, you already got an answer by hyperion.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.