Hello. I have 2 coppermine installations one 1 server, one is bridged and the other isnt.
Is it possible to bridge the second aswell?!
If so, HOW!!!
Many thanks
From Phill
Just bridge the second Coppermine installation like you did the first one.
what goes in the cpg_redir.php at the phpbb forum?!
ATM its
---------------
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://domain.com/gallery");
exit;
?>
of course the redirector can only go to one install - you'll have to add links to your gallery's navigation to let the user go to the other install as well.
Don't get me wrong; please tell us why you'd want to set up two coppermine installs on one domain: usually people are making this hard by setting up two gallery installs although what they're up to could easily be achieved with one coppermine install.
Joachim
well they are for 2 different things, i know i could do like a diff category, but im using your SSI for the first galley, and dont want anything from the 2nd to be SSI'd if ya get me.
Plus this 2nd installation is going to have about 50 albums, so I thought it would be best 2 seperate it from my existing 10.
So theres no way this can be acoumplished, with acouple of lines of code, or a quick mod to the phpbb intgration script, to make it read cpg_redir2.php
Many thanks
From Phill
just what I thought: the approach to have two separate installs is not needed at all. You're right, ssi.mod doesn't respect permissions, but both the rss feeds and Copperminefetch mod do respect permissions; why don't you just use one of them instead of ssi.mod (I know why using ssi.mod is not recommended any more; after all I coded it)? This would solve all your problems, and you could easily group the albums into categories to make the page less cluttered. In fact I strongly recommend using only one install in your case, you'll get even more trouble later for sure if you have two installs.
Joachim
thanks for the advice mate,
do you have a URL for the rss feed mod and the Copperminefetch mod (If they arent the same thing) So I can have a test.
Also do you know if the Copperminefetch mod has problems with some random thumbnails, as I have had problems with SSI not being able to show some thumbnails, maybe something to do with a character in the file name or something, who knows.
Many thanks
From Phill
Quotedo you have a URL for the rss feed mod and the Copperminefetch mod (If they arent the same thing) So I can have a test.
Check the mods board, or do a search for rss and copperminefetch.