The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 178 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: Wed Apr 12, 2006 7:19 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
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:
[url=http://www.mehdiplugins.com/misc/]
http://www.mehdiplugins.com/misc/
[/url]

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.

Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 3:00 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Apr 03, 2006 1:51 pm
Posts: 4
:)

it works~~~~~~~~

thank you so much!!!!!!

you are great~~~


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 10:38 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 05, 2006 8:53 am
Posts: 6
@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:
Quote:
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?


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 10:50 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
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.

Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 11:25 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 05, 2006 8:53 am
Posts: 6
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  :)


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 12:12 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
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.


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 12:34 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 05, 2006 8:53 am
Posts: 6
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:


Top
 Profile  
 
PostPosted: Thu Apr 13, 2006 12:43 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
great ... I didn't want to use  SMF, me too; athough it's a good forum ...


Top
 Profile  
 
PostPosted: Sat Apr 15, 2006 7:46 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Feb 17, 2006 8:50 am
Posts: 196
Location: Amersfoort The Netherlands
Great solution!


Top
 Profile  
 
PostPosted: Wed Apr 19, 2006 3:45 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 5:53 pm
Posts: 150
Location: Ohio
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!"


Top
 Profile  
 
PostPosted: Wed Apr 19, 2006 4:29 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
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.

Top
 Profile  
 
PostPosted: Wed Apr 19, 2006 5:09 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Sun Sep 18, 2005 8:28 pm
Posts: 1824
Location: Scotland
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


Top
 Profile  
 
PostPosted: Wed Apr 19, 2006 5:23 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 5:53 pm
Posts: 150
Location: Ohio
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!"


Top
 Profile  
 
PostPosted: Wed Apr 19, 2006 5:29 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
should be
http://www.mysite.com  for the url path
and ../  for the relative path


Top
 Profile  
 
PostPosted: Wed Apr 19, 2006 5:42 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Aug 18, 2005 5:53 pm
Posts: 150
Location: Ohio
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!"


Top
 Profile  
 
PostPosted: Sat Apr 22, 2006 3:17 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Apr 22, 2006 3:09 pm
Posts: 74
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 !

_________________
http://whateverfree.com


Top
 Profile  
 
PostPosted: Sat Apr 22, 2006 4:28 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
Hi
Quote:
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.

Quote:
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.


Top
 Profile  
 
PostPosted: Sun Apr 23, 2006 2:12 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Apr 22, 2006 3:09 pm
Posts: 74
Can you give me an exam please !

sorry ! I am a newbie :(

_________________
http://whateverfree.com


Top
 Profile  
 
PostPosted: Tue Apr 25, 2006 2:46 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Apr 25, 2006 2:43 pm
Posts: 2
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.


Top
 Profile  
 
PostPosted: Tue Apr 25, 2006 5:12 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
From my website:
Quote:
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 ?


Top
 Profile  
 
PostPosted: Tue Apr 25, 2006 10:51 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Apr 25, 2006 2:43 pm
Posts: 2
mehdi wrote:
From my website:
Quote:
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.


Top
 Profile  
 
PostPosted: Wed Apr 26, 2006 12:25 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Apr 26, 2006 12:16 pm
Posts: 1
Quote:
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


Top
 Profile  
 
PostPosted: Thu Apr 27, 2006 3:46 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Apr 22, 2006 4:11 am
Posts: 9
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.


Top
 Profile  
 
PostPosted: Thu Apr 27, 2006 4:03 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
Hi heinakenka,

Quote:
Should I create new users in both cpg and Joomla?


The bridge rely on Joomla's users only.

Quote:
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)


Top
 Profile  
 
PostPosted: Thu Apr 27, 2006 4:26 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Apr 22, 2006 4:11 am
Posts: 9
Sorry but what is "sef"?

I login to Joomla from the standart login page.

H.


Top
 Profile  
 
PostPosted: Thu Apr 27, 2006 5:09 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
Quote:
Sorry but what is "sef"?

If you don't know, then probably you don't use this.

Quote:
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 ?


Top
 Profile  
 
PostPosted: Fri Apr 28, 2006 7:42 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Apr 22, 2006 4:11 am
Posts: 9
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.


Top
 Profile  
 
PostPosted: Fri Apr 28, 2006 10:36 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Oct 04, 2005 3:56 pm
Posts: 437
Quote:
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)


Top
 Profile  
 
PostPosted: Fri Apr 28, 2006 10:48 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Apr 22, 2006 4:11 am
Posts: 9
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.


Top
 Profile  
 
PostPosted: Tue May 02, 2006 1:05 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Apr 22, 2006 3:09 pm
Posts: 74
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 :( .

_________________
http://whateverfree.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 178 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group