coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: nextech2 on September 09, 2004, 05:35:51 PM

Title: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: nextech2 on September 09, 2004, 05:35:51 PM
How can I integrate Coppermine with ExpressionEngine (http://www.pmachine.com/) (the replacement for pMachine)?  Is there a coppermine plugin or module for pMachine's  ExpressionEngine?
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Joachim Müller on September 09, 2004, 10:40:29 PM
no, at least none have been posted on this board. If you know your way around, you could try modifying an existing bridge file to work with your app.

Joachim
Title: Coppermine Port for EE?
Post by: nextech2 on September 10, 2004, 10:53:27 AM
Has Coppermine been ported for pMachine's new ExpressionEngine?  (EE)  A lot of pMachine users have been complaining and looking for a port/mod for Coppermine.
Title: How do I integrate EE and Copermine?
Post by: nextech2 on September 10, 2004, 10:55:19 AM
Has anyone successfully integrated pMachine's ExpressionEngine and Copermine?  (share the same login/password)
Title: Re: How do I integrate EE and Copermine?
Post by: mstralka on September 10, 2004, 12:19:44 PM
Please do not double post (Gaugau will remove them).  To my knowledge nobody has integrated ExpressionEngine.  Maybe you should explain what it is, what it does, etc.  Please feel free to write a bridge, or hire someone on the Freelancers board to do so.
Title: Re: Coppermine Port for EE?
Post by: Casper on September 10, 2004, 01:19:48 PM
Sorry, there is no bridge/port available, afaik.  We do not write the bridge files,  unless they are for bbs apps we actually use, as we don't have their code, and we wish to concentrate on coppermine.   

Most bridge files are user submissions.  Perhaps someone at pMachine can create a bridge file.  Take a look at the current ones and see if they can be adapted to suit.
Title: Re: Coppermine Port for EE?
Post by: Joachim Müller on September 10, 2004, 09:23:21 PM
merged three identical threads, that all got answered by different supporters. Thanks for stealing our time. >:(, especially after you already have gotten an answer to your first posting before you posted the second one).
It makes people very inclined to look into the issues you're facing if you keep misbehaving ::).

Joachim
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on September 11, 2004, 09:37:52 PM
I was looking at this before, EE is crying out for an image gallery.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Joachim Müller on September 12, 2004, 08:42:20 AM
...but it's a commercial application. No problem with this in general, other apps that are not free (as in "free beer" this time) have bridge files (like vbulletin or wbb), but those bridge files have been contributed by users. I wouldn't expect open source developers to dive into developing a bridge file for a commercial product, enhancing the extra value a user gets when purchasing that commercial app. If the developers of the app (EE in this case) or their users feel the need for a bridge file, they're welcome to create one, but you can not expect us (the coppermine dev team) to create one for you - there are lots of apps for which users request bridge files to be created, but only very few actually get done, as you need a good understanding both of coppermine and the other app to come up with such a bridge file.

Joachim
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on September 12, 2004, 02:42:04 PM
I see things a little differently.

The EE dev team were good enough to allow me a developement version of the software to play with and I have a bridge file working within a few hours of downloading it. Making bridge files is quite easy.

Secondly I'm not interested in enhancing the value of their commercial product, my goal is to make coppermine more useful to more people, that's my priority.

They are releasing their module API docs 'soon', and I will be looking into creating a coppermine module for EE.


If you want to test the bridge, dl it from this post and rename it. You will need to add a new define into init.inc.php for it and change the require path at the top of the bridge file.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Joachim Müller on September 12, 2004, 03:09:33 PM
Nibbler,

don't get me wrong: of course both dev team members as well as users of any app are welcome to look into creation of bridge files - if you came up with a bridge file that's fine: all will benefit from such a bridge file (The EE people as well as coppermine, which will get more popular if there are more apps it can be integrated with). I fully agree with creation of bridge files, and I welcome you creating a bridge file for EE/pMachine. I just wanted to point out to nextech2  and others requesting a bridge file for "their" app that there's no saying if a bridge file will be created for some app or not; and I wanted to state that usually we (the dev team) can't create bridge files for every app that is out there (as there are thousands).
I'm looking forward to the "official" release of the pMachine bridge file (in cpg1.4.0?).

Joachim
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 19, 2005, 04:59:28 AM
does anyone know how to write the define fr the bridge that was written?  i am trying to use it buy am not sure what and where to put things?

thanks
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on January 19, 2005, 01:00:43 PM
It's the same as any other bridge file, remove the .txt ending, dump it in your bridge directory and add a define into init.inc.php like those already in place.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 20, 2005, 04:12:26 AM
maybe I am just stupid or something but when i add the define do I need to call it 'ee' or 'expressionengine'?  also I just tried it and get this:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /Library/WebServer/Documents/jasandkel/gallery/cpg/include/init.inc.php on line 183

Fatal error: Call to undefined function: breadcrumb() in /Library/WebServer/Documents/jasandkel/gallery/cpg/index.php on line 159

any suggestions?

thanks
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on January 20, 2005, 06:07:51 PM
Post what you have changed. The define is supposed to match the name of the file, the file is named ee.* so the define must be ee.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 20, 2005, 10:30:26 PM
i added define('UDB_INTEGRATION', 'ee'); to the /include/init.inc.php file.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 20, 2005, 10:33:25 PM
i almost forgot, i also changed the require ('../system/config.php'); in the ee.inc.php file to reflect my installation of EE
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on January 21, 2005, 11:13:28 AM
Unless you post what you actually changed to cause the error I can't really help you.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 21, 2005, 05:19:17 PM
i guess i don't understand what you want me to post.  there were two things that I changed. 

i added define('UDB_INTEGRATION', 'ee'); to the /include/init.inc.php file and then changed require ('../system/config.php'); by changing the name of the system folder in the EE installation. 

i didn't touch anything else.

would changing the name of the system folder be the reason for the error?
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on January 22, 2005, 05:45:33 PM
If that is what you have done there would not be a parse error. The fact there is a parse error means you have changed something else, so either post the code you changed or attach the whole init.inc.php (renamed) to your post.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 23, 2005, 05:24:43 AM
here are the files that I changed.  i don't know what i could have missed.  thanks again for all of your help!
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 27, 2005, 03:49:52 AM
well any ideas as to what oculd be wrong? 

thanks
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on January 28, 2005, 02:12:06 PM
I can't see the source of the error. Start again with a fresh copy of the file from the package or cvs.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on January 31, 2005, 05:37:43 PM
i get the same parse error.  ??? 

i don't know what the problem is.

could i have put the directory into the ee.inc.php file wrong?  would that have done it?


thanks
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: Nibbler on January 31, 2005, 05:59:19 PM
Try the attached version of the file, maybe you are editting it with something weird.
Title: Re: Integrate Coppermine with ExpressionEngine (pMachine)
Post by: jrlovo on February 01, 2005, 02:15:39 AM
Nibbler

thanks for all of your help downloading the new files and going from there fixed the problem and it is working fine now.

thanks again
jason