coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: François Keller on April 03, 2005, 07:28:31 PM

Title: Cpg and SMF on two différents domains ?
Post by: François Keller on April 03, 2005, 07:28:31 PM
Hi,

is it possible to bride CPG and SMF who are working an two differents domains ?

I search in the forum but don't find how to do this.

I have posting the same question in the french board (my native langage) here http://forum.coppermine-gallery.net/index.php?topic=16545.0

Thank's for your help
Title: Re: Cpg and SMF on two différents domains ?
Post by: AlexandreP on April 06, 2005, 09:02:21 PM
Hi Frantz,

It is said in this topic (http://forum.coppermine-gallery.net/index.php?topic=12972.msg59055#msg59055) that Coppermine will use the SMF members' table and the SMF's login/logout function to control Coppermine members.  So I presume that to have acces to those informations from SMF, Coppermine have to have access to the file /Settings.php from your SMF forum.  However, I don't think it is possible to execute PHP code hosted on a different webserver :-\\

In the French topic, you said that your SMF installation is working at http://myforum.com and your Coppermine one, http://mygallery.com.  Coppermine and SMF have their own domain names, but are they hosted on two different servers?  If not, it might be possible to access your SMF directory using the absolute paths.  But I cannot help on that :-[
Searching the forum, I also found this topic: http://forum.coppermine-gallery.net/index.php?topic=9237.0  But they both share the same domain name, they only have different sub-domains, and I think the two applications are hosted on the same server

I also found the following reply: http://forum.coppermine-gallery.net/index.php?topic=8433.msg37606#msg37606.  It is said that since the cookies are shared between Coppermine and the forum (in this thread, it is PhpBB, but it surely also apply to SMF), the two apps have to have the same domain name.  And, sadly, http://myforum.com and http://mygallery.com are totally different domain names.

(I hope for you that someone else will contradict what I said :P )
Title: Re: Cpg and SMF on two différents domains ?
Post by: Nibbler on April 06, 2005, 09:05:57 PM
It's possible, but not using the existing coppermine bridging system.
Title: Re: Cpg and SMF on two différents domains ?
Post by: François Keller on April 07, 2005, 07:31:41 AM
Thank's Nibbler,

where can i find a bridging system  for doing this ?

@AlexandreP

Thank's i've reply on the french board
Title: Re: Cpg and SMF on two différents domains ?
Post by: Nibbler on April 07, 2005, 02:34:29 PM
You'd need to write it. :)
Title: Re: Cpg and SMF on two différents domains ?
Post by: François Keller on April 07, 2005, 02:48:54 PM
QuoteYou'd need to write it. Smiley

Oh  :-\\ I think it's easyer for me to transfer SMF or Coppermine on the same domain  ;D
I'm not abble to write it  :\'(