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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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