PDA

View Full Version : Coppermine


jns
October 30th, 2003, 10:53
Has anyone looked into porting Coppermine into a MOS component? It's already been done for PHPNuke and e107 and it's licensed under GNU GPL.

http://coppermine.sourceforge.net/

mamboSkins
October 30th, 2003, 13:17
just want to add that I use coppermine on a few sites and i really like it. I tried Galleria, gallery, and so many others, but i have to say that Coppermine is tops IMHO. I hope someone will port it to MOS.

Darksied9
October 30th, 2003, 17:41
I have the code all torn apart for coppermine, and am working on it. This is NOT a priority to me, as I have money to make at the moment. But, that is not to say it won't be done. I have an idea for a site using coppermine and Mambo, but once again....My son needs to be fed, and the OsC port has alsmost broke me due to the loss of the contract it was created for in the first place.

Darksied9

richardhertz
October 30th, 2003, 20:00
I prefer 4images from www.4homepages.de

More features!

Darcy Moen
www.customerloyaltynetwork.com

audiotherapy
October 30th, 2003, 21:00
chk out akogallery, works great w/ mambo. onlyproblem im having is the thumbnail generator.

and i dont think user upload are implemented yet.

mamboSkins
October 30th, 2003, 23:40
[code:1:2a816fbdb4]I prefer 4images from www.4homepages.de

More features!

Darcy Moen [/code:1:2a816fbdb4]

Indeed 4images is also a nice gallery, but it is not 'open source', it has licsensing issues, where Coppermine is GPL. Most open source developers will not work on porting non-GPL software for that reason.


Coppermine has built in e-Cards (visitors can send any of your gallery photos as ecrad with custom message), view gallery as slideshow with image transitions, templates, comments, rating....it has tons of features. :wink:

mamboSkins
October 30th, 2003, 23:45
I have the code all torn apart for coppermine, and am working on it. This is NOT a priority to me, as I have money to make at the moment. But, that is not to say it won't be done...


thats great, keep us posted, can understand that its not a priority.


[code:1:5a3a33562d] the OsC port has alsmost broke me due to the loss of the contract it was created for in the first place. [/code:1:5a3a33562d]


man, thats sad to hear....i for one will donate to your cause if I ever use your port of OsC. I hope others will too, but I also know the mindset of the typical mambo user...take everything for free and not donate....sad but true.

Jason407
October 30th, 2003, 23:45
Yeah, Coppermine is awesome!!!!!

There has been talk of integrating it for some time...I even made an attempt to integrate it into 4.0 a while back, but eventually gave up. :cry:

It is a complex script to integrate, but whoever does it will get my first born child!!!!!*

*First born child offer not valid in the continental United States or any other Continent on the Planet Earth.

infra-greg
November 2nd, 2003, 21:06
Yep, Coppermine IS DA gallery :) Almost every user sings its praises.

I've also heard that its very tightly coded and complex (and why its taken so long to make it to postnuke (part integration anyway), etc, etc.

But its ported to phpnuke and a guy called McFly ( it think) has done a perfect port for e107.

Maybe a look as to to how that was achieved might help...

If it ever ports to Mambo, we'll have one kick *** CMS.

till later...

mendeltje
November 13th, 2003, 16:55
A fantastic port of coppermine has been made for Xoops 2, maybe that can help some of you developers? I'm no good at it, I'm just getting better and better at reverse engineering, but that doesn't help here.
I'm currently testing both Xoops 2 and Mambo 4.5 (with a slight preference for Mambo because of the easier way to add articles, (though why you can't add articles to your frontpage, but just news items, completely beats me) and the simplicity of the theming (it's easier to make it NOT look like a portal than Xoops), but there are some things I like better about Xoops (user ACL and the Coppermine port for example).

Anyway, I read on the coppermine-forum that there is a way to integrate coppermine in Mambo through the use of iframes, but I haven't figured out how just yet. And this Iframe won't solve the double logon for now...

Anyway, Mambo is a great system, so if anyone can integrate coppermine, I'd be much obliged (and an extra step further in deciding to use Mambo, but don't let that little bit of blackmail influence you).

Best, Mendel

Xirtam
November 14th, 2003, 21:27
I used Coppermine on http://www.wittebal.nl with IFrame.
Indeed, it isn't the right solution.

Anybody read this?
http://www.rentacoder.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=79391
Darksied, what was the result of this request?

Darksied9
November 14th, 2003, 22:12
Unfortunatly, I have used freelance developers on several projects, and a few of them have turned into nightmares. I have taken the Coppermine port back internal, along with most of the OsC development to 4.5 versions.

However, rather than create a port of the existing software, we are looking at creating a completly new gallery compnent with the features of gallery & coppermine. Some snippets of the code from either port may be used. The reasons for this are:

1 - When dealing with Coppermine or Gallery you are dealing with a product that allready have the interface, templating system, and language interfaces created. This requires you to strip it all out, and rebuild it as needed to fit the Mambo structures.

2 - The paths and image directories are allready setup for the existing software. This makes changin the file structure to match Mambo difficult as well.

3 - Creating a new project allows us to build with MAMBO at the CORE of the project. There are many features of Gallery & Coppermine that have been created specifically becuase they ARE standalone, and not part of an existing CMS (Mind you, the best CMS). Really, strating from scratch, but learning from their architecture and mistakes is the BEST way to do it. The project is next on my list, and I am looking forward to developing it.

I have actually been looking hard at the AKO Gallery code, and feel that it would be GREAT as a starting point for such a development, and am soon to be contacting the author to see if we can work togther on this.

Ted

ktizo
December 11th, 2003, 13:31
http://www.myjoochiat.org/cms/index.php?option=com_albums&Itemid=61

Jason407
December 11th, 2003, 13:39
Nice site ktizo...is it yours? :D
Great job with the Coppermine, can hardly tell it is in an Iframe. :wink:

bingster
December 11th, 2003, 17:21
iknow that Coppermine is a good gallery, but why put so much effort in porting a gallery wich is so complex that it´s pulling out teeth´s from most developers in here. Why not support the Ako Gallery wich has come to a stage that is mighty fine, and create the features you r missing so much ?. If you take a look at mamboportal.com you will see that brandon has made a fully integrated admin Batch Upload function ( the most wanted feature to date ) and it works like a charm.

Just my opinion
Mike

koolitz
February 8th, 2004, 04:04
http://www.myjoochiat.org/cms/index.php?option=com_albums&Itemid=61

can users in your MOS upload pics on your coppermine?

burnitall
February 8th, 2004, 04:57
http://www.myjoochiat.org/cms/index.php?option=com_albums&Itemid=61

can users in your MOS upload pics on your coppermine?

This is one of the most important fetures to me since i am building a family site and don't want to give everyone admin acess to upload to AKO so i used Gallery with Iframes so my family could upload using Gallery Remote making batch upload so simple. I am thinking of checking out Coppermine now that I seen koolitz site looks very nice.

http://www.hanseproductions.com/component/option,com_wrapper/wrap,Gallery/

But a integrated solution is needed so that users crose over and there is no need for Iframes since they suck and look bad most the time. You also have to set up two templates and changing them is not easy since you have to match them up.

silid
February 12th, 2004, 17:43
while converting a clients site to mambo we had the challenge of dealing with his coppermine gallery

we have made a breakthrough in integration with mambo

we now have the coppermine using the mambo template - currently it uses its own admin system (which i am fine with as works well enough if admin user) but it has inspired me to want to make a nice package for us all to use as i searched for ages for a method to it.

so - if anyone has written a bridge pack for using the mambo user db - that would be great, and pretty much completes it. - this hasn't bothered us as only admin uploaded anyway - so he just has to log in a second time to manage the gallery as he did before

jomaco1
February 12th, 2004, 17:46
Wow! We all love you!...sniff..

tjay
February 28th, 2004, 07:18
I will hope for the best here.

I use ako gallery now. It is a fine product.
It is missing the user upload, user galleries, and post card features.

I really miss coppermine.

TJay

antonio
March 23rd, 2004, 09:59
Although I must admit the Mambo Wrapper is great...it does not resize coppermine all the time. I believe you have to play with the CSS in order to comply with the template you are using in the CMS.

Hopefully we will have Coppermine as the main standard photo gallery for Mambo.

Antonio

tjay
March 23rd, 2004, 10:17
That would be sweet indeed.

In the meantime, you can do a lot with coppermine to build it into the wrapper with good results.
I have another thread open that If I can resolved will work on the basis that you can make the gallery open to all and avoid the second login. The problem is, if someone has an url, they can bypass Mambo and go straight to the gallery.

If you can build a test into coppermine to die if it is not in a wrapper then people can not access it directly from the web.

If only people who get to it from my Mambo wrapper can open it, then I can grant the public group access to upload and the works.

TJay

silid
March 23rd, 2004, 10:22
hello folks again

the way my copy works is using its own url but it uses the mambo template making it look great

antonio
March 23rd, 2004, 10:32
Silid,

Did you modified the wrapper yourself in orde to achieve this or you created a totaly new component?

Can you provide a demo link if you have one?

Thanks....

silid
March 23rd, 2004, 10:56
what i have is a custom component in mambo for defining the layout of the template

we made a small code change in coppermine to allow parsing of php in the template and then had the template do an include of the mambo page with layout defined

viewable here http://www.oleonline.com/gallery/

note that we have done loads of customising - including mambo core for other effects and features.

i would love to get this tidied into a nice package for everyone else and here is what i think is required to do it nicely:

• proper user bridge files doing
• nice back end for defining template layout with htmlarea (mine is hardcoded)

i think regular picture admin still has to be done from front end really

is there a way of having different buttons in html area depending on the component - ie for this urpose we would want some that have coppermine stuff in {} and not mos stuff?[/list]

sharks
March 25th, 2004, 14:27
Hi silid, that looks like a great job you have done. I have Coppermine wrapped, but it would be much better if I could see the proper URLs etc as you have done. To me where the admin is done isn't important at all, and even the user integration isn't real important (though of course it would be nice).

Anyway, I just thought I should let you know that if you do release it I think many would appreciate it! :D

antonio
March 31st, 2004, 13:20
Silid,

The component that you are using is great...does it automatically change the css according to the Mambo templates or you have to do this manually?

Will you make this available to whole community?

Or are you still testing the code...?

I would like to try it out...

Anyhow..let us know.

silid
March 31st, 2004, 16:33
hi folks sorry i have been a little quiet about it but i do have some holiday now and expect to see a resource soon (i know i predicted a release before but now i really do have some time)

it will be little more than i have been using here but will come with good instructions for implementing.

the gallery will use the exact template the mambo uses and will switch as the mambo template switches

stingrey
March 31st, 2004, 18:52
Look forward to hearing more about his silid especially as coppermine is used by quite a few people.

And since an integration with Mambo is unlikely, a better way to integrate the templating of the two systems would be the next best thing.

antonio
April 2nd, 2004, 05:12
Silid,

Thanks...for your reply. Looking forward to that great component...

dalon
April 5th, 2004, 14:35
hi folks sorry i have been a little quiet about it but i do have some holiday now and expect to see a resource soon (i know i predicted a release before but now i really do have some time)

it will be little more than i have been using here but will come with good instructions for implementing.

the gallery will use the exact template the mambo uses and will switch as the mambo template switches

Any news on this great promise? :D

Michelle Bisson
April 5th, 2004, 19:38
This would make a great project to set up on MosForge.net.!!!

Quizzey
April 8th, 2004, 04:58
Does anybody know how coppermine was included here?

http://www.myjoochiat.org/cms/index.php?option=com_albums&Itemid=61

It's not in the wrapper component, well at least I don't think so as I can't see /option,com_wrapper anywhere in the address.

jpowell
April 8th, 2004, 07:13
[/quote]Darksied wrote

I have actually been looking hard at the AKO Gallery code, and feel that it would be GREAT as a starting point for such a development, and am soon to be contacting the author to see if we can work togther on this. Look foward to your progress [/quote][/url]

I have been using Ako gallery and like it - would be good to see it progress further :D

frankae
April 8th, 2004, 09:22
@Quizzey

It's an iframe and not very clean as it cuts the page on some pages. Open http://www.myjoochiat.org/album/

I don't believe they have integrated authentication with mambo. They just took out all authentication related functions from coppermine, so no user uploads, no commenting, and no viewing restrictions.

antonio
April 8th, 2004, 11:04
Don't get me wrong, but I really like Akogallery a great deal. It would be great for this component feature to be extended to the capabilities of coppermine.

I can't wait for Silid's component......

antonio
April 12th, 2004, 07:47
http://www.mamboland.de/com_static.zip

tjay
April 12th, 2004, 08:49
This works for static web pages, I am not sure it would work to call a index.php file that runs an app.
Plus you still have the problem with integrated logins, and someone accessing the index.php file directly.

I have been hoping for a long time that Coppermine would be integrated but I have started to accept that it will not.
In that frame, I am now watching for the next releases of AKO and RSGallery.
Both are promising big changes and if they deliver then I will have the features I want running in the integrated Mambo world, and hey that is all we really need.

I was watching the Gallery progress as well, and I hear a release is coming to address those issues as well, it is a good product, but from what I have read needs some maturity with Mambo.

Still I will watch this thread for updates. Mambo and Coppermine in the same sentence allways stops me in my tracks

silid
April 19th, 2004, 18:14
well folks - my holiday is flying by and still i haven't released any files :(
been too busy with some personal web projects

however i have setup the mosforge project http://mamboforge.net/projects/coppermine/ so keep an eye on that over the next day or two

i have some ideas on how to integrate users now too

(this is going to be good)

si

mamboindo
April 20th, 2004, 02:42
This works for static web pages, I am not sure it would work to call a index.php file that runs an app.


No, It does not work. I already tested that. It has big impact on the pathways. Forget that solution. My idea was similar as described earlier. I uploaded Coppermine to my site and installed it in a "static" directory. Than I made a call to the index.php . My entire screen was red from the error messages. I went through some .php-files and changes about 25 pathways and after changing testing them one by one. However I gave up
This is not the way!

______________________________
mamboindo::keeps on smiling 8)

rknuppel
May 7th, 2004, 05:42
Any word on when this will be released? I can't wait to integrate Coppermine into Mambo!

silid
May 9th, 2004, 15:41
ok here is the latest story - some time ago i released my current files on cvs only - this is what i have had working, however i will be developing further

they currently do not work properly for a frontend registered user (as opposed to a backend user) and is best not to have a frontend login box of anykind (the site will still work but the login wont work properly on coppermine pages)

as i say i will be developing into a proper component - probably for 4.6 the way things are heading

(i am doing a webmin/usermin theme that actually looks good (based on phpadsnew) and is easy to use at the mo, will be done in the next few days)

si

Michelle Bisson
May 9th, 2004, 16:49
silid,
Keep up the great job!!! Lots of people are interested in Coppermine?

sharks
May 10th, 2004, 23:09
we made a small code change in coppermine to allow parsing of php in the template and then had the template do an include of the mambo page with layout defined
Hi silid, I know I should be patient, but I was looking at your CVS files, and I think I basically understand how they work (could be wrong! :D ) Your approach is very clever!

The main obstacle I have is I think what you are describing above - getting Coppermine to parse the PHP in the template.html file. Is this a hard change to make? I have searched on the Coppermine boards and could not find a way.

If I could get over that I think I could be well on my way to what I need (I'm not really worried too much about integration of users etc)

Thanks heaps!

rknuppel
May 13th, 2004, 05:18
Man... I'm having a heck of a time getting Coppermine login to work with the Mambo login. Anyone get this working yet? What is the temporary solution for me? I would like to avoid the second login, but would still like for people to have usergalleries and everything.

Thanks for your hard work silid.

taucher
May 18th, 2004, 11:49
i also want to use coppermine. ist there a bridge for mambo available, so that useres have to register and login only one time?

and if - where can i download the bridge file?

sharks
June 9th, 2004, 21:35
Well I hope you won't mind me exploring this a bit more, silid.

The main obstacle I have is I think what you are describing above - getting Coppermine to parse the PHP in the template.html file. Is this a hard change to make? I have searched on the Coppermine boards and could not find a way.
Answering my own question:

in CPG 1.2.1, you can do this by going into functions.inc.php
and looking for $template = fread(fopen($template_file, 'r'), filesize($template_file));
replace this line with:

ob_start(); // Start output buffering
include ($template_file); // Parsed file goes to buffer
$template = ob_get_contents(); // Assign buffer to $template
ob_end_clean(); // Clear buffer and turn off output buffering
From: http://coppermine.sourceforge.net/board/index.php?topic=2988.0

The basic thing, i.e. getting rid of the wrapper and just using the URLs, is working for me now (all I did was install your component, make the above code change, replace the template.html in my theme with your template.html and add the Coppermine styles to the Mambo style sheet. I also tried a couple of similar approaches without using the component).

It works perfectly on localhost. The only catch is my web host's PHP policy does not allow me to open an URL using the file() function, as needed in the template.html:

$url=$mosConfig_live_site."/index.php?option=com_coppermine";
$template=join("",file($url));
That is, allow_url_fopen is off in the PHP configuration.

I'm sure I'll be able to find a workaround though (it's close to working with some includes), but maybe you might want to keep this in mind for others, as I imagine this could be a common restriction on web hosts.

Cheers!

omniscientdeveloper
June 10th, 2004, 22:53
Joining you guys late on this discussion:

I'm on the Coppermine dev team, and I am also looking at integration with Mambo. I'm willing to work with anyone (Silid?) to do this seamlessly.

-omni

stingrey
June 11th, 2004, 02:28
I'm on the Coppermine dev team, and I am also looking at integration with Mambo. I'm willing to work with anyone (Silid?) to do this seamlessly.
This absolutely fantastic news.

Coppermine is hands down the best Photo Gallery program around and being able to integrate it seamlessly into Mambo would be a boon for a legion of users.
Its got to be one of the most requested integrations into Mambo.

Hopefully you can find someone to help you with this.

I'll be keeping a close watch of this thread.

omniscientdeveloper
June 11th, 2004, 06:52
Yea. I'm guessing that it shouldn't be that hard. It'd be good if I knew a bit more about the Mambo code, but I only have 6 hours of experience with it. What I think I'll have do is rewrite some url generation code in Coppermine, and make a bridge file. I don't think we'd be able to change the templating system anytime soon though.


I'm going to use that neato wrapper, until it's done though. :)

jazzy
June 11th, 2004, 07:18
I think it more important to have single login system.
Maybe if this bridge will be invited, it would be more easier to integrate mambo and Invision Board to, cause coppermine and invision already have bridge.
and it was possible to to integrate invision skin to coppermine.

So I hope this possible for mambo too.

indafastln
June 12th, 2004, 15:11
I think it more important to have single login system.
Maybe if this bridge will be invited, it would be more easier to integrate mambo and Invision Board to, cause coppermine and invision already have bridge.
and it was possible to to integrate invision skin to coppermine.

So I hope this possible for mambo too.

ditto. akogallery and rsgallery are nice galleries, and simpleboard & phpbb are functional... but i'd love to have coppermine & invision fully incorporated into mambo

fijian
June 14th, 2004, 17:46
looks like you guys wishes came true.

Take a look at http://mamboforge.net/projects/coppermine/
they havent released any files yet but its comming.

As for having coppermine in frames.. the wrapper component is used to wrap coppermine within an iframe in mambo. The problem with loggin in twice is somewhat solved with a downside by using only the coppermine registration and login and having mambo as an empty shell around the user area in coppermine. You could also port coppermine to phpbb and then use the phpbb registration and login to keep your users, giving you a forum and gallery and any other port to phpbb like blogs etc within your mambo frame.

The problem is you wont be able to use any of the mambo user specific features. The reason some chose phpbb and coppermine over hte mambo user system was simply because of the belief that the mambo lacked user features since it only gave 4 to 5? fields in registration and none of the later extensions smoothly intergrated with each other.

I was suprised yesterday to find that mamboforge.net had more than all the solutions to the user issues (for those with clan and community based sites).

The userlist extended (userlistxtd) component http://mamboforge.net/projects/userlistxtd/ extends user list to show the member registration, user extended registration, mypms2, profiler (imageand partystaff together. most all you need. It would be great to see a link to the coppermine users gallery, blog and homepage with userlistxtd.

I would be even better to see registration that merges all these together though. For the moment (at my site) Im going to have to just put a module for optional further registration at the top of the registration page with links to each component in a sucession, or something like that so registering of one user takes care of all of the components thus creating their entries in each component shown by userlist extended. :razz:

Then just group all those links together in the usermenu so they can edit create each registration task (all those unconnected registrations: blog, partystaff, profiler) they missed at initian registration.

For the moment lets wait for coppermine.

sharks
June 15th, 2004, 00:02
looks like you guys wishes came true.

Take a look at http://mamboforge.net/projects/coppermine/
they havent released any files yet but its comming.
That's silid's project, and the basic idea works very well (there is no user integration at this stage though). The template.html file of Coppermine uses an include statement to include the Mambo component Silid developed (which basically just transfers the {ADMIN_MENU} and {GALLERY} statements from template.html to a Coppermine component, and then uses some clever regular expressions to fix up the URLs. How far this is from a full Coppermine component I don't know.

I hope you can get onboard with silid, omniscientdeveloper. Your video addition to Coppermine was great stuff!

-----

And further to my last post, regarding problems with allow_url_fopen, I did come up with a workaround. It is far from perfect, as it causes a lot more problems with URLs and includes in Mambo (requiring bad hacking) than your original way, silid, but if it helps at all, I use this in the Coppermine theme's template.html:

<?php
chdir("..");
ob_start();
include("galleryindex.php");
$template = ob_get_contents();
ob_end_clean();
$template=preg_replace('/('.chr(60).'[^>]*)(href|src|action|link|background)="([^\/:"][^:"]*)"/si',' $1$2="'.'../'.'$3"',$template);
echo $template;
chdir("gallery");
?>


This includes a file called galleryindex.php in the Mambo root directory which is basically a copy of the Mambo index.php. This can either directly contain the {ADMIN_MENU} and {GALLERY} statements, or as I'm currently doing it, include a second version of the Mambo template's index.php which includes these statements, rather than the original Mambo template's index.php. If that sounds confusing, it's because it is! But with all respect to the wrapper component, getting rid of the frame is worth it for me.

And a final quick note for anyone trying any of this: I spent half a day trying to work out why the new gallery index was blank when including the Mambo page. The problem: I had gzip compression on in Mambo. Turned it off and problem solved. Thanks again for the great work, silid.

sharks
June 15th, 2004, 00:15
I just realised Coppermine has gone to 1.3 stable. Great news... wish I had noticed a few days ago though! That's the downside of hacking...

silid
June 17th, 2004, 09:09
Hi folks, great news,

I have just spent a couple of hours on it and have had great success. On my demo I am running coppermine with users integrated with mambo. We may see a release TONIGHT!

(I know promises, promises...) Just watching England play the Swiss at the same time.

Si

tonyskyday
June 17th, 2004, 09:14
Hi folks, great news,

I have just spent a couple of hours on it and have had great success. On my demo I am running coppermine with users integrated with mambo. We may see a release TONIGHT!

(I know promises, promises...) Just watching England play the Swiss at the same time.

Si

This is great news!

I can't wait. :)

ac07080
June 17th, 2004, 10:36
YES!!!!!!

Silid, you have a online demo? [nevermind, just went through the thread again and found your link]

Thank you for working on this. I'm sure many of us are anxious to test it for you.

stingrey
June 17th, 2004, 14:16
I have just spent a couple of hours on it and have had great success. On my demo I am running coppermine with users integrated with mambo. We may see a release TONIGHT!LIke the others, I'll say that this is great news.

Have you been in contact with omniscientdeveloper, silid?

ac07080
June 19th, 2004, 19:55
just dropping by to see how things are coming along ... are you both working together on this now?

Goanna
June 21st, 2004, 13:18
Thats awesome news Silid! I have been waiting for a long time for a mambo/coppermine integration :D.

tueti
June 21st, 2004, 14:48
Hi silid, i am very interested in your Webmin/Usermin Theme. Any News about?
Because there is nothing "good looking" out there. Please send me a feedback if possible. thx tueti

ok here is the latest story - some time ago i released my current files on cvs only - this is what i have had working, however i will be developing further

they currently do not work properly for a frontend registered user (as opposed to a backend user) and is best not to have a frontend login box of anykind (the site will still work but the login wont work properly on coppermine pages)

as i say i will be developing into a proper component - probably for 4.6 the way things are heading

(i am doing a webmin/usermin theme that actually looks good (based on phpadsnew) and is easy to use at the mo, will be done in the next few days)

si

NorthernMunky
June 22nd, 2004, 06:29
Any news on a release date for this very cool component?

:grin:

RSM
June 30th, 2004, 01:02
Maybe what MOSforge needs is a progress meter ;-). Echo NorthernMunky's query. Is there any news on progress with this integration?

Darksied9
July 1st, 2004, 10:39
I would be willing to pop in some help with this as well. I had started it a while back, but MamCom kept taking up most of my time.

Ted

Nunners
July 6th, 2004, 00:49
Hi guys,

I've had a look at the files on the CVS, and can't really make head-nor-tail of how to use it.... can someone give me a pointer....

Also, please please please, can someone give an idea of a stable release date?

Cheers
Nunners

suat
July 6th, 2004, 09:03
I'm looking forward to the eventuel release of Coppermine for Mambo. Bit it seems the CVS is not updated for the past 1 to 2 months. Is this project completely abandoned or isn't the CVS used at all? If the project is abandoned wouldn't it be a good idea to announce this at least? Maybe someone else could pick this up as Silid seems to have abandoned the project unfortunately.

silid
July 6th, 2004, 12:11
sorry folks - i work freelance and study full time so some times i do lots on it and (more often) i do nothing. however a few weeks ago i sent some people a bridge file for coppermine which would make it work in a wrapper for now and full integration later, but i got no response as to how effective it was either way. i am now going to post it here let me know what you think.

si

Bridge File (http://forum.mamboserver.com/attachment.php?attachmentid=67&stc=1)

Here is a mambo bridge file, i hadn't done this for the one i linked to in
the forum, i think it will work for iframe but not my current template
hack - anyway, i did it yesterday so it could do with some thorough testing,
let me know how you get on.

I on my current test i have coppermine installed in
/components/com_copeprmine/ but i think it could go anywhere as long as it
is on the same domain. I have no template integration on this incarnation so
i am not using wrapper ro my last hack but i think wrapper should work, but
i going to work on a more complete integration.

I think their maybe issues relating to group membership and permissions so
that needs testing the most. Any other ideas you got, let me know.

Si.

omniscientdeveloper
July 8th, 2004, 17:28
Thanks for the bridge file. I had started the same thing and got it about 3/4 complete. It was slower for me though, because of my lack of experience with Mambo. I'll try it out later today and let you know how it works.


-omni

Nunners
July 9th, 2004, 00:04
Can someone give some details about how exactly to use the bridge file - I think I'm probably being a bit slow, but I can't work out where to put it....

Cheers
Nunners

omniscientdeveloper
July 9th, 2004, 10:33
Edit the mambo bridge file that silid supplied to make sure it has the correct information for your setup. Put the bridge file in your Coppermine "bridge" folder. Edit init.inc.php and add this line:

define('UDB_INTEGRATION', 'mambo');


I still haven't had the chance to test the bridge file yet, but these instructions should work.


-omni

Nunners
July 10th, 2004, 01:15
Hi omni,

That makes perfect sense, I'm still not sure though how you actually display the component within Mambo?

Cheers
Nunners

Nunners
July 11th, 2004, 09:41
Hi All,

further to my previous message, I've got the bridge file working, and understand that that is purely for user integration - which unfortunately, while it maybe be useful, is not what I really wanted. What I'm looking for is a way of integration my coppermine gallery into the main pages of my Mambo CMS.... Does anyone have a suggested way of doing this - and iframes get's too messy for my liking... hence why I tried teh wrapper component and didn't really like it's result.

Cheers
Nunners

DefenceTalk.com
July 14th, 2004, 18:55
Hello,
I posted this in General questions forum:

Hi,

We just added another section at our website:
www.defencetalk.com/wdb < which is using mambo CMS.

We are also running coppermine gallery software at:
www.defencetalk.com/pictures

Anyway to extract/feed pictures from gallery into the mambo content pages?

For example:

Say in the gallery we have album id 16 for F-18 fighter jets and we have an article on F-18 on the mambo CMS. Anyway to extract F-18 images from say albumid=18 and it publishes some thumbnails from that album over to F-18 article plus link the album for "MORE" pics/thumbnails?

I see coppermine component is under development... any idea when it might come out?
Please help.

Thanks!

What does the current bridge file do? Just allow similar user integration or anything else as well?

THANKS!

globo
July 16th, 2004, 03:05
Hi everyone,

with 8 Pages so far in this thread I've kinda lost track of what the current state of tings is.

So I'll wrap it up up from behind and hope that someone can give me an answer.

I have Coppermine and PHPBB bridged so that coppermine uses PHPBB userdata. Do I get it right that currently there is a bridge that Coppermine uses MAMBO userdata.

So is there a way to have PHPBB handle all userdata for coppermine and MAMBO and integrate PHPBB and Coppermine visually into MAMBO?

I know that that has not sucessfully been done, but how are chances that it will be done in the near future (2-3 months)?

If not does anyone know of a similar working setup?

Thanks a lot for your patience and (hopefully) your replies.

globo

silid
July 16th, 2004, 05:23
are you using the phpbb component for mambo or standalone or another?

i havent tried that but my understanding is that if you are using the phpbb component then it wouldnt really matter whether you uised the phpbb bridge or the mambo bridge as they would both integrate with the users, but using different tables.

for those of you that want to see some sort of integration for templates, the only one currently available is the one on cvs, really it needs doing properly like the phpbb component - i will get around to it eventually but otherwise if there are any volunteers?

si

silid
July 22nd, 2004, 06:15
i could really do with some feedback from those that are using the bridge file, anyone?

mmx
July 24th, 2004, 18:29
I can't seem to get a copy of the bridge file off of the earlier post in this thread and am getting an error message. If someone could email it, I have Coppermine wrapped and running in both 4.5.1 and 4.6.

simstim
July 25th, 2004, 02:43
i could really do with some feedback from those that are using the bridge file, anyone?I installed it and got the following error:

Notice: Use of undefined constant usercookie - assumed 'usercookie' in c:\Domains\isasa.info\wwwroot\gallery\bridge\mambo .inc.php on line 80

I am using a Windows server with PHP5 though, so it may have something to do with this and not the bridge file.

mmx
July 25th, 2004, 08:24
Try the 4.5.1 beta 3. It's includes the first batch of changes to work with PHP5.



I installed it and got the following error:

Notice: Use of undefined constant usercookie - assumed 'usercookie' in c:\Domains\isasa.info\wwwroot\gallery\bridge\mambo .inc.php on line 80

I am using a Windows server with PHP5 though, so it may have something to do with this and not the bridge file.

simstim
July 25th, 2004, 20:48
I've installed beta 3 (which is rather nice BTW) but I'm still getting the same error. I'll try it on a Linux install and see what happens.

Try the 4.5.1 beta 3. It's includes the first batch of changes to work with PHP5.

mmx
July 26th, 2004, 01:35
Be sure to post any problems you find as bug reports on mamboforge.net. I believe that Robert is working on this and am sure he would appreciate your input.

I've installed beta 3 (which is rather nice BTW) but I'm still getting the same error. I'll try it on a Linux install and see what happens.

mmx
July 26th, 2004, 01:54
silid... please send me email or leave a pm for mmx. I have some time to help on this and have some questions.

mmx
July 26th, 2004, 04:09
I think 4.6/5.0 will handle this in a different way (not sure yet), but would it make sense for the Coppermine uploads to be stored under /images/stories/ for 4.5.1.0.9 and 4.5.1. Then the images could be accessed by MediaManager and added to content using plugins.

Some feedback would be appreciated.

simstim
July 27th, 2004, 00:13
I've tried the bridge file on a Linux install of 1.0.9 with PHP4, and I get the same error.

decrease789
July 27th, 2004, 10:31
Any idea on an ETA? I would post how my bridge file is doing but I do not know how to get anything working using this I have edited it for my installation now what do i do put a link to /bridge/mambo.inc.php ????

sikka
July 31st, 2004, 08:48
I dont understand how to make my coppermine show up in mambo... any tips?

sharks
August 4th, 2004, 05:26
are you using the phpbb component for mambo or standalone or another?

i havent tried that but my understanding is that if you are using the phpbb component then it wouldnt really matter whether you uised the phpbb bridge or the mambo bridge as they would both integrate with the users, but using different tables.

for those of you that want to see some sort of integration for templates, the only one currently available is the one on cvs, really it needs doing properly like the phpbb component - i will get around to it eventually but otherwise if there are any volunteers?

si
I'm going to try and give this a go (the visual integration), basing it on the phpbb component.

I have my gallery basically integrated based on a variation of your method (http://sharks.4eva.com/gallery) but it would be nice to make it a redistributable component using the latest versions, as I had to hack mine a lot.

Looking at the phpbb code it is not that hard to do the same, just time-consuming and need to be careful. The main task I can see is just to correct the URLs and file paths in Coppermine, while trying to make as few changes as possible and keeping it nice and neat for the future. I will put in a couple of hard days on this, and make sure if I am still confident. The first bit isn't too hard at all, as I already have Coppermine showing up in Mambo, but creating a nice component is clearly a reasonable committment.

omniscientdeveloper
August 4th, 2004, 21:53
I'm using the bridge file, however, I had to do some editting. There were a few bugs in the SQL statements, not to mention the "usercookie" error described above. I copied the version that I have to the devel CVS branch on the Coppermine site.

http://www.brownfloyd.com/gallery/ is where I use a converted version of the mambo bridge file. I converted the bridge file into a plugin. There's a plugin API for Coppermine, which we're going to release with 1.3.2.

Here is one bug that I've found in the bridge file:

There are two cookies created by Mambo, a "sessioncookie" and a "usercookie", since you only read the "usercookie" a session can expire while a user is browsing coppermine. It should update the Mambo session table (I think) with the current time to keep this from happening.


-omni

sharks
August 4th, 2004, 23:40
Well I started working on the component based on phpbb and got a reasonable way, but came across a number of issues which made me think that maybe the way silid has released on CVS for the visual integration is the easiest and quickest.

So to start with, I figured I should at least get that way fully working, and put it together as a package with some documentation. As this thread has gone very long and is a bit confusing, I thought I'd start a new topic in the Open Source products forum, with all the instructions on how to do it.

http://forum.mamboserver.com/showthread.php?t=12634

An example site is at http://www.4eva.com/gallery/index.php

I hope you won't think I'm trying to steal any glory silid! I just know a lot of people would like to know about your way (some have emailed me etc) and this thread is a bit too long and unclear to find the answer.

I will make another post in a minute comparing this way to a full component.

sharks
August 5th, 2004, 00:58
OK, now this is my progress on a Coppermine component based on the phpbb component and some of the issues.

This is an example of where I got to with only a bit of work: http://www.4eva.com/component/index.php?option=com_coppermine

Only some of the links work, though the main ones down to displaying the images do. I got this far and realised how nice and simple silid's way could be and decided to package that first (see my post on the previous page).

Some of the drawbacks of a component are:
- A lot more editing is required, changing all the links in Coppermine to index.php?option=com_coppermine&p=thumbnails& .... etc.
- This is OK the first time, but might be complex to keep up with future releases.
- Some of these URLs become pretty horrible, even with search-engine friendly URLs enabled, compared to the simple gallery/thumbnails.php&.... e.g. http://www.4eva.com/component/index.php?option=com_coppermine&p=displayimage&album=lastup&cat=0&pos=2

Some of the possible advantages are:
- A component is nice and easy to install and redistribute if done properly (though even with the phpbb component, there are still a fair few steps).
- Possibily the user integration would work better (not sure about this), and less chance of conflict with other modules.
- Probably more potential to integrate Coppermine further into Mambo - but then you lose the ease of upgrading based on Coppermine upgrades.

Anyway, that's enough thinking aloud... decisions, decisions. :)

raetsche
September 9th, 2004, 07:13
Hi,

i downloaded the mambo bridge file from the CVS.
If i log in (mambo), i have to mark the "Remember Me"-Flag to make the integration work. If this flag is not checked, the integration into coppermine doesn't work.
I have the same problem on the mentioned site, where the integration is done (http://www.brownfloyd.com/gallery/). Only when the flag "Remember Me" is checked, the integration works.

Does anyone know a solution?


Thanks in advance for your replies!

Greetz
Frank

buglerroller
September 16th, 2004, 07:44
i have the same problem. i just edited the login to have the remember me checked.

buglerroller
September 17th, 2004, 11:53
anyone run into problems using SEF links on mambo and coppermine not working right?

buglerroller
October 24th, 2004, 16:29
any word on porting coppermine images to work with mosimage?

IceDane
November 15th, 2004, 09:24
Hi Siid and others
Been following your discussions here, and I just wanted to add that I still hope this integration will eventually come through. Coppermine is an amazing application and so is Mambo... combined - it would be GREAT!

Lars-Christian
December 15th, 2004, 11:00
Kick me in the nuts if I'm stupid here, but since there is already a bridge function between Coppermine and vBulletin, if one did a successful mambo and vBulletin integration (users, that is), would it not mean that mambo and coppermine would also be successfully integrated (userwise, that is).

It may be more complex than what I am thinking here, but it seems logical to me? And very suitable, since I am hoping to get mambo - vB integrated.

scubaguy
December 15th, 2004, 12:38
There is a bridge file for Mambo and the next version of Coppermine 1.4 http://coppermine.sourceforge.net/board/index.php?topic=12041.0 I haven't really taken a look at it yet, but it would seem like it wouldn't be too hard to convert it for use with the current Coppermine version 1.32.

joey4good
December 15th, 2004, 14:41
schliesse mich an. 4images ist wirklich gut.
Es bräuchte nur noch portiert zu werden.
Eigentlich hat es sogar zu viel Funktionen.

osirisjem
July 3rd, 2005, 10:59
There is a bridge file for Mambo and the next version of Coppermine 1.4 http://coppermine.sourceforge.net/board/index.php?topic=12041.0 I haven't really taken a look at it yet, but it would seem like it wouldn't be too hard to convert it for use with the current Coppermine version 1.32.


I found this in another thread.

windwalker
June 1st, 2006, 02:08
I for one would be happy to run coppermine in a wrapper if we had a bridge login..

I don't mind using SMF and my members don't seem to mind it especially since it can be accessed independently as well.

I think the bridge would be great for the time being any way until someone comes up with a complete package.

With Respect,

Jim

http://defendthewolves.org

Unfortunatly, I have used freelance developers on several projects, and a few of them have turned into nightmares. I have taken the Coppermine port back internal, along with most of the OsC development to 4.5 versions.

However, rather than create a port of the existing software, we are looking at creating a completly new gallery compnent with the features of gallery &amp; coppermine. Some snippets of the code from either port may be used. The reasons for this are:

1 - When dealing with Coppermine or Gallery you are dealing with a product that allready have the interface, templating system, and language interfaces created. This requires you to strip it all out, and rebuild it as needed to fit the Mambo structures.

2 - The paths and image directories are allready setup for the existing software. This makes changin the file structure to match Mambo difficult as well.

3 - Creating a new project allows us to build with MAMBO at the CORE of the project. There are many features of Gallery &amp; Coppermine that have been created specifically becuase they ARE standalone, and not part of an existing CMS (Mind you, the best CMS). Really, strating from scratch, but learning from their architecture and mistakes is the BEST way to do it. The project is next on my list, and I am looking forward to developing it.

I have actually been looking hard at the AKO Gallery code, and feel that it would be GREAT as a starting point for such a development, and am soon to be contacting the author to see if we can work togther on this.

Ted