coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: crazybob on January 08, 2005, 11:20:54 PM

Title: Integrating board and gallery on different domains but both are subdomain.
Post by: crazybob on January 08, 2005, 11:20:54 PM
Hiya, i've applied one of the mods of intergrating the gallery and board on two different subdomains. however i've just purchased a new domain and was wondering if i can still integrate them. i'm using it as an addon domain. so gallery.domain.com still works as well as the new domain.com.

any idea? i've searched about this and it says you cant, however i was wondering if you can granted that they are still both subdomains. I just want to make it so it points more nicely
Title: Re: Integrating board and gallery on different domains but both are subdomain.
Post by: Joachim Müller on January 09, 2005, 11:12:38 PM
You can't bridge different domains, but you can bridge different subdomains. This is related to the fact that cookies can only be read from the domain they have been written from.
Example: http://forum.disney.com could be bridged with http://coppermine.disney.com , while http://forum.microsoft.com couldn't be bridged with http://coppermine.sun.com (those URLs are just examples, nothing else!!!)

Your posting is quite unclear, why don't you just swap the placeholders "domain.com" in your example with the actual domain names and repost this (as a reply) here?

Joachim
Title: Re: Integrating board and gallery on different domains but both are subdomain.
Post by: dams on January 11, 2005, 03:47:57 PM
Hi, so, if I understand quite well, it'is possible to have one gallery, but the images would come from different subdomains names...

My site is on a free host that provide me 50 megas hostings  :-\\

So, i'have differents accounts :

http://membres.lycos.fr/fg7a/php/index.php
http://membres.lycos.fr/fg7a2/php/index.php
http://membres.lycos.fr/fg7a3/php/index.php

Would i be possible to have only one gallery and the photos would come from the differents subdomains ?

By the way, i have already a forum on the same host, would it be possible to bridge with the eventual unique gallery ?

Thanks for the response, hope you'll have understand my english !
Title: Re: Integrating board and gallery on different domains but both are subdomain.
Post by: Joachim Müller on January 12, 2005, 01:50:26 AM
what you're requesting is not bridging with different domains, but storing the coppermine files in different locations imo. Unless you have full access to the server (which you probably don't have when hosted on free.fr) to set symlinks, you can not do that.

Joachim
Title: Re: Integrating board and gallery on different domains but both are subdomain.
Post by: dams on January 12, 2005, 01:57:10 AM
Ok, thanks for your answer...
another question...is it possible to transfer only the list of my users...i will create a new gallery for 2005 and i would like that the users don't need to suscribe once more, but that their old profiles would be exported to the new gallery ?

Thanks a bunch for your help !
Title: Re: Integrating board and gallery on different domains but both are subdomain.
Post by: Tranz on January 12, 2005, 01:58:32 AM
Try asking sysadmins to create symlinks for you.
Title: Re: Integrating board and gallery on different domains but both are subdomain.
Post by: Joachim Müller on January 12, 2005, 02:02:48 AM
dump coppermine's user table that is already filled (using phpMyAdmin or similar) and insert the contents on the empty table of the other install. There's no automatic synch though, this is a one-time process. If you need automatisms, do as TranzNDance suggested. I'm not sure if this doesn't get you into conflicts with your webhost's terms of usage though, I guess you can only have one account there; why should they restrict your webspace on the one hand and allow you multiple sites on the other hand? They could as well give you more webspace. You might want to actually pay something for webhosting if you need more webspace, that's it ;).

Joachim