forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 bridging => Topic started by: Phil Myglass on February 07, 2013, 11:13:43 am

Title: Bridging. What is my Relative path to the bridge app's config file?
Post by: Phil Myglass on February 07, 2013, 11:13:43 am
Hello,
I would be most grateful if you could help me with a bridging problem.

Coppermine install: www.myfotos.dk
Bridging app install: www.myfriendstreet.dk
Coppermine version: perhaps cpg1.5.18 but I am unsure.

Bridging app version: PHP Version 5.3.18
Test user account: Guest / 1BTSI4AX6YZMD

Cookie name or prefix:  phpbb3_pts9d

BridgeManager settings:

URL of the bridge app:  http://www.friendstreet.dk

Relative path to your bridge app's config file:  ../bla/

Cookie prefix:   phpbb3_pts9d


I am unable to work out the Relative path to the bridge app's config file. I tried with  ../  and for a moment thought it was correct … however I could not return to Coppermine after I had logged into my forum site.

Could you be kind enough to tell me what I should write here as the instructions are a little confusing.

Thank you very much.
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: phill104 on February 07, 2013, 11:22:01 am
Please read the docs here. As you will see, bridging does not work across different domains - http://documentation.coppermine-gallery.net/en/bridging.htm#integrating_cookie_start
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: Phil Myglass on February 07, 2013, 06:03:47 pm
Hello Phil,

and thank you for your reply. I had read that and as I understand it, it can be done  .... what I would like to know is how?  :)

"The login integration uses your bulletin board cookies, therefore it won't work if your board cookies are not visible by Coppermine. So unless you are an expert, keep things simple and install Coppermine and your bridge app on the same domain."
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: Phil Myglass on February 07, 2013, 07:12:21 pm
Actually I think I will just try with the subforum solution as I can't find any advice anywhere about bridging from one domain to another. Thank you for you time and have a great weekend :-)
 
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: Phil Myglass on February 08, 2013, 11:10:01 pm
Hi Phil,

I am still having trouble with the relative path even though I have made Coppermine a sub domain. Could you please help me? I have tried with most of the things which look like they should be correct without any luck. The only time I have got through is by using ../../ but then when I press on home I do not arrive at the other forum, just at coppermines home page. :-/

URL of the bridge app: http://www.friendstreet.dk
Relative path to your bridge app's config file: ???
Cookie prefix: phpbb3_jdu4l
URL to Coppermine: http://myfotos.friendstreet.dk/cpg

There is immediate access to the site if you need to have a look.

Look forward to hearing from you.

PhilMyglass
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: lurkalot on February 09, 2013, 03:19:10 pm

The only time I have got through is by using ../../ but then when I press on home I do not arrive at the other forum, just at coppermines home page. :-/


It will go to the gallery home page, as that is where the home button defaults to. 

Go Config > General Settings, and change "URL of your home page"  to point to the home page of your site etc. Then save.

Also might be worth reading, http://forum.coppermine-gallery.net/index.php/topic,70193.msg343685.html#msg343685
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: Phil Myglass on February 09, 2013, 11:39:41 pm
Thank you Lurkalot. That works great the one way, (from coppermine to my forum). Is ../../ correct for the relative path for my bridge app's config file? Hope you are enjoying your weekend :-)
Title: Re: Bridging. What is my Relative path to the bridge app's config file?
Post by: Phil Myglass on February 10, 2013, 01:47:51 am
I have just checked it out and every thing is working hunky dory. Thank you both, (Phil and Lurkalot), so much for your time and help.