Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: charlottezweb on November 07, 2003, 06:42:23 PM

Title: Coppermine integration
Post by: charlottezweb on November 07, 2003, 06:42:23 PM
This is for anyone (though I believe Spaceman-Spiff ported/coded the mod I'm using now)...

What's the outlook looking like for keeping a large coppermine/yse gallery I have now once I move to SMF...I'm wondering if I should jump ship before my gallery gets much bigger and just link directly to a full coppermine install instead of the integrated one.  The reason I ask is that I'd of course LOVE to keep all my current comments and all that (as well as the way it's perfectly integrated for user comment posts, etc.) but if it's not gonna be feasible for SMF, I might as well cut my losses now since my gallery gets new pics and comments added daily.

Any comments from anyone who is smarter than me about this?  :)

Thanks,
Jason
Title: Re: Coppermine integration
Post by: Raine on November 07, 2003, 07:04:38 PM
I've always wondered why we don't use Menalto's Gallery instead?  A lot of people use this one and it's quite powerful as well.  I have used it for the longest time, perhaps it's time we consider integrating that? 

Ideally, of course, SMF would have it's own CMS and gallery built in... but that's for the long haul...
Title: Re: Coppermine integration
Post by: charlottezweb on November 07, 2003, 07:11:12 PM
I too use menalto's but I just did a coppermine standalone install a few weeks back for a client and I really like it (more so than Gallery by a good bit)...

Jason
Title: Re: Coppermine integration
Post by: [Unknown] on November 07, 2003, 10:01:24 PM
Quote from: Raine on November 07, 2003, 07:04:38 PM
I've always wondered why we don't use Menalto's Gallery instead?  A lot of people use this one and it's quite powerful as well.  I have used it for the longest time, perhaps it's time we consider integrating that? 

Ideally, of course, SMF would have it's own CMS and gallery built in... but that's for the long haul...

I thought SMF was a forum.  Did I miss some memo?

-[Unknown]
Title: Re: Coppermine integration
Post by: Omar Bazavilvazo on November 07, 2003, 10:26:38 PM
I used Menalto, and I think looks uglier than Coppermine.

Also, it isn't easy to use many language files with it, until next version I think they were going to do it on a decent way.

In overall, I like coppermine more, even it lacks some useful function that Menalto has :)
Title: Re: Coppermine integration
Post by: charlottezweb on November 07, 2003, 10:30:37 PM
Does this mean you're volunteering to update Spiff's mod for SMF  :)

LOL

Jason
Title: Re: Coppermine integration
Post by: Raine on November 07, 2003, 10:32:29 PM
Quote from: [Unknown
I thought SMF was a forum.  Did I miss some memo?

-[Unknown]

It is.  But as much as we create a product to be pure, we want it to be successful.  When it comes to something like, for example, a CMS, most of the competition has it, so we'd be selling ourselves short by not having it.  I understand that anything of that nature is for the long run, which is why I mentioned that.  I can understand that many users don't need it, but there are also the other half of us who do, which is why I'm hoping you're still going to do the *nuke integration.
Title: Re: Coppermine integration
Post by: Tyris on November 07, 2003, 10:56:39 PM
I'd guess that alot of people would like a CMS... but a CMS is an ADDITIONAL large piece of software, unless its very simple...
So I think that kinda thing is best left to mods, otherwise SMF as a forum and CMS would be just too "phat" for anyone who only wanted a forum to consider using.

There will no doubt be a few good cms's that support SMF... so it shouldn't be a problem.

Or better yet... write your own ;)
thats what I'm doing.. I got the basis of it running really nicely.. now I just need the member permissions code from SMF to link it up, then I can continue it and eventually finish it off ^_^
of course being the n00b coder I am its not gonna be great... but its easily my best coded and largest project :) lots of fun too :) I just love seeing bits of my code work :)
Title: Re: Coppermine integration
Post by: Fizzy on November 08, 2003, 09:07:52 AM
Quote from: [Unknown] on November 07, 2003, 10:01:24 PM

I thought SMF was a forum.  Did I miss some memo?

-[Unknown]

[Unknown] - I think this is one of the key issues that some people including me get our wires crossed about.
You said that you thought this was about a forum, but there are others who take a broader view. The url into the "Forum" uses the directory of "Community".
For some of us (particularly myself) that is what the "forum" represents, a full blown community. My members enjoy a lively community which has YaBBSE as it's core.
Your statement leads me to think that you see the SMF project as a forum, short and sweet, yet for those of us seeing it as a complete online community we like to be able to intergrate as much as possible to give a more complete community experience.

Does that make any sense ?

One of the greatest attractions for me when I first starting looking at forum programs was the fact that Yabb and then later YaBBSE was rich with the extra bits needed to help create a thriving community.
If SMF is going to be designed to be 'just a forum' (and I use that term loosely) then ultimately I think that SMF will lose users for that reason alone.

Ultimately in my mind it boils down to one thing.
SMF can either be a very good 'also ran' or it can lead the competition and develop in to a community system with the forum at its core that leaves all of the competition dead in the water, but that's just my take on it.

I appreciate that many users may only be looking for a forum and that will be enough for them, but for those members here that would like to really develop their sites they may find themselves looking at the competition and wondering what is best for their own community.

Back to the topic though.
We have the facility to add attachments of images, it seems only natural and more professional to be able to properly manage those images into an easy to read and easy to navigate addition.
Title: Re: Coppermine integration
Post by: old dan on November 08, 2003, 09:38:43 AM
Quote from: Fizzy on November 08, 2003, 09:07:52 AM

Back to the topic though.
We have the facility to add attachments of images, it seems only natural and more professional to be able to properly manage those images into an easy to read and easy to navigate addition.
You make some very good points. I personally think of YaBBSE & SMF as forums. I'm not in any way involved in the coding of SMF but I hope they are coding it in a way that would make it easy to add on to and port over other programs. Or better yet, future SM projects. :)

However, I think a image addon mod would be fairly easy to do. As you pointed out there is already the option to upload images. All that is really needed is to put them into directories, a db field for description, owner, etc. and some code to display the pics. That could be one of the very first mods. :)

But I don't think it should standard. Keep Simple Machines simple. :)
Title: Re: Coppermine integration
Post by: Fizzy on November 08, 2003, 09:46:34 AM
That's the difference between an also ran and a thoroughbred winner.
The also ran is simple, the thoroughbred winner has that something extra that makes it a winner.
Don't get me wrong, I am now fully behind SMF but I just want to see it be realised with its full potential and to stuff the competition into a bag.
Title: Re: Coppermine integration
Post by: charlottezweb on November 08, 2003, 10:48:41 AM
Okay, back to the subject :)

This was about a MOD folks, not a feature in YSE or SMF.

Everyone has valid points, however, if you want something like that, I suggest you go with a portal system (like Nuke as mentioned above) and look to port a YSE/SMF install into it.  I don't know about everyone but I'm here to have the best there is in forum software.  Wasting time on anything else at this point is just that -- wasting time. 

I think we should let our development team do what they do best -- develop the best forum around! 

Oh, and back to my *original* question  :)

Does anyone know the outlook of maintaining the coppermine integration mod?

Thanks,
Jason
Title: Re: Coppermine integration
Post by: [Unknown] on November 08, 2003, 11:47:26 AM
This first part I will type without reading your replies.

Some people want CMS's, and some want forums.  Now, let's make an analogy to cars and vans. (forums and CMS's)  Some people want cars, and some people want vans.  The people who want vans will take a car and not like it as much, but the people who want cars won't really take vans.
Now imagine that I could give you a "van upgrade" to make a car into a van.  And imagine that all of this was free.  Wouldn't it be, by common sense, only logical to make cars and van upgrades?  Even if some cars already had the van upgrades built in, why would you kick yourself and not make cars?

That's the point.  Simple Machines, in theory, could make a CMS.  And it could integrate awesomely with SMF.  But WHY IN THE WORLD should it be integrated in as the only option?  That's stupid - it's like Toyota dropping all their compacts from production.  It would not gain them ANYTHING.  And the person who did it would get fired.
Oh, but, larger cars are better!  Who wants compacts, right?  No need to sell them - right?

Yes, this is a community.  But it's not a CMS.  CMS doesn't stand for "Community Management System."  A CMS is a website-in-a-box for those too lazy to make their own.  You can have a website without having a community - and you can have a community without a website.  Look at www.webhostingtalk.com - there's no website there, just a forum.  Just a community.

SMF is a forum.  It doesn't stand for "Simple Machines Forum CMS" :P.

Fizzy, you need to take economics.  You don't make a product with everything no one wants and pare down the crap they don't want, you make a product that people want and ALSO products other, smaller groups want that go together.  Not everyone wants a CMS who wants a forum.... just because you do doesn't mean everyone is you.

I think Old Dan has the point just right...

No the difference, Fizzy, is quality.  Not making your lamp drive you to work.

I've made quite a few changes to make integration with systems such as *nuke easier.  Compuart has written something of a CMS for SMF already.  BUT IT'S NOT GONNA BE BUILT IN!

-[Unknown]
Title: Re: Coppermine integration
Post by: Spaceman-Spiff on November 08, 2003, 11:54:19 AM
i think Jack will convert his YSE-Coppermine integration bridge
his way is pretty good since the integration is not tighly integrated, so updates on both software can be done without ruining the integration

i myself haven't played around with the latest Coppermine version, and i'm not that comfy yet with SMF
so, it might take a while before i converted my mod

btw, Coppermine 1.2.0 RC2 looks pretty cool: http://coppermine.sourceforge.net/demo/
Title: Re: Coppermine integration
Post by: Tyris on November 08, 2003, 06:29:06 PM
sorry to be off topic again... but I'd just like to point out that a lamp that could drive me to work (or school)... would be pretty damn cool :P ;D
Title: Re: Coppermine integration
Post by: Spaceman-Spiff on November 08, 2003, 07:09:07 PM
the only thing i dont like about coppermine website is... it's too phpBB-ish (i'm just so tired looking at subsilver themes everywhere)
i like the older theme better
Title: Re: Coppermine integration
Post by: charlottezweb on November 08, 2003, 11:58:00 PM
Quote from: Spaceman-Spiff on November 08, 2003, 11:54:19 AM
i think Jack will convert his YSE-Coppermine integration bridge
his way is pretty good since the integration is not tighly integrated, so updates on both software can be done without ruining the integration

i myself haven't played around with the latest Coppermine version, and i'm not that comfy yet with SMF
so, it might take a while before i converted my mod



Thanks for the response.  I guess I'll stick with it for now then. 

Heck, i don't even know if I'm running the latest version you released...either way, it works with 1.5.4 if that tells you anything.  :)

Jason
Title: Re: Coppermine integration
Post by: Raine on November 13, 2003, 04:50:25 AM
Hmm... I've been doing more research into Coppermine... I would love to see the integration with SMF... then I'd probably convert my Menalto to Coppermine... having it integrated with SMF would make it such a powerful tool... I look forward to seeing this
Title: Re: Coppermine integration
Post by: Fizzy on November 13, 2003, 06:53:32 AM
I've been having a look at Coppermine too for the first time.
If I'm reading it properly then it looks like templates to match the up-coming SMF templaes should be fairly straight forward.
I'm guessing that then all we neem id for one of our resident coding Gurus to help out with intergration and we'll be sorted :)
Title: Re: Coppermine integration
Post by: Anguz on December 13, 2003, 04:27:19 PM
I was planning to write a mod to have galleries really inside the boards, not just in another section... I mention it in this message
http://www.simplemachines.org/community/index.php?topic=3425/msg36346#msg36346

was planning to write it for YaBB SE, but will wait for SMF to be out instead
Title: Re: Coppermine integration
Post by: Fizzy on December 13, 2003, 06:38:30 PM
Totally 8)
Title: Re: Coppermine integration
Post by: Cruez on January 07, 2004, 01:50:03 PM
I integrated YabbSE 1.5.4 with Coppermine 1.2.0 RC2.. went pretty smooth...

I would like to see Coppermine easily integrated into SMF...
Title: Coppermine status update
Post by: Joachim Müller on February 02, 2004, 04:39:15 AM
yes, Jack is currently working on a bridge file for SMF (he has become a SMF charter member just to get his hands on the SMF code). There are however some problems that need to be solved first: as coppermine is released under GPL (and SMF isn't), will coppermine be allowed to integrate code bits of SMF into the coppermine-to-smf bridge file and release it with the coppermine package? Jack has already contacted the FSF on this issue (and maybe the smf team as well, I'm not sure). Maybe the smf devs could step in and allow us to release the code bits that are necessary for the bridge file under GPL (*hint*)?


There have been several requests on the coppermine support board for an easy integration of coppermine and smf so far - the numbers will rise once smf comes out publicly. I'd love to have a bridge file ready by then...
Integration of coppermine and any bbs is easy: when using bbs integration, the user management of coppermine is being replaced by the user management of the bbs (once there is a bridge file at least).

Someone on this thread has said that coppermine looks to phpbb'ish - I totally agree to that: when the current coppermine dev team took over the project in September 2003 we were forced to use phpbb as forum software, since the original coppermine site had gone down and we had to establish a forum really fast - we went for phpbb because that's what Greg, the original author of coppermine, had used in the past. I'm not happy at all with phpbb, so if smf will have a good converter script for migration from phpbb to smf, I'll go for that (again: *hinthint*)!

Re: using menalto gallery instead of coppermine as picture gallery: there have been arguments (and flames) on this before. IMO the main difference between menalto and coppermine is the server requirements: menalto needs NetPBM, Coppermine needs GD or Image Magick. When thinking about gallery integration, you should consider first: what ressources do I have on my server...

GauGau
(coppermine dev team)
[edit]corrected spelling...[/edit]
Title: Re: Coppermine integration
Post by: Jeff Lewis on February 02, 2004, 09:08:10 AM
GauGau, send an email off to the following and we can discuss this via email: [email protected], [email protected], [email protected], [email protected]

In a nutshell, we want Coppermine to work with SMF so I'm sure we can arrange something.
Title: Re: Coppermine integration
Post by: charlottezweb on February 02, 2004, 10:06:58 AM
/me applauds

one step closer to upgrading for me :)
Title: Re: Coppermine integration
Post by: [Unknown] on February 02, 2004, 10:20:11 AM
/me "accidently" mentions the phpBB -> SMF converter we have.

-[Unknown]
Title: Re: Coppermine integration
Post by: Omar Bazavilvazo on February 02, 2004, 11:07:45 AM
/me is happy to hear that the bridge is on progress because he is going to upgrade to SMF his main forum, with gallery coppermine :)

And, switching from phpBB to SMF is worth it, and as Unknown gave the hint, the converter is already done ;)
Title: Re: Coppermine integration
Post by: Ben_S on February 02, 2004, 01:41:46 PM
/me also cannot wait for the bridge/integration so he can get his gallery back up.
Title: Re: Coppermine integration
Post by: jack on February 06, 2004, 10:27:49 PM
Sorry guys, I really should have contributed to this thread earlier ...

Yeah, I became a charter member with three primary intentions ...

To convert the yse board I run to smf as smoothly as possible,

To convert the yse mods I've made to yse,

and to create a yse <-> cpg bridge before public release.


Unfortunatley, 'real life' has got in the way a lot  :o


I have some code myself, but nothing really functional enough for me to want to release even as an alpha.

I had approaced the yse bridge originally by duplicating an amount of code (the password checking and user profiole loading code) from yse in the coppermine bridge file. I attempted to get the 'OK' from the YSE team, but the best I could get was along the lines of "I think it's probably OK, I'll pass your question along" - which didn't really satisfy me. So I decided to link directly into the YSE code thinking that this solved all licensing requirements. I would like to re-open this communication with the SMF team, as this is (to me) the most efficient way of handling the link but have been unable to find the time to commit to it yet. I told Gaugau that I would contact Jeff, but have not done so yet. COnsider me kicked up the arse to get this done ;)

From clarifications I have (yesterday) received from the FSF, this is actually not the case & I have to amke an 'exception' to the license specifically allowing the bridge code to be linked to YSE / SMF. As most of the code is mine & we have the general blessing of Greg, I can't see this being too much of a problem. However, this way does entail loading and parsing a significant amount of the smf/yse code just to view the gallery. Something that could be a problem ionrestricted systems (I know from experience).

Basically, the direction of my work resides on whether Jeff & co would be willing to relicense some paarts of their code to me under the GPL. Whether they do so or not will not affect the availability of a SMF / CPG bridge, just it's implementations.

Jeff: No pressure from me either way here, I can work with whatever you're happy with, now that I know I can call your code from mine directly (with an 'exception' in the license), or even (as a last resort) with a 'clean room' implementation of the user profile loading code.

At the end of the day, I've been a bit lazy - and I intend to 'get my finger out' tomorrow when I get up - honest.
Title: Re: Coppermine integration
Post by: jack on February 06, 2004, 10:29:08 PM
Quote from: [Unknown] on February 02, 2004, 10:20:11 AM/me "accidently" mentions the phpBB -> SMF converter we have.

It wasn't as 'accidental' as me mentioning yse / smf when we moved to sourceforge ;)

Oh, and a s afinal thing to those going on about CMS's .. my main site uses YSE, Coppermine and PHP-Nuke to do what we want - we picked the best functionality from each- we couldn't do anywhere near what we currently do without all three. Let software do what it was designed for & don't expect it to do everything.
Title: Re: Coppermine integration
Post by: [Unknown] on February 07, 2004, 01:23:20 AM
I would be more than willing to work on the bridge with you and license my work in the GPL, as long as it wasn't "large portions" or anything.  However, I think it'd be helpful if you described, better, the scope of the bridge - what exactly does it do, how much code does it need to incorporate?

-[Unknown]
Title: Re: Coppermine integration
Post by: charlottezweb on February 07, 2004, 06:02:43 PM
On a side note, is it possible to have an option in the next update to allow only registered forum members to be able to view the gallery?

The mod I have installed on YSE allows me to disallow guests from creating albums or posting comments, but nothing to keep them from viewing...

Regards,
Jason
Title: Re: Coppermine integration
Post by: Tony Reid on February 07, 2004, 06:05:55 PM
Well with Spiffs mod, I stopped that by adding

if ($username == "Guest")
   fatal_error($txt[223]);


just beforethe final ?> in the init.inc.php

Not sure if it will work on the bridge mod by unknown though ???
Title: Re: Coppermine integration
Post by: charlottezweb on February 07, 2004, 06:32:10 PM
Thanks Tony!!  That worked perfectly!

Jason
Title: Re: Coppermine integration
Post by: Tony Reid on February 07, 2004, 06:36:53 PM
I think it was Spiff who told me that code ;)
Title: Re: Coppermine integration
Post by: [Unknown] on February 07, 2004, 10:38:21 PM
Quote from: Tony on February 07, 2004, 06:05:55 PM
Not sure if it will work on the bridge mod by unknown though ???

I think you misread the primary meaning of my post......

-[Unknown]
Title: Re: Coppermine integration
Post by: Tony Reid on February 08, 2004, 05:19:20 AM
Quote from: [Unknown] on February 07, 2004, 10:38:21 PM
Quote from: Tony on February 07, 2004, 06:05:55 PM
Not sure if it will work on the bridge mod by unknown though ???

I think you misread the primary meaning of my post......

-[Unknown]

I was talking about the one that you did for YaBBSE,

Title: Re: Coppermine integration
Post by: [Unknown] on February 08, 2004, 11:40:12 AM
Quote from: Tony on February 08, 2004, 05:19:20 AM
Quote from: [Unknown] on February 07, 2004, 10:38:21 PM
I think you misread the primary meaning of my post......

-[Unknown]

I was talking about the one that you did for YaBBSE,

I didn't do any such mod for YaBB SE...

-[Unknown]
Title: Re: Coppermine integration
Post by: Tony Reid on February 08, 2004, 12:46:54 PM
Ooops.... sorry :(
Title: Re: Coppermine integration
Post by: jack on February 10, 2004, 05:55:35 PM
Heh .. it was me :)

You'd probably be better off replacing that code with :-

if ($username == "Guest")
   cpg_die($txt[223]);


I've been working on some stuff that's either really cool or really icky (I haven't decided yet) for the SMF bridge that I will probably retrofit into the yabbse one because it will save an amount of memory on the server and will probably faster to execute - it will mean that yabbse functions unused by the bridge will not be available.
Title: Re: Coppermine integration
Post by: jack on March 03, 2004, 04:50:46 PM
Bit of an update .. I've basically got the thing working  :D (with a few caveats)

Expect a 'so beta it hurts' release in a couple of days.
Title: Re: Coppermine integration
Post by: charlottezweb on March 03, 2004, 04:52:08 PM
EXCELLENTE!

Jason
Title: Re: Coppermine integration
Post by: Fizzy on March 04, 2004, 07:48:59 AM
Jack for President !  8)
Title: Re: Coppermine integration
Post by: pulpitfire on March 04, 2004, 09:07:44 AM
man, just give us an SMF-built gallery mod.  i like the coppermine, but am tired of always fiddling with it, to get it integrated.  you've already got the system to upload pictures, post comments, track stats, etc.  it seems like it would just be a matter of organizing it into a gallery and adding resize capability for thumbnails.
Title: Re: Coppermine integration
Post by: Grudge on March 04, 2004, 11:13:39 AM
Quote from: pege on March 04, 2004, 09:07:44 AM
man, just give us an SMF-built gallery mod.  i like the coppermine, but am tired of always fiddling with it, to get it integrated.  you've already got the system to upload pictures, post comments, track stats, etc.  it seems like it would just be a matter of organizing it into a gallery and adding resize capability for thumbnails.

Yea, cause I'm sure someone can "just" whip one up in a few hours...
Title: Re: Coppermine integration
Post by: pulpitfire on March 04, 2004, 11:22:33 AM
well, basically, the boards already make it easy to upload and display your picture.  just make a "gallery" board, then add a thumbnail of the first image in a thread to the subject, in MessageIndex.  it's also pretty easy to query the last x-images, or display x - number of random images (hacked this into one of my boards fairly easily), if you want to add that to the MI.  You could reorganize the MI and tweak the Display.php (or whatever you call it now) to make it look more like a gallery.  once you get the thumbnail thing going, it seems like it wouldn't be too tough.  :)
Title: Re: Coppermine integration
Post by: Grudge on March 04, 2004, 12:21:10 PM
Ummm... I don't think that you just described is complete enough to compete against coppermine :)
Title: Re: Coppermine integration
Post by: pulpitfire on March 04, 2004, 12:49:11 PM
well, what else do you want?  a disolving slide-show?  e-card from photo?  (i like that last feature, but couldn't really use it on my server any way, because they have a strict no-spam policy).  with all we're hearing about the new template system, it seems like it shouldn't be too hard. 
Title: Re: Coppermine integration
Post by: jack on March 04, 2004, 02:14:18 PM
I don't know what you find so complicated?

All you have to worry about is pointing one line in a file to where the forum is installed, and the Coppermine templates. ... Much easier than making a mod for SMF & keeping that maintained.
Title: Re: Coppermine integration
Post by: jack on March 04, 2004, 04:04:44 PM
Everyone should head over to the Charter Member's news section Right Now  ;)
Title: Re: Coppermine integration
Post by: Fizzy on March 04, 2004, 05:10:19 PM
Quote from: jack on March 04, 2004, 04:04:44 PM
Everyone should head over to the Charter Member's news section Right Now  ;)

Hey Jack,

Be sure to send us a postcard ;D

Not all of us can go there  :'(
Title: Re: Coppermine integration
Post by: jack on March 04, 2004, 05:12:28 PM
If you can't go there, you can't get SMF .. so what's the point?

DOn't worry, when SMF goes public, the bridge file will have been publicly available for quite a while :)
Title: Re: Coppermine integration
Post by: Fizzy on March 05, 2004, 05:45:16 AM
Excellent  :)

Thanks.
Title: Re: Coppermine integration
Post by: jack on March 05, 2004, 05:49:37 AM
Ach! GauGau has just sent out Coppermine 1.3 oto the testing teams :o

I knew I should have written the bridge against Coppermine CVS :-\ - hopefully it won't need changing.
Title: Re: Coppermine integration
Post by: Omar Bazavilvazo on March 05, 2004, 09:24:32 PM
Quote from: jack on March 05, 2004, 05:49:37 AM
Ach! GauGau has just sent out Coppermine 1.3 oto the testing teams :o

I knew I should have written the bridge against Coppermine CVS :-\ - hopefully it won't need changing.

heh...
Check it... and... hopefully, you can get rid of that ugly phpBB board at Coppermine site :P
Title: Re: Coppermine integration
Post by: jack on March 05, 2004, 10:17:35 PM
lol .. I wanted to go with YSE, but got out-logic'ed by the fact that (1) ..the original board (that we managed to get the database for) was phpBB and  (2) .. GauGau had already installed it before I took an interest in the site ::)
Title: Re: Coppermine integration
Post by: [Unknown] on March 05, 2004, 10:37:07 PM
But converting is so easy!

-[Unknown]
Title: Re: Coppermine integration
Post by: Elden on March 06, 2004, 07:58:58 AM
*cough*

There is still a lingering issue where PM's are concerned.  A few other smaller issues as well, but nothing that can't be overcome (except for the PM's) with a little patience and/or restructuring.
Title: Re: Coppermine integration
Post by: [Unknown] on March 06, 2004, 08:26:48 AM
I already said I was going to go work on it... I never said "convert now."

-[Unknown]
Title: Re: Coppermine integration
Post by: Elden on March 06, 2004, 10:06:37 AM
Not trying to rush you unk..  I know you guys are busy.  I'm tinkering around a bit with Grudge's converter myself as well.  We wouldn't want to give phpBB'ers the wrong idea though would we?  ("But converting IS so easy!")

:)
Title: Re: Coppermine status update
Post by: Tom Veik on March 06, 2004, 10:29:09 PM
Quote from: GauGau on February 02, 2004, 04:39:15 AM
yes, Jack is currently working on a bridge file for SMF...
What exactly does the bridge do from the viewpoint of users?  Does it just cause login/logout to occur simultaneously on both YSE/SMF and Coppermine?  Or does it do more than that?

Tom
Title: Re: Coppermine integration
Post by: jack on March 07, 2004, 06:42:55 AM
Got it in one :).. if you are logged into SMF, your credentials 'carry over' into Coppermine. Also, SMF groups override the Coppermine groups. Install the YaBB SE one to have a play - it works in the same way :)
Title: Re: Coppermine integration
Post by: jack on March 11, 2004, 04:15:09 PM
Quote from: jack on March 04, 2004, 05:12:28 PMDon't worry, when SMF goes public, the bridge file will have been publicly available for quite a while :)

lo and behold! I've remembered how to log into Sourceforge CVS :o The bridge is now sitting in the 'devel' branch of Coppermine CVS :D

Going to start work on a converter from Spaceman-SPiff's Coppermine Mod for YaBB SE soon :)
Title: Re: Coppermine integration
Post by: Ben_S on March 12, 2004, 06:10:03 AM
Quote from: jack on March 11, 2004, 04:15:09 PM
Going to start work on a converter from Spaceman-SPiff's Coppermine Mod for YaBB SE soon :)

Yay, just what I need ;D ;D
Title: Coppermine board / SMF'ish CPG theme
Post by: Joachim Müller on March 21, 2004, 06:53:55 PM
just for those "complaining" that the Coppermine support board is still running with phpBB: the phpBB -> SMF convertor is still hidden within the charter member section for me, and SMF still has beta status, that's why I won't convert now, but I surely will in the future.

Maybe meanwhile someone wants to build a coppermine theme that matches the look of the SMF default theme *hint* ;)

GauGau
Title: Re: Coppermine integration
Post by: jack on March 21, 2004, 07:27:18 PM
Lol .. Can someone do me a phpBB styl;e theme so I can covert the board without GauGau noticing ;)

I suppose I should have remembered to keep this thread updated - The bridge file is working. I don't expect to see any changes to it other than minor bugfixes or unless [unknown] changes more bits of SMF it's reliant on ;)

The version I released today http://www.haxed.co.uk/~jack/smf-bridge-beta-0.5.zip now works properly with the public beta.

Go Play!
Title: Re: Coppermine integration
Post by: David on March 21, 2004, 07:37:08 PM
Quote from: jack on March 21, 2004, 07:27:18 PM
Lol .. Can someone do me a phpBB styl;e theme so I can covert the board without GauGau noticing ;)
Talk to Unknown, he already did one.
Title: Re: Coppermine integration
Post by: Joachim Müller on April 25, 2004, 03:47:28 AM
just FYI: Coppermine support board has been migrated to SMF ;)
Great work, kudos to the SMF team! :)

The coppermine-SMF bridge is up-and-running (check the demo on the coppermine page).

GauGau
Title: Re: Coppermine integration
Post by: Ben_S on April 25, 2004, 07:14:09 AM
Looking good :)
Title: Re: Coppermine integration
Post by: Anguz on April 25, 2004, 04:28:35 PM
very nice  (^_^)
Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 06:19:02 PM
Quote from: jack on March 21, 2004, 07:27:18 PM
Lol .. Can someone do me a phpBB styl;e theme so I can covert the board without GauGau noticing ;)

I suppose I should have remembered to keep this thread updated - The bridge file is working. I don't expect to see any changes to it other than minor bugfixes or unless [unknown] changes more bits of SMF it's reliant on ;)

The version I released today http://www.haxed.co.uk/~jack/smf-bridge-beta-0.5.zip now works properly with the public beta.

Go Play!

Hi jack,

I installed SMF properly. After enable the bridge (checked the settings first in smf.inc.php) for Smf in init.inc.php following errors apear.

Warning: fopen(./Sources/Load.php): failed to open stream: No such file or directory in C:\Inetpub\gallery\bridge\smf.inc.php on line 112

Warning: filesize(): Stat failed for ./Sources/Load.php (errno=2 - No such file or directory) in C:\Inetpub\gallery\bridge\smf.inc.php on line 113

Warning: fread(): supplied argument is not a valid stream resource in C:\Inetpub\gallery\bridge\smf.inc.php on line 115

Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\gallery\bridge\smf.inc.php on line 116

Warning: fopen(./Sources/Subs.php): failed to open stream: No such file or directory in C:\Inetpub\gallery\bridge\smf.inc.php on line 112

Warning: filesize(): Stat failed for ./Sources/Subs.php (errno=2 - No such file or directory) in C:\Inetpub\gallery\bridge\smf.inc.php on line 113

Warning: fread(): supplied argument is not a valid stream resource in C:\Inetpub\gallery\bridge\smf.inc.php on line 115

Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\gallery\bridge\smf.inc.php on line 116

Fatal error: Call to undefined function: reloadsettings() in C:\Inetpub\gallery\bridge\smf.inc.php on line 223


Anyone a sugestion?
Title: Re: Coppermine integration
Post by: Ben_S on April 25, 2004, 06:28:46 PM
edit your smf Settings.php and change the sources dir path from ./Sources to the real path
Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 07:26:53 PM
Quote from: Ben_S on April 25, 2004, 06:28:46 PM
edit your smf Settings.php and change the sources dir path from ./Sources to the real path

I tryed that with the result below


Fatal error :
There was an error while processing a database query


My settings.php

# Note: these settings must be properly changed for SMF to work

$maintenance = 0; # Set to 1 to enable Maintenance mode, 2 to make the forum untouchable (you'll have to make it 0 again)
$mtitle = 'Maintenance Mode'; # Subject for display
$mmessage = 'Ok faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Message Description for display

$language = 'english'; # Change to language pack you want to use
$mbname = 'DaMysterious'; # The name of your forum
$boardurl = 'C:\Inetpub\smf'; # SMF of your forum's folder (without trailing '/')

$cookiename = 'SMFCookie10'; # Name of the cookie

$webmaster_email = '[email protected]'; # Your email address.

########## Database Info ##########
$db_name = 'smf';
$db_user = 'root';
$db_passwd = '';
$db_server = 'localhost';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: directories do not have to be changed unless you move things

$boarddir = 'C:\Inetpub\smf'; # The absolute path to the forum's folder (usually can be left as '.')
$sourcedir = 'C:\Inetpub\smf\Sources'; # Directory with source files

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;


Title: Re: Coppermine integration
Post by: Ben_S on April 25, 2004, 07:54:19 PM
$boardurl needs to stay as the actual url.
Title: Re: Coppermine integration
Post by: madandy007 on April 25, 2004, 08:00:12 PM
This is looking good.

I can't wait to move my live forum across to both SMF and the latest Coppermine!

Just out of interest, on my current YaBBSE and Coppermine installation I changed the Coppermine menu from saying "Logout [user]" to "Forum [user]" which links back to the YaBBSE forum instead of logging out.

Makes it feel it more "integrated".

A.

www.ghostsofnottingham.co.uk

Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 09:31:44 PM
Quote from: Ben_S on April 25, 2004, 07:54:19 PM
$boardurl needs to stay as the actual url.

Did that already as I could'nt login before. The error stil remanes 'Fatal error :
There was an error while processing a database query'
Title: Re: Coppermine integration
Post by: [Unknown] on April 25, 2004, 10:02:54 PM
Does SMF still work, but Coppermine not?

-[Unknown]
Title: Re: Coppermine integration
Post by: Shadowc on April 25, 2004, 10:08:26 PM
I had the same problems and solved it this way.

Don't edit in /SMF/Settings.php

Edit the bridge file with realpaths instead, it solved the problem for me.

Quote
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //

// Otherwise, try to autodetect SMF path if not set:
if (substr($path, -1) == '/')
        $path = substr($path, 0, -1);
       
$possible_paths = array($path, '..', '../forum', '../forums',
'../community', '../yabbse', '../smf');

$correct = 0;
while (!file_exists($possible_paths[$correct] . '/Settings.php') &&
count($possible_paths) > $correct)
        $correct++;

require_once($possible_paths[$correct] . '/Settings.php');

define ('SMF', 1);

// other includes
cm_include_smf_funcs("/xxxxxxxx/xxxxxxx.com/www/forum/Sources/Load.php", array("reloadSettings", "md5_hmac", "loadUserSettings"));
cm_include_smf_funcs("/xxxxxxxx/xxxxxxx.com/www/forum/Sources/Security.php", array("updateMemberData", "updateStats", "updateSettings"));

// database configuration
Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 10:25:47 PM
Quote from: [Unknown] on April 25, 2004, 10:02:54 PM
Does SMF still work, but Coppermine not?

-[Unknown]

Both work standalone perfectly. The problem rises when I enable the coppermine bridge for Smf.
Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 11:09:57 PM
Quote from: Shadowc on April 25, 2004, 10:08:26 PM
I had the same problems and solved it this way.

Don't edit in /SMF/Settings.php

Edit the bridge file with realpaths instead, it solved the problem for me.


Ok my last try for today, i went totaly crazy from this. Remember both works wel standalone.

I placed back a fresh Settings.php and set it up.
Copyed your code into smf.inc.php and change it to my needs
Quote
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //

// Otherwise, try to autodetect SMF path if not set:
if (substr($path, -1) == '/')
        $path = substr($path, 0, -1);
       
$possible_paths = array($path, '..', '../forum', '../forums',
'../community', '../yabbse', '../smf');

$correct = 0;
while (!file_exists($possible_paths[$correct] . '/Settings.php') &&
count($possible_paths) > $correct)
        $correct++;

require_once($possible_paths[$correct] . '/Settings.php');

define ('SMF', 1);

// other includes
cm_include_smf_funcs("http://damysterious.xs4all.nl/smf/Sources/Load.php", array("reloadSettings", "md5_hmac", "loadUserSettings"));
cm_include_smf_funcs("http://damysterious.xs4all.nl/smf/Sources/Security.php", array("updateMemberData", "updateStats", "updateSettings"));

Hereafter this errors came up

Warning: filesize(): Stat failed for http://damysterious.xs4all.nl/smf/Sources/Load.php (errno=2 - No such file or directory) in C:Inetpubgalleryridgesmf.inc.php on line 113

Warning: fread(): Length parameter must be greater than 0. in C:Inetpubgalleryridgesmf.inc.php on line 115

Warning: filesize(): Stat failed for http://damysterious.xs4all.nl/smf/Sources/Security.php (errno=2 - No such file or directory) in C:Inetpubgalleryridgesmf.inc.php on line 113

Warning: fread(): Length parameter must be greater than 0. in C:Inetpubgalleryridgesmf.inc.php on line 115

Fatal error: Call to undefined function: reloadsettings() in C:Inetpubgalleryridgesmf.inc.php on line 223


Could this be real a Windows server problem?
Title: Re: Coppermine integration
Post by: [Unknown] on April 25, 2004, 11:11:43 PM
You could be using PATHS not URLs.

-[Unknown]
Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 11:20:52 PM
Quote from: [Unknown] on April 25, 2004, 11:11:43 PM
You could be using PATHS not URLs.

-[Unknown]

Thanks, but nope.

Quote// other includes
cm_include_smf_funcs("C:\Inetpub\smf\Sources\Load.php", array("reloadSettings", "md5_hmac", "loadUserSettings"));
cm_include_smf_funcs("C:\Inetpub\smf\Sources\Security.php", array("updateMemberData", "updateStats", "updateSettings"));

QuoteFatal error :
There was an error while processing a database query
Title: Re: Coppermine integration
Post by: [Unknown] on April 25, 2004, 11:22:14 PM
Use two slashes when using windows-type paths.  Examples:

C:\\Inetpub\\smf\\Sources\\Load.php
C:/Inetpub/smf/Sources/Load.php

Both of the above should work fine.

-[Unknown]
Title: Re: Coppermine integration
Post by: DaMysterious on April 25, 2004, 11:31:28 PM
Quote from: [Unknown] on April 25, 2004, 11:22:14 PM
Use two slashes when using windows-type paths.  Examples:

C:\\Inetpub\\smf\\Sources\\Load.php
C:/Inetpub/smf/Sources/Load.php

Both of the above should work fine.

-[Unknown]

Sorry but this does'nt works to  :(.
Title: Re: Coppermine integration
Post by: Shadowc on April 26, 2004, 09:46:15 PM
Quote from: DaMysterious on April 25, 2004, 11:31:28 PM
Quote from: [Unknown] on April 25, 2004, 11:22:14 PM
Use two slashes when using windows-type paths.  Examples:

C:\\Inetpub\\smf\\Sources\\Load.php
C:/Inetpub/smf/Sources/Load.php

Both of the above should work fine.

-[Unknown]

Sorry but this does'nt works to  :(.

Do you have right table prefix in the bridge file ?
If you have upgraded from YaBB the prefix should be yb_

Quote
// Prefix for the database tables
define('SMF_TABLE_PREFIX',  'SMF_'); // Table Prefix
Title: Re: Coppermine integration
Post by: DaMysterious on April 27, 2004, 04:59:43 AM
Quote from: Shadowc on April 26, 2004, 09:46:15 PM

Do you have right table prefix in the bridge file ?
If you have upgraded from YaBB the prefix should be yb_

Quote
// Prefix for the database tables
define('SMF_TABLE_PREFIX',  'SMF_'); // Table Prefix

My setup is a fresh install and the prefix is OK. I checked all and everything til no but nothing wil help  :(.
Title: Re: Coppermine integration
Post by: Shadowc on April 27, 2004, 10:10:29 AM
I will install coppermine at my local wintendo machine and try to figure out the problem.

Ill be Back ;D
Title: Re: Coppermine integration
Post by: DaMysterious on April 27, 2004, 11:39:11 AM
Quote from: Shadowc on April 27, 2004, 10:10:29 AM
I will install coppermine at my local wintendo machine and try to figure out the problem.

Ill be Back ;D

That would be great. Hold in mind that I use the latest Cpg public beta 1.3b4.
Title: Re: Coppermine integration
Post by: jack on May 04, 2004, 04:43:29 PM
Just to point out that the Coppermine bridge for SMF is available in the Coppermine CVS repository, and is in the beta packages for 1.3.

I have received two IMs today asking for the bridge.
Title: Re: Coppermine integration
Post by: DaMysterious on May 04, 2004, 05:22:21 PM
Quote from: jack on May 04, 2004, 04:43:29 PM
Just to point out that the Coppermine bridge for SMF is available in the Coppermine CVS repository, and is in the beta packages for 1.3.

I have received two IMs today asking for the bridge.

I tryed this bridge om my server 2003 and stuck on it as you could read above.
Title: Re: Coppermine integration
Post by: jack on May 04, 2004, 05:33:52 PM
Quote from: DaMysterious on May 04, 2004, 05:22:21 PMI tryed this bridge om my server 2003 and stuck on it as you could read above.

My message was to make it clear to others where to get it from, so they don't have to hope that I'm able to see the message - things are a bit hectic for me at the moment.

Unfortunatley, I don't have a Windows box to try this on, but after trying Unknown's suggestions, the error messages should have changed. Can you post the current ones please?
Title: Re: Coppermine integration
Post by: DaMysterious on May 04, 2004, 06:23:19 PM
Quote from: jack on May 04, 2004, 05:33:52 PM
Quote from: DaMysterious on May 04, 2004, 05:22:21 PMI tryed this bridge om my server 2003 and stuck on it as you could read above.

My message was to make it clear to others where to get it from, so they don't have to hope that I'm able to see the message - things are a bit hectic for me at the moment.

Unfortunatley, I don't have a Windows box to try this on, but after trying Unknown's suggestions, the error messages should have changed. Can you post the current ones please?


Fatal error :
There was an error while processing a database query


with the latest changes suggested by Unknown for my Windows box.
Title: Re: Coppermine integration
Post by: jack on May 04, 2004, 07:13:56 PM
Do SMF and Coppermine both work properly seperateley?

Test this by removing the entry for the bridge from init.inc.php. If so, turn on debug mode in Coppermine band re-enable the bridge.
Title: Re: Coppermine integration
Post by: DaMysterious on May 05, 2004, 02:33:07 AM
Quote from: jack on May 04, 2004, 07:13:56 PM
Do SMF and Coppermine both work properly seperateley?

Test this by removing the entry for the bridge from init.inc.php. If so, turn on debug mode in Coppermine band re-enable the bridge.

Both verions working wel standalone.

In bridgemode this error came up in Coppermine with bridge enabled:

Fatal error :

There was an error while processing a database query.


While executing query "
SELECT variable, value
FROM smf_settings" on 0

mySQL error: Table 'coppermine.smf_settings' doesn't exist
Title: Re: Coppermine integration
Post by: Ben_S on May 05, 2004, 04:01:40 AM
mySQL error: Table 'coppermine.smf_settings' doesn't exist

Are your SMF tables in your database named coppermine?
Title: Re: Coppermine integration
Post by: DaMysterious on May 05, 2004, 04:23:52 AM
Quote from: Ben_S on May 05, 2004, 04:01:40 AM
mySQL error: Table 'coppermine.smf_settings' doesn't exist

Are your SMF tables in your database named coppermine?

No! Both databases resides appart on my server, one for /coppermine and the other for /smf, noting is mixed up (both works standalone without problems). You may check SMF (http://damysterious.xs4all.nl/smf/) and Coppermine (http://damysterious.xs4all.nl/gallery/) on that. Personally I think this is a redirection problem for Wind-Boxes in the bridgefile of coppermine but as I'm not a programmer I could'nt trace the problem  :(.
Title: Re: Coppermine integration
Post by: [Unknown] on May 05, 2004, 04:35:01 AM
Database and directory are not synonymous.

In smf/Settings.php, what is $db_name?  What is $db_prefix?

What database name is Coppermine installed under?

-[Unknown]
Title: Re: Coppermine integration
Post by: DaMysterious on May 05, 2004, 04:42:43 AM
Quote from: [Unknown] on May 05, 2004, 04:35:01 AM
Database and directory are not synonymous.

In smf/Settings.php, what is $db_name?  What is $db_prefix?

What database name is Coppermine installed under?

-[Unknown]

My smf/settings.php

########## Forum Info ##########
$mbname = 'My Community'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'http://damysterious.xs4all.nl/smf'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie10'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server = 'localhost';
$db_name = 'smf';
$db_user = 'root';
$db_passwd = '';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = dirname(__FILE__); # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = dirname(__FILE__) . '/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;

if (file_exists(dirname(__FILE__) . '/install.php'))
header('Location: http://' . (empty($_SERVER['HTTP_HOST']) ? $_SERVER['SERVER_NAME'] . (empty($_SERVER['SERVER_PORT']) || $_SERVER['SERVER_PORT'] == '80' ? '' : ':' . $_SERVER['SERVER_PORT']) : $_SERVER['HTTP_HOST']) . dirname($_SERVER['PHP_SELF']) . '/install.php');


And my coppermine/include/config.inc.php

// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                       "localhost";        // Your database server
$CONFIG['dbuser'] =                         "root";        // Your mysql username
$CONFIG['dbpass'] =                         "";                // Your mysql password
$CONFIG['dbname'] =                         "coppermine";        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                "cpg_";
Title: Re: Coppermine integration
Post by: [Unknown] on May 05, 2004, 11:44:49 AM
Hmm, it's possible that the bridge may not expect that....

Jack, you should use $db_name . '.' . $db_prefix as the SMF prefix.

-[Unknown]
Title: Re: Coppermine integration
Post by: jack on May 05, 2004, 12:56:04 PM
Yup - there are many problems and awkward situations introduced when Coppermine and any Forum it is integrating with do not share the same database. The current recommendation is to have them both share the same DB,

http://coppermine.sourceforge.net/manual.php#integrating
Title: Re: Coppermine integration
Post by: madmanrulez on May 06, 2004, 04:46:08 AM
from the bridge file i downloaded from from the coppermine site, think there is something wrong  on line 447
    $UDB_DB_LINK_ID = @mysql_connect(SMF_BD_HOST, SMF_DB_USERNAME, SMF_DB_PASSWORD);
the SMF_BD_HOST part, is't suppose to be SMF_DB_HOST??

anyway, my point is, i changed it to SMF_DB_HOST myself, and then the gallery give me this:
Fatal error :
There was an error while processing a database query


SMF n coppermine works fine by itself. so don't noe where went wrong, thnx
Title: Re: Coppermine integration
Post by: jack on May 08, 2004, 03:51:39 PM
Yeah, the typo is a known issue. I'll have to do a new release some time.

Please put the gallery into debug mode to post error messages, thanks.
Title: Re: Coppermine integration
Post by: casper_shadowrider on May 09, 2004, 12:47:29 PM
Quote from: madmanrulez on May 06, 2004, 04:46:08 AM
from the bridge file i downloaded from from the coppermine site, think there is something wrong  on line 447
    $UDB_DB_LINK_ID = @mysql_connect(SMF_BD_HOST, SMF_DB_USERNAME, SMF_DB_PASSWORD);
the SMF_BD_HOST part, is't suppose to be SMF_DB_HOST??

anyway, my point is, i changed it to SMF_DB_HOST myself, and then the gallery give me this:
Fatal error :
There was an error while processing a database query


SMF n coppermine works fine by itself. so don't noe where went wrong, thnx

Hi Madman,

You also posted this on the coppermine board, Here (http://coppermine.sourceforge.net/board/index.php?topic=6031.0).
As informed on that board, this should not be changed.  All the bridge files in coppermine use the line 'BD_HOST', because of a typo in the original script, but it works.  It won't work if you change it.  Your problem is almost certainly due to the only line you need to edit being incorrect.
Line 45 ($path = '../smf';) has to be edited to show the path to your forum directory.

Please let us know if you still have a problem.
Title: Re: Coppermine integration
Post by: Oldiesmann on May 09, 2004, 04:50:07 PM
Change that, and if you still get the database error message, here's how to determine what's causing it:

Go back into init.inc.php and comment out the newly inserted line that integrates it with SMF.
Login to Coppermine with admin priveleges
Under "config" select "yes" next to "debug mode" and click "save new config".

Then, go back and uncomment that line and go back to coppermine. This will give you a nice long explanation of what's causing the database error. (ie "While executing the query (really long mysql query), mysql returned the following error: (mysql error message)"). Also, make sure you're using the version attached at the beginning of this thread and not the one from the Coppermine CVS Repository (unless you're using the CVS version of coppermine).
Title: Re: Coppermine integration
Post by: djbox on May 31, 2004, 12:50:08 AM
OK i see everyone taking about the Intergration file to put into the CP gallery But none talk about one for the SMF forum.  SO that the users that are already registered for the gallery can also log into the Forum.  Meaning that lets say i already had CPG for about 1 year and have thousands of pictures and thousands of registered users.  Now then u deside one day to install SMF.  So u do the intergration that comes with the new CPG beta 1.3 beta 4 .  But the users that are allowed to log into the gallery and the forum are the users that register for the forum AFTER i install it.  So the users that were registered for the Gallery before that day are in deep trouble.  Can anyone advice in this issue cuz i know alot of people had this problem

THanks in advance
Title: Re: Coppermine integration
Post by: jack on May 31, 2004, 05:34:05 AM
As far as I am aware, there is no way to do this short of making major changes to the forum software.

There is an integration project going on with a portal/cms system. I would imagine that they are approaching the problem the same way as with Coppermine - i.e. make the cms's authentication system 'pluggable', but it isn't impossible that they are working with the SMF team to make changes on the forum side.
Title: Re: Coppermine integration
Post by: Joachim Müller on June 01, 2004, 12:41:36 AM
@djbox: Basically you will need a converter that will have to run once, converting all existing coppermine users to smf users. Once this is done, you could enable smf integration into coppermine. I can see such a converter could be helpfull, but afaik nobody has done this yet.

GauGau
Title: Re: Coppermine integration
Post by: Oldiesmann on June 01, 2004, 12:41:56 PM
Someone will have to write something like that for you... Shouldn't be too difficult to do either.

As far as the login - any user who is a member of the forum will be able to login to coppermine once you install it.
Title: Re: Coppermine integration
Post by: djbox on June 04, 2004, 12:12:11 AM
thats would be great.  there must be about 1 million other users that would like this.
Title: Re: Coppermine integration
Post by: mcdougrs on June 08, 2004, 09:30:42 AM
Ok I hate to be a block head, But I am so here it goes.

So what is the status of a Menalto Gallery integration? Is there even one at all? I think I have figured out that the "Offical Addon" will have Gallery integration but that seems to be a ways off  ???

Should I just do a Coppermine Installation, especially since I only have one album so far? And use the latest from the CVS tree with the integration script already built in?
Title: Re: Coppermine integration
Post by: jack on June 10, 2004, 02:55:42 AM
I would wait about a week or so, for us to finalise 1.3.0 - it's almost there

Correction :- Current ETA is 'a few hours'  8)
Title: Re: Coppermine integration
Post by: mcdougrs on June 10, 2004, 09:01:38 AM
Well that seems to be the easiest thing to do, and apparently the only thing to do :P I eagerly await the release of 1.3.0!

Thanx
Title: Re: Coppermine integration
Post by: jack on June 10, 2004, 12:58:10 PM
It's OUT NOW!!

Grab it while it's hot :)

http://coppermine.sourceforge.net/board/index.php?topic=6758.0
Title: Re: Coppermine integration
Post by: djbox on June 10, 2004, 04:57:55 PM
cool guys thx alot.  hope that fixes a few problems :)
Title: Re: Coppermine integration
Post by: mcdougrs on June 11, 2004, 07:56:38 AM
Awesome I hope to get that installed today!!!
Title: Re: Coppermine integration
Post by: DaMysterious on June 27, 2004, 05:50:17 PM
Quote from: [Unknown] on May 05, 2004, 11:44:49 AM
Hmm, it's possible that the bridge may not expect that....

Jack, you should use $db_name . '.' . $db_prefix as the SMF prefix.

-[Unknown]

Integration of Coppermine works wel on my WinBox now with the latest smf.inc.php. Thanks for the hard work! 8). The only thing I had to do whas changing the source path to '$sourcedir = 'C:/Inetpub/smf/Sources';' in Settings.php. Both, Smf (http://damysterious.xs4all.nl/smf/) and Coppermine (http://damysterious.xs4all.nl/coppermine/) are running like a charm since yesterday.
Title: Re: Coppermine integration
Post by: Alisha on June 28, 2004, 08:25:25 AM
Quote from: DaMysterious on June 27, 2004, 05:50:17 PM

Integration of Coppermine works wel on my WinBox now with the latest smf.inc.php. Thanks for the hard work! 8). The only thing I had to do whas changing the source path to '$sourcedir = 'C:/Inetpub/smf/Sources';' in Settings.php. Both, Smf (http://damysterious.xs4all.nl/smf/) and Coppermine (http://damysterious.xs4all.nl/coppermine/) are running like a charm since yesterday.


Would this Cure my problem?

Warning: main(/Settings.php): failed to open stream: No such file or directory in /home/.cadence/msalisha/dancedancekc.com/Gallery/bridge/smf.inc.php on line 75

Fatal error: main(): Failed opening required '/Settings.php' (include_path='.:/usr/local/lib/php') in /home/.cadence/msalisha/dancedancekc.com/Gallery/bridge/smf.inc.php on line 75
Title: Re: Coppermine integration
Post by: NukeWorker.com on June 28, 2004, 10:19:13 AM
Get the most recent bridge file from web cvs: http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/bridge/smf.inc.php

It says its for beta 5, but it works on beta 6, and fixes any problems I had.
Title: Re: Coppermine integration
Post by: Alisha on June 28, 2004, 01:42:56 PM
hmmmm I downloaded that version,and I am still getting that same error, although line 77 now?

Looks like it can not find or open /settings.php in the in my /Forums dir.

QuoteFatal error: main(): Failed opening required '/Settings.php'

I have set it to find the SMF path

Quote// Set this to the location of your Settings file:
$path = '../Forums';

I removed comment from the init.inc.php on the SMF line.

This has to be somthing simple I am overlooking here.
Title: Re: Coppermine integration
Post by: [Unknown] on June 28, 2004, 06:02:58 PM
Try instead of $path = '../Forums';...

$path = '/home/.cadence/msalisha/dancedancekc.com/Forums';

If that doesn't help, you might have to wait for Jack to see this, or ask at the coppermine forum. (http://coppermine.sf.net/board/index.php)

-[Unknown]
Title: Re: Coppermine integration
Post by: Alisha on June 28, 2004, 09:37:55 PM
Once again, Unknown, has SAVED the DAY!  Whooooo Problem Solved! :) SMF => coppermine bridge complete! :)

Thanks to Everyone that has posted to help me! :)





Title: Release NEW Theme Simpel Machines Forum (SMF)
Post by: DaMysterious on June 29, 2004, 03:03:58 AM
I'm proud to be announce release of the first SMF Theme for Coppermine v1.3.

Follow this link (http://coppermine.sourceforge.net/board/index.php?topic=7126.msg32645#msg32645) to read more.
Title: Re: Coppermine integration
Post by: Alisha on June 29, 2004, 03:57:17 AM
Looks GREAT!!!!

Title: Re: Release NEW Theme Simpel Machines Forum (SMF)
Post by: NukeWorker.com on June 29, 2004, 09:16:56 AM
Quote from: DaMysterious on June 29, 2004, 03:03:58 AM
I'm proud to be announce release of the first SMF Theme for Coppermine v1.3.

Follow this link (http://coppermine.sourceforge.net/board/index.php?topic=7126.msg32645#msg32645) to read more.

Great theme!
Title: Re: Coppermine integration
Post by: Neol on August 10, 2004, 08:22:06 PM
Hey I have no idea how to integrate my SMF with Coppermine!

Need Help!!  8) ::)
Title: Re: Coppermine integration
Post by: Ben_S on August 10, 2004, 08:32:30 PM
Since your a charter member, if you open a support ticket, one of us will sort you out ;).

You could just download coppermine and the bridge and set it up, but if you need assistance doing it, we can help you :).
Title: Re: Coppermine integration
Post by: Atari on August 16, 2004, 11:18:18 PM
Anyone know where I can get the bridge for Coppermine to SMF? All the links on coppermines forum come up bad gateway for me. Also is it RC1 compatible yet?

and jacks link gives me : The topic or board you are looking for appears to be either missing or off limits to you.

and yes I'm registered there
Title: Re: Coppermine integration
Post by: kegobeer on August 16, 2004, 11:39:27 PM
The bridge file that comes with Coppermine 1.3.1 works fine with RC1.  I don't know what would be causing your Bad Gateway error.  Perhaps try again at a later time?  Did you try http://coppermine.sourceforge.net

Here's a link to 1.3.1:
http://prdownloads.sourceforge.net/coppermine/cpg1.3.1.zip?use_mirror=voxel

If you haven't already upgraded to 1.3.1, I highly recommend it.  I don't know how well the bridge file will work with anything earlier than 1.3.0.
Title: Re: Coppermine integration
Post by: Atari on August 17, 2004, 08:15:21 PM
ahh shoot me. I downloaded the newest version but didnt realize the bridge was in there. i thought it was a seperate file. And that was what I was trying to find.  :P
Title: Re: Coppermine integration
Post by: Atari on August 17, 2004, 10:09:09 PM
Are you sure the bridge that comes with 1.3.1 is correct. I can't get it to work for me. My forum is in the folder smf which is located in my home directory and gallery is the folder with coppermine and is on the same level as smf so my path is $path = '../smf' When i comment out the bridge in the init.inc.php both the forum and gallery work fine as stand alone. But when I "turn on" the bridge I get this error:

Fatal error :

There was an error while processing a database query.
While executing query "
      SELECT variable, value
      FROM smf_settings" on 0

mySQL error: Table 'creativespirit_us_-_gallery.smf_settings' doesn't exist


any ideas what I'm doing wrong?

Title: Re: Coppermine integration
Post by: [Unknown] on August 17, 2004, 11:02:35 PM
Atari,

Are they in the same database, or in different databases? (coppermine and SMF.)

-[Unknown]
Title: Re: Coppermine integration
Post by: Atari on August 18, 2004, 06:28:01 PM
I installed the gallery as a standalone so it is 2 seperate databases currently. Should I have pointed it to SMF's database instead? I didnt see anything about that in the bridge instructions.
Title: Re: Coppermine integration
Post by: Atari on August 18, 2004, 11:17:52 PM
Quote from: NukeWorker.com on August 18, 2004, 10:25:15 PM
Quote from: Atari on August 18, 2004, 06:28:01 PM
There are 10 kinds of people in this World.
Those who understand Binary and those who don't

That quote should be:

There are 01 kinds of people in this World.
Those who understand Binary and those who don't.

Shouldn't it?

http://www.mistupid.com/computers/binaryconv.htm

enter 2 into decimal and hit convert button  ;D

they even have the same quote  :P
Title: Re: Coppermine integration
Post by: kegobeer on August 18, 2004, 11:42:08 PM
@Atari:

QuoteI installed the gallery as a standalone so it is 2 seperate databases currently. Should I have pointed it to SMF's database instead? I didnt see anything about that in the bridge instructions.

From the included Coppermine documentation:

QuoteIt is also recommended that you use the same database for your board and Coppermine (in fact it is even mandatory!).

Move your Coppermine tables to the SMF database, update the Coppermine settings to reflect the new db, and you should be in business.
Title: Re: Coppermine integration
Post by: [Unknown] on August 18, 2004, 11:56:16 PM
(hmmph, it doesn't have to be mandatory :P.)

-[Unknown]
Title: Re: Coppermine integration
Post by: [Unknown] on August 19, 2004, 11:09:20 AM
You're counting backwards.  Most significant goes on the left, not right... like so:

8421
-------
0001  1
0010  2
0011  3
0100  4
0101  5
0110  6
0111  7
1000  8
1001  9
1010 10
1011 11
1100 12
1101 13
1110 14
1111 15


-[Unknown]
Title: Re: Coppermine integration
Post by: Atari on August 19, 2004, 08:37:06 PM
Quote from: kegobeer on August 18, 2004, 11:42:08 PM
@Atari:

QuoteI installed the gallery as a standalone so it is 2 seperate databases currently. Should I have pointed it to SMF's database instead? I didnt see anything about that in the bridge instructions.

From the included Coppermine documentation:

QuoteIt is also recommended that you use the same database for your board and Coppermine (in fact it is even mandatory!).

Move your Coppermine tables to the SMF database, update the Coppermine settings to reflect the new db, and you should be in business.

well i just went through the documentation and i can't find that anywhere. Infact it doesn't even include SMF in the list of what  BBS can be intergrated with it.  I thought thats what the bridge was for. ( to create the link to the SMF database) If i have to move all the tablers and such then thats not much of a bridge as far as i'm concerned. I'll just keep them seperate until they write some  instructions that explain it not half of it.  >:(
Title: Re: Coppermine integration
Post by: nickweb on August 20, 2004, 08:26:14 AM
Sorry to post this after the 10 odd pages, but i cant find a link on the coppermine website to integrate it into the forum.. Any ideas where it went? The link on page 9 says the post is missing, and the CVS link is showing as bad gateway.

Thanks!

Nick
Title: Re: Coppermine integration
Post by: kegobeer on August 20, 2004, 08:54:53 AM
@Atari:

Take a look at /docs/index.htm, section 5, "Integrating the script with your bulletin board".  If you don't have that directory, you must not have 1.3.0+.  The instructions don't specifically mention SMF but there aren't any steps above any beyond to get the bridge working.

The bridge files were written to integrate CPG and forums on the same domain, sharing the same db.  I'm sure it's possible to go across db's, but it hasn't been coded yet since the majority of users tend to have access to only one db.  You can always post a request for such a bridge to be written.

@nickweb:  Try http://coppermine.sourceforge.net.
Title: Re: Coppermine integration
Post by: nickweb on August 20, 2004, 10:09:16 AM
Perfect! I guess RTFM would have been in order there! he he..

Thanks!

(p.s the smiley graphics on this forum, where they from? theyre pretty funky! :)

Nick
Title: Re: Coppermine integration
Post by: Atari on August 20, 2004, 06:46:09 PM
 :( I finally read through the instructions line by line again and I did see about the same databases. The part that had me mixed up was when they said about installing them seperately. To me i thought that meant databases too. But anyways, i reran the install and pointed it to the smf database and the thing is running fine. Been pulling out whats left of my hair and all it was, was that little thing about using same database that had me all mixed up.

Thanks to all for trying to help my thick headedness.  :P

and yes 10=2
Title: Re: Coppermine integration
Post by: Joachim Müller on August 26, 2004, 04:01:03 AM
Quote from: Atari on August 16, 2004, 11:18:18 PM
Anyone know where I can get the bridge for Coppermine to SMF? All the links on coppermines forum come up bad gateway for me. Also is it RC1 compatible yet?
The link Jack was posting pointed to the web cvs, where the most recent files (even those that haven't been released yet ;)) reside. Our webhost sf.net had troubles at that time with anonymous cvs access (this caused the "bad gateway" error message), but they sorted it out right now. Those who are looking for the bridge file only (which is included in the coppermine package already) can find it here: http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/bridge/smf.inc.php?rev=1.7&view=log
We reviewed the integration guide as well - it now explicitely mentions SMF: http://coppermine.sourceforge.net/manual.php#integrating (just as a sidenote: getting SMF bridging to work is the easiest one; all other bbs apps have rather complicated setups - the user is requested to fill in a lot of data in the bridge file before integration is up-and-running). Kudos to the SMF team. I wouldn't want to go back to the other bbs we used before SMF (we had to).

GauGau

P.S. Coppermine1.3.2 is out, which doesn't have new features, but fixes some bugs that existed in older versions. Upgrade recommended (easy).
Title: Re: Coppermine integration
Post by: Kris on August 26, 2004, 04:20:33 AM
Since I upgraded to the former version, some membergroups get query errors.
You have a shortcut to the changelog or buglist?
Title: Coppermine and Simplemachine Themes
Post by: nhym-web on December 02, 2004, 07:26:06 PM


I'm looking for a simplemachines theme that matches exactly or almost exactly a coopermine gallery.  ANY matching themes are welcome.

Title: Re: Coppermine and Simplemachine Themes
Post by: NukeWorker.com on January 14, 2005, 10:19:37 PM
Quote from: nhym-web on December 02, 2004, 07:26:06 PM


I'm looking for a simplemachines theme that matches exactly or almost exactly a coopermine gallery.  ANY matching themes are welcome.



There is a coppermine theme that matches the SMF theme exactly... if that helps.
Title: Re: Coppermine and Simplemachine Themes
Post by: smacktalk on January 15, 2005, 01:14:25 AM
Quote from: NukeWorker.com on January 14, 2005, 10:19:37 PM
Quote from: nhym-web on December 02, 2004, 07:26:06 PM


I'm looking for a simplemachines theme that matches exactly or almost exactly a coopermine gallery.  ANY matching themes are welcome.



There is a coppermine theme that matches the SMF theme exactly... if that helps.


Where? I've been there and all over here and cant find the actuall theme.
Title: Re: Coppermine integration
Post by: Jerry on January 15, 2005, 01:28:27 AM
http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=98541
search for smf on this page :) there are 2, I recommend smf_filmleft.zip because it looks a bit better than the other one list imo :)
Title: Re: Coppermine integration
Post by: smacktalk on January 15, 2005, 01:39:39 AM
Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!!
Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!! Thank you!!


I swear I would still be looking. :-)
Title: Re: Coppermine integration
Post by: Joachim Müller on January 26, 2005, 04:34:34 AM
see those two SMF-lookalike coppermine themes live: SMF (regular) (http://coppermine.sourceforge.net/demo/index.php?theme=smf) - SMF filmleft (http://coppermine.sourceforge.net/demo/index.php?theme=smf_filmleft) (they differ in the way the filmstrip is displayed when looking at a single pic; no visible differences on the index page).
Title: Re: Coppermine integration
Post by: Ben_S on January 26, 2005, 07:32:22 AM
Nice.
Title: Re: Coppermine integration
Post by: mennou on February 19, 2005, 02:57:27 AM
is there any coppermine  mods  for smf 1.0.2?
Title: Re: Coppermine integration
Post by: Kindred on February 19, 2005, 08:00:19 AM
Why do you need one?   Coppermine merges with SMF by sharing the cookie and calling the smf profile...  a s far as I can tell, 1.0, 1.0.1, 1.0.2 all work just fine with Coppermine as released.
Title: Re: Coppermine integration
Post by: mennou on February 19, 2005, 10:51:44 AM
i just installed the coppermine to my site but i don't know what to do next.....
Title: Re: Coppermine integration
Post by: kegobeer on February 19, 2005, 01:21:18 PM
Read the documentation that comes with Coppermine, in the /docs directory.  Bridging is explained.
Title: Re: Coppermine integration
Post by: jimwall2 on February 21, 2005, 02:19:36 AM
That documentation doesn't cover creating a link.  It says to look to SMF... 

Is there a way to do it without having to edit code, and if not, which file needs to be edited?
Title: Re: Coppermine integration
Post by: Kindred on February 21, 2005, 08:30:48 AM
You mean creating a button in SMF?

You'd do that in index.template.php, right in/around the calendar button and the logout/login buttons...
Title: Re: Coppermine integration
Post by: ping on February 24, 2005, 02:41:31 PM
I've got a strange issue at http://hogsmeade.us/gallery
I edited the theme so the forum link pointed to my forum (which isn't in the "smf" folder), but it doesn't seem to think I'm logged in, even though, if I click on the "login" link, it says I am.  Is there a setting somewhere that I need to change?
Title: Re: Coppermine integration
Post by: snork13 on February 24, 2005, 03:24:32 PM
Quote from: ping on February 24, 2005, 02:41:31 PM
I've got a strange issue at http://hogsmeade.us/gallery
I edited the theme so the forum link pointed to my forum (which isn't in the "smf" folder), but it doesn't seem to think I'm logged in, even though, if I click on the "login" link, it says I am.  Is there a setting somewhere that I need to change?

If I am correct, the bridge needed to be done with no user, just an admin account active, so all your current users won't have access to the gallery through the bridge if done after users have joined.

try making a new test user once bridged?
you can also try asking over at coppermine support in the 1.3 bridge sub-board

snork
Title: Re: Coppermine integration
Post by: yohanesine on March 03, 2005, 06:10:15 PM
Sorry, guys...I am a php newbie.  I am trying to finish up my coppermine integration, but don't know what to do next.  I've read all these posts, but I think I must be thick.  Here are the final instructions from Coppermine...

"....Once the login or logout is performed you won't be redirected automatically to the gallery because your board does not have any function for that. It's up to you to add a link on your board to get you back to the gallery."

This is exactly my problem...When I try to login to coppermine, it re-directs me to login on my forum, however, after I login, I try to go "back" to coppermine through direct url, and I'm not logged in.  I don't know how to add a link to my index back to my gallery.  Can someone point me possibly to a post about this, or has someone created a mod for smf to create this link on the default smf theme index?

Also, does anyone have the photoshop file of the index page icons (links like "home, search, etc."), including the font?

Thanks in advance.
Title: Re: Coppermine integration
Post by: ping on March 03, 2005, 11:20:10 PM
I thought I had this problem, too, only to discover that the SMF themes available have the links for logging in and out hard-coded in, so that it looked like I wasn't logged in on the top, but was actually logged in when I tried to do stuff with the gallery. I ended up deleting the boxes, because I'd have had to update them manually, and I'm lazy. :)

Does this make sense? Do you have the SMF theme? What's your URL, if you can provide it?

I added a link to my SMF forum (http://hogsmeade.us/forums) where I had some other links already. (The GrandPre gallery is the link to the coppermine installation.) I basically searched through the template, found the "menu," and put the links in on the next line. Not too pretty, but functional. I can find the code for you if you need.
Title: Re: Coppermine integration
Post by: yohanesine on March 04, 2005, 12:11:56 AM
thanks, but yes...I am aware of that problem in the forum.  however, my problem is that when I go back to the gallery, I'm "really" not logged in.  If I were, it would bring up the admin button, and it doesn't.

Here the url for the forum.  You can login with "test" and "test" (username and passwords).  Then click on gallery, and you'll see what I mean...it doesn't keep you logged-in...

http://216.120.251.3/~traumer/forum/

fyi, I found the "gallery.gif" button.

Title: Re: Coppermine integration
Post by: yohanesine on March 04, 2005, 12:33:23 AM
GOT IT!  Thanks, Babylonking.

It's in this thread...
http://www.simplemachines.org/community/index.php?topic=23358.msg224260#msg224260


O.k. this may be a dumb question, but here goes...

so now how can I get coppermine to show up "within" my forum page (under the header, so that it appears a part of the forum, instead of a different site?
Title: Re: Coppermine integration
Post by: Joachim Müller on March 04, 2005, 12:59:45 AM
Quote from: yohanesine on March 04, 2005, 12:33:23 AM
so now how can I get coppermine to show up "within" my forum page (under the header, so that it appears a part of the forum, instead of a different site?
Not at all, sorry. The integration between coppermine and smf doesn't get that close: once bridged, coppermine will use the users/groups from SMF, that's all - visual integration isn't that easy: you can not just integrate it using a php include (as coppermine comes with a template engine of it's own that differs from smf's engine). You have to create a coppermine theme that closely matches the look of your smf pages (there is a coppermine theme that resembles SMF's default theme (http://coppermine.sourceforge.net/demo/index.php?theme=smf)), and you might want to modify both coppermine's and smf's menu to have links from one of them pointing to the other.
Anyway, SMF doesn't take full control of coppermine (nor vice versa), this is the big plus of the integration scheme we currently use: neither the code of coppermine nor the code of smf has to be modified to bridge the two of them (with the benefit that you can easily do upgrades of one app or the other without impact on bridging). The drawback is: there's no close visual integration (that's what the coppermine ports for CMS portals like nuke, e107 or PragmaMX do).
Another workaround would be the use of an iframe to display coppermine content on an smf page (not recommended though, because of all the drawbacks iframes/frames have by design).

Joachim
Title: Re: Coppermine integration
Post by: Robert Frost on March 09, 2005, 01:50:39 PM
so for instance, i can bridge my forum and gallery (they already use a similar theme) without any modifications in both of them?

cool, eventhough i will lose all users and galleries :)


but tell me this: does the fact that my smf is an upgrade from YaBBSE 1.5.5 mean something? I mean, will it still work eventhough some table names or stuff still have "yabb" in them?
Title: Re: Coppermine integration
Post by: ping on March 09, 2005, 02:02:46 PM
My forum has yabb in the tablenames, and I was able to get it to work fine. I followed the instructions to bridge an SMF forum, and it worked perfectly.
Title: Re: Coppermine integration
Post by: Robert Frost on March 09, 2005, 03:36:19 PM
i think i will do it now :) thanks, that's all the info i needed.
Title: Re: Coppermine integration
Post by: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.
Title: Re: Coppermine integration
Post by: ping on March 09, 2005, 03:43:05 PM
Ah, guess I should amend it. It works as perfectly as it can now. They're working on the logging out issue--should have it fixed on the next CM release. :)
Title: Re: Coppermine integration
Post by: Robert Frost on March 09, 2005, 03:45:35 PM
well, i sincerely doubt that is such a big issue :P my members do everything through the forum, so...
Title: Re: Coppermine integration
Post by: ping on March 09, 2005, 05:06:34 PM
That was my reaction. I told them they couldn't do it from there, and no one's complained. Most of them probably don't really log out anyway. :)
Title: Re: Coppermine integration
Post by: Robert Frost on March 09, 2005, 05:17:46 PM
weird ;D

i set up the bridge...and it kept all my albums and comments and all. And it's working :D eventhough it was written in the bridge file it will all go away. Strange, but i'm not complainin at all :D :D :D

one issue though. when i try to login at coppermine, it takes me to the forum login page. that's ok. when i log in - why don't it take me to the coppermine page? is that a bug or a feature? ;D
Title: Re: Coppermine integration
Post by: ping on March 09, 2005, 08:40:52 PM
Good question. I think it has something with whether or not redirects are allowed in SMF. I didn't investigate it much, though I'm tempted to just remove the login/logout buttons from the theme until the next release. :)
Title: Re: Coppermine integration
Post by: Robert Frost on March 09, 2005, 08:45:32 PM
i lost almost an hour with implementing a gallery button, no way i'm removin anything now :D

well, we'll have to wait for the big bosses to come down and tell us the answer ;)
Title: Re: Coppermine integration
Post by: Joachim Müller on March 10, 2005, 10:46:36 AM
GauGau (aka Joachim)

P.S. For more detailed coppermine-related support I recommend the use of the coppermine board (http://coppermine.sf.net/board/) instead of this one - you will easily find your way around, as the coppermine site uses SMF as board app as well...
Title: Re: Coppermine integration
Post by: [Unknown] on March 14, 2005, 04:37:35 AM
Quote from: GauGau on March 10, 2005, 10:46:36 AM
SMF currently doesn't support redirection back to coppermine after a user has logged in who came from the coppermine page afaik (this is actually a feature of SMF to prevent XSS attacks), I'm not sure if this will be changed in the future. As a workaround, place a link back to your coppermine gallery into your board's navigation.

Actually, it can as long as you set it in SMF's session data:

smf_loadSession();
$_SESSION['login_url'] = 'http://www.google.com/';


This is related to the logout problem, however, so should be fixed at the same time (they're both caused by SMF and Coppermine looking different places for the session data.)

-[Unknown]
Title: Re: Coppermine integration
Post by: Owdy on March 14, 2005, 06:15:42 AM
Can you talk n00bish and tell us where to put that code :P
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 15, 2005, 06:07:19 AM
Quote from: Owdy on March 14, 2005, 06:15:42 AM
Can you talk n00bish and tell us where to put that code :P

Only a guess, but I's say the coppermine theme.php
Title: Re: Coppermine integration
Post by: Owdy on March 15, 2005, 09:32:01 AM
Fatal error: Call to undefined function: smf_loadsession()
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 15, 2005, 09:44:26 AM
How about putting that coad in the theme where the smf_welcome is, then calling it form the template.html with a {smf_loadsession}    ???

I have to warn you Owdy, this is the blind leading the blind, I could be wasting your time.
Title: Re: Coppermine integration
Post by: Owdy on March 15, 2005, 10:12:54 AM
LOL. I test that. :D

edit: nah, same error
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 15, 2005, 09:47:22 PM
My next suggestion is to run the cvs 1.4
Title: Re: Coppermine integration
Post by: Owdy on March 16, 2005, 02:21:32 AM
Is that downloadable somewhere?
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 16, 2005, 12:50:21 PM
Try here:

http://cvs.sourceforge.net/viewcvs.py/coppermine/
http://coppermine.sourceforge.net/board/index.php?topic=7947.0
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 21, 2005, 09:48:50 PM
Quote from: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.

My problem is logging in. I followed all of the directions, but I can't log in to coppermine. I converted my forum from yabb and my tables are prefixed yabbse. Should I be using the smf.inc or the yabbse.inc instead?
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 21, 2005, 09:55:33 PM
Quote from: Elijah Bliss on March 21, 2005, 09:48:50 PM
Quote from: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.

My problem is logging in. I followed all of the directions, but I can't log in to coppermine. I converted my forum from yabb and my tables are prefixed yabbse. Should I be using the smf.inc or the yabbse.inc instead?

SMF bridge.
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 21, 2005, 10:09:14 PM
Quote from: NukeWorker.com on March 21, 2005, 09:55:33 PM
Quote from: Elijah Bliss on March 21, 2005, 09:48:50 PM
Quote from: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.

My problem is logging in. I followed all of the directions, but I can't log in to coppermine. I converted my forum from yabb and my tables are prefixed yabbse. Should I be using the smf.inc or the yabbse.inc instead?

SMF bridge.

ok, I'm using that right now, I get this strange url link from the login link:
http://www.blaqboard.com/coppermine/login.php?referer=%2Fcoppermine%2F

I have database driven sessions turned off as well, but I still cannot get in to coppermine.
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 22, 2005, 03:08:55 AM
Quote from: NukeWorker.com on March 15, 2005, 09:47:22 PM
My next suggestion is to run the cvs 1.4

Doesn't work.
Title: Re: Coppermine integration
Post by: kegobeer on March 22, 2005, 10:52:43 PM
Your Coppermine gallery isn't here:  http://www.blaqboard.com/coppermine/

Where is it?
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 23, 2005, 02:21:28 AM
Quote from: kegobeer on March 22, 2005, 10:52:43 PM
Your Coppermine gallery isn't here:  http://www.blaqboard.com/coppermine/

Where is it?

Here is the new link (http://www.blaqboard.com/v2/Diesel/Edition/cpg132/)

Any help is greatly appreciated.
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 23, 2005, 06:59:27 AM
Here is some code to put in your "anycontent.php" file to show the Top 10 Uploaders".
(It's my first attempt as a DB query)

If you have some questions about the anycontent, see this link:
http://coppermine.sourceforge.net/board/index.php?topic=8405

echo '<table width="100%"><tr><td width="50%">';
starttable("100%", "Top 10 Uploaders",2);

$result = db_query("
SELECT realName AS user_name, ID_MEMBER, COUNT( * ) AS numpics
FROM {$CONFIG['TABLE_PICTURES']}, " . $UDB_DB_NAME_PREFIX . SMF_TABLE_PREFIX . SMF_USER_TABLE . "

WHERE ID_MEMBER = owner_id
GROUP BY owner_id
ORDER BY numpics DESC
LIMIT 10
");

$i = 1;
while ($row = mysql_fetch_assoc($result)){
echo "<tr><td class=\"tableb\" >" . $i++ . ") <a href=\"profile.php?uid={$row['ID_MEMBER']}\">{$row['user_name']}</a></td><td class=\"tableb\"><a href=\"thumbnails.php?album=lastupby&uid={$row['ID_MEMBER']}\">{$row['numpics']} uploads</a></td></tr>";
}

endtable();
echo '</td></tr>';
endtable();
Title: Re: Coppermine integration
Post by: kegobeer on March 23, 2005, 07:24:29 PM
I didn't have any problems with the login link.  It directed me to your SMF forum.
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 23, 2005, 09:33:31 PM
Quote from: kegobeer on March 23, 2005, 07:24:29 PM
I didn't have any problems with the login link.  It directed me to your SMF forum.

that works, however when I log in, and go back to coppermine, I'm not logged on.
Title: Re: Coppermine integration
Post by: kegobeer on March 23, 2005, 10:09:04 PM
Can you post a test user/password so I can see?
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 23, 2005, 10:49:13 PM
Quote from: kegobeer on March 23, 2005, 10:09:04 PM
Can you post a test user/password so I can see?

Check your PM.
Title: Re: Coppermine integration
Post by: snork13 on March 23, 2005, 11:04:02 PM
@NukeWorker.com

Thanks for the "Top Uploader block"..

works great :D

snork
Title: Re: Coppermine integration
Post by: kegobeer on March 24, 2005, 08:32:19 PM
Ok.  Normally we recommend this for a typicall install:

domain/forum
domain/coppermine

I think you have this:
domain
domain/coppermine

That shouldn't be causing any real problems though.  I think the problem may be that you are using http://www.blaqboard.com/v2/Diesel/Edition/cpg132/ for your Coppermine URL, but you are using
http://blaqboard.com/v2/Diesel/Edition/index.php for your SMF URL.

In your Coppermine config settings, change your "Target address for the 'See more pictures' link in e-cards" to http://blaqboard.com/v2/Diesel/Edition/cpg132/

When I used IE, I was able to log in to your SMF site and then go to Coppermine, even though it was www.blaqboard.../cpg132/ instead of blaqboard.../cpg132/.  With Firefox, I was redirected to www.blaqboard.../cpg132/ and wasn't logged in.  Once I removed the www. from the URL, it showed me as logged in.

Hopefully changing the Target address will fix this.  Make sure to delete your blaqboard and www.blaqboard cookies and restart your browser.
Title: Re: Coppermine integration
Post by: Elijah Bliss on March 24, 2005, 09:19:00 PM
Quote from: kegobeer on March 24, 2005, 08:32:19 PM
Ok.  Normally we recommend this for a typicall install:

domain/forum
domain/coppermine

I think you have this:
domain
domain/coppermine

That shouldn't be causing any real problems though.  I think the problem may be that you are using http://www.blaqboard.com/v2/Diesel/Edition/cpg132/ for your Coppermine URL, but you are using
http://blaqboard.com/v2/Diesel/Edition/index.php for your SMF URL.

In your Coppermine config settings, change your "Target address for the 'See more pictures' link in e-cards" to http://blaqboard.com/v2/Diesel/Edition/cpg132/

When I used IE, I was able to log in to your SMF site and then go to Coppermine, even though it was www.blaqboard.../cpg132/ instead of blaqboard.../cpg132/.  With Firefox, I was redirected to www.blaqboard.../cpg132/ and wasn't logged in.  Once I removed the www. from the URL, it showed me as logged in.

Hopefully changing the Target address will fix this.  Make sure to delete your blaqboard and www.blaqboard cookies and restart your browser.

YES!

Thank you very very much, I got in just fine with your instructions. Thanks again!
Title: Re: Coppermine integration
Post by: kegobeer on March 25, 2005, 06:52:10 AM
Glad to help.  If you have any other Coppermine issues, stop by the Coppermine support site. (http://coppermine.sourceforge.net/board/index.php)
Title: Re: Coppermine integration
Post by: grymlin72 on March 26, 2005, 10:29:05 AM
Login/logout problems....  it seems to be acting squirlly...  If i try to log out, i get a blank screen.  No errors, just a blank screen.  Once i do manage to logout, and try to log back in...same thing. Blank screen on index2.php.   somehow, it does manage to login and logout, but i still get the screen.

Any suggestions?  Anyone care to have a look?  pm me and I'll send you link.  Rather not post it due to it's content.

thanks
Title: Re: Coppermine integration
Post by: kegobeer on March 26, 2005, 10:44:24 AM
For the quickest help, please go to the Coppermine support boards for Coppermine bridge support.  There's a board dedicated to bridge questions.

I'm pretty much the only Coppermine dev who visits the SMF site regularly.
Title: Re: Coppermine integration
Post by: grymlin72 on March 26, 2005, 12:07:38 PM
Ok..thanks!!
Title: Re: Coppermine integration
Post by: andro on March 30, 2005, 11:02:08 AM
not sure what is going on with my bridge,  I am getting this error at the top of my pages, but the integration works


Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 140

Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 167

any ideas?
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 30, 2005, 12:44:11 PM
Quote from: andro on March 30, 2005, 11:02:08 AM
not sure what is going on with my bridge,  I am getting this error at the top of my pages, but the integration works


Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 140

Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 167

any ideas?

Try re-downloading the smf bridge.
Title: Re: Coppermine integration
Post by: andro on March 30, 2005, 02:29:56 PM
Quote from: NukeWorker.com on March 30, 2005, 12:44:11 PM
Quote from: andro on March 30, 2005, 11:02:08 AM
not sure what is going on with my bridge,  I am getting this error at the top of my pages, but the integration works


Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 140

Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 167

any ideas?

Try re-downloading the smf bridge.


Did that, but it didn't help, still getting the same error.  We did just upgrade to 1.0.3 so I wonder if that did it.
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 30, 2005, 07:29:00 PM
Quote from: andro on March 30, 2005, 02:29:56 PM
Quote from: NukeWorker.com on March 30, 2005, 12:44:11 PM
Quote from: andro on March 30, 2005, 11:02:08 AM
not sure what is going on with my bridge,  I am getting this error at the top of my pages, but the integration works


Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 140

Notice: Undefined variable: context in /homepages/23/d89046223/htdocs/cpg/bridge/smf.inc.php(126) : eval()'d code on line 167

any ideas?

Try re-downloading the smf bridge.


Did that, but it didn't help, still getting the same error.  We did just upgrade to 1.0.3 so I wonder if that did it.

I'm running 1.0.3 with cpg 1.3.0 and I'm not having any troubles.  What version of CPG are you running?

Also, I suggest you look for help over at CPG,they know the CPG software better.  IT's not a SMF issue.
Title: Re: Coppermine integration
Post by: Joachim Müller on April 08, 2005, 04:27:34 AM
Quote from: andro on March 30, 2005, 02:29:56 PM
Did that, but it didn't help, still getting the same error.  We did just upgrade to 1.0.3 so I wonder if that did it.
Make sure you have the most recent file from the stable branch of the cvs. The version of the file smf.inc.php should be 1.7, the line in question is in the file header, should look like this// CVS version: $Id: smf.inc.php,v 1.7 2004/07/24 15:04:10 gaugau Exp $If you have an older version, you should use this one: http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/smf.inc.php?rev=1.7 (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/smf.inc.php?rev=1.7)
As already suggested by NukeWorker: if my suggestion doesn't solve the issues you have, you should take a look at the coppermine support board (http://coppermine.sourceforge.net/board/index.php?board=24.0).

Joachim
Title: Re: Coppermine integration
Post by: Tony Reid on May 15, 2005, 06:37:33 PM
May I ask what the difference between 1.6 and 1.7 is?

Im using ...
CVS version: $Id: smf.inc.php,v 1.6 2004/07/09 06:57:55 gaugau Exp

And it works without any modification on smf 1.1 Beta2

Just wondered if I should upgrade it or not bother.

Title: Re: Coppermine integration
Post by: NukeWorker.com on May 16, 2005, 06:28:04 AM
Quote from: Tony on May 15, 2005, 06:37:33 PM
May I ask what the difference between 1.6 and 1.7 is?

Im using ...
CVS version: $Id: smf.inc.php,v 1.6 2004/07/09 06:57:55 gaugau Exp

And it works without any modification on smf 1.1 Beta2

Just wondered if I should upgrade it or not bother.


That question should be asked on the CPG site.  The SMF team would not have that information.
Title: Re: Coppermine integration
Post by: Lazy on May 22, 2005, 05:29:23 AM
new

http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/smf.inc.php?rev=1.9
Title: Re: Coppermine integration
Post by: statornic on March 04, 2006, 06:04:24 PM
I have integrate SMF with Coppermine successfully and it works fine. But I have a question: is there a possibility to make a link in the menu of SMF that point to coppermine and the users will see the coppermine gallery on the forum page ?

Thank you in advance.
Title: Re: Coppermine integration
Post by: NukeWorker.com on March 07, 2006, 10:55:32 PM
Quote from: statornic on March 04, 2006, 06:04:24 PM
I have integrate SMF with Coppermine successfully and it works fine. But I have a question: is there a possibility to make a link in the menu of SMF that point to coppermine and the users will see the coppermine gallery on the forum page ?

Thank you in advance.

Take a look at How to make mods work with themes (http://www.simplemachines.org/community/index.php?topic=34526.0)?

Basically, you need to manually edit your theme to add another menu item.  Look for other menu items and add another in  there.
Title: Re: Coppermine integration
Post by: statornic on March 08, 2006, 04:07:38 AM
Thank you for your suggestion. I want to modify the default theme, but I don't have any instruction how to put a link in the menu that point to coppermine and when is clicked I want the coppermine run inside the forum, with the menu and forum logo (http://forum.crestini.com) instead standalone (http://forum.crestini.com/coppermine).

Thank you for support.
Title: Re: Coppermine integration
Post by: snork13 on March 08, 2006, 10:06:22 AM
Quote from: statornic on March 08, 2006, 04:07:38 AM
Thank you for your suggestion. I want to modify the default theme, but I don't have any instruction how to put a link in the menu that point to coppermine and when is clicked I want the coppermine run inside the forum, with the menu and forum logo (http://forum.crestini.com) instead standalone (http://forum.crestini.com/coppermine).

Thank you for support.

adding a link is easy to the default 1.1rc2 theme, and has been covered here
http://www.simplemachines.org/community/index.php?topic=63203.0 (http://www.simplemachines.org/community/index.php?topic=63203.0)

and if search my post over at coppermine you find the way to "wrap" coppermine within your forum. example can been seen on my site ;)

-snork
Title: Re: Coppermine integration
Post by: statornic on March 08, 2006, 11:39:47 AM
I miss that link. Gracias. And for your site.. I will drop two eyes there for learning purpouses. :)
Title: Re: Coppermine integration
Post by: marinelife on September 16, 2006, 11:34:32 PM
I postesd this on coppermines support forum but gotten no place, anyone have the permissions working on galleries. AS an admin I can upload to public gallery and not my user gallery, as a user I can uplaod to user gallery and not public gallery. All the settings seem right
Title: Re: Coppermine integration
Post by: yak on January 05, 2007, 09:47:45 AM
Hi all,
is this topic still alive? I was wondering if somebody can give me the EXACT link to the SMF coppermin bridge file and even the correct instruction on how to make it work.
I have never found so many difficultes in finding a file and its proper instructions. In coppermine the topic is badly covered in here it simply seems dead.
Title: Re: Coppermine integration
Post by: Fizzy on January 05, 2007, 03:23:13 PM
Hi Yak,

If you download the latest version from Coppermine and install it it will prompt you for Bridge settings, just follow the internal prompts for setting up the bridge step by step.
Title: Re: Coppermine integration
Post by: mdrcracing on January 06, 2007, 06:19:09 AM
Since the only thing they want to tell ya over there is to rtfm, does anyone know the command to display a radom image from a gallery?

I wanna add a few radom images onto the forum, but I can't find there code no where... thanks.
Title: Re: Coppermine integration
Post by: snork13 on January 06, 2007, 02:26:38 PM
Quote from: mdrcracing on January 06, 2007, 06:19:09 AM
Since the only thing they want to tell ya over there is to rtfm, does anyone know the command to display a radom image from a gallery?

I wanna add a few radom images onto the forum, but I can't find there code no where... thanks.

have you tried this mod? or check out cpmfetch, i use cpmfetch on my sites.

http://coppermine-gallery.net/forum/index.php?board=57.0

http://custom.simplemachines.org/mods/index.php?mod=455

Title: Re: Coppermine integration
Post by: mdrcracing on January 06, 2007, 06:23:27 PM
Quote from: snork13 on January 06, 2007, 02:26:38 PM


have you tried this mod? or check out cpmfetch, i use cpmfetch on my sites.

http://coppermine-gallery.net/forum/index.php?board=57.0

http://custom.simplemachines.org/mods/index.php?mod=455


No, I didn't even know the coppermine mod was around, that will come very handy down the road.. 

but with the cpmfetch, is it hard to install or figure out?

Wow, I didn't relize Mod's where sooo easy to install on here..

So with CPMfetch it will allow me to say display 4-5 thumbs in a column on my main page correct?

Title: Re: Coppermine integration
Post by: OzButcher on January 08, 2007, 09:31:56 PM
I was also looking for the coppermine 1.4 instructions.

Fizzy: Does the coppermine install allow for integration with a existing smf forum?

perhaps the first page could be updated if this is the case for all those looking at the 1.4 bridge :)
Title: Re: Coppermine integration
Post by: yak on January 09, 2007, 04:54:31 AM
Quote from: Fizzy on January 05, 2007, 03:23:13 PM
Hi Yak,

If you download the latest version from Coppermine and install it it will prompt you for Bridge settings, just follow the internal prompts for setting up the bridge step by step.


Thanks a lot for the answer!
Title: Re: Coppermine integration
Post by: doctoreast on January 09, 2007, 03:23:34 PM
Yak,
  This is not entirely true.  The current version from coppermine
is a stand-alone version.  After it's installed and correctly
configured, you go into "ADMIN TOOLS" and click "BRIDGE MANAGER".
Its a wizard which configs the bridge.  You might want to correct
your post?
east
Title: Re: Coppermine integration
Post by: Kris on January 14, 2007, 04:18:19 AM
You could even create a new menu button on top ans easily integrate a ajax version of coppermine.
You need to install coppermine on your server but you can integrate the albums with some simple lines of code.
Title: Re: Coppermine integration
Post by: DJ Rg on January 24, 2007, 12:17:28 PM
i just installed coppermine and did the bridge thing ..if i am at "my coppermine" and click "my profile" or "login" it takes me to the appropriate page at "my smf boards" but i dont see anyway (naviagtion) to get back to "my coppermine" after loggin in at "my smf boards"

1) is there an option i need to click?

2) or do i need to create my own global tab button? how do i do that?

Thanks much

ps.. i dont really want to use the smf plugin (may use it as an extra) as it seems only for the user profile and i want a "global method"..
Title: Re: Coppermine integration
Post by: snork13 on January 24, 2007, 01:44:17 PM
Quote from: DJ Rg on January 24, 2007, 12:17:28 PM
i just installed coppermine and did the bridge thing ..if i am at "my coppermine" and click "my profile" or "login" it takes me to the appropriate page at "my smf boards" but i dont see anyway (naviagtion) to get back to "my coppermine" after loggin in at "my smf boards"

1) is there an option i need to click?

2) or do i need to create my own global tab button? how do i do that?

Thanks much

ps.. i dont really want to use the smf plugin (may use it as an extra) as it seems only for the user profile and i want a "global method"..

http://www.simplemachines.org/community/index.php?topic=63203.0

-Snork13
Title: Re: Coppermine integration
Post by: DJ Rg on January 25, 2007, 06:40:19 PM
thanks much snork13 ..it worked like a champ ..i actaully went here http://docs.simplemachines.org/index.php?topic=564.msg927#msg927 per JayBachatero ,which is the most up to date

;D
Title: Re: Coppermine integration
Post by: snork13 on January 25, 2007, 09:42:02 PM
Quote from: DJ Rg on January 25, 2007, 06:40:19 PM
thanks much snork13 ..it worked like a champ ..i actaully went here http://docs.simplemachines.org/index.php?topic=564.msg927#msg927 per JayBachatero ,which is the most up to date

;D

Sweet, glad it help :)
Title: Re: Coppermine integration
Post by: [darksteel] on January 28, 2007, 10:32:05 PM
Cannot redeclare ssi_shout()
Title: Re: Coppermine integration
Post by: skase98 on January 31, 2007, 09:55:48 PM
Coppermine's user instructions + SMF memberlist =   >:( :o :P <-- me

According to the Coppermine documentation, there are options in the user list that define what groups they are in.  However, once you bridge, the Coppermine user panel goes away and you have your application memberlist.  The problem I have is that there aren't any options for the memberlist from my forum for Coppermine usergroups.

So no one except me (being the admin almighty) can upload photos.  If I go into user mode, I get a "Sorry there is no album where you are allowed to upload files" error.  Any ideas on how I can fix this?

I'm lost...

Kathy
Title: Re: Coppermine integration
Post by: CHwebby on May 01, 2007, 09:05:09 AM
skase98, It took me awhile to figure this out too. I set all my group permissions to allow all groups but guests to be able to upload to existing albums. I got the same message error.

From the coppermine homepage or index page while logged in as the admin, your albums should all be listed with three options displayed next to them that read DELETE, PROPERTIES & EDIT FILES&nbsp; Click on PROPERTIES and under "Permissions for this album" you have to select that visitors can upload files and whatever other permissions you want to allow your members.

I hope this is what you were looking for.
Title: Re: Coppermine integration
Post by: nautilussoftware on May 03, 2007, 08:57:45 AM
what if you have coppermine already linked to a phpBB2 forum and you migrate the forum to SMF and now want to not loose all the coppermine user albums and connect to the new SMF? currently my phpBB2 old database and the SMF database are in the same database with the same shared hoster.
however the coppermine database is on a different shared hosting and uses the bridge manager to connect over.

I can't loose those albums :(
thanks
Title: PHPBB + Coppermine integration to SMF + Coppermine what do I need to watch for?
Post by: gav240z on May 14, 2007, 10:43:28 AM
Hi everyone,
I'm really not sure if this is the right forum to post this in, however after much searching I am hoping someone here can help. I have posted the same question on the Coppermine forums with no response, so help is kinda looking bleak.

Anyway here is a run down on what I have at the moment.
Currently running PHPBB with Coppermine Bridged. User data is stored in phpBB database.
I am looking to convert to SMF - absolutely love it makes my life as an admin 10X easier than phpBB.

The only issue is that I have users who have set up galleries in Coppermine. If I convert to SMF and unbridge phpBB and Coppermine and rebridge SMF + Coppermine will I loose my user association? To me it seems unlogical to loose the association since the users are stored in the phpBB database, but I'm not an SQL expert and this is kinda outta my depth.

Any help advice would be appreciated. I'd really like to move away from phpBB.

I guess worse case scenario would be manually setting users to be associated with a particular album.
Title: Re: Coppermine integration
Post by: Tony Reid on May 17, 2007, 03:51:22 AM
I'm not sure.... I think it will be ok - but I'd certainly suggest doing a trial run first.

Title: Re: Coppermine integration
Post by: Scrambled Egg on June 25, 2007, 12:48:14 AM
I have yet to see a site with SMF and Coppermine together.  Can someone please provide links to such live sites, if they do exist.
Title: Re: Coppermine integration
Post by: H on June 25, 2007, 03:19:26 PM
Quote from: Scrambled Egg on June 25, 2007, 12:48:14 AM
I have yet to see a site with SMF and Coppermine together.  Can someone please provide links to such live sites, if they do exist.

I suggest you search / browse the coppermine showcase :)
Title: Re: Coppermine integration
Post by: clarkkent93 on July 01, 2007, 11:50:09 AM
Quote from: snork13 on January 24, 2007, 01:44:17 PM
Quote from: DJ Rg on January 24, 2007, 12:17:28 PM
i just installed coppermine and did the bridge thing ..if i am at "my coppermine" and click "my profile" or "login" it takes me to the appropriate page at "my smf boards" but i dont see anyway (naviagtion) to get back to "my coppermine" after loggin in at "my smf boards"

1) is there an option i need to click?

2) or do i need to create my own global tab button? how do i do that?

Thanks much

ps.. i dont really want to use the smf plugin (may use it as an extra) as it seems only for the user profile and i want a "global method"..

http://www.simplemachines.org/community/index.php?topic=63203.0

-Snork13

I'm having the same issue with Coppermine going to SMF for the login but no way to get back to Coppermine.  I've tried following the directions posted in the docs section but I have one problem.

Do I need to put in the URL where Coppermine is located so it knows to direct there?

I used this code:

// Show the [gallery] button.
echo ($current_action=='gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=gallery">Gallery</a>
</td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


My gallery is located at http://gallery.ussriverside.us

What should be my next step?

I apologize for seeming dimwitted in advance.  Thanks for your help.
Title: Re: Coppermine integration
Post by: Scrambled Egg on July 11, 2007, 08:20:07 PM
HELP !!!

I have a Coppermine v1.4.12 installation bridged with SMF v1.1.3 at www.fotobuffs.com/admu198/, with a redirect to http://fotobuffs.com (or just www.fotobuffs.com). After this redirect, things were working properly.&nbsp; But within SMF, there is a GALLERY button that was linked to an old installation of menalto's Gallery2, so I did a redirect from http://www.fotobuffs.com/forum/index.php?action=gallery to http://fotobuffs.com, but after this redirect, when I login to Coppermine, I am still correctly brought to the SMF login, but after I login at SMF, I am no longer brought back to Coppermine and end up staying at the forum.

The weird thing is this. When I restore a backup that I made BEFORE creating my redirects, I am able to login once and only once from the any computer, but am back to the same problem when I try to login a second time.&nbsp; And this happens whether I login as Admin or as any user.

So what did I do wrong and how can I fix it please?  Removing all the redirects I created does not solve the problems.
Title: Re: Coppermine integration
Post by: auspool on July 25, 2007, 09:37:40 PM
i have a problem 
smf 1.1.3 copermine intergrated
i am always logged in to smf when i turn my browser on but
when i goto the gallery i am not
i have to go back to smf log out then log back in
then go to gallery and after all that i am logged in to gallery
when i first did intergrate them
i am sure it logged me in properly but now it is not

daniel d
Title: Re: Coppermine integration
Post by: auspool on August 10, 2007, 12:37:44 AM
now i cant log in to coppermine gallery at all
and because i cant
i dont know how to get into admin to check the bridge
yours annoyed
please help

daniel d
Title: Re: Coppermine integration
Post by: HEB XI 1 on August 12, 2007, 04:32:12 PM
Quote from: Scrambled Egg on June 25, 2007, 12:48:14 AM
I have yet to see a site with SMF and Coppermine together.  Can someone please provide links to such live sites, if they do exist.

I have one at www.raven-flight.com.  I didn't do much with the theme, but the core integration with members and logins is there.