Show different albums to visitors from different sub-domains Show different albums to visitors from different sub-domains
 

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]

Main Menu

Show different albums to visitors from different sub-domains

Started by karj, April 25, 2005, 09:39:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

karj

I want to operate the one set of coppermine files to which several sub-domains refer.

When a visitor clicks a link to the common coppermine gallery I would like the link to carry an id which coppermine intercepts and subsequently shows only the albums in one category - at least at first.

If no id comes with the url then all categories should be shown.

I have had a quick look at the php and can see it would take me hours to find a way to do this, and I am sure someone familiar with it would come up with a clever solution quickly!!