Bridge for Coppermine 1.44 or + available (and free)

Discuss the integration of Joomla! with other products. ie SMF, phpbb etc etc

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Bridge for Coppermine 1.44 or + available (and free)

Post by mehdi » Wed Apr 12, 2006 7:19 pm

Hi ,
I was not satisfied by already existings bridging solution  between Coppermine and Joomla ...
So I've develloped my own bridge ...
It works well with current versions ie: joomla 1.08 and coppermine  1.44

I hope you don't mind , but I choosed to release files and "official" explanations on my website only.
Get all required stuff at this link:

http://www.mehdiplugins.com/misc/


EDIT 2: 20 June 2006, just compiled a FAQ for this bridge here:
http://www.mehdiplugins.com/misc/cpgjoomfaq.html

EDIT:
8 september 2006,
FAQ updated.
especially question related to define ( 'RG_EMULATION', 0 )
and also: How can I set different modules to be shown with my phpbb forum? How I can assign a different template ?  etc ....

quickmerge script improved (errors are more explicit)

EDIT3:
5 october 2006,
added an online script to quickly fix the CSS of the Coppemine template when
integrated inside joomla template. here:
http://www.mehdiplugins.com/misc/cssintegrator.htm
Hopefully , it would help  people  to fix the CSS of their Coppermine theme  faster, in the context of a visual
integration inside Joomla.  Also it could help newbies that know nothing about CSS.

Added "fixed"  style2.css for classic theme in the zip package.

Improved navigation in the menu of my website. ( so that  people are less lost between all the links)

EDIT4:
28 january 2007
updated joom.integ.php file. Head of template.html is no more ignored.
If you coppermine's theme has some javascript in it then this update might help.


EDIT5:
7 august 2007
Notice about Joomla 1.0.13: Go ahead, the "new salted passwords" introduced by Joomla 1.013 changes nothing here ... This is because the bridge doesn't handle Joomla passwords at all, but instead directly check if Joomla provided access.


EDIT 6:
7 january 2008
No more "gzip hack" is required to take advantage of gzip compression in joomla while using the bridge .
Additionally, the bridge for Joomla 1.5rc4, is  now available but for this, there's anew thread




Cheers, Mehdi  ;)

PS: the download link works only if javascript is enabled
Last edited by mehdi on Mon Jan 07, 2008 5:11 am, edited 1 time in total.

yakchen
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Apr 03, 2006 1:51 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by yakchen » Thu Apr 13, 2006 3:00 am

:)

it works~~~~~~~~

thank you so much!!!!!!

you are great~~~

thalis
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Jan 05, 2006 8:53 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by thalis » Thu Apr 13, 2006 10:38 am

@mehdi --> It seems that the bridge work but in my case i don't want to intergrate coppermine inside my joomla template. I want coppermine separetly so i followed your advice in your page and i changed the name of joomla.inc.php but then when i try to access my coppermine gallery i take the following error:
Fatal error: main() [function.require]: Failed opening required 'bridge/joomla.inc.php' (include_path='.;\xampp\php\pear\') in C:\xampp\htdocs\coppermine\include\init.inc.php on line 234
Can you help me?

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Thu Apr 13, 2006 10:50 am

All right....
I checked many times my explanations before releasing them...
I've still mad a mistake.  :'(
It's the file joomla.integ.php that you must rename.
Will correct this right now.
Last edited by mehdi on Thu Apr 13, 2006 10:57 am, edited 1 time in total.

thalis
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Jan 05, 2006 8:53 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by thalis » Thu Apr 13, 2006 11:25 am

When i did that i lost all the bridge. I mean i login in my joomla site and when i go in my coppermine gallery there is no bridging at all. Do you have any idea? Anyway ithank you in advance  :)

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Thu Apr 13, 2006 12:12 pm

I don't see what's your problem....
You should be logged into Coppermine as soon as you are you are logged into Joomla.

If it worked before,  then it should work even after  you rename your joomla.integ.php file.
The only difference should be presence or not of the joomla template surrounding your gallery.

Check if you are not doing someting wrong, i.e using a proper username/password (registered or admin joomla user);
if you didn't disable cookies , if you have properly configured the bridge  when using the bridge wizard ....
Is the bridge even enabled ?

It worked for me ... even if I have "register_globals = Off"  in my php configuration.
Tested with php 4.3.1 and php  4.4.2
Maybe something special in your php configuration or php version... I don't know.

thalis
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Jan 05, 2006 8:53 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by thalis » Thu Apr 13, 2006 12:34 pm

Thank you

It is working fine also with me now. Superb solution for us that we don;t need smf in our site  :laugh: :laugh: :laugh:

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Thu Apr 13, 2006 12:43 pm

great ... I didn't want to use  SMF, me too; athough it's a good forum ...

User avatar
Martjan
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 196
Joined: Fri Feb 17, 2006 8:50 am
Location: Amersfoort The Netherlands
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by Martjan » Sat Apr 15, 2006 7:46 pm

Great solution!

User avatar
lilqhgal
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 150
Joined: Thu Aug 18, 2005 5:53 pm
Location: Ohio
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by lilqhgal » Wed Apr 19, 2006 3:45 pm

Hi there, I followed the instructions and when I get through with the bridge manager and click the 'enable' button, the next page I see is a white page with only the following text:
The page you are trying to access does not exist.
Please select a page from the main menu.

Where did I go wrong?
Ramsey
---------
"You can take the Cowgirl out of the West but you can't take the West out of the Cowgirl, or the Expressions out of her Designs!"

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Wed Apr 19, 2006 4:29 pm

Go to bridgemgr.php page to disable bridge.
Then relaunch the bridge wizard.
Ensure that you are properly setting these parameters:
'full forum/board url' ( forum means  joomla here)
and "relative path".

Some users has reported problems with Gzip enabled on Joomla.
Disable this too...

Tested with core sef on my local computer.
No idea if it works witn any other sef mambot.

To avoid duplicate posts, just post on a single board thanks.
Last edited by mehdi on Wed Apr 19, 2006 4:54 pm, edited 1 time in total.

User avatar
duvien
Joomla! Ace
Joomla! Ace
Posts: 1823
Joined: Sun Sep 18, 2005 8:28 pm
Location: Scotland
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by duvien » Wed Apr 19, 2006 5:09 pm

I've just tried it out last night on Joomla 1.0.8 with coppermine 1.44 and it's great solution, works a treat. thanks.
Custom website design | blog | tutorials | Photography | Downloads
Freelance Web Designer/Developer: www.duvien.com

User avatar
lilqhgal
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 150
Joined: Thu Aug 18, 2005 5:53 pm
Location: Ohio
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by lilqhgal » Wed Apr 19, 2006 5:23 pm

mehdi wrote: Ensure that you are properly setting these parameters:
'full forum/board url' ( forum means  joomla here)
and "relative path".
Okay, if my joomla install is in the main dir and my gallery is in a subdir of gallery:
http://www.mysite.com/
http://www.mysite.com/gallery/
What would those two parameters be - I must have them wrong.
mehdi wrote: Some users has reported problems with Gzip enabled on Joomla.
Disable this too...
This is disabled by default, so I don't think that's my prob.
mehdi wrote: Tested with core sef on my local computer.
No idea if it works witn any other sef mambot.
I'm running OpenSEF so maybe that's a prob?  Let me first fix the above and then test this.
mehdi wrote: To avoid duplicate posts, just post on a single board thanks.
Sorry about that - will post in here from now on.
Ramsey
---------
"You can take the Cowgirl out of the West but you can't take the West out of the Cowgirl, or the Expressions out of her Designs!"

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Wed Apr 19, 2006 5:29 pm

should be
http://www.mysite.com  for the url path
and ../  for the relative path

User avatar
lilqhgal
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 150
Joined: Thu Aug 18, 2005 5:53 pm
Location: Ohio
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by lilqhgal » Wed Apr 19, 2006 5:42 pm

lilqhgal wrote:
mehdi wrote: Tested with core sef on my local computer.
No idea if it works witn any other sef mambot.
I'm running OpenSEF so maybe that's a prob?  Let me first fix the above and then test this.
Well apparently it has something to do with this, as when I disabled this the page started working fine.  It would be nice to see these two working together.  Thanks for the help thus far!
Ramsey
---------
"You can take the Cowgirl out of the West but you can't take the West out of the Cowgirl, or the Expressions out of her Designs!"

niitpro
I've been banned!
Posts: 118
Joined: Sat Apr 22, 2006 3:09 pm
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by niitpro » Sat Apr 22, 2006 3:17 pm

I try but it's not working for me

I installed joomla with Coppermine in the same database (Is it true ?)

"""
Posted by: mehdi
should be
http://www.mysite.com&nbsp; for the url path
and ../  for the relative path"""


in my localhost i set this:

http://localhost/joomla
and http://localhost/joomla/gallary

Is it true ?

Can you please express details of install .

sorry about my english .
Thanks for your time !

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Sat Apr 22, 2006 4:28 pm

Hi
I installed joomla with Coppermine in the same database (Is it true ?)
You can install in two separate database if you wish, it doesn't matter.
in my localhost i set this:

http://localhost/joomla
and http://localhost/joomla/gallary

Is it true ?
Seems you don't know what  is a relative path.
You should set "../" for the second parameter.

niitpro
I've been banned!
Posts: 118
Joined: Sat Apr 22, 2006 3:09 pm
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by niitpro » Sun Apr 23, 2006 2:12 am

Can you give me an exam please !

sorry ! I am a newbie :(

meat
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Apr 25, 2006 2:43 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by meat » Tue Apr 25, 2006 2:46 pm

I followed the instructions - although it did take some head scratching to figure out in which directory things were located in.

I'm not sure where I screwed up, I tried adding a component menu item to Joomla, and all I see when I click the button is:

{COPPERMINE_TEMPLATE_HTML}

Any help?  Thanks.

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Tue Apr 25, 2006 5:12 pm

From my website:
This component is used by the bridge; so don't link to Coppermine as a component item; link directly to Coppermine's folder instead
Is this not enough clear ?

meat
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Apr 25, 2006 2:43 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by meat » Tue Apr 25, 2006 10:51 pm

mehdi wrote: From my website:
This component is used by the bridge; so don't link to Coppermine as a component item; link directly to Coppermine's folder instead
Is this not enough clear ?
Honestly, I have to say that no, it's not enough clear.  Or clear enough, for that matter.

I think that you've got a great gizmo, but the issues I've seen written about here - including my own - stem less from the quality of the work you've done than it does from the (occasionally vague) instructions you wrote up; your instructions assume a more intimate familiarity with Joomla than some of us users have.

I'm not saying that us unexperienced users can't (eventually) figure out things like the Bridge Wizard referring to Joomla as 'forum software' and that not all of the files that need tweaking, renaming or copying aren't located in the same directory, or even that somewhere in the middle of a sentence you wrote what you quoted above.  And I'm not at all ashamed to admit that I tried to upload the "joom-cpg-bridge.zip" file rather than unzipping it and uploading the "com_coppermine.zip" file; your instructions are not exactly as user friendly as ... well, as I'd like them to be.

It's my opinion that installing your bridge is a simple step-by-step kind of thing, and really easy to do ... assuming that there are step by step instructions:

1. Download this file (with a link to the file).
2. Unzip the "joom-cpg-bridge.zip" file.
3. Verify contents.

... and so on.

I really appreciate the work that you did, and think that it's fantastic.  I just found the instructions didn't exactly match what I had in front of me to work with.  That's all.  No harm, no foul, and I certainly don't mean to piss you off. Sorry if I offended you by asking the question above.  It sounds kind of like I did.

anthonyg
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Apr 26, 2006 12:16 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by anthonyg » Wed Apr 26, 2006 12:25 pm

This component is used by the bridge; so don't link to Coppermine as a component item; link directly to Coppermine's folder instead
Hi all, I'm a newbie trying to get Joomla up and running on a local install myself and I ran into similiar problems with the wording, "don't link to Coppermine" (kept me up half the night).  I'm not sure if this is the correct thing to do but it did get it working for me. 

Instead of creating a menuitem based on component, create one based on Link-Url and type in the relative path of the link. For me it was ../coppermine/index.php

I hope that helps.

Another thing that I did although I don't know how much effect it had was to go directly into the database table cpg145_bridge and update anything that I could for the joomla bridge like user_table, group_table, etc.

Good luck...
(funny what a couple hours of sleep can do...)

Anthony

heinakenka
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sat Apr 22, 2006 4:11 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by heinakenka » Thu Apr 27, 2006 3:46 pm

How about user management?

Should I create new users in both cpg and Joomla?

At the moment I get error message after login to Joomla:
The requested URL /http://www.my_site_name_is _here.com/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Then when hitting back button takes you to the main page and shows that you are logged in!??

What could be the problem?

H.

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Thu Apr 27, 2006 4:03 pm

Hi heinakenka,
Should I create new users in both cpg and Joomla?
The bridge rely on Joomla's users only.
At the moment I get error message after login to Joomla:
Maybe a misconfiguration.
Do you have sef configured ? Try to disable it.
From where do you connect in Joomla ?
If it's not from a gallery's page, then the problem have no relation 
with the bridge.(it doesn't affect default behavior of joomla)

heinakenka
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sat Apr 22, 2006 4:11 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by heinakenka » Thu Apr 27, 2006 4:26 pm

Sorry but what is "sef"?

I login to Joomla from the standart login page.

H.

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Thu Apr 27, 2006 5:09 pm

Sorry but what is "sef"?
If you don't know, then probably you don't use this.
I login to Joomla from the standart login page.
Try to login from the main joomla's page (home page)
and see if the same problems occurs ....
Does the bridge works well after the connection is done ?
I mean after hitting back the back button, does the gallerie display
itself that you are logged ? Do you have any problem  using the gallery
when logged ?

heinakenka
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sat Apr 22, 2006 4:11 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by heinakenka » Fri Apr 28, 2006 7:42 am

Same thing happens if I login from the frontpage.

The bridge seems to be working and also it seems that there is no difference if the bridge is active or not -> most likely this is something to do with Joomla.

But another question:

Is the gallery management (adding pictures etc) possible only when the bridge is disabled?

H.

mehdi
Joomla! Explorer
Joomla! Explorer
Posts: 437
Joined: Tue Oct 04, 2005 3:56 pm

Re: New Bridge for Coppermine 1.44 available (and free)

Post by mehdi » Fri Apr 28, 2006 10:36 am

Is the gallery management (adding pictures etc) possible only when the bridge is disabled?
It is possible to manage the gallery after enabling the bridge (fortunately !!!!)
Only joomla's users that or  administrator and super administrator can have full rights when bridge is enabled.
You should configure groups inside Coppermine after enabling the bridge.

Concerning your connection problem into Joomla:
you are probably trying to connect from http://mysite.com
while your website is configured to work from http://www.mysite.com (or the inverse)

heinakenka
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sat Apr 22, 2006 4:11 am

Re: New Bridge for Coppermine 1.44 available (and free)

Post by heinakenka » Fri Apr 28, 2006 10:48 am

Actully the problems looks to be solved by installing login module patch.

I did not know that it existed but after enough searching I found discussion about similar problem and the solution was the patch/upgrade.

I have to study this cpg admin stuff next...

But thanks a lot for quick replys. :D

H.

niitpro
I've been banned!
Posts: 118
Joined: Sat Apr 22, 2006 3:09 pm
Contact:

Re: New Bridge for Coppermine 1.44 available (and free)

Post by niitpro » Tue May 02, 2006 1:05 pm

mehdi maybe you are great but you can not to become a teacher . I bridge successful but how to display my gallery from joomla portal now , why dont you make all step by step .

step 1: do this
step 2: do this
step 3: do that

......ect

still not working for me :( .


Locked

Return to “Integration & Bridges - 1.0.x”