Simple Integration with Pmachine and Coppermine Photogallery Simple Integration with Pmachine and Coppermine Photogallery
 

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]

Main Menu

Simple Integration with Pmachine and Coppermine Photogallery

Started by thebign, November 23, 2003, 01:48:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thebign

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
Take Care And Have Fun

Joachim Müller

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

GauGau

phylaxis

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:

QuoteParse 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

hyperion

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

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

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

GauGau