Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Integrating board and gallery on different domains but both are subdomain.  (Read 4041 times)

0 Members and 1 Guest are viewing this topic.

crazybob

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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
Logged

dams

  • Coppermine newbie
  • Offline Offline
  • Posts: 12

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 !
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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
Logged

dams

  • Coppermine newbie
  • Offline Offline
  • Posts: 12

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 !
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149

Try asking sysadmins to create symlinks for you.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.